public DataService(DataServiceOptions options) { this.Config = options; var client = new MongoClient(this.Config.ConnectionString); var db = client.GetDatabase("torrentinator"); collection = db.GetCollection <TorrentData>("torrents"); }
public FundingCalcManager(ILogger logger, IActorsHelper actorsHelper, ActorOptions actorOptions, ServiceProxyFactory serviceProxyFactory, DataServiceOptions dataServiceOptions) { var context = FabricRuntime.GetActivationContext(); _logger = logger; _actorsHelper = actorsHelper; _albActorUri = new Uri($"{context.ApplicationName}/{actorOptions.ALBActorName}"); _validationResultsServiceUri = new Uri( $"{context.ApplicationName}/{dataServiceOptions.ValidationResultsServiceName}"); _serviceProxyFactory = serviceProxyFactory; }
public DataService @using(DataServiceOptions config) { return null; }
public DataService(DataServiceOptions config) { }
public DataService @using(DataServiceOptions config) { return(null); }