Beispiel #1
0
 protected static T GetControl <T>(string key, string nameIndex) where T : JazzControl
 {
     return(String.IsNullOrEmpty(key) ? JazzControl.GetControl <T>() : JazzControl.GetControl <T>(locator: JazzControlLocatorRepository.GetLocator(key, nameIndex)));
 }
Beispiel #2
0
 protected static T GetControl <T>(string key, int positionIndex, int positionIndexTwo) where T : JazzControl
 {
     return(String.IsNullOrEmpty(key) ? JazzControl.GetControl <T>() : JazzControl.GetControl <T>(locator: JazzControlLocatorRepository.GetLocator(key, positionIndex, positionIndexTwo)));
 }