예제 #1
0
 public ThreadParser(IThreadInfo threadinfo, IPostInfo postinfo, IUserInfo userinfo, IUserSearchInfo searchInfo) : base()
 {
     this.ThreadInfo = threadinfo;
     this.PostInfo   = postinfo;
     this.UserInfo   = userinfo;
     this.SearchInfo = searchInfo;
 }
예제 #2
0
 public LogMessage(DateTime dateTime, LogLevel severity, string message, IThreadInfo threadInfo)
 {
     DateTime   = dateTime;
     Severity   = severity;
     Message    = message;
     ThreadInfo = threadInfo ?? throw new ArgumentNullException(nameof(threadInfo));
 }
예제 #3
0
        public V2::ThreadElement ConvertCoreThreadInfoToThread(IThreadInfo threadInfo)
        {
            var t = new V2::ThreadElement()
            {
                Resultcode = threadInfo.ResultCode,
                Thread     = threadInfo.Thread,
                Ticket     = threadInfo.Ticket,
                ServerTime = threadInfo.ServerTime,
                LastRes    = threadInfo.LastRes,
                Revision   = threadInfo.Revision,
            };

            return(t);
        }
 public RangeCalculationViewModel(IThreadInfo threadInfo)
 {
 }