public static IDisposable EnterScope() { var d = new ResolverDisposable(Current, CurrentMutable); Current = CurrentMutable = new PerspexLocator(Current); return(d); }
public RegistrationHelper(PerspexLocator locator) { _locator = locator; }
public ResolverDisposable(IPerspexDependencyResolver resolver, PerspexLocator mutable) { _resolver = resolver; _mutable = mutable; }
static PerspexLocator() { Current = CurrentMutable = new PerspexLocator(); }