예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
 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;
 }
예제 #6
0
 public PtcAccount()
 {
     //StorageAccounts = new Dictionary<string, StorageAccount>();
     token = new Dictionary<string, string>();
     AccountType = new StorageAccountType();
 }