Class ExpressionExtensions
Inheritance
ExpressionExtensions
Assembly: MetricSetSyntaxTree.dll
public static class ExpressionExtensions
Methods
View Source
Declaration
public static bool HasMetadata<T>(this ColumnReference cr)
where T : class, IExpressionMetadata
Parameters
Returns
Type Parameters
View Source
This method removes metadata from the ColumnReference
provided if the metadata is present.
Declaration
public static ColumnReference RemoveMetadata<T>(this ColumnReference cr)
where T : class, IExpressionMetadata
Parameters
Returns
Type Parameters
View Source
Declaration
public static ColumnReference RevertName(this ColumnReference cr)
Parameters
Returns
View Source
If cr
contains a metadata of type
implementing IExpressionMetadata,
return true and parse the metadata into metadata
.
Declaration
public static bool TryGetMetadata<T>(this ColumnReference cr, out T metadata)
where T : class, IExpressionMetadata
Parameters
Returns
Type Parameters
View Source
Add to the .
If already contains metadata of type ,
the value will be overwritten with the newly provided .
Declaration
public static ColumnReference WithMetadata<T>(this ColumnReference cr, T metadata)
where T : class, IExpressionMetadata
Parameters
Returns
Type Parameters