Click or drag to resize
MapWrapper Class
View Project on GitHub
Represents a single MapWrapper.
Inheritance Hierarchy
SystemObject
  GW2CSharpApiBase
    GW2CSharp.V2.Unauthenticated.MapsMapWrapper

Namespace: GW2CSharp.V2.Unauthenticated.Maps
Assembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntax
C#
public class MapWrapper : ApiBase

The MapWrapper type exposes the following members.

Constructors
  NameDescription
Public methodMapWrapper
Returns a wrapper for all map endpoint calls.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAll
Returns all maps.
Public methodGetAll(RequestedLanguage)
Returns all maps.
Public methodGetById(Int32)
Returns one map that matches the id.
Public methodGetById(Int32, RequestedLanguage)
Returns one map that matches the id.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Examples
public void GetAllMaps()
{
    IEnumerable<Lazy<Map>> maps = GW2Api.V2().Maps.GetAll();
}

public void GetMapInSpecificLanguage()
{
    Map map = GW2Api.V2(RequestedLanguage.De).Maps.GetById(50);
}
See Also