예제 #1
0
 public Category(IProducts products, IProducers producers, IMaterials material, ITypeOfProducts types, IProductModels models)
 {
     _material  = material;
     _types     = types;
     _models    = models;
     _producers = producers;
     _products  = products;
 }
예제 #2
0
 public AdminController(IHostingEnvironment env, IDimensions dimensions, IProductModels productModels, IMaterials materials, IUsers users, IUserProfiles userProfiles, IProductOrders productOrders, IOrders orders, IProducts products, IProducers producers, ITypeOfProducts type, ISubCategories subCategories)
 {
     _producers     = producers;
     _products      = products;
     _type          = type;
     _subCategories = subCategories;
     _orders        = orders;
     _productOrders = productOrders;
     _users         = users;
     _userProfiles  = userProfiles;
     _dimensions    = dimensions;
     _productModels = productModels;
     _materials     = materials;
     _env           = env;
 }
예제 #3
0
 public BagController(IUsers users, IUserProfiles userProfiles, IReviews reviews, IDislikes dislikes, ILikes likes, IDeliveries deliveries, IProductOrders productOrders, ITypeOfProducts type, ISubCategories subCategories, IOrders orders, IDimensions dimensions, IProducts products, IProducers producers, IProductModels productModels, IProductImages productImages, IMaterials materials)
 {
     _products      = products;
     _producers     = producers;
     _productModels = productModels;
     _productImages = productImages;
     _materials     = materials;
     _dimensions    = dimensions;
     _orders        = orders;
     _type          = type;
     _subCategories = subCategories;
     _productOrders = productOrders;
     _deliveries    = deliveries;
     _dislikes      = dislikes;
     _likes         = likes;
     _reviews       = reviews;
     _userProfiles  = userProfiles;
     _users         = users;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayerManagerBehaviour" /> class
 /// </summary>
 /// <param name="playerMaterials">Player Materials loader</param>
 public PlayerManagerBehaviour(IMaterials playerMaterials)
 {
     this._playerMaterials = playerMaterials;
 }
예제 #5
0
 public DataManager(IDirectory dictionary, IMaterials materials)
 {
     _dictionary = dictionary;
     _materials  = materials;
 }
예제 #6
0
 public void Teardown()
 {
     mat = null;
 }
예제 #7
0
 public void Setup()
 {
     mat = Substitute.For <IMaterials>();
 }