⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 externalreferences.cs

📁 visual basic.net进销存程序设计.rar] - visual basic.net进销存程序设计 [进销存管系统.rar] - 进销存管系统,VB源代码 [vb.net计算机机房管理系统.
💻 CS
📖 第 1 页 / 共 5 页
字号:
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public TextPoint GetEndPoint(vsCMPart Part)
        // {
        //     object value = ReferencedType.GetMethod("GetEndPoint").Invoke(_reference, new object[] { Part });
        //     return (TextPoint) value;
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public void RenameSymbol(System.String NewName)
        // {
        //     ReferencedType.GetMethod("RenameSymbol").Invoke(_reference, new object[] { NewName });
        // }
        
    }

    internal class CodeClass2
    {
        public static Type ReferencedType
        {
            get
            {
                if (_referencedType == null)
                {
                    _referencedType = ReferencedAssemblies.EnvDTE80.GetType("EnvDTE80.CodeClass2");
                    if (_referencedType == null)
                    {
                        throw new InvalidOperationException("Failed to load type 'EnvDTE80.CodeClass2' from assembly 'EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.");
                    }
                }
                return _referencedType;
            }
        }
        private static Type _referencedType;
        
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        public object Reference
        {
            get { return _reference; }
            set { _reference = value; }
        }
        private object _reference;
        
        public CodeClass2()
            : this(null)
        {
        }
        
        public CodeClass2(object reference)
        {
            _reference = ReferencedType.IsInstanceOfType(reference) ? reference : null;
        }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public DTE2 DTE
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("DTE").GetValue(_reference, new object[] { });
        //         return value != null ? new DTE2(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeElements Collection
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("Collection").GetValue(_reference, new object[] { });
        //         return value != null ? new CodeElements(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.String Name
        // {
        //     get { return (System.String) ReferencedType.GetProperty("Name").GetValue(_reference, new object[] { }); }
        //     set { ReferencedType.GetProperty("Name").SetValue(_reference, value, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.String FullName
        // {
        //     get { return (System.String) ReferencedType.GetProperty("FullName").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public ProjectItem ProjectItem
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("ProjectItem").GetValue(_reference, new object[] { });
        //         return value != null ? new ProjectItem(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public vsCMElement Kind
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("Kind").GetValue(_reference, new object[] { });
        //         return value != null ? new vsCMElement(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.Boolean IsCodeType
        // {
        //     get { return (System.Boolean) ReferencedType.GetProperty("IsCodeType").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public vsCMInfoLocation InfoLocation
        // {
        //     get { return (vsCMInfoLocation) ReferencedType.GetProperty("InfoLocation").GetValue(_reference, new object[] { }); }
        // }
        
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        public CodeElements Children
        {
            get
            {
                object value = ReferencedType.GetProperty("Children").GetValue(_reference, new object[] { });
                return value != null ? new CodeElements(value) : null;
            }
        }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.String Language
        // {
        //     get { return (System.String) ReferencedType.GetProperty("Language").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public TextPoint StartPoint
        // {
        //     get { return (TextPoint) ReferencedType.GetProperty("StartPoint").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public TextPoint EndPoint
        // {
        //     get { return (TextPoint) ReferencedType.GetProperty("EndPoint").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.Object ExtenderNames
        // {
        //     get { return (System.Object) ReferencedType.GetProperty("ExtenderNames").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.Object Extender
        // {
        //     get { return (System.Object) ReferencedType.GetProperty("Extender").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.String ExtenderCATID
        // {
        //     get { return (System.String) ReferencedType.GetProperty("ExtenderCATID").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.Object Parent
        // {
        //     get { return (System.Object) ReferencedType.GetProperty("Parent").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeNamespace Namespace
        // {
        //     get { return (CodeNamespace) ReferencedType.GetProperty("Namespace").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeElements Bases
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("Bases").GetValue(_reference, new object[] { });
        //         return value != null ? new CodeElements(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeElements Members
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("Members").GetValue(_reference, new object[] { });
        //         return value != null ? new CodeElements(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public vsCMAccess Access
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("Access").GetValue(_reference, new object[] { });
        //         return value != null ? new vsCMAccess(value) : null;
        //     }
        //     set { ReferencedType.GetProperty("Access").SetValue(_reference, value != null ? value.Reference : null, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeElements Attributes
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("Attributes").GetValue(_reference, new object[] { });
        //         return value != null ? new CodeElements(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.String DocComment
        // {
        //     get { return (System.String) ReferencedType.GetProperty("DocComment").GetValue(_reference, new object[] { }); }
        //     set { ReferencedType.GetProperty("DocComment").SetValue(_reference, value, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.String Comment
        // {
        //     get { return (System.String) ReferencedType.GetProperty("Comment").GetValue(_reference, new object[] { }); }
        //     set { ReferencedType.GetProperty("Comment").SetValue(_reference, value, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public System.Boolean IsDerivedFrom
        // {
        //     get { return (System.Boolean) ReferencedType.GetProperty("IsDerivedFrom").GetValue(_reference, new object[] { }); }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeElements DerivedTypes
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("DerivedTypes").GetValue(_reference, new object[] { });
        //         return value != null ? new CodeElements(value) : null;
        //     }
        // }
        
        // [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Auto-generated wrapper")]
        // public CodeElements ImplementedInterfaces
        // {
        //     get
        //     {
        //         object value = ReferencedType.GetProperty("ImplementedInterfaces").GetValue(_reference, new object[] { });
        //         return value != null ? new CodeElements(value) : null;
        //     }
     

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -