C# Class Testeroids.Aspects.ErrorService

Manage the error returned by Aspects CompileTimeValidate method.
Afficher le fichier Open project: Testeroids/Testeroids

Méthodes publiques

Méthode Description
RaiseError ( Type aspectType, MethodBase verifiedMethod, string message ) : bool

Raise the error returned by Aspects CompileTimeValidate method.

RaiseError ( Type aspectType, Type verifiedClassType, string message ) : bool

Raise the error returned by Aspects CompileTimeValidate method.

Method Details

RaiseError() public static méthode

Raise the error returned by Aspects CompileTimeValidate method.
public static RaiseError ( Type aspectType, MethodBase verifiedMethod, string message ) : bool
aspectType System.Type The Aspect Class Type that raise the error.
verifiedMethod System.Reflection.MethodBase The class Type given to the CompileTimeValidate method.
message string The message to give explaining the error.
Résultat bool

RaiseError() public static méthode

Raise the error returned by Aspects CompileTimeValidate method.
public static RaiseError ( Type aspectType, Type verifiedClassType, string message ) : bool
aspectType System.Type The Aspect Class Type that raise the error.
verifiedClassType System.Type The class Type given to the CompileTimeValidate method.
message string The message to give explaining the error.
Résultat bool