PropertyExtensions.MinLength Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

MinLength(PropertyInfo)

Gets the minimum length of a string property.

public static int? MinLength(this PropertyInfo prop)

Parameters

prop
System.Reflection.PropertyInfo

Returns

System.Nullable{System.Int32}