We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We want to add these boilerplate combinators for IChangeToken
IChangeToken
public static class ChangeToken { public static void OnChange(Func<IChangeToken> changeTokenProducer, Action changeTokenConsumer) { Action<object> callback = null; callback = (s) => { var token = changeTokenProducer(); changeTokenConsumer(); token.Register(callback, null); } token.Register(callback, null); } public static void OnChange<T>(Func<IChangeToken> changeTokenProducer, Action<T> changeTokenConsumer, T state) { Action<object> callback = null; callback = (s) => { var token = changeTokenProducer(); changeTokenConsumer((T)s); token.Register(callback, s); } token.Register(callback, state); } }
The text was updated successfully, but these errors were encountered:
01eff58
Sorry, something went wrong.
Merge pull request #62 from aspnet/no-mono
8698ca4
No mono
HaoK
No branches or pull requests
We want to add these boilerplate combinators for
IChangeToken
The text was updated successfully, but these errors were encountered: