Click or drag to resize
SkinWrapper Class
View Project on GitHub
Represents the v2/skins endpoint
Inheritance Hierarchy
SystemObject
  GW2CSharpApiBase
    GW2CSharp.V2.Unauthenticated.Items.SkinsSkinWrapper

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

The SkinWrapper type exposes the following members.

Constructors
  NameDescription
Public methodSkinWrapper
Returns a wrapper for all skin endpoint calls.
Public methodSkinWrapper(RequestedLanguage)
Returns a wrapper for all skin 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 known skins.
Public methodGetById
Returns the skin that matches with 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 GetAllSkins()
{
    Dictionary<int, Lazy<Skin>> skins = GW2Api.V2().Skins.GetAll();
    Skin adeptHelm = skins[263].Value;
}

public void GetSkinInSpecificLanguage()
{
    Skin skin = GW2Api.V2(RequestedLanguage.De).Skins.GetById(1);
}
See Also