C# Class Spark.Store.Mongo.MongoInfrastructureFactory

显示文件 Open project: raysearchlabs/spark

Public Methods

Method Description
AddMongo ( this infrastructure, string url ) : Infrastructure
GetMongoDatabase ( string url ) : MongoDatabase
GetMongoFhirIndex ( MongoDatabase database, IEnumerable searchparameters ) : MongoFhirIndex
GetMongoFhirStore ( MongoDatabase database ) : MongoFhirStore

Method Details

AddMongo() public static method

public static AddMongo ( this infrastructure, string url ) : Infrastructure
infrastructure this
url string
return Spark.Core.Infrastructure

GetMongoDatabase() public static method

public static GetMongoDatabase ( string url ) : MongoDatabase
url string
return MongoDatabase

GetMongoFhirIndex() public static method

public static GetMongoFhirIndex ( MongoDatabase database, IEnumerable searchparameters ) : MongoFhirIndex
database MongoDatabase
searchparameters IEnumerable
return Spark.Mongo.Search.Common.MongoFhirIndex

GetMongoFhirStore() public static method

public static GetMongoFhirStore ( MongoDatabase database ) : MongoFhirStore
database MongoDatabase
return MongoFhirStore