예제 #1
0
 internal static bool GetPatternInfo(AutomationPattern id, out PatternTypeInfo info)
 {
     foreach (PatternTypeInfo info2 in _patternInfoTable)
     {
         if (info2.ID == id)
         {
             info = info2;
             return(true);
         }
     }
     info = null;
     return(false);
 }
예제 #2
0
 internal static bool GetPatternInfo(AutomationPattern id, out PatternTypeInfo info)
 {
     foreach (PatternTypeInfo info2 in _patternInfoTable)
     {
         if (info2.ID == id)
         {
             info = info2;
             return true;
         }
     }
     info = null;
     return false;
 }