C# 클래스 URSA.Web.Http.Description.DescriptionContext

Provides a description context.
파일 보기 프로젝트 열기: alien-mcl/URSA 1 사용 예제들

공개 메소드들

메소드 설명
BuildTypeDescription ( ) : IClass

Builds the type description.

BuildTypeDescription ( bool &requiresRdf ) : IClass

Builds the type description.

ContainsType ( Type type ) : bool

Determines whether the given type is already described and available in the context.

Describe ( IClass resource, bool requiresRdf ) : void

Describes the current type.

IsTypeComplete ( Type type ) : bool

Determines whether the type described in the context is complete.

Prescribe ( IClass resource, bool requiresRdf ) : void

Prescribes the current type as being still under construction.

RequiresRdf ( Type type ) : bool

Checks whether the given type requires an RDF approach.

SubClass ( IClass @class, Type contextTypeOverride = null ) : IClass

Creates a sub-class of the given class.

this ( Type type ) : IClass

Gets the description for given type.

비공개 메소드들

메소드 설명
DescriptionContext ( IApiDocumentation apiDocumentation, ITypeDescriptionBuilder typeDescriptionBuilder, Type type, IDictionary typeDefinitions ) : System
ForType ( IApiDocumentation apiDocumentation, Type type, ITypeDescriptionBuilder typeDescriptionBuilder ) : DescriptionContext
ForType ( Type type ) : DescriptionContext

메소드 상세

BuildTypeDescription() 공개 메소드

Builds the type description.
public BuildTypeDescription ( ) : IClass
리턴 IClass

BuildTypeDescription() 공개 메소드

Builds the type description.
public BuildTypeDescription ( bool &requiresRdf ) : IClass
requiresRdf bool Flag determining whether the context's type requires an RDF approach.
리턴 IClass

ContainsType() 공개 메소드

Determines whether the given type is already described and available in the context.
public ContainsType ( Type type ) : bool
type System.Type The type to check for existence.
리턴 bool

Describe() 공개 메소드

Describes the current type.
public Describe ( IClass resource, bool requiresRdf ) : void
resource IClass The resource describing a type.
requiresRdf bool Flag determining whether the type requires RDF approach.
리턴 void

IsTypeComplete() 공개 메소드

Determines whether the type described in the context is complete.
public IsTypeComplete ( Type type ) : bool
type System.Type The type to check for completion.
리턴 bool

Prescribe() 공개 메소드

Prescribes the current type as being still under construction.
public Prescribe ( IClass resource, bool requiresRdf ) : void
resource IClass The resource describing a type.
requiresRdf bool Flag determining whether the type requires RDF approach.
리턴 void

RequiresRdf() 공개 메소드

Checks whether the given type requires an RDF approach.
public RequiresRdf ( Type type ) : bool
type System.Type The type to check.
리턴 bool

SubClass() 공개 메소드

Creates a sub-class of the given class.
public SubClass ( IClass @class, Type contextTypeOverride = null ) : IClass
@class IClass
contextTypeOverride System.Type The type that should override the one in this context.
리턴 IClass

this() 공개 메소드

Gets the description for given type.
public this ( Type type ) : IClass
type System.Type The type for which to obtain the description.
리턴 IClass