Skip to content

Instantly share code, notes, and snippets.

@rdelrosario
Created May 10, 2022 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdelrosario/0b749c0a69cb4c3edf7e7abe88822e2a to your computer and use it in GitHub Desktop.
Save rdelrosario/0b749c0a69cb4c3edf7e7abe88822e2a to your computer and use it in GitHub Desktop.
public interface IStartupTaskParameters : IDictionary<string, object>{}
public class StartupTaskParameters : Dictionary<string, object>, IStartupTaskParameters
{
public static IStartupTaskParameters None => _none ??= new StartupTaskParameters();
private static IStartupTaskParameters _none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment