public static Templet getTempletByFile(string file) { var opsXml = File.ReadAllText(Config.DIR_TEMPLET + "/" + file, UTF8Encoding.UTF8); Templet temp = new Templet(); XDom.Bind(temp, opsXml); return temp; }
public static Templet getTempletByFile(string file) { var opsXml = File.ReadAllText(Config.DIR_TEMPLET + "/" + file, UTF8Encoding.UTF8); Templet temp = new Templet(); XDom.Bind(temp, opsXml); return(temp); }