internal StorageEntitySet(IStorageEntitySetScope <TSession> parentScope, string relativeName, TCommandFactory commandFactory) : base(commandFactory) { this.description = string.Format("{0}.{1}", parentScope, relativeName); this.Session = parentScope.StoreSession; this.StoreSession = this.Session; this.XsoFactory = parentScope.XsoFactory; this.RecipientSession = parentScope.RecipientSession; this.IdConverter = parentScope.IdConverter; }
internal static Event GetBasicSeriesEventData(IStorePropertyBag propertyBag, IStorageEntitySetScope <IStoreSession> scope) { VersionedId valueOrDefault = propertyBag.GetValueOrDefault <VersionedId>(ItemSchema.Id, null); Event @event = scope.IdConverter.CreateBasicEntity <Event>(valueOrDefault, scope.StoreSession); string valueOrDefault2 = propertyBag.GetValueOrDefault <string>(StoreObjectSchema.ItemClass, null); if (!string.IsNullOrEmpty(valueOrDefault2)) { @event.Type = (ObjectClass.IsCalendarItemSeries(valueOrDefault2) ? EventType.SeriesMaster : EventType.Exception); } @event.StoreId = valueOrDefault; return(@event); }
protected StorageEntitySet(IStorageEntitySetScope <TSession> parentScope, string relativeName, IEntityCommandFactory <TEntitySet, TEntity> commandFactory) : base(parentScope, relativeName, commandFactory) { }
protected internal CalendarGroups(IStorageEntitySetScope <IMailboxSession> parentScope, IEntityCommandFactory <CalendarGroups, CalendarGroup> commandFactory = null) : base(parentScope, "CalendarGroups", commandFactory ?? EntityCommandFactory <CalendarGroups, CalendarGroup, CreateCalendarGroup, DeleteCalendarGroup, FindCalendarGroups, ReadCalendarGroup, UpdateCalendarGroup> .Instance) { }
protected StorageDataProvider(IStorageEntitySetScope <TSession> scope, ITracer trace) : base(trace) { this.Scope = scope; }
public BirthdayContacts(IStorageEntitySetScope <IMailboxSession> parentScope) : base(parentScope, "BirthdayContacts", new SimpleCrudNotSupportedCommandFactory <IBirthdayContacts, IBirthdayContact>()) { }
public MeetingRequestMessageDataProvider(IStorageEntitySetScope <IMailboxSession> parentScope) : base(parentScope, null, ExTraceGlobals.MeetingRequestMessageDataProviderTracer) { }
protected StorageObjectDataProvider(IStorageEntitySetScope <TSession> scope, ITracer trace) : base(scope, trace) { }
protected internal Attachments(IStorageEntitySetScope <IStoreSession> parentScope, IEntityReference <IItem> parentItem, AttachmentDataProvider attachmentDataProvider, IEntityCommandFactory <Attachments, IAttachment> commandFactory = null) : base(parentScope, "Attachments", commandFactory ?? EntityCommandFactory <Attachments, IAttachment, CreateAttachment, DeleteAttachment, FindAttachments, ReadAttachment, UpdateAttachment> .Instance) { this.ParentItem = parentItem; this.AttachmentDataProvider = attachmentDataProvider; }
protected ItemReference(IStorageEntitySetScope <IStoreSession> scope, string itemKey) : base(scope) { this.ItemKey = itemKey; }
public StorageEntitySetScope(IStorageEntitySetScope <TStoreSession> scope) : this(scope.StoreSession, scope.RecipientSession, scope.XsoFactory, scope.IdConverter) { }
public MailboxCalendars(IStorageEntitySetScope <IMailboxSession> scope, CalendarGroupReference calendarGroupForNewCalendars) : base(scope, calendarGroupForNewCalendars, null) { }
public BirthdaysContainer(IStorageEntitySetScope <IMailboxSession> parentScope) : base(parentScope) { }
public EventDataProvider(IStorageEntitySetScope <IStoreSession> scope, StoreId calendarFolderId) : base(scope, calendarFolderId, ExTraceGlobals.EventDataProviderTracer) { }
public BirthdayContactDataProvider(IStorageEntitySetScope <IStoreSession> scope, StoreId containerFolderId) : base(scope, containerFolderId, ExTraceGlobals.BirthdayEventDataProviderTracer) { }
internal ContactDataProvider(IStorageEntitySetScope <IMailboxSession> scope, ITracer tracer) : base(scope, null, tracer) { ArgumentValidator.ThrowIfNull("scope", scope); ArgumentValidator.ThrowIfNull("tracer", tracer); this.FolderInScope = DefaultFolderType.None; }
protected ItemReference(IStorageEntitySetScope <IStoreSession> scope, StoreId itemStoreId, IStoreSession session) : base(scope) { this.ItemKey = base.IdConverter.ToStringId(itemStoreId, session); }
protected internal MeetingRequestMessages(IStorageEntitySetScope <IMailboxSession> parentScope, IEvents events) : base(parentScope, "MeetingRequestMessages", MeetingRequestMessageCommandFactory.Instance) { this.Events = events; }
public AttachmentDataProvider(IStorageEntitySetScope <IStoreSession> scope, StoreId parentItemId) : base(scope, ExTraceGlobals.AttachmentDataProviderTracer) { this.parentItemId = parentItemId; }
public SeriesEventDataProvider(IStorageEntitySetScope <IStoreSession> scope, StoreId calendarFolderId) : base(scope, calendarFolderId) { }
public CalendaringContainer(IStorageEntitySetScope <IMailboxSession> parentScope) : base(parentScope) { this.description = string.Format("{0}.Calendaring", parentScope); this.calendarGroups = new CalendarGroups(this, null); }
protected StorageItemDataProvider(IStorageEntitySetScope <TSession> scope, StoreId containerFolderId, ITracer trace) : base(scope, trace) { this.ContainerFolderId = containerFolderId; }
protected internal Events(IStorageEntitySetScope <IStoreSession> parentScope, ILocalCalendarReference localCalendar) : base(parentScope, "Events", EventCommandFactory.Instance) { this.LocalCalendar = localCalendar; }
public CalendarGroupEntryDataProvider(IStorageEntitySetScope <IMailboxSession> parentScope) : base(parentScope, null, ExTraceGlobals.CalendarDataProviderTracer) { }
private static Event GetBasicSeriesEventDataWithClinetId(IStorePropertyBag propertyBag, IStorageEntitySetScope <IStoreSession> scope) { Event basicSeriesEventData = EventExtensions.GetBasicSeriesEventData(propertyBag, scope); basicSeriesEventData.ClientId = propertyBag.GetValueOrDefault <string>(CalendarItemBaseSchema.EventClientId, null); return(basicSeriesEventData); }
protected Calendars(IStorageEntitySetScope <IMailboxSession> parentScope, CalendarGroupReference calendarGroupForNewCalendars, IEntityCommandFactory <Calendars, Calendar> commandFactory = null) : base(parentScope, "Calendars", commandFactory ?? EntityCommandFactory <Calendars, Calendar, CreateCalendar, DeleteCalendar, FindCalendars, ReadCalendar, UpdateCalendar> .Instance) { this.CalendarGroupForNewCalendars = calendarGroupForNewCalendars; }
public CalendarFolderDataProvider(IStorageEntitySetScope <IStoreSession> parentScope, StoreId parentFolderId) : base(parentScope, ExTraceGlobals.CalendarDataProviderTracer) { this.ParentFolderId = parentFolderId; }
public EventReference(IStorageEntitySetScope <IStoreSession> parentScope, string eventId) : base(parentScope, eventId.AssertNotNull("eventId")) { }