Exemplo n.º 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));
        }
Exemplo n.º 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));
        }
Exemplo n.º 3
0
        public void Delete(IConfigurable instance)
        {
            IMailboxStoreType mailboxStoreType = instance as IMailboxStoreType;

            mailboxStoreType.Delete(this);
        }