Table of Contents

Interface IQueryCompiled

Namespace
NDepend.CodeQuery
Assembly
NDepend.API.dll

Represents the result of a query compilation no matter whether it was a successful compilation or not.

public interface IQueryCompiled
Extension Methods

Properties (6)

HasErrors

Gets a value indicating whether the code query has been compiled successfully or not.

bool HasErrors { get; }

Property Value

bool

KindOfCodeQueryExpression

Gets the kind of code query expression.

KindOfCodeQueryExpression KindOfCodeQueryExpression { get; }

Property Value

KindOfCodeQueryExpression

KindOfCodeQuerySyntax

Gets the kind of code query syntax.

KindOfCodeQuerySyntax KindOfCodeQuerySyntax { get; }

Property Value

KindOfCodeQuerySyntax

OriginalQueryString

Gets the original code query string.

string OriginalQueryString { get; }

Property Value

string

QueryCompiledError

Gets this object casted as a IQueryCompiledError object if the code query hasn't been compiled successfully, else gets null.

IQueryCompiledError QueryCompiledError { get; }

Property Value

IQueryCompiledError

QueryCompiledSuccess

Gets this object casted as a IQueryCompiledSuccess object if the code query has been compiled successfully, else gets null.

IQueryCompiledSuccess QueryCompiledSuccess { get; }

Property Value

IQueryCompiledSuccess