Class Coder
The OpenLR encoder/decoder.
Inheritance
System.Object
Coder
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 class Coder
Constructors
Coder(RouterDb, CoderProfile)
Creates a new coder with a default binary codec.
Declaration
public Coder(RouterDb routerDb, CoderProfile profile)
Parameters
RouterDb
routerDb
|
CoderProfile
profile
|
Coder(RouterDb, CoderProfile, CodecBase)
Creates a new coder.
Declaration
public Coder(RouterDb routerDb, CoderProfile profile, CodecBase rawCodec)
Parameters
RouterDb
routerDb
|
CoderProfile
profile
|
CodecBase
rawCodec
|
Properties
Profile
RawCodec
Router
Gets the router.
Declaration
public Router Router { get; }
Property Value
Router
|
Methods
Decode(String)
Decoders an OpenLR string into a location.
Declaration
public ReferencedLocation Decode(string encoded)
Parameters
System.String
encoded
|
Returns
ReferencedLocation
|
Encode(ReferencedLocation)
Encodes a location into an OpenLR string.
Declaration
public string Encode(ReferencedLocation location)
Parameters
ReferencedLocation
location
|
Returns
System.String
|
Encode(ReferencedLocation, EncodingSettings)
Encodes a location into an OpenLR string.
Declaration
public string Encode(ReferencedLocation location, EncodingSettings settings)
Parameters
ReferencedLocation
location
|
EncodingSettings
settings
|
Returns
System.String
|