Net.Bluewalk.DotNetUtils/Extensions/StringExtensions.cs
/// <summary>
/// Casts the specified JObject to given type.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="value">The value.</param>
/// <param name="lowerCaseUnderscore"></param>
/// <returns>T.</returns>
Casts the specified JObject to given type.
Casts the specified JObject to given type .
public static T Cast<T>(this JObject value, bool lowerCaseUnderscore = false)
        {
            return value.Cast<T>(lowerCaseUnderscore
                ? new JsonLowerCaseUnderscoreContractResolver()
                : new DefaultContractResolver());
        }
public static T Cast < T > ( this JObject value , bool lowerCaseUnderscore = false ) { return value . Cast < T > ( lowerCaseUnderscore ? new JsonLowerCaseUnderscoreContractResolver ( ) : new DefaultContractResolver ( ) ) ; }
Casts the specified JObject to given type.
Casts the specified JObject to given type .
None
JObject
this
lowerCaseUnderscore
bool
None
value
None
typeparam
None