Esempio n. 1
0
            public override string GetContainerKey(SetterContainer container)
            {
                var classContainer = (ClassContainer)container;

                return("." + classContainer.Class);
            }
Esempio n. 2
0
            public override bool CanBeUsedByView(View view, SetterContainer container)
            {
                var classContainer = (ClassContainer)container;

                return(view.Class == classContainer.Class);
            }
Esempio n. 3
0
            public override string GetContainerKey(SetterContainer container)
            {
                var idContainer = (IdContainer)container;

                return("#" + idContainer.Id);
            }
Esempio n. 4
0
            public override bool CanBeUsedByView(View view, SetterContainer container)
            {
                var idContainer = (IdContainer)container;

                return(view.Id == idContainer.Id);
            }
Esempio n. 5
0
 public override string GetContainerKey(SetterContainer container)
 {
     return((container as TagContainer).Tag);
 }
Esempio n. 6
0
 public override bool CanBeUsedByView(View view, SetterContainer container)
 {
     return(view.GetType().Name == (container as TagContainer).Tag);
 }