Register() static private method

static private Register ( System.Guid guid, string programmaticName ) : ControlType
guid System.Guid
programmaticName string
return ControlType
Esempio n. 1
0
 internal static ControlType Register(Guid guid, string programmaticName, STID stId)
 {
     return(ControlType.Register(guid, programmaticName, stId, new AutomationProperty[0], new AutomationPattern[0], new AutomationPattern[0][]));
 }
Esempio n. 2
0
 //Required patterns, never supported patterns and required properties are set to an empty array
 internal static ControlType Register(AutomationIdentifierConstants.ControlTypes id, string programmaticName, string stId)
 {
     return(ControlType.Register(id, programmaticName, stId, Array.Empty <AutomationProperty>(), Array.Empty <AutomationPattern>(), new AutomationPattern[0][]));
 }
Esempio n. 3
0
 //Never supported patterns and required patterns are set to an empty array
 internal static ControlType Register(AutomationIdentifierConstants.ControlTypes id, string programmaticName, string stId,
                                      AutomationProperty[] requiredProperties)
 {
     return(ControlType.Register(id, programmaticName, stId, requiredProperties, new AutomationPattern[0], new AutomationPattern[0][]));
 }