Esempio n. 1
0
 internal ObjectBase(
     ObjectPath objectPath,
     IObjectTracker objectTracker,
     IPropertyNameToIdMap propertyNameToIdMap,
     IPropertyContextBasedPropertyReader propertyContextBasedPropertyReader)
 {
     this.objectPath          = objectPath;
     this.objectTracker       = objectTracker;
     this.propertyNameToIdMap = propertyNameToIdMap;
     this.propertyContextBasedPropertyReader = propertyContextBasedPropertyReader;
 }
Esempio n. 2
0
        public static Maybe <PropertyTag> Resolve(this IPropertyNameToIdMap map, NumericalPropertyTag tag)
        {
            var propertyId = map.GetPropertyId(tag.Set, tag.Id);

            if (propertyId.HasNoValue)
            {
                return(Maybe <PropertyTag> .NoValue());
            }

            return(new PropertyTag(propertyId.Value, tag.Type));
        }
Esempio n. 3
0
 internal Recipient(
     ObjectPath messageObjectPath,
     NID recipientTableNodeId,
     int recipientRowId,
     IRecipientTracker objectTracker,
     IPropertyNameToIdMap propertyNameToIdMap,
     ITableContextBasedPropertyReader tableContextBasedPropertyReader)
 {
     this.messageObjectPath               = messageObjectPath;
     this.recipientTableNodeId            = recipientTableNodeId;
     this.recipientRowId                  = recipientRowId;
     this.objectTracker                   = objectTracker;
     this.propertyNameToIdMap             = propertyNameToIdMap;
     this.tableContextBasedPropertyReader = tableContextBasedPropertyReader;
 }
Esempio n. 4
0
 internal Message(
     ObjectPath objectPath,
     IObjectTracker objectTracker,
     IRecipientTracker recipientTracker,
     INodeEntryFinder nodeEntryFinder,
     IRowIndexReader rowIndexReader,
     IPropertyNameToIdMap propertyNameToIdMap,
     IPropertyContextBasedPropertyReader propertyContextBasedPropertyReader,
     ITableContextBasedPropertyReader tableContextBasedPropertyReader) : base(objectPath, objectTracker, propertyNameToIdMap, propertyContextBasedPropertyReader)
 {
     this.objectPath          = objectPath;
     this.objectTracker       = objectTracker;
     this.recipientTracker    = recipientTracker;
     this.nodeEntryFinder     = nodeEntryFinder;
     this.rowIndexReader      = rowIndexReader;
     this.propertyNameToIdMap = propertyNameToIdMap;
     this.propertyContextBasedPropertyReader = propertyContextBasedPropertyReader;
     this.tableContextBasedPropertyReader    = tableContextBasedPropertyReader;
 }
Esempio n. 5
0
File: Folder.cs Progetto: phx255/PST
 internal Folder(
     ObjectPath objectPath,
     IObjectTracker objectTracker,
     IRecipientTracker recipientTracker,
     IEncoder <string> stringEncoder,
     IPropertyNameToIdMap propertyNameToIdMap,
     IPropertyContextBasedPropertyReader propertyContextBasedPropertyReader,
     INodeEntryFinder nodeEntryFinder,
     IRowIndexReader rowIndexReader,
     ITableContextBasedPropertyReader tableContextBasedPropertyReader,
     INIDAllocator nodeIdAllocator) : base(objectPath, objectTracker, propertyNameToIdMap, propertyContextBasedPropertyReader)
 {
     this.objectPath       = objectPath;
     this.objectTracker    = objectTracker;
     this.recipientTracker = recipientTracker;
     this.stringEncoder    = stringEncoder;
     this.nodeEntryFinder  = nodeEntryFinder;
     this.rowIndexReader   = rowIndexReader;
     this.tableContextBasedPropertyReader = tableContextBasedPropertyReader;
     this.nodeIdAllocator     = nodeIdAllocator;
     this.propertyNameToIdMap = propertyNameToIdMap;
     this.propertyContextBasedPropertyReader = propertyContextBasedPropertyReader;
 }
Esempio n. 6
0
 private PSTFile(
     IObjectTracker objectTracker,
     IRecipientTracker recipientTracker,
     IEncoder <string> stringEncoder,
     INodeEntryFinder nodeEntryFinder,
     IRowIndexReader rowIndexReader,
     IPropertyNameToIdMap propertyNameToIdMap,
     IPropertyContextBasedPropertyReader propertyContextBasedPropertyReader,
     ITableContextBasedPropertyReader tableContextBasedPropertyReader,
     INIDAllocator nodeIdAllocator,
     IChangesApplier changesApplier)
 {
     this.objectTracker       = objectTracker;
     this.recipientTracker    = recipientTracker;
     this.stringEncoder       = stringEncoder;
     this.nodeEntryFinder     = nodeEntryFinder;
     this.rowIndexReader      = rowIndexReader;
     this.propertyNameToIdMap = propertyNameToIdMap;
     this.propertyContextBasedPropertyReader = propertyContextBasedPropertyReader;
     this.tableContextBasedPropertyReader    = tableContextBasedPropertyReader;
     this.nodeIdAllocator = nodeIdAllocator;
     this.changesApplier  = changesApplier;
 }
Esempio n. 7
0
 internal MessageStore(
     IObjectTracker objectTracker,
     IPropertyNameToIdMap propertyNameToIdMap,
     IPropertyContextBasedPropertyReader propertyContextBasedPropertyReader) : base(StorePath, objectTracker, propertyNameToIdMap, propertyContextBasedPropertyReader)
 {
 }