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