C# Class MethodDecorator.Fody.TypeReferenceExtensions

ファイルを表示 Open project: Fody/MethodDecorator

Public Methods

Method Description
DerivesFrom ( this typeReference, TypeReference expectedBaseTypeReference ) : bool
Implements ( this typeDefinition, System type ) : bool
Implements ( this typeDefinition, TypeReference interfaceTypeReference ) : bool

Method Details

DerivesFrom() public static method

public static DerivesFrom ( this typeReference, TypeReference expectedBaseTypeReference ) : bool
typeReference this
expectedBaseTypeReference Mono.Cecil.TypeReference
return bool

Implements() public static method

public static Implements ( this typeDefinition, System type ) : bool
typeDefinition this
type System
return bool

Implements() public static method

public static Implements ( this typeDefinition, TypeReference interfaceTypeReference ) : bool
typeDefinition this
interfaceTypeReference Mono.Cecil.TypeReference
return bool