Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class ContextServiceFactory
private ContextService _currentContext;
public ContextService GetCurrentContext()
if (_currentContext == null)
_currentContext = new ContextService();
return _currentContext;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.