Exemplo n.º 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);
 }
Exemplo n.º 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;
 }