Skip to content

Commit 2901cec

Browse files
Rename methods according to Platform.Threading breaking changes
1 parent 2602cc9 commit 2901cec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

csharp/Platform.Data.Doublets/SynchronizedLinks.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public SynchronizedLinks(ISynchronization synchronization, ILinks<TLinkAddress>
115115
/// <para></para>
116116
/// </returns>
117117
[MethodImpl(MethodImplOptions.AggressiveInlining)]
118-
public TLinkAddress Count(IList<TLinkAddress>? restriction) => SyncRoot.ExecuteReadOperation(restriction, Unsync.Count);
118+
public TLinkAddress Count(IList<TLinkAddress>? restriction) => SyncRoot.DoRead(restriction, Unsync.Count);
119119

120120
/// <summary>
121121
/// <para>
@@ -136,7 +136,7 @@ public SynchronizedLinks(ISynchronization synchronization, ILinks<TLinkAddress>
136136
/// <para></para>
137137
/// </returns>
138138
[MethodImpl(MethodImplOptions.AggressiveInlining)]
139-
public TLinkAddress Each(IList<TLinkAddress>? restriction, ReadHandler<TLinkAddress>? handler) => SyncRoot.ExecuteReadOperation(restriction, handler, Unsync.Each);
139+
public TLinkAddress Each(IList<TLinkAddress>? restriction, ReadHandler<TLinkAddress>? handler) => SyncRoot.DoRead(restriction, handler, Unsync.Each);
140140

141141
/// <summary>
142142
/// <para>
@@ -153,7 +153,7 @@ public SynchronizedLinks(ISynchronization synchronization, ILinks<TLinkAddress>
153153
/// <para></para>
154154
/// </returns>
155155
[MethodImpl(MethodImplOptions.AggressiveInlining)]
156-
public TLinkAddress Create(IList<TLinkAddress>? substitution, WriteHandler<TLinkAddress>? handler) => SyncRoot.ExecuteWriteOperation(substitution, handler, Unsync.Create);
156+
public TLinkAddress Create(IList<TLinkAddress>? substitution, WriteHandler<TLinkAddress>? handler) => SyncRoot.DoWrite(substitution, handler, Unsync.Create);
157157

158158
/// <summary>
159159
/// <para>
@@ -174,7 +174,7 @@ public SynchronizedLinks(ISynchronization synchronization, ILinks<TLinkAddress>
174174
/// <para></para>
175175
/// </returns>
176176
[MethodImpl(MethodImplOptions.AggressiveInlining)]
177-
public TLinkAddress Update(IList<TLinkAddress>? restriction, IList<TLinkAddress>? substitution, WriteHandler<TLinkAddress>? handler) => SyncRoot.ExecuteWriteOperation(restriction, substitution, handler, Unsync.Update);
177+
public TLinkAddress Update(IList<TLinkAddress>? restriction, IList<TLinkAddress>? substitution, WriteHandler<TLinkAddress>? handler) => SyncRoot.DoWrite(restriction, substitution, handler, Unsync.Update);
178178

179179
/// <summary>
180180
/// <para>
@@ -187,7 +187,7 @@ public SynchronizedLinks(ISynchronization synchronization, ILinks<TLinkAddress>
187187
/// <para></para>
188188
/// </param>
189189
[MethodImpl(MethodImplOptions.AggressiveInlining)]
190-
public TLinkAddress Delete(IList<TLinkAddress>? restriction, WriteHandler<TLinkAddress>? handler) => SyncRoot.ExecuteWriteOperation(restriction, handler, Unsync.Delete);
190+
public TLinkAddress Delete(IList<TLinkAddress>? restriction, WriteHandler<TLinkAddress>? handler) => SyncRoot.DoWrite(restriction, handler, Unsync.Delete);
191191

192192
//public T Trigger(IList<T> restriction, Func<IList<T>, IList<T>, T> matchedHandler, IList<T> substitution, Func<IList<T>, IList<T>, T> substitutedHandler)
193193
//{

0 commit comments

Comments
 (0)