| MapWrapper Class |
Namespace: GW2CSharp.V2.Unauthenticated.Maps
public class MapWrapper : ApiBase
The MapWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
| MapWrapper |
Returns a wrapper for all map 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.) | |
| GetAll |
Returns all maps.
| |
| GetAll(RequestedLanguage) |
Returns all maps.
| |
| GetById(Int32) |
Returns one map that matches the id.
| |
| GetById(Int32, RequestedLanguage) |
Returns one map that matches the id.
| |
| 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 GetAllMaps() { IEnumerable<Lazy<Map>> maps = GW2Api.V2().Maps.GetAll(); } public void GetMapInSpecificLanguage() { Map map = GW2Api.V2(RequestedLanguage.De).Maps.GetById(50); }