예제 #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)));
 }
예제 #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)));
 }