示例#1
0
        public DataShareContext(DataShareParameters parameters, DataShareDependencies dependencies, DataShareConfiguration configuration, DataShareHooks hooks)
        {
            this.parameters    = parameters;
            this.dependencies  = dependencies;
            this.configuration = configuration;
            this.hooks         = hooks;

            collection = new DataShareCollection();
            queue      = new LeakQueue <DataShareContext>(this);
        }
示例#2
0
 public DataShareService(DataShareParameters parameters, DataShareDependencies dependencies, DataShareConfiguration configuration, DataShareHooks hooks)
 {
     context = new DataShareContext(parameters, dependencies, configuration, hooks);
 }
示例#3
0
 public DataShareBuilder()
 {
     parameters    = new DataShareParameters();
     dependencies  = new DataShareDependencies();
     configuration = new DataShareConfiguration();
 }