Beispiel #1
0
 // look up information on the specified pattern, returns true if found, else false
 internal static bool GetPatternInfo(AutomationPattern id, out AutomationPatternInfo info)
 {
     foreach (AutomationPatternInfo pi in _patternInfoTable)
     {
         if (pi.ID == id)
         {
             info = pi;
             return(true);
         }
     }
     info = null;
     return(false);
 }
Beispiel #2
0
 // look up information on the specified pattern, returns true if found, else false
 internal static bool GetPatternInfo( AutomationPattern id, out AutomationPatternInfo info )
 {
     foreach( AutomationPatternInfo pi in _patternInfoTable )
     {
         if( pi.ID == id )
         {
             info = pi;
             return true;
         }
     }
     info = null;
     return false;
 }