Click or drag to resize

TimeContext Class

A list of times as the input or output of placeholder level expansion.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.PlaceholdersExpansionContextTypedValue
    MFiles.VAF.PlaceholdersTypedValueContext
      MFiles.VAF.PlaceholdersTimeContext

Namespace:  MFiles.VAF.Placeholders
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class TimeContext : TypedValueContext

The TimeContext type exposes the following members.

Constructors
  NameDescription
Public methodTimeContext
Initializes a new instance of the TimeContext class
Top
Properties
  NameDescription
Public propertyContextType
The type of value this context contains.
(Overrides ExpansionContextTContextType.)
Public propertyCount
Gets the number of elements contained in the list.
(Inherited from ExpansionContextT.)
Public propertyDataType
The datatype of the values in this context.
(Overrides TypedValueContextDataType.)
Public propertyIsReadOnly
Indicates if the list can be modified, or is readonly.
(Inherited from ExpansionContextT.)
Public propertyItem
Gets or sets the item at the specified index. Ignores null values.
(Inherited from ExpansionContextT.)
Protected propertyList
Internal list.
(Inherited from ExpansionContextT.)
Public propertyText
A string representation of the values contained.
(Inherited from TypedValueContext.)
Public propertyType
The type of item this list contains.
(Inherited from ExpansionContextT.)
Top
Methods
  NameDescription
Public methodAdd(T)
Adds an item to the list. Ignores null values.
(Inherited from ExpansionContextT.)
Public methodAdd(DateTime)
Adds a raw value to the context (wraps it in a typedValue).
Public methodAssertValidItem
Ensures an item is valid before it is added to the list. Delegated to by the IList methods that add a value to the list.
(Inherited from TypedValueContext.)
Public methodClear
Removes all items from the list.
(Inherited from ExpansionContextT.)
Public methodClone
Returns a new instance of this context type with the same values.
(Overrides ExpansionContextTClone.)
Public methodContains
Determines whether the item is present in the list.
(Inherited from ExpansionContextT.)
Public methodCopyTo
Copies the elements of the list to an Array, starting at a particular Array index.
(Inherited from ExpansionContextT.)
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 methodGetEnumerator
Returns an enumerator that iterates through each item of the list.
(Inherited from ExpansionContextT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Determines the index of a specific item.
(Inherited from ExpansionContextT.)
Public methodInsert
Inserts an item at the specified index. Ignores null values.
(Inherited from ExpansionContextT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes an item from the list.
(Inherited from ExpansionContextT.)
Public methodRemoveAt
Removes the item at the specified index.
(Inherited from ExpansionContextT.)
Public methodSafeCastT2
Casts the context to an enumerable list of type T safely. If the cast is not valid, null is returned.
(Overrides ExpansionContextTSafeCastT2.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUniqueValues
Returns a new instance of this context type with duplicate values removed.
(Overrides ExpansionContextTUniqueValues.)
Top
Operators
See Also