コード例 #1
0
ファイル: Character.cs プロジェクト: manveti/CampLog
 public CharSetProperty(IEnumerable <string> value = null)
 {
     if (value is null)
     {
         this.value = new RefcountSet <string>();
     }
     else
     {
         this.value = new RefcountSet <string>(value);
     }
 }
コード例 #2
0
 public BaseNote(string contents, HashSet <Guid> topics = null)
 {
     this.contents = contents;
     if (topics is null)
     {
         this.topics = new RefcountSet <Guid>();
     }
     else
     {
         this.topics = new RefcountSet <Guid>(topics);
     }
 }