Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jan 28, 2025
1 parent d927994 commit 61fb59f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public static void AddRhino(this IServiceCollection serviceCollection)
serviceCollection.AddSingleton<IBinding, RhinoSendBinding>();
serviceCollection.AddSingleton<IBinding, RhinoReceiveBinding>();


// register send filters
serviceCollection.AddScoped<ISendFilter, RhinoSelectionFilter>();
serviceCollection.AddScoped<IHostObjectBuilder, RhinoHostObjectBuilder>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ public class CancellationManager : ICancellationManager
private sealed class CancellationItem(CancellationManager manager, string id) : ICancellationItem
{
public void Dispose() => manager.DisposeOperation(id);

public CancellationToken Token => manager.GetToken(id);
}

/// <summary>
/// Dictionary to relate <see cref="CancellationTokenSource"/> with registered id.
/// </summary>
Expand Down

0 comments on commit 61fb59f

Please sign in to comment.