Пример #1
0
        private ICodeProvider CreateCodeProvider(CodeProviderFactory codeProviderFactory, string codeProviderName, Process targetProcess)
        {
            var args = new CodeProviderArguments()
            {
                Automation    = _automation,
                TargetProcess = targetProcess
            };

            return(codeProviderFactory.CreateProvider(codeProviderName, args));
        }