예제 #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));
        }
예제 #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));
        }
예제 #3
0
        public void Delete(IConfigurable instance)
        {
            IMailboxStoreType mailboxStoreType = instance as IMailboxStoreType;

            mailboxStoreType.Delete(this);
        }