コード例 #1
0
 public AcquireWriterContext(AcquirementReason reason)
 {
     Reason               = reason;
     Languages            = new List <Language>();
     Currencies           = new List <Currency>();
     StoreIds             = new int[0];
     StoreMappings        = new Multimap <int, int>();
     CustomerRoleIds      = new int[0];
     CustomerRoleMappings = new Multimap <int, int>();
     DeliveryTimes        = new Dictionary <int, DeliveryTime>();
     Manufacturers        = new Dictionary <int, Manufacturer>();
     Categories           = new Dictionary <int, Category>();
     CustomProperties     = new Dictionary <string, object>();
 }
コード例 #2
0
 public AcquireWriterContext(AcquirementReason reason)
 {
     Reason               = reason;
     Languages            = new List <Language>();
     Currencies           = new List <Currency>();
     StoreMappings        = new Multimap <int, int>();
     CustomerRoleIds      = new int[0];
     CustomerRoleMappings = new Multimap <int, int>();
     DeliveryTimes        = new Dictionary <int, DeliveryTime>();
     Manufacturers        = new Dictionary <int, Manufacturer>();
     Categories           = new Dictionary <int, Category>();
     Translations         = new Dictionary <string, LocalizedPropertyCollection>(StringComparer.OrdinalIgnoreCase);
     CustomProperties     = new Dictionary <string, object>();
 }