コード例 #1
0
        // Set up the Tools menu so that the menu corresponding to ``a'' is
        // selected.
        private void _set_assembly_load(AssemblyLoadAs a)
        {
            switch (a)
            {
            case AssemblyLoadAs.Custom:
                _set_assembly_load(m_menu.ToolsCustom);
                break;

            default:
                throw new Exception("Internal Error: invalid AssemblyLoadAs value.");
            }
        }
コード例 #2
0
 /** Specify how Assemblies should be loaded. */
 internal LoadAssemblyInfo LoadAs(AssemblyLoadAs a)
 {
     m_load = a;
     return(this);
 }
コード例 #3
0
 /** Specify how Assemblies should be loaded. */
 public LoadAssemblyInfo LoadAs(AssemblyLoadAs a)
 {
     m_load = a;
     return(this);
 }