예제 #1
0
 public void SetDefaultSettings()
 {
     Enabled             = false;
     PostTypes           = PostType.New;
     EveryXRuns          = 1;
     ScoreMultiplier     = 1;
     ChannelAgeThreshold = new YouTubeSpamDetectorIntCategory {
         Value = 14, Enabled = true, Weight = 3
     };
     ViewCountThreshold = new YouTubeSpamDetectorIntCategory {
         Value = 200, Enabled = true, Weight = 1
     };
     VoteCountThreshold = new YouTubeSpamDetectorIntCategory {
         Value = 25, Enabled = true, Weight = 1
     };
     NegativeVoteRatio = new YouTubeSpamDetectorBoolCategory {
         Enabled = true, Weight = 1
     };
     RedditAccountAgeThreshold = new YouTubeSpamDetectorIntCategory {
         Value = 30, Enabled = true, Weight = 2
     };
     LicensedChannel = new YouTubeSpamDetectorBoolCategory {
         Enabled = true, Weight = 1
     };
     ImgurSubmissionRatio = new YouTubeSpamDetectorIntCategory {
         Value = 25, Enabled = false, Weight = 1
     };
     CommentCountThreshold = new YouTubeSpamDetectorIntCategory {
         Value = 10, Enabled = true, Weight = 1
     };
 }
예제 #2
0
 public void SetDefaultSettings() {
     Enabled = false;
     PostTypes = PostType.New;
     EveryXRuns = 1;
     ScoreMultiplier = 1;
     ChannelAgeThreshold = new YouTubeSpamDetectorIntCategory { Value = 14, Enabled = true, Weight = 3 };
     ViewCountThreshold = new YouTubeSpamDetectorIntCategory { Value = 200, Enabled = true, Weight = 1 };
     VoteCountThreshold = new YouTubeSpamDetectorIntCategory { Value = 25, Enabled = true, Weight = 1 };
     NegativeVoteRatio = new YouTubeSpamDetectorBoolCategory { Enabled = true, Weight = 1 };
     RedditAccountAgeThreshold = new YouTubeSpamDetectorIntCategory { Value = 30, Enabled = true, Weight = 2 };
     LicensedChannel = new YouTubeSpamDetectorBoolCategory { Enabled = true, Weight = 1 };
     ImgurSubmissionRatio = new YouTubeSpamDetectorIntCategory { Value = 25, Enabled = false, Weight = 1 };
     CommentCountThreshold = new YouTubeSpamDetectorIntCategory { Value = 10, Enabled = true, Weight = 1 };
 }