Пример #1
0
        public TFactoryPropertyModel()
        {
            ComponentModelProperty = TModelProperty.Create(TCategory.Test);
            ComponentModelProperty.PropertyChanged += OnModelPropertyChanged;

            AlertsModel = TAlertsModel.CreateDefault;
        }
Пример #2
0
        public TFactoryPropertyModel()
        {
            ComponentModelProperty = TModelProperty.Create(Server.Models.Infrastructure.TCategory.Report);
            ComponentModelProperty.PropertyChanged += OnModelPropertyChanged;

            AlertsModel = TAlertsModel.CreateDefault;
        }
Пример #3
0
        public TFactoryPropertyModel()
        {
            ComponentModelProperty = TModelProperty.Create(TCategory.Registration);
            ComponentModelProperty.PropertyChanged += OnModelPropertyChanged;

            //TODO: what for??
            AlertsModel = TAlertsModel.CreateDefault;
        }
Пример #4
0
        public TFactoryPropertyModel()
        {
            ComponentModelProperty = TModelProperty.Create(Server.Models.Infrastructure.TCategory.Result);
            ComponentModelProperty.PropertyChanged += OnModelPropertyChanged;

            AlertsModel = TAlertsModel.CreateDefault;

            m_Registration = GadgetRegistration.CreateDefault;
        }
Пример #5
0
        public TFactoryPropertyModel()
        {
            ComponentModelProperty = TModelProperty.Create(TCategory.Material);
            ComponentModelProperty.PropertyChanged += OnModelPropertyChanged;

            GadgetModel = TActionComponent.Create(TCategory.Material);

            AlertsModel = TAlertsModel.CreateDefault;

            m_Gadgets = new Dictionary <Guid, GadgetMaterial> ();
        }