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));
 }