We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17334b3 commit a9600a0Copy full SHA for a9600a0
src/SIL.Harmony.Core/IChangeContext.cs
@@ -12,7 +12,7 @@ public interface IChangeContext
12
}
13
14
public async ValueTask<bool> IsObjectDeleted(Guid entityId) => (await GetSnapshot(entityId))?.EntityIsDeleted ?? true;
15
- internal IObjectBase Adapt(object obj);
+ internal IObjectBase Adapt(object obj) => throw new NotImplementedException(); /* allow mocking IChangeContext */
16
IAsyncEnumerable<object> GetObjectsReferencing(Guid entityId, bool includeDeleted = false);
17
IAsyncEnumerable<T> GetObjectsOfType<T>(string jsonTypeName, bool includeDeleted = false) where T : class;
18
0 commit comments