Skip to content

Instantly share code, notes, and snippets.

@NeelBhatt
Created June 9, 2020 18:04
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 NeelBhatt/812578bd501b40397e2ce89b54c46907 to your computer and use it in GitHub Desktop.
Save NeelBhatt/812578bd501b40397e2ce89b54c46907 to your computer and use it in GitHub Desktop.
public interface ISingletonOperation : IOperation
{
}
public class SingletonOperation : ISingletonOperation
{
public Guid Id { get; }
public SingletonOperation()
{
Id = Guid.NewGuid();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment