コード例 #1
0
ファイル: UIComponent.cs プロジェクト: atata-framework/atata
        protected UIComponent()
        {
            Children = new List<UIComponent>();

            Attributes = new UIComponentAttributeProvider(this);
            Css = new UIComponentCssProvider(this);
        }
コード例 #2
0
 protected UIComponent()
 {
     Controls   = new UIComponentChildrenList <TOwner>(this);
     Attributes = new UIComponentAttributeProvider <TOwner>()
     {
         Component = this
     };
     Css = new UIComponentCssProvider <TOwner>()
     {
         Component = this
     };
     Triggers = new UIComponentTriggerSet <TOwner>(this);
 }
コード例 #3
0
ファイル: UIComponent`1.cs プロジェクト: rputch/atata
 protected UIComponent()
 {
     Controls   = new UIComponentChildrenList <TOwner>(this);
     Attributes = new UIComponentAttributeProvider <TOwner> {
         Component = this, ComponentPartName = "attributes"
     };
     Css = new UIComponentCssProvider <TOwner> {
         Component = this, ComponentPartName = "CSS"
     };
     Script            = new UIComponentScriptExecutor <TOwner>(this);
     ComponentLocation = new UIComponentLocationProvider <TOwner>(this, GetLocation);
     ComponentSize     = new UIComponentSizeProvider <TOwner>(this, GetSize);
     Triggers          = new UIComponentTriggerSet <TOwner>(this);
 }
コード例 #4
0
ファイル: UIComponent`1.cs プロジェクト: jetstreamin/atata
 protected UIComponent()
 {
     Controls   = new UIComponentChildrenList <TOwner>(this);
     Attributes = new UIComponentAttributeProvider <TOwner> {
         Component = this, ComponentPartName = "attributes"
     };
     Css = new UIComponentCssProvider <TOwner> {
         Component = this, ComponentPartName = "CSS"
     };
     ComponentLocation = new UIComponentLocationProvider <TOwner> {
         Component = this, ComponentPartName = "location"
     };
     ComponentSize = new UIComponentSizeProvider <TOwner> {
         Component = this, ComponentPartName = "size"
     };
     Triggers = new UIComponentTriggerSet <TOwner>(this);
 }