Open sandboxFocus

Method ToLocationInfoArray

ToLocationInfoArray(ICollection<FieldInfo>)

Converts a collection of FieldInfo into an array of LocationInfo.

Declaration
public static LocationInfo[] ToLocationInfoArray(ICollection<FieldInfo> fields)
Parameters
Type Name Description
ICollection<FieldInfo> fields

A collection of FieldInfo.

Returns
Type Description
LocationInfo[]

An array of LocationInfo.

ToLocationInfoArray(ICollection<PropertyInfo>)

Converts a collection of PropertyInfo into an array of LocationInfo.

Declaration
public static LocationInfo[] ToLocationInfoArray(ICollection<PropertyInfo> properties)
Parameters
Type Name Description
ICollection<PropertyInfo> properties

A collection of PropertyInfo.

Returns
Type Description
LocationInfo[]

An array of LocationInfo.

ToLocationInfoArray(ICollection<ParameterInfo>)

Converts a collection of ParameterInfo into an array of LocationInfo.

Declaration
public static LocationInfo[] ToLocationInfoArray(ICollection<ParameterInfo> parameters)
Parameters
Type Name Description
ICollection<ParameterInfo> parameters

A collection of ParameterInfo.

Returns
Type Description
LocationInfo[]

An array of LocationInfo.