| WorldWrapper Class |
Namespace: GW2CSharp.V2.Unauthenticated.Worlds
public class WorldWrapper : ApiBase
The WorldWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
| WorldWrapper |
A wrapper for all world endpoint calls.
| |
| WorldWrapper(RequestedLanguage) |
A wrapper for all world 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 worlds.
| |
| GetAll(RequestedLanguage) |
Returns all worlds.
| |
| GetById(Int32) |
Returns the world that matches the Id.
| |
| GetById(Int32, RequestedLanguage) |
Returns the world that matches the Id.
| |
| GetByIds(IEnumerableInt32) |
Returns the worlds that matches the ids.
| |
| GetByIds(Int32) |
Returns the worlds that matches the ids.
| |
| GetByIds(IEnumerableInt32, RequestedLanguage) |
Returns the worlds that matches the ids.
| |
| GetByPage(Int32, Int32) |
Returns worlds in pagesize.
| |
| GetByPage(Int32, Int32, RequestedLanguage) |
Returns worlds in pagesize.
| |
| 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 GetAWorld() { World pikenSquare = GW2Api.V2().Worlds.GetById(2012); } public void GetMultipleWorldsWithLanguage() { RequestedLanguage language = RequestedLanguage.de; IEnumerable<World> worlds = GW2Api.V2(language).Worlds.GetById(1001, 2012); } public void GetAllWorlds() { IEnumerable<World> allWorlds = GW2Api.V2().Worlds.GetAll(); }