MonoDevelop.IronPython.PythonConfiguration.CopyFrom C# (CSharp) Method

CopyFrom() public method

public CopyFrom ( MonoDevelop.Projects.ItemConfiguration config ) : void
config MonoDevelop.Projects.ItemConfiguration
return void
        public override void CopyFrom(ItemConfiguration config)
        {
            var pyConfig = config as PythonConfiguration;
            if (pyConfig == null)
                throw new ArgumentException ("Not a python configuration", "item");

            base.CopyFrom (config);

            mainModule = pyConfig.mainModule;
            extraPaths = pyConfig.ExtraPaths;
            interpreterArgs = pyConfig.interpreterArgs;
            langVersion = pyConfig.langVersion;
            optimize = pyConfig.optimize;
            showExceptionDetails = pyConfig.showExceptionDetails;
            showClrExceptions = pyConfig.showClrExceptions;
            warnInconsistentTabbing = pyConfig.warnInconsistentTabbing;
        }