示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZincIdent"/> class with the name and optionally the usage of
 /// the identifier.
 /// </summary>
 /// <param name="name">The name associated with the <see cref="ZincIdent"/>.</param>
 /// <param name="usage">The usage of the identifer, optional, by default <see cref="ZincIdentUsage.Unknown"/>.</param>
 public ZincIdent(string name, ZincIdentUsage usage = ZincIdentUsage.Unknown) : base(name)
 {
     this.Usage = usage;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZincIdent"/> class with the name and optionally the usage of
 /// the identifier.
 /// </summary>
 /// <param name="name">The name associated with the <see cref="ZincIdent"/>.</param>
 /// <param name="usage">The usage of the identifer, optional, by default <see cref="ZincIdentUsage.Unknown"/>.</param>
 public ZincIdent(string name, ZincIdentUsage usage = ZincIdentUsage.Unknown)
     : base(name)
 {
     this.Usage = usage;
 }