Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Radical/ChangeTracking/Change Management/Change.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public abstract class Change<T> : IChange<T>
/// The callback to invoke in order to
/// commit the cached value.
/// </summary>
protected CommitCallback<T> CommitCallback { get; }
protected CommitCallback<T>? CommitCallback { get; }

/// <summary>
/// Initializes a new instance of the <see cref="Change&lt;T&gt;"/> class.
Expand All @@ -31,7 +31,7 @@ public abstract class Change<T> : IChange<T>
/// <param name="rejectCallback">The reject callback.</param>
/// <param name="commitCallback">The commit callback.</param>
/// <param name="description">The description.</param>
protected Change(object owner, T valueToCache, RejectCallback<T> rejectCallback, CommitCallback<T> commitCallback, string description)
protected Change(object owner, T valueToCache, RejectCallback<T> rejectCallback, CommitCallback<T>? commitCallback, string description)
{
Ensure.That(owner).Named("owner").IsNotNull();
Ensure.That(rejectCallback).Named("rejectCallback").IsNotNull();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public PropertyValueChange(object owner, string propertyName, T value, RejectCal
/// <param name="restoreCallback">The restore callback.</param>
/// <param name="commitCallback">The commit callback.</param>
/// <param name="description">The description.</param>
public PropertyValueChange(object owner, string propertyName, T value, RejectCallback<T> restoreCallback, CommitCallback<T> commitCallback, string description)
public PropertyValueChange(object owner, string propertyName, T value, RejectCallback<T> restoreCallback, CommitCallback<T>? commitCallback, string description)
: base(owner, value, restoreCallback, commitCallback, description)
{
PropertyName = propertyName;
Expand Down
2 changes: 2 additions & 0 deletions src/Radical/Radical.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>9</LangVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down