Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentManager" /> class.
 /// </summary>
 /// <param name="documentStore">The document store.</param>
 /// <param name="fieldStore">The field store.</param>
 /// <param name="indexStore"></param>
 public DocumentManager(IDocumentStore documentStore, IFieldStore fieldStore, IIndexStore indexStore)
 {
     DocumentStore = documentStore;
     FieldStore    = fieldStore;
     IndexStore    = indexStore;
 }
Exemplo n.º 2
0
        //TransactionOrchestrator transactionOrchestrator = new TransactionOrchestrator();


        /// <summary>
        /// Initializes a new instance of the <see cref="FieldManager"/> class.
        /// </summary>
        /// <param name="fieldStore">The field store.</param>
        /// <param name="indexStore">The index store.</param>
        /// <param name="auditReportProvider">The audit report provider.</param>
        public FieldManager(IFieldStore fieldStore, IIndexStore indexStore, IAuditReportProvider auditReportProvider)
        {
            FieldStore          = fieldStore;
            IndexStore          = indexStore;
            AuditReportProvider = auditReportProvider;
        }