Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the AliasPath class.
 /// </summary>
 /// <param name="path">The path of an alias.</param>
 /// <param name="apiVersions">The API versions.</param>
 /// <param name="pattern">The pattern for an alias path.</param>
 public AliasPath(string path = default(string), IList <string> apiVersions = default(IList <string>), AliasPattern pattern = default(AliasPattern))
 {
     Path        = path;
     ApiVersions = apiVersions;
     Pattern     = pattern;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the Alias class.
 /// </summary>
 /// <param name="name">The alias name.</param>
 /// <param name="paths">The paths for an alias.</param>
 /// <param name="type">The type of the alias. Possible values include:
 /// 'NotSpecified', 'PlainText', 'Mask'</param>
 /// <param name="defaultPath">The default path for an alias.</param>
 /// <param name="defaultPattern">The default pattern for an
 /// alias.</param>
 public Alias(string name = default(string), IList <AliasPath> paths = default(IList <AliasPath>), AliasType?type = default(AliasType?), string defaultPath = default(string), AliasPattern defaultPattern = default(AliasPattern))
 {
     Name           = name;
     Paths          = paths;
     Type           = type;
     DefaultPath    = defaultPath;
     DefaultPattern = defaultPattern;
     CustomInit();
 }