public ITile Create(ITileEntry entry, TilesFactory factory) { return(new TemplateOveridingDefinitionTile(entry.Name, factory.GetTemplate(entry, true), new TileReference(entry.Extends, factory.Map), factory.CreateAttributes(entry))); }
public ITile Create(ITileEntry entry, TilesFactory factory) { return new TemplateOveridingDefinitionTile(entry.Name, factory.GetTemplate(entry, true), new TileReference(entry.Extends, factory.Map), factory.CreateAttributes(entry)); }
public TileAttribute Create(IAttributeEntry entry, TilesFactory factory) { var template = factory.GetTemplate(entry, false); if (template!=null) { return new TileAttribute(entry.Name, new TemplateTile(null, template, null)); } return new TileAttribute(entry.Name, new TileReference(entry.Value, factory.Map, new StringTile(entry.Value))); }
public TileAttribute Create(IAttributeEntry entry, TilesFactory factory) { var template = factory.GetTemplate(entry, false); if (template != null) { return(new TileAttribute(entry.Name, new TemplateTile(null, template, null))); } return(new TileAttribute(entry.Name, new TileReference(entry.Value, factory.Map, new StringTile(entry.Value)))); }
public ITile Create(ITileEntry entry, TilesFactory factory) { return new TemplateTile(entry.Name, factory.GetTemplate(entry, true), factory.CreateAttributes(entry)); }
public TileAttribute Create(IAttributeEntry entry, TilesFactory factory) { return new TileAttribute(entry.Name, new TemplateTile(null, factory.GetTemplate(entry, true), null)); }
public TileAttribute Create(IAttributeEntry entry, TilesFactory factory) { return(new TileAttribute(entry.Name, new TemplateTile(null, factory.GetTemplate(entry, true), null))); }
public ITile Create(ITileEntry entry, TilesFactory factory) { return(new TemplateTile(entry.Name, factory.GetTemplate(entry, true), factory.CreateAttributes(entry))); }