Initialize() public method

public Initialize ( ) : void
return void
        // Call a pattern instance method with only in-params
        protected void CallMethod(UiaMethodInfoHelper methodInfo, params object[] methodParams)
        {
            // Create and init a parameter list
            var paramList = new UiaParameterListHelper(methodInfo);
            paramList.Initialize(methodParams);

            // Call through
            PatternInstance.CallMethod(methodInfo.Index, paramList.Data, paramList.Count);
        }
        // Call a pattern instance method with only in-params
        protected void CallMethod(UiaMethodInfoHelper methodInfo, params object[] methodParams)
        {
            // Create and init a parameter list
            var paramList = new UiaParameterListHelper(methodInfo);

            paramList.Initialize(methodParams);

            // Call through
            PatternInstance.CallMethod(methodInfo.Index, paramList.Data, paramList.Count);
        }