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

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

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