Open sandboxFocus

Class IncrementalObjectExtensions

Extensions of the IIncrementalObject interface.

Inheritance
IncrementalObjectExtensions
Namespace: Metalama.Framework.Options
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class IncrementalObjectExtensions
Remarks

These extension methods provide type-safe and null-safe wrappers around the ApplyChanges(object, in ApplyChangesContext) method, making it easier to work with incremental objects in a strongly-typed manner.

Methods

Name Description
ApplyChangesSafe<T>(T?, T?, in ApplyChangesContext)

Invokes ApplyChanges(object, in ApplyChangesContext) in a type- and nullable-safe way.

ApplyChanges<T>(T, T, in ApplyChangesContext)

Invokes ApplyChanges(object, in ApplyChangesContext) in a type-safe way.

See Also