AnujBank.Account.GetClientId C# (CSharp) 메소드

GetClientId() 공개 메소드

public GetClientId ( ) : string
리턴 string
        public string GetClientId()
        {
            return ClientId.Id;
        }

Usage Example

예제 #1
0
 private void Validate(Account newAccount)
 {
     string clientId = newAccount.GetClientId();
      if (accounts.Any(account => account.GetClientId() != clientId))
      {
     throw new ArgumentException("Account from two different clients cannot be added.");
      }
 }
All Usage Examples Of AnujBank.Account::GetClientId