public override string GetParentContainerKey(MultipleSetterContainer container) { var classContainer = (ClassParentContainer)container; return("." + classContainer.Class); }
public override bool CanBeUsedByParent(ViewContainer parent, MultipleSetterContainer container) { var classContainer = (ClassParentContainer)container; return(classContainer.Class == parent.Class); }
public override string GetParentContainerKey(MultipleSetterContainer container) { var idContainer = (IdParentContainer)container; return("#" + idContainer.Id); }
public override bool CanBeUsedByParent(ViewContainer parent, MultipleSetterContainer container) { var idContainer = (IdParentContainer)container; return(idContainer.Id == parent.Class); }
public override string GetParentContainerKey(MultipleSetterContainer container) { return((container as TagParentContainer).Tag); }
public override bool CanBeUsedByParent(ViewContainer parent, MultipleSetterContainer container) { var tagContainer = (TagParentContainer)container; return(tagContainer.Tag == parent.GetType().Name); }