예제 #1
0
        public bool Analyze(DataToAnalyze data)
        {
            if (data.Something == "SOLID")
            {
                throw new Exception("This is my device exception.");
            }

            return(data.Something == "LIQUID");
        }
예제 #2
0
 public bool Analyze(DataToAnalyze data)
 {
     return(data.Something == "SOLID");
 }
예제 #3
0
 public bool Analyze(DataToAnalyze data)
 {
     return(true);
 }