ManagedUiaCustomizationCore.CustomPatternSchemaBase.RegisterStandaloneProperties C# (CSharp) Method

RegisterStandaloneProperties() private method

private RegisterStandaloneProperties ( IUIAutomationRegistrar registrar ) : void
registrar IUIAutomationRegistrar
return void
        private void RegisterStandaloneProperties(IUIAutomationRegistrar registrar)
        {
            foreach (var propertyInfoHelper in StandaloneProperties)
            {
                int id;
                var propInfo = propertyInfoHelper.Data;
                registrar.RegisterProperty(ref propInfo, out id);
                propertyInfoHelper.PropertyId = id;
            }
        }