using System;
using System.ComponentModel;

namespace OpenCVStudio_v0
{
    public sealed class TransposeBlockProperties
    {
        private readonly ProjectManager projectManager;
        private readonly ProjectBlock block;

        public TransposeBlockProperties(ProjectManager projectManager, ProjectBlock block)
        {
            this.projectManager = projectManager ?? throw new ArgumentNullException(nameof(projectManager));
            this.block = block ?? throw new ArgumentNullException(nameof(block));
        }

        [Category("Блок")]
        [DisplayName("Название")]
        [ReadOnly(true)]
        public string Name => block.Name;

        [Category("Блок")]
        [DisplayName("Тип")]
        [ReadOnly(true)]
        public string BlockType => block.BlockType;
    }
}