C# Класс MonoDevelop.Monobjc.Utilities.ProjectTypeCache

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CollectReferences void
ConvertTo IEnumerable
GetMatchingTypeDefinitions IEnumerable
GetMatchingTypeDefinitions IEnumerable
GetMatchingTypeDefinitions IEnumerable
ProjectTypeCache System

Открытые методы

Метод Описание
ClearCache ( ) : void

Clears the cache.

ForceUpdate ( ) : void

Forces the update of the project wrapper.

Get ( MonobjcProject project ) : ProjectTypeCache

Get the type cache for the given project.

GetAllClasses ( bool projectOnly ) : IEnumerable

Gets all the known classes.

GetAllProtocols ( bool projectOnly ) : IEnumerable

Gets all the known protocols.

GetEntryPoints ( ) : IEnumerable

Resolves the entry points of the project.

GetMainFile ( IType type ) : FilePath

Gets the main file for the type

GetMainMethod ( IType type ) : IMethod

Gets the main method of the given type.

IsInProject ( IType type ) : bool

Check if the type is defined in the main project.

IsInProjectReference ( IType type ) : bool

Check if the type is defined in a referenced project.

RecomputeReferences ( ) : void

Recomputes the reference types.

Remove ( MonobjcProject project ) : void

Remove the specified project type cache.

ResolvePartialType ( String className ) : IType

Resolves the specified class name.

ResolveType ( IType type ) : IType

Gets the DOM type of the type.

ResolveType ( ITypeDefinition typeDefinition ) : IType

Gets the DOM type of the type definition.

ResolveType ( Type type ) : IType

Gets the DOM type of the type.

Приватные методы

Метод Описание
CollectReferences ( ICollection wrappers, MonoDevelop.Ide.TypeSystem.TypeSystemService wrapper ) : void
ConvertTo ( IEnumerable typeDefinitions ) : IEnumerable
GetMatchingTypeDefinitions ( bool>.Func matcher, bool projectOnly ) : IEnumerable
GetMatchingTypeDefinitions ( IEnumerable typeDefinitions, bool>.Func matcher ) : IEnumerable
GetMatchingTypeDefinitions ( MonoDevelop.Ide.TypeSystem.TypeSystemService wrapper, bool>.Func matcher ) : IEnumerable
ProjectTypeCache ( MonobjcProject project ) : System

Initializes a new instance of the MonoDevelop.Monobjc.Utilities.ProjectTypeCache class.

Описание методов

ClearCache() публичный Метод

Clears the cache.
public ClearCache ( ) : void
Результат void

ForceUpdate() публичный Метод

Forces the update of the project wrapper.
public ForceUpdate ( ) : void
Результат void

Get() публичный статический Метод

Get the type cache for the given project.
public static Get ( MonobjcProject project ) : ProjectTypeCache
project MonobjcProject
Результат ProjectTypeCache

GetAllClasses() публичный Метод

Gets all the known classes.
public GetAllClasses ( bool projectOnly ) : IEnumerable
projectOnly bool
Результат IEnumerable

GetAllProtocols() публичный Метод

Gets all the known protocols.
public GetAllProtocols ( bool projectOnly ) : IEnumerable
projectOnly bool
Результат IEnumerable

GetEntryPoints() публичный Метод

Resolves the entry points of the project.
public GetEntryPoints ( ) : IEnumerable
Результат IEnumerable

GetMainFile() публичный Метод

Gets the main file for the type
public GetMainFile ( IType type ) : FilePath
type IType
Результат FilePath

GetMainMethod() публичный Метод

Gets the main method of the given type.
public GetMainMethod ( IType type ) : IMethod
type IType
Результат IMethod

IsInProject() публичный Метод

Check if the type is defined in the main project.
public IsInProject ( IType type ) : bool
type IType
Результат bool

IsInProjectReference() публичный Метод

Check if the type is defined in a referenced project.
public IsInProjectReference ( IType type ) : bool
type IType
Результат bool

RecomputeReferences() публичный Метод

Recomputes the reference types.
public RecomputeReferences ( ) : void
Результат void

Remove() публичный статический Метод

Remove the specified project type cache.
public static Remove ( MonobjcProject project ) : void
project MonobjcProject
Результат void

ResolvePartialType() публичный Метод

Resolves the specified class name.
public ResolvePartialType ( String className ) : IType
className String
Результат IType

ResolveType() публичный Метод

Gets the DOM type of the type.
public ResolveType ( IType type ) : IType
type IType
Результат IType

ResolveType() публичный Метод

Gets the DOM type of the type definition.
public ResolveType ( ITypeDefinition typeDefinition ) : IType
typeDefinition ITypeDefinition
Результат IType

ResolveType() публичный Метод

Gets the DOM type of the type.
public ResolveType ( Type type ) : IType
type System.Type
Результат IType