Show / Hide Table of Contents

Class LocationCodec<TLocation>

Abstract representation of a codec for a specific location type.

Inheritance
System.Object
LocationCodec<TLocation>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public abstract class LocationCodec<TLocation>
    where TLocation : ILocation
Type Parameters
TLocation

Methods

CanDecode(String)

Returns true if the given data can be decoded using this decoder.

Declaration
public abstract bool CanDecode(string data)
Parameters
System.String data

Returns
System.Boolean

Decode(String)

Decodes a string into a location reference.

Declaration
public abstract TLocation Decode(string data)
Parameters
System.String data

Returns
TLocation

Encode(TLocation)

Encodes a location reference into a string.

Declaration
public abstract string Encode(TLocation location)
Parameters
TLocation location

Returns
System.String

Back to top Built by Itinero, MIT licensed.