コード例 #1
0
 public DocumentPersistenceFactory(string url, string key, IDocumentSerializer serializer, DocumentPersistenceOptions options)
 {
     this.Url        = url;
     this.Key        = key;
     this.Serializer = serializer;
     this.Options    = options;
 }
コード例 #2
0
 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());
 }
コード例 #3
0
 public DocumentPersistenceEngine(DocumentClient client, IDocumentSerializer serializer, DocumentPersistenceOptions options)
 {
     this.Client     = client;
     this.Serializer = serializer;
     this.Options    = options;
 }