NameOf
Fills a gap in nameof by allowing you to use deep name references instead of local name references.Syntax
Inheritance
Methods
Full<TSource>
Parameters
- expression Expression<Func<TSource, object>>: An expression pointing to the property whose full name should be returned.
- separator string: The character(s) used to separate property names in the result. Defaults to ”.”.
Returns
string The full property path as a string with the specified separator.Full<TSource>
Parameters
- sourceFieldName string:
- expression Expression<Func<TSource, object>>:
- separator string: The characters used to separate the from the result.