PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility Namespace / Project Class / Project Methods

Project Methods

The Project type exposes the following members.

Methods
  NameDescription
Public methodAddBuildDependency
Public methodAddPath
Add a directory to the project search path.
Public methodAddPlugIn
Adds and load a plugin in the current project.
Public methodCanFindPlugIn
Returns true if there is a .dll on the search path that matches the plugin name.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate(String, MessageLocation)
Evaluates an expression.
Public methodEvaluate(String, Boolean, MessageLocation)
Evaluates an expression and specifies whether an error should be emitted if the expression results in an empty string.
Public methodExecute
Executes the current project.
Public methodExecutePhase
Executes a single phase of the project.
Public methodGetExtensionElements
Public methodGetFullPath
Gets the full path of a path that may be given either absolutely either relatively.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetService(Type, Boolean)
Public methodGetService<T>(Boolean)
Public methodGetServices<T>
Public methodGetTag<T>
Gets a tag associated with the current declaration.
Public methodGetTask<T>
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberLoadProject
Public methodSetTag<T>
Set a tag to the current declaration.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryEvaluateBoolean
Evaluates an expression and tries to convert its result to a bool.
Public methodTryEvaluateConvertible(String, Type, Object, MessageLocation)
Evaluates an expression and tries to convert its result to a given type that implements IConvertible.
Public methodTryEvaluateConvertible<T>(String, T, MessageLocation)
Evaluates an expression and tries to convert its result to a given type that implements IConvertible.
Public methodTryEvaluateEnum(String, Type, Object, MessageLocation)
Evaluates an expression and tries to convert its result to a given enumeration type.
Public methodTryEvaluateEnum<T>(String, T, MessageLocation)
Evaluates an expression and tries to convert its result to a given enumeration type.
Public methodTryEvaluateEnum<T>(String, T, T, MessageLocation)
Evaluates an expression and tries to convert its result to a given enumeration type. Returns a default value if the expression cannot be evaluated.
Public methodStatic memberValidatePath
Writes a fatal error message if a given string is not a valid path string.
See Also