Esempio n. 1
0
        public MetashareContext(MetashareParameters parameters, MetashareDependencies dependencies, MetashareConfiguration configuration, MetashareHooks hooks)
        {
            this.parameters    = parameters;
            this.dependencies  = dependencies;
            this.configuration = configuration;
            this.hooks         = hooks;

            collection = new MetashareCollection();
            queue      = new LeakQueue <MetashareContext>(this);
        }
Esempio n. 2
0
 public MetashareBuilder()
 {
     parameters    = new MetashareParameters();
     dependencies  = new MetashareDependencies();
     configuration = new MetashareConfiguration();
 }
Esempio n. 3
0
 public MetashareService(MetashareParameters parameters, MetashareDependencies dependencies, MetashareConfiguration configuration, MetashareHooks hooks)
 {
     context = new MetashareContext(parameters, dependencies, configuration, hooks);
 }