CurrencyWrapper Class |
Namespace: GW2CSharp.V2.Unauthenticated.Currencies
public class CurrencyWrapper : ApiBase
The CurrencyWrapper type exposes the following members.
Name | Description | |
---|---|---|
![]() | CurrencyWrapper |
Returns a wrapper for all currency endpoint calls.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Get(CurrencyType) |
Returns the currency that matches the CurrencyType.
|
![]() | Get(CurrencyType, RequestedLanguage) |
Returns the currency that matches the CurrencyType.
|
![]() | GetAll |
Returns all currencies.
|
![]() | GetAll(RequestedLanguage) |
Returns all currencies.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
public void GetACurrency() { Currency gem = GW2Api.V2().Currencies.Get(CurrencyType.Gem); } public void GetACurrencyInASpecificLanguage() { RequestedLanguage language = RequestedLanguage.de; Currency gem = GW2Api.V2(language).Currencies.Get(CurrencyType.Gem); }