public override string GetContainerKey(SetterContainer container) { var classContainer = (ClassContainer)container; return("." + classContainer.Class); }
public override bool CanBeUsedByView(View view, SetterContainer container) { var classContainer = (ClassContainer)container; return(view.Class == classContainer.Class); }
public override string GetContainerKey(SetterContainer container) { var idContainer = (IdContainer)container; return("#" + idContainer.Id); }
public override bool CanBeUsedByView(View view, SetterContainer container) { var idContainer = (IdContainer)container; return(view.Id == idContainer.Id); }
public override string GetContainerKey(SetterContainer container) { return((container as TagContainer).Tag); }
public override bool CanBeUsedByView(View view, SetterContainer container) { return(view.GetType().Name == (container as TagContainer).Tag); }