| Index: obsolete/Microsoft.VisualStudio.Project/Automation/OAReferenceBase.cs
|
| diff --git a/obsolete/Microsoft.VisualStudio.Project/Automation/OAReferenceBase.cs b/obsolete/Microsoft.VisualStudio.Project/Automation/OAReferenceBase.cs
|
| deleted file mode 100644
|
| index ddbcfc852b1b28929f565d04f6c97d995693147c..0000000000000000000000000000000000000000
|
| --- a/obsolete/Microsoft.VisualStudio.Project/Automation/OAReferenceBase.cs
|
| +++ /dev/null
|
| @@ -1,171 +0,0 @@
|
| -/// Copyright (c) Microsoft Corporation. All rights reserved.
|
| -
|
| -using System;
|
| -using System.Diagnostics.CodeAnalysis;
|
| -using System.Runtime.InteropServices;
|
| -using VSLangProj;
|
| -
|
| -namespace Microsoft.VisualStudio.Project.Automation
|
| -{
|
| - /// <summary>
|
| - /// Represents the automation equivalent of ReferenceNode
|
| - /// </summary>
|
| - /// <typeparam name="RefType"></typeparam>
|
| - [SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", MessageId = "T")]
|
| - [ComVisible(true)]
|
| - public abstract class OAReferenceBase<RefType> : Reference
|
| - where RefType : ReferenceNode
|
| - {
|
| - #region fields
|
| - private RefType referenceNode;
|
| - #endregion
|
| -
|
| - #region ctors
|
| - protected OAReferenceBase(RefType referenceNode)
|
| - {
|
| - this.referenceNode = referenceNode;
|
| - }
|
| - #endregion
|
| -
|
| - #region properties
|
| - protected RefType BaseReferenceNode
|
| - {
|
| - get { return referenceNode; }
|
| - }
|
| - #endregion
|
| -
|
| - #region Reference Members
|
| - public virtual int BuildNumber
|
| - {
|
| - get { return 0; }
|
| - }
|
| -
|
| - public virtual References Collection
|
| - {
|
| - get
|
| - {
|
| - return BaseReferenceNode.Parent.Object as References;
|
| - }
|
| - }
|
| -
|
| - public virtual EnvDTE.Project ContainingProject
|
| - {
|
| - get
|
| - {
|
| - return BaseReferenceNode.ProjectMgr.GetAutomationObject() as EnvDTE.Project;
|
| - }
|
| - }
|
| -
|
| - public virtual bool CopyLocal
|
| - {
|
| - get
|
| - {
|
| - throw new NotImplementedException();
|
| - }
|
| - set
|
| - {
|
| - throw new NotImplementedException();
|
| - }
|
| - }
|
| -
|
| - public virtual string Culture
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual EnvDTE.DTE DTE
|
| - {
|
| - get
|
| - {
|
| - return BaseReferenceNode.ProjectMgr.Site.GetService(typeof(EnvDTE.DTE)) as EnvDTE.DTE;
|
| - }
|
| - }
|
| -
|
| - public virtual string Description
|
| - {
|
| - get
|
| - {
|
| - return this.Name;
|
| - }
|
| - }
|
| -
|
| - public virtual string ExtenderCATID
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual object ExtenderNames
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual string Identity
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual int MajorVersion
|
| - {
|
| - get { return 0; }
|
| - }
|
| -
|
| - public virtual int MinorVersion
|
| - {
|
| - get { return 0; }
|
| - }
|
| -
|
| - public virtual string Name
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual string Path
|
| - {
|
| - get
|
| - {
|
| - return BaseReferenceNode.Url;
|
| - }
|
| - }
|
| -
|
| - public virtual string PublicKeyToken
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual void Remove()
|
| - {
|
| - BaseReferenceNode.Remove(false);
|
| - }
|
| -
|
| - public virtual int RevisionNumber
|
| - {
|
| - get { return 0; }
|
| - }
|
| -
|
| - public virtual EnvDTE.Project SourceProject
|
| - {
|
| - get { return null; }
|
| - }
|
| -
|
| - public virtual bool StrongName
|
| - {
|
| - get { return false; }
|
| - }
|
| -
|
| - public virtual prjReferenceType Type
|
| - {
|
| - get { throw new NotImplementedException(); }
|
| - }
|
| -
|
| - public virtual string Version
|
| - {
|
| - get { return new Version().ToString(); }
|
| - }
|
| -
|
| - public virtual object get_Extender(string ExtenderName)
|
| - {
|
| - throw new NotImplementedException();
|
| - }
|
| - #endregion
|
| - }
|
| -}
|
|
|