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))); }
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))); }