public TagModelAttributeStack With(AttributeSet attributes)
 {
     Stack.Push(attributes);
     _pop = true;
     return(this);
 }
示例#2
0
 public TemplateTile(string name, ITemplate template, IEnumerable <TileAttribute> attributes)
 {
     _name       = name;
     _template   = template;
     _attributes = new AttributeSet(name, attributes);
 }
示例#3
0
 public string Render(TagModel model, AttributeSet attributes)
 {
     GuardInit();
     return(_tile.Render(model, attributes));
 }
示例#4
0
 public void Merge(AttributeSet attributes)
 {
     AddAttributes(attributes, false);
 }
示例#5
0
 public string Render(TagModel model, AttributeSet attributes)
 {
     return(_value);
 }
示例#6
0
 public string Render(TagModel model, AttributeSet attributes)
 {
     return(_extends.Render(model, attributes));
 }