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)); }
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)); }
public void Delete(IConfigurable instance) { IMailboxStoreType mailboxStoreType = instance as IMailboxStoreType; mailboxStoreType.Delete(this); }