Show / Hide Table of Contents

Class RestrictionCollection

Represents restriction collection.

Inheritance
System.Object
RestrictionCollection
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 sealed class RestrictionCollection

Constructors

RestrictionCollection(Func<RestrictionCollection, UInt32, Boolean>)

Creates a new restriction collection.

Declaration
public RestrictionCollection(Func<RestrictionCollection, uint, bool> update)
Parameters
Func<RestrictionCollection, System.UInt32, System.Boolean> update

Properties

Count

Gets the # of restrictions.

Declaration
public int Count { get; }
Property Value
System.Int32

Item[Int32]

Returns the restriction at the given index.

Declaration
public Restriction this[int i] { get; }
Parameters
System.Int32 i

Property Value
Restriction

Vertex

Returns the vertex.

Declaration
public uint Vertex { get; }
Property Value
System.UInt32

Methods

Add(Restriction)

Adds a new restriction.

Declaration
public void Add(Restriction restriction)
Parameters
Restriction restriction

Clear()

Clears all restrictions.

Declaration
public void Clear()

Update(UInt32)

Updates this restriction collection.

Declaration
public bool Update(uint vertex)
Parameters
System.UInt32 vertex

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.