C# Class MonoDevelop.Monobjc.Utilities.ProjectTypeCache

Afficher le fichier Open project: Monobjc/monobjc-monodevelop Class Usage Examples

Private Properties

Свойство Type Description
CollectReferences void
ConvertTo IEnumerable
GetMatchingTypeDefinitions IEnumerable
GetMatchingTypeDefinitions IEnumerable
GetMatchingTypeDefinitions IEnumerable
ProjectTypeCache System

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

ClearCache() public méthode

Clears the cache.
public ClearCache ( ) : void
Résultat void

ForceUpdate() public méthode

Forces the update of the project wrapper.
public ForceUpdate ( ) : void
Résultat void

Get() public static méthode

Get the type cache for the given project.
public static Get ( MonobjcProject project ) : ProjectTypeCache
project MonobjcProject
Résultat ProjectTypeCache

GetAllClasses() public méthode

Gets all the known classes.
public GetAllClasses ( bool projectOnly ) : IEnumerable
projectOnly bool
Résultat IEnumerable

GetAllProtocols() public méthode

Gets all the known protocols.
public GetAllProtocols ( bool projectOnly ) : IEnumerable
projectOnly bool
Résultat IEnumerable

GetEntryPoints() public méthode

Resolves the entry points of the project.
public GetEntryPoints ( ) : IEnumerable
Résultat IEnumerable

GetMainFile() public méthode

Gets the main file for the type
public GetMainFile ( IType type ) : FilePath
type IType
Résultat FilePath

GetMainMethod() public méthode

Gets the main method of the given type.
public GetMainMethod ( IType type ) : IMethod
type IType
Résultat IMethod

IsInProject() public méthode

Check if the type is defined in the main project.
public IsInProject ( IType type ) : bool
type IType
Résultat bool

IsInProjectReference() public méthode

Check if the type is defined in a referenced project.
public IsInProjectReference ( IType type ) : bool
type IType
Résultat bool

RecomputeReferences() public méthode

Recomputes the reference types.
public RecomputeReferences ( ) : void
Résultat void

Remove() public static méthode

Remove the specified project type cache.
public static Remove ( MonobjcProject project ) : void
project MonobjcProject
Résultat void

ResolvePartialType() public méthode

Resolves the specified class name.
public ResolvePartialType ( String className ) : IType
className String
Résultat IType

ResolveType() public méthode

Gets the DOM type of the type.
public ResolveType ( IType type ) : IType
type IType
Résultat IType

ResolveType() public méthode

Gets the DOM type of the type definition.
public ResolveType ( ITypeDefinition typeDefinition ) : IType
typeDefinition ITypeDefinition
Résultat IType

ResolveType() public méthode

Gets the DOM type of the type.
public ResolveType ( Type type ) : IType
type System.Type
Résultat IType