C# 클래스 MonoDevelop.Monobjc.Utilities.ProjectTypeCache

파일 보기 프로젝트 열기: Monobjc/monobjc-monodevelop 1 사용 예제들

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