Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetBirthdaysCommand"/> class.
 /// </summary>
 /// <param name="validator">
 /// The validator.
 /// </param>
 /// <param name="accountCharacterNamesEndPoint">
 /// The account character names end point.
 /// </param>
 /// <param name="characterInformationEndPoint">
 /// The character information end point.
 /// </param>
 public GetBirthdaysCommand(
     IValidateObjects <GetBirthdaysRequest> validator,
     IGw2ApiAuthEndPoint <AccountCharacterNames> accountCharacterNamesEndPoint,
     IGw2ApiAuthEndPoint <CharacterInformation> characterInformationEndPoint)
     : base(validator)
 {
     this.accountCharacterNamesEndPoint = accountCharacterNamesEndPoint;
     this.characterInformationEndPoint  = characterInformationEndPoint;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAccountInventory"/> class.
 /// </summary>
 /// <param name="getAccountCharacterNamesEndPoint">
 /// The get account character names end point.
 /// </param>
 /// <param name="getCharacterInventoryEndPoint">
 /// The get character inventory end point.
 /// </param>
 /// <param name="getAccountBankEndPoint">
 /// The get account bank end point.
 /// </param>
 /// <param name="getItemDescriptionsEndPoint">
 /// The get itemLocation descriptions end point.
 /// </param>
 /// <param name="getAccountMaterialsEndPoint">
 /// The get account materials.
 /// </param>
 public GetAccountInventory(
     IValidateObjects <GetAccountInventoryRequest> validator,
     IGw2ApiAuthEndPoint <AccountCharacterNames> getAccountCharacterNamesEndPoint,
     IGw2ApiAuthEndPoint <CharacterInventory> getCharacterInventoryEndPoint,
     IGetAccountBank getAccountBankEndPoint,
     IGw2ApiEndPoint <List <ItemDescription> > getItemDescriptionsEndPoint,
     IGw2ApiAuthEndPoint <AccountBankMaterials> getAccountMaterialsEndPoint,
     IGw2ApiAuthEndPoint <CharacterEquipment> getEquippedItemsEndPoint)
     : base(validator)
 {
     this.getAccountCharacterNamesEndPoint = getAccountCharacterNamesEndPoint;
     this.getCharacterInventoryEndPoint    = getCharacterInventoryEndPoint;
     this.getAccountBankEndPoint           = getAccountBankEndPoint;
     this.getItemDescriptionsEndPoint      = getItemDescriptionsEndPoint;
     this.getAccountMaterialsEndPoint      = getAccountMaterialsEndPoint;
     this.getEquippedItemsEndPoint         = getEquippedItemsEndPoint;
 }