public DocumentPersistenceFactory(string url, string key, IDocumentSerializer serializer, DocumentPersistenceOptions options) { this.Url = url; this.Key = key; this.Serializer = serializer; this.Options = options; }
public DocumentPersistenceWireup(Wireup wireup, string url, string key, DocumentPersistenceOptions persistenceOptions) : base(wireup) { Logger.Debug(Messages.ConfiguringEngine); Container.Register(c => new DocumentPersistenceFactory(url, key, new DocumentObjectSerializer(), persistenceOptions).Build()); }
public DocumentPersistenceEngine(DocumentClient client, IDocumentSerializer serializer, DocumentPersistenceOptions options) { this.Client = client; this.Serializer = serializer; this.Options = options; }