public bool CanExpandThread(IResource res, ThreadExpandReason reason) { IResourceThreadingHandler handler = GetResourceThreadingHandler(res); if (handler != null) { return(handler.CanExpandThread(res, reason)); } return(false); }
public bool HandleThreadExpand(IResource res, ThreadExpandReason reason) { IResourceThreadingHandler handler = GetResourceThreadingHandler(res); if (handler != null) { return(handler.HandleThreadExpand(res, reason)); } return(true); }
public virtual bool HandleThreadExpand(IResource res, ThreadExpandReason reason) { return(true); }
public virtual bool CanExpandThread(IResource res, ThreadExpandReason reason) { return(res.HasProp(-_threadReplyProp)); }
public bool CanExpandThread(IResource res, ThreadExpandReason reason) { return(res.HasProp(-Core.Props.Reply) || res.HasProp(PROP.Attachment)); }