Exemple #1
0
        public IEnumerable <T> FindPaged <T>(QueryFilter filter, ObjectId rootId, bool deepSearch, SortBy sortBy, int pageSize) where T : IConfigurable, new()
        {
            T t = (default(T) == null) ? Activator.CreateInstance <T>() : default(T);
            IMailboxStoreType mailboxStoreType = t as IMailboxStoreType;

            return(mailboxStoreType.FindPaged <T>(this, filter, rootId, deepSearch, sortBy, pageSize));
        }
Exemple #2
0
        public IConfigurable Read <T>(ObjectId identity) where T : IConfigurable, new()
        {
            T t = (default(T) == null) ? Activator.CreateInstance <T>() : default(T);
            IMailboxStoreType mailboxStoreType = t as IMailboxStoreType;

            return(mailboxStoreType.Read(this, identity));
        }
Exemple #3
0
        public void Delete(IConfigurable instance)
        {
            IMailboxStoreType mailboxStoreType = instance as IMailboxStoreType;

            mailboxStoreType.Delete(this);
        }