public NameParser(NameParserType nameParserType) { Type = nameParserType; }
public string GetSubFolderPath(string filename = null, NameParserType nameParserType = NameParserType.URL) { string path = NameParser.Parse(nameParserType, SubFolderPath.Replace("%host", Host)); return URLHelpers.CombineURL(path, filename); }
public static string Parse(NameParserType nameParserType, string pattern) { return new NameParser(nameParserType).Parse(pattern); }
public NameParser GetNameParser(NameParserType parserType) { return new NameParser { Type = parserType, Picture = TempImage, AutoIncrementNumber = WorkflowConfig.ConfigFileNaming.AutoIncrement, WindowText = Info.WindowTitleText }; }