private static StorageAccountType ConvertToStorageAccountType(MSAccountType msat) { StorageAccountType sat = new StorageAccountType(); sat.Id = msat.account_type_id; sat.AccountTypeName = msat.account_type_name; sat.MaxSize = msat.account_type_max_size; return(sat); }
public static MSAccountType ConvertToMSAccountType(StorageAccountType sat) { MSAccountType msat = new MSAccountType(); msat.account_type_id = sat.Id; msat.account_type_name = sat.AccountTypeName; msat.account_type_max_size = sat.MaxSize; return(msat); }
public PtcAccount() { //StorageAccounts = new Dictionary<string, StorageAccount>(); token = new Dictionary <string, string>(); AccountType = new StorageAccountType(); }
private static StorageAccountType ConvertToStorageAccountType(MSAccountType msat) { StorageAccountType sat = new StorageAccountType(); sat.Id = msat.account_type_id; sat.AccountTypeName = msat.account_type_name; sat.MaxSize = msat.account_type_max_size; return sat; }
public static MSAccountType ConvertToMSAccountType(StorageAccountType sat) { MSAccountType msat = new MSAccountType(); msat.account_type_id = sat.Id; msat.account_type_name = sat.AccountTypeName; msat.account_type_max_size = sat.MaxSize; return msat; }
public PtcAccount() { //StorageAccounts = new Dictionary<string, StorageAccount>(); token = new Dictionary<string, string>(); AccountType = new StorageAccountType(); }