示例#1
0
 /// <summary>
 /// Constructor specifying type and containers (header/footer) - no value assigned (can be used for all types except UserString)
 /// </summary>
 /// <param name="type">The word type contained in the portion</param>
 /// <param name="header">string to be placed before portion</param>
 /// <param name="footer">string to be placed after portion</param>
 /// <param name="caseOption">Option to be applied to case of portion</param>
 public FileNamePortion(FileWordType type, string header, string footer, CaseOptionType caseOption)
 {
     this.Type       = type;
     this.Header     = header;
     this.Footer     = footer;
     this.CaseOption = CaseOptionType.None;
     this.Whitespace = " ";
 }
示例#2
0
 /// <summary>
 /// Constructor specifying all properties
 /// </summary>
 /// <param name="type">The word type contained in the portion</param>
 /// <param name="value">The value for the custom string</param>
 /// <param name="header">string to be placed before portion</header>
 /// <param name="footer">string to be placed after portion</header>
 /// <param name="option">Option to be applied to case of portion</param>
 public FileNamePortion(FileWordType type, string header, string footer, CaseOptionType caseOption, string whitespace)
 {
     this.Type = type;
     this.Header = header;
     this.Footer = footer;
     this.CaseOption = caseOption;
     this.Whitespace = whitespace;
 }
示例#3
0
 /// <summary>
 /// Constructor specifying all properties
 /// </summary>
 /// <param name="type">The word type contained in the portion</param>
 /// <param name="value">The value for the custom string</param>
 /// <param name="header">string to be placed before portion</header>
 /// <param name="footer">string to be placed after portion</header>
 /// <param name="option">Option to be applied to case of portion</param>
 public FileNamePortion(FileWordType type, string header, string footer, CaseOptionType caseOption, string whitespace)
 {
     this.Type       = type;
     this.Header     = header;
     this.Footer     = footer;
     this.CaseOption = caseOption;
     this.Whitespace = whitespace;
 }
示例#4
0
 /// <summary>
 /// Constructor specifying type and containers (header/footer) - no value assigned (can be used for all types except UserString)
 /// </summary>
 /// <param name="type">The word type contained in the portion</param>
 /// <param name="header">string to be placed before portion</param>
 /// <param name="footer">string to be placed after portion</param>
 /// <param name="caseOption">Option to be applied to case of portion</param>
 public FileNamePortion(FileWordType type, string header, string footer, CaseOptionType caseOption)
 {
     this.Type = type;
     this.Header = header;
     this.Footer = footer;
     this.CaseOption = CaseOptionType.None;
     this.Whitespace = " ";
 }