Show / Hide Table of Contents

Class FieldHelpers<T>

Helper methods to get strong typing for querybuilders.

Inheritance
System.Object
FieldHelpers<T>
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:Contentful.Core.Search
Assembly:cs.temp.dll.dll
Syntax
public static class FieldHelpers<T>
Type Parameters
Name Description
T

The type to get strong typing for.

Methods

GetPropertyName<U>(Expression<Func<T, U>>)

Gets the name of the provided property expression.

Declaration
public static string GetPropertyName<U>(Expression<Func<T, U>> selector)
Parameters
Type Name Description
Expression<System.Func<T, U>> selector

The selector expression.

Returns
Type Description
System.String

The name of the property in lower casing.

Type Parameters
Name Description
U
Back to top Copyright © 2015-2016 Contentful
Generated by DocFX