public ContextElement CreateContext(IProject project, string assemblyPath, IMetadataTypeInfo type)
 {
   return GetOrCreateContext(assemblyPath,
                             project,
                             _reflectionTypeNameCache.GetClrName(type),
                             type.GetSubjectString(),
                             type.GetTags(), type.IsIgnored());
 }
 public ContextElement CreateContext(IProject project, string assemblyPath, IMetadataTypeInfo type)
 {
     return(this.GetOrCreateContext(assemblyPath,
                                    project,
                                    this._reflectionTypeNameCache.GetClrName(type),
                                    type.GetSubjectString(),
                                    type.GetTags(), type.IsIgnored()));
 }
 public ContextElement CreateContext(IProject project, string assemblyPath, IMetadataTypeInfo contextType)
 {
     return(this.GetOrCreateContext(assemblyPath,
                                    project,
                                    new ClrTypeName(contextType.FullyQualifiedName),
                                    contextType.GetSubjectString(),
                                    contextType.GetTags(),
                                    contextType.IsIgnored()));
 }
 public ContextElement CreateContext(IMetadataTypeInfo type)
 {
   return new ContextElement(_provider,
                             _project,
                             type.FullyQualifiedName,
                             _assemblyPath,
                             type.GetSubjectString(),
                             type.GetTags(),
                             type.IsIgnored());
 }
 public ContextElement CreateContext(IMetadataTypeInfo type)
 {
     return(new ContextElement(_provider,
                               _projectEnvoy,
                               type.FullyQualifiedName,
                               _assemblyPath,
                               type.GetSubjectString(),
                               type.GetTags(),
                               type.IsIgnored()));
 }
 public ContextElement CreateContext(IMetadataTypeInfo type)
 {
     return(GetOrCreateContext(_provider,
                               _manager,
                               _psiModuleManager,
                               _cacheManager,
                               _project,
                               _projectEnvoy,
                               _reflectionTypeNameCache.GetClrName(type),
                               _assemblyPath,
                               type.GetSubjectString(),
                               type.GetTags(),
                               type.IsIgnored()));
 }
 public ContextElement CreateContext(IMetadataTypeInfo type)
 {
   return GetOrCreateContext(_provider,
                             _manager,
                             _psiModuleManager,
                             _cacheManager,
                             _project,
                             _projectEnvoy,
                             _reflectionTypeNameCache.GetClrName(type),
                             _assemblyPath,
                             type.GetSubjectString(),
                             type.GetTags(),
                             type.IsIgnored());
 }
    public ContextElement CreateContext(IMetadataTypeInfo type)
    {
      if (type.IsNested || !type.IsPublic)
      {
        return null;
      }

      return new ContextElement(_provider,
                                _project,
                                type.FullyQualifiedName,
                                _assemblyPath,
                                type.GetTags(),
                                type.IsIgnored());
    }
        public ContextElement CreateContext(IMetadataTypeInfo type)
        {
            return(GetOrCreateContextElement(_provider,
#if RESHARPER_61
                                             _manager,
                                             _psiModuleManager,
                                             _cacheManager,
#endif
                                             _project,
                                             _projectEnvoy,
                                             type.FullyQualifiedName,
                                             _assemblyPath,
                                             type.GetSubjectString(),
                                             type.GetTags(),
                                             type.IsIgnored()));
        }
    public ContextElement CreateContext(IMetadataTypeInfo type)
    {
      return GetOrCreateContextElement(_provider,
#if RESHARPER_61
                                       _manager,
                                       _psiModuleManager,
                                       _cacheManager,
#endif
                                       _project,
                                       _projectEnvoy,
                                       type.FullyQualifiedName,
                                       _assemblyPath,
                                       type.GetSubjectString(),
                                       type.GetTags(),
                                       type.IsIgnored());
    }
    public ContextElement CreateContext(IMetadataTypeInfo type)
    {
      return GetOrCreateContextElement(_provider,
#if RESHARPER_61
                                       _manager,
                                       _psiModuleManager,
                                       _cacheManager,
#endif
                                       _project,
                                       _projectEnvoy,
#if RESHARPER_61
                                       _reflectionTypeNameCache.GetClrName(type),
#else
                                       new ClrTypeName(type.FullyQualifiedName), // may work incorrect in ReSharper 6.0
#endif
                                       _assemblyPath,
                                       type.GetSubjectString(),
                                       type.GetTags(),
                                       type.IsIgnored());
    }