Class AttributeCollectionExtensions
Holds helper extension methods for normalizing attribute collections.
Inheritance
System.Object
AttributeCollectionExtensions
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 static class AttributeCollectionExtensions
Properties
OnewayValues
Gets the possible values for oneway.
Declaration
public static Dictionary<string, bool> OnewayValues { get; }
Property Value
|
Dictionary<System.String, System.Boolean>
|
RampValues
Gets the possible values for ramp.
Declaration
public static Dictionary<string, bool ? > RampValues { get; }
Property Value
|
Dictionary<System.String, System.Nullable<System.Boolean>>
|
Methods
NormalizeAccess(IAttributeCollection, IAttributeCollection, Boolean, String[])
Normalizes access for the given hierarchy of access tags.
Declaration
public static void NormalizeAccess(this IAttributeCollection tags, IAttributeCollection profileTags, bool defaultAccess, params string[] accessTags)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
|
System.Boolean
defaultAccess
|
|
System.String[]
accessTags
|
NormalizeAccess(IAttributeCollection, VehicleCache, Vehicle, String, IAttributeCollection)
Normalizes nothing but the access tags.
Declaration
public static void NormalizeAccess(this IAttributeCollection tags, VehicleCache vehicleCache, Vehicle vehicle, string highwayType, IAttributeCollection profileTags)
Parameters
|
IAttributeCollection
tags
|
|
VehicleCache
vehicleCache
|
|
Vehicle
vehicle
|
|
System.String
highwayType
|
|
IAttributeCollection
profileTags
|
NormalizeCycleway(IAttributeCollection, IAttributeCollection)
Normalize the cycleway tag.
Declaration
public static void NormalizeCycleway(this IAttributeCollection tags, IAttributeCollection profileTags)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
NormalizeJunction(IAttributeCollection, IAttributeCollection)
Normalizes the junction tag.
Declaration
public static void NormalizeJunction(this IAttributeCollection tags, IAttributeCollection profileTags)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
NormalizeMaxspeed(IAttributeCollection, IAttributeCollection)
Normalizes maxspeed.
Declaration
public static void NormalizeMaxspeed(this IAttributeCollection tags, IAttributeCollection profileTags)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
NormalizeOneway(IAttributeCollection, IAttributeCollection)
Normalizes the oneway tag.
Declaration
public static void NormalizeOneway(this IAttributeCollection tags, IAttributeCollection profileTags)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
NormalizeOnewayBicycle(IAttributeCollection, IAttributeCollection)
Normalizes the oneway bicycle tag.
Declaration
public static void NormalizeOnewayBicycle(this IAttributeCollection tags, IAttributeCollection profileTags)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
NormalizeRamp(IAttributeCollection, IAttributeCollection, Boolean)
Normalizes the ramp tag.
Declaration
public static void NormalizeRamp(this IAttributeCollection tags, IAttributeCollection profileTags, bool defaultAccess)
Parameters
|
IAttributeCollection
tags
|
|
IAttributeCollection
profileTags
|
|
System.Boolean
defaultAccess
|