コード例 #1
0
 public static IdentificationStorage getInstance()
 {
     if (singletonReference == null)
     {
         singletonReference = new IdentificationStorage();
     }
     return(singletonReference);
 }
コード例 #2
0
ファイル: Person.cs プロジェクト: Jordyz96/SimpleBankSystem
 public Person(char userType)
 {
     id       = IdentificationStorage.getInstance().GenerateID(userType);
     password = "******";
 }