C# Class Stiletto.Fody.CompilerKeys

Afficher le fichier Open project: benjamin-bader/stiletto

Méthodes publiques

Méthode Description
ForParam ( Mono.Cecil.ParameterDefinition param ) : string
ForProperty ( Mono.Cecil.PropertyDefinition property ) : string
ForReturnType ( Mono.Cecil.MethodReturnType methodReturnType ) : string
ForType ( TypeReference typedef, string name = null ) : string
GetLazyKey ( string key ) : string

Returns the key of the underlying binding of a Lazy<T> binding, or if the key is not a lazy binding.

GetMemberKey ( TypeReference typedef ) : string
GetProviderKey ( string key ) : string
GetSetKey ( string key ) : string
GetTypeName ( string key ) : string
IsNamed ( string key ) : bool

Private Methods

Méthode Description
ExtractKey ( string key, int start, string delegatePrefix, string prefix ) : string
ForType ( TypeReference typedef, StringBuilder sb = null ) : void
GetRawGenericName ( TypeReference typedef ) : string
GetReflectionName ( this reference ) : string
StartOfType ( string key ) : int
SubstringStartsWith ( string str, int offset, string substring ) : bool

Method Details

ForParam() public static méthode

public static ForParam ( Mono.Cecil.ParameterDefinition param ) : string
param Mono.Cecil.ParameterDefinition
Résultat string

ForProperty() public static méthode

public static ForProperty ( Mono.Cecil.PropertyDefinition property ) : string
property Mono.Cecil.PropertyDefinition
Résultat string

ForReturnType() public static méthode

public static ForReturnType ( Mono.Cecil.MethodReturnType methodReturnType ) : string
methodReturnType Mono.Cecil.MethodReturnType
Résultat string

ForType() public static méthode

public static ForType ( TypeReference typedef, string name = null ) : string
typedef Mono.Cecil.TypeReference
name string
Résultat string

GetLazyKey() public static méthode

Returns the key of the underlying binding of a Lazy<T> binding, or if the key is not a lazy binding.
public static GetLazyKey ( string key ) : string
key string
Résultat string

GetMemberKey() public static méthode

public static GetMemberKey ( TypeReference typedef ) : string
typedef Mono.Cecil.TypeReference
Résultat string

GetProviderKey() public static méthode

public static GetProviderKey ( string key ) : string
key string
Résultat string

GetSetKey() public static méthode

public static GetSetKey ( string key ) : string
key string
Résultat string

GetTypeName() public static méthode

public static GetTypeName ( string key ) : string
key string
Résultat string

IsNamed() public static méthode

public static IsNamed ( string key ) : bool
key string
Résultat bool