/// <summary> /// Get complex types with bool properties /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static BooleanWrapper GetBool(this IPrimitive operations) { return(operations.GetBoolAsync().GetAwaiter().GetResult()); }