Class NTSExtensions
Contains extension methods for NTS-related functionality.
Inheritance
System.Object
NTSExtensions
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 NTSExtensions
Methods
Add(AttributesTable, String, Object)
Temporary extension method to prepare for NTS 1.15.
Declaration
public static void Add(this AttributesTable table, string name, object value)
Parameters
|
AttributesTable
table
|
|
System.String
name
|
|
System.Object
value
|
Contains(IAttributesTable, String, Object)
Returns true if the given table contains the given attribute with the given value.
Declaration
public static bool Contains(this IAttributesTable table, string name, object value)
Parameters
|
IAttributesTable
table
|
|
System.String
name
|
|
System.Object
value
|
Returns
|
System.Boolean
|
TryGetValue(IAttributesTable, String, out Object)
Tries to get a value from the attribute table.
Declaration
public static bool TryGetValue(this IAttributesTable table, string name, out object value)
Parameters
|
IAttributesTable
table
|
|
System.String
name
|
|
System.Object
value
|
Returns
|
System.Boolean
|
TryGetValueAsString(IAttributesTable, String, out String)
Tries to get a value as a string from the attribute table.
Declaration
public static bool TryGetValueAsString(this IAttributesTable table, string name, out string value)
Parameters
|
IAttributesTable
table
|
|
System.String
name
|
|
System.String
value
|
Returns
|
System.Boolean
|