C# Class Stiletto.Fody.CompilerKeys

Exibir arquivo Open project: benjamin-bader/stiletto

Public Methods

Method 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

Method 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 method

public static ForParam ( Mono.Cecil.ParameterDefinition param ) : string
param Mono.Cecil.ParameterDefinition
return string

ForProperty() public static method

public static ForProperty ( Mono.Cecil.PropertyDefinition property ) : string
property Mono.Cecil.PropertyDefinition
return string

ForReturnType() public static method

public static ForReturnType ( Mono.Cecil.MethodReturnType methodReturnType ) : string
methodReturnType Mono.Cecil.MethodReturnType
return string

ForType() public static method

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

GetLazyKey() public static method

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
return string

GetMemberKey() public static method

public static GetMemberKey ( TypeReference typedef ) : string
typedef Mono.Cecil.TypeReference
return string

GetProviderKey() public static method

public static GetProviderKey ( string key ) : string
key string
return string

GetSetKey() public static method

public static GetSetKey ( string key ) : string
key string
return string

GetTypeName() public static method

public static GetTypeName ( string key ) : string
key string
return string

IsNamed() public static method

public static IsNamed ( string key ) : bool
key string
return bool