public MetagetContext(MetagetParameters parameters, MetagetDependencies dependencies, MetagetHooks hooks, MetagetConfiguration configuration) { this.parameters = parameters; this.dependencies = dependencies; this.hooks = hooks; this.configuration = configuration; queue = new LeakQueue <MetagetContext>(this); }
public MetagetBuilder() { parameters = new MetagetParameters(); dependencies = new MetagetDependencies(); configuration = new MetagetConfiguration(); }
public MetagetService(MetagetParameters parameters, MetagetDependencies dependencies, MetagetHooks hooks, MetagetConfiguration configuration) { context = new MetagetContext(parameters, dependencies, hooks, configuration); }