示例#1
0
        private string GetSFSCheckStr(SFSResponseContract result)
        {
            if (result == null)
            {
                return("error");
            }

            switch (result.Conclusion)
            {
            case SFSCheckResultType.Malicious:
                return(string.Format("Malicious ({0} % confidence)", result.Confidence));

            case SFSCheckResultType.Uncertain:
                return(string.Format("Uncertain ({0} % confidence)", result.Confidence));

            default:
                return("Ok");
            }
        }
 public FakeStopForumSpamClient()
 {
     Response = new SFSResponseContract();
 }