Esempio n. 1
0
            public override string GetParentContainerKey(MultipleSetterContainer container)
            {
                var classContainer = (ClassParentContainer)container;

                return("." + classContainer.Class);
            }
Esempio n. 2
0
            public override bool CanBeUsedByParent(ViewContainer parent, MultipleSetterContainer container)
            {
                var classContainer = (ClassParentContainer)container;

                return(classContainer.Class == parent.Class);
            }
Esempio n. 3
0
            public override string GetParentContainerKey(MultipleSetterContainer container)
            {
                var idContainer = (IdParentContainer)container;

                return("#" + idContainer.Id);
            }
Esempio n. 4
0
            public override bool CanBeUsedByParent(ViewContainer parent, MultipleSetterContainer container)
            {
                var idContainer = (IdParentContainer)container;

                return(idContainer.Id == parent.Class);
            }
Esempio n. 5
0
 public override string GetParentContainerKey(MultipleSetterContainer container)
 {
     return((container as TagParentContainer).Tag);
 }
Esempio n. 6
0
            public override bool CanBeUsedByParent(ViewContainer parent, MultipleSetterContainer container)
            {
                var tagContainer = (TagParentContainer)container;

                return(tagContainer.Tag == parent.GetType().Name);
            }