IncrementalObjectExtensions.ApplyChangesSafe Method
ApplyChangesSafe<T>(T, T, in ApplyChangesContext)
Invokes ApplyChanges(Object, in ApplyChangesContext) in a type- and nullable-safe way.
Declaration
public static T ApplyChangesSafe<T>(this T baseOptions, T overrideOptions, in ApplyChangesContext context)
where T : class, IIncrementalObject
Parameters
Type | Name | Description |
---|---|---|
T | baseOptions | |
T | overrideOptions | |
ApplyChangesContext | context |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |