public static ChannelNodeDefinition Load(string filePath) { filePath = Path.Combine(DefinitionDirectory, Path.GetFileName(filePath)); XmlChannelNodeTemplateReader reader = new XmlChannelNodeTemplateReader(); ChannelNodeDefinition definition = reader.Read(filePath); return definition; }
static public ChannelNodeDefinition Load(string filePath) { filePath = Path.Combine(DefinitionDirectory, Path.GetFileName(filePath)); XmlChannelNodeTemplateReader reader = new XmlChannelNodeTemplateReader(); ChannelNodeDefinition definition = reader.Read(filePath); return(definition); }