public static IDisposable Create() { Check.InvalidOperation(() => Current == null); Current = new CoreShell(); return(Current); }
public static IDisposable Create() { Check.InvalidOperation(() => _instance == null); _instance = new CoreShell(); return(_instance); }