public TtcConfidentialAttribute(string strategy = null)
 {
     if (strategy == "MATCH")
     {
         Strategy = new TtcConfidentialMatchStrategy();
     } else if (strategy == "MATCH-COMMENTS")
     {
         Strategy = new TtcConfidentialMatchCommentsStrategy();
     }
 }
예제 #2
0
 public TtcConfidentialAttribute(string strategy = null)
 {
     if (strategy == "MATCH")
     {
         Strategy = new TtcConfidentialMatchStrategy();
     }
     else if (strategy == "MATCH-COMMENTS")
     {
         Strategy = new TtcConfidentialMatchCommentsStrategy();
     }
 }