2 instantiations of ChangeTokenRegistration
Microsoft.Extensions.Primitives (2)
ChangeToken.cs (2)
31
return new
ChangeTokenRegistration
<Action>(changeTokenProducer, callback => callback(), changeTokenConsumer);
52
return new
ChangeTokenRegistration
<TState>(changeTokenProducer, changeTokenConsumer, state);
1 reference to ChangeTokenRegistration
Microsoft.Extensions.Primitives (1)
ChangeToken.cs (1)
101
IDisposable registraton = token.RegisterChangeCallback(s => ((
ChangeTokenRegistration
<TState>?)s)!.OnChangeTokenFired(), this);