static private Register ( System.Guid guid, string programmaticName ) : |
||
guid | System.Guid | |
programmaticName | string | |
return |
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][])); }
//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][])); }
//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][])); }