C# Класс Testeroids.Aspects.ErrorService

Manage the error returned by Aspects CompileTimeValidate method.
Показать файл Открыть проект

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

Метод Описание
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.

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

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

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.
Результат bool

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

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.
Результат bool