FileContext Methods |
The FileContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Adds an item to the list. Ignores null values.
(Inherited from ExpansionContextT.) |
![]() | AssertValidItem |
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.
The item to add is returned. If null is returned nothing will be added.
(Inherited from ExpansionContextT.) |
![]() | Clear |
Removes all items from the list.
(Inherited from ExpansionContextT.) |
![]() | Clone |
Returns a new instance of this context type with the same values.
(Overrides ExpansionContextTClone.) |
![]() | Contains |
Determines whether the item is present in the list.
(Inherited from ExpansionContextT.) |
![]() | CopyTo |
Copies the elements of the list to an Array, starting at a particular Array index.
(Inherited from ExpansionContextT.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through each item of the list.
(Inherited from ExpansionContextT.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf |
Determines the index of a specific item.
(Inherited from ExpansionContextT.) |
![]() | Insert |
Inserts an item at the specified index.
Ignores null values.
(Inherited from ExpansionContextT.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Removes an item from the list.
(Inherited from ExpansionContextT.) |
![]() | RemoveAt |
Removes the item at the specified index.
(Inherited from ExpansionContextT.) |
![]() | SafeCastT2 |
Casts the context to an enumerable list of type T safely.
If the cast is not valid, null is returned.
(Inherited from ExpansionContextT.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UniqueValues |
Returns a new instance of this context type with duplicate values removed.
(Overrides ExpansionContextTUniqueValues.) |