示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModifierService"/> class.
 /// </summary>
 /// <param name="modifierRepository">The modifier repository.</param>
 public ModifierService(IModifierRepository modifierRepository)
 {
     _modifierRepository = modifierRepository;
 }
示例#2
0
 public ModifierController(IModifierRepository _modifierRepository) //Constructor Dependency Injection
 {
     modifierRepository = _modifierRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AbilitiesController"/> class.
 /// </summary>
 /// <param name="modifierRepository">The modifier repository.</param>
 public AbilitiesController(IModifierRepository modifierRepository)
 {
     ModifierRepository = modifierRepository;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbilitiesController"/> class.
 /// </summary>
 /// <param name="modifierRepository">The modifier repository.</param>
 public AbilitiesController(IModifierRepository modifierRepository)
 {
     ModifierRepository = modifierRepository;
 }