public static PutOptions UseDefault(this PutOptions options, string[] updatedProperties) { _ = options ?? throw new ArgumentNullException(nameof(options)); options.Context = PutOptionsExtensions.NewContext(updatedProperties); options.UseAmendedQualifiers = false; options.Type = PutType.UpdateOnly; return(options); }
public static PutOptions UseDefault(this PutOptions putOptions, IEnumerable <PropertyInfo> updatedProperties) { var properties = updatedProperties.SelectArray(p => p.Name); return(PutOptionsExtensions.UseDefault(putOptions, properties)); }