コード例 #1
0
 public WarningStateMapEntry(
     int position,
     TWarningState general,
     ImmutableDictionary <string, TWarningState> specific
     )
 {
     this.Position              = position;
     this.GeneralWarningOption  = general;
     this.SpecificWarningOption =
         specific ?? ImmutableDictionary.Create <string, TWarningState>();
 }
コード例 #2
0
 public WarningStateMapEntry(int position)
 {
     this.Position              = position;
     this.GeneralWarningOption  = default;
     this.SpecificWarningOption = ImmutableDictionary.Create <string, TWarningState>();
 }