public virtual bool RepositoryEquals(IRepositoryBrowserInfo other) { TypeLibraryBrowserInfo otherTypeLibrary = other as TypeLibraryBrowserInfo; if (other == null) { return(false); } return(m_typeLibrary == otherTypeLibrary.m_typeLibrary); }
public virtual bool RepositoryEquals(IRepositoryBrowserInfo other) { NetAssemblyBrowserInfo otherAssembly = other as NetAssemblyBrowserInfo; if (other == null) { return(false); } return(m_assembly == otherAssembly.m_assembly); }
public override bool RepositoryEquals(IRepositoryBrowserInfo other) { NetAssemblyBrowserInfo otherAssembly = other as NetAssemblyBrowserInfo; if (otherAssembly == null) { return(false); } // The other object may be a RemoteAssemblyBrowserInfo or just a AssemblyBrowserInfo. RemoteAssemblyBrowserInfo otherRemote = otherAssembly as RemoteAssemblyBrowserInfo; if (otherRemote == null) { return(Wrapped.RepositoryEquals(otherAssembly)); } else { return(Wrapped.RepositoryEquals(otherRemote.Wrapped)); } }
/// <summary> /// Called by the object browser to re-connect to the specified repository, if supported. The base /// implementation simply returns the same object that was passed in. /// </summary> protected internal virtual IRepositoryBrowserInfo RefreshRepository(IRepositoryBrowserInfo repository) { return(repository); }
protected internal override IRepositoryBrowserInfo RefreshRepository(IRepositoryBrowserInfo repository) { return(RealManager.RefreshRepository(repository)); }