Example #1
0
        public bool CanExpandThread(IResource res, ThreadExpandReason reason)
        {
            IResourceThreadingHandler handler = GetResourceThreadingHandler(res);

            if (handler != null)
            {
                return(handler.CanExpandThread(res, reason));
            }
            return(false);
        }
Example #2
0
        public bool HandleThreadExpand(IResource res, ThreadExpandReason reason)
        {
            IResourceThreadingHandler handler = GetResourceThreadingHandler(res);

            if (handler != null)
            {
                return(handler.HandleThreadExpand(res, reason));
            }
            return(true);
        }
Example #3
0
 public virtual bool HandleThreadExpand(IResource res, ThreadExpandReason reason)
 {
     return(true);
 }
Example #4
0
 public virtual bool CanExpandThread(IResource res, ThreadExpandReason reason)
 {
     return(res.HasProp(-_threadReplyProp));
 }
Example #5
0
 public bool CanExpandThread(IResource res, ThreadExpandReason reason)
 {
     return(res.HasProp(-Core.Props.Reply) || res.HasProp(PROP.Attachment));
 }