示例#1
0
 public NameParser(NameParserType nameParserType)
 {
     Type = nameParserType;
 }
示例#2
0
 public string GetSubFolderPath(string filename = null, NameParserType nameParserType = NameParserType.URL)
 {
     string path = NameParser.Parse(nameParserType, SubFolderPath.Replace("%host", Host));
     return URLHelpers.CombineURL(path, filename);
 }
示例#3
0
 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
                };
 }