Class TypeName
Syntax
Properties
AssemblyCulture
Declaration
public string AssemblyCulture { get; }
Property Value
AssemblyDescription
Declaration
public string AssemblyDescription { get; }
Property Value
AssemblyName
Declaration
public string AssemblyName { get; }
Property Value
AssemblyPublicKeyToken
Declaration
public string AssemblyPublicKeyToken { get; }
Property Value
AssemblyVersion
Declaration
public string AssemblyVersion { get; }
Property Value
GenericParameters
Declaration
public List<TypeName> GenericParameters { get; }
Property Value
IsArray
Declaration
public bool IsArray { get; }
Property Value
LastName
Declaration
public string LastName { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Methods
Parse(String)
Declaration
public static TypeName Parse(string s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
ReplaceAssembly(String, String)
Declaration
public void ReplaceAssembly(string oldAssembly, string newAssembly)
Parameters
ReplaceName(String, String, AssemblyName)
Declaration
public void ReplaceName(string oldTypeName, string newTypeName, AssemblyName newAssemblyName = null)
Parameters
ReplaceName(String, Type)
Declaration
public void ReplaceName(string oldTypeName, Type newType)
Parameters
Type |
Name |
Description |
String |
oldTypeName |
|
Type |
newType |
|
ReplaceNamespace(String, String)
Declaration
public void ReplaceNamespace(string oldNamespace, string newNamespace)
Parameters
Type |
Name |
Description |
String |
oldNamespace |
|
String |
newNamespace |
|
SetAssemblyName(AssemblyName)
Declaration
public void SetAssemblyName(AssemblyName newAssemblyName)
Parameters
Simplify(String)
Declaration
public static string Simplify(string typeName)
Parameters
Type |
Name |
Description |
String |
typeName |
|
Returns
SimplifyFast(String)
Declaration
public static string SimplifyFast(string typeName)
Parameters
Type |
Name |
Description |
String |
typeName |
|
Returns
ToLooseString()
Declaration
public string ToLooseString()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
ToString(TypeNameDetail, TypeNameDetail)
Declaration
public string ToString(TypeNameDetail specification, TypeNameDetail genericsSpecification)
Parameters
Returns
Extension Methods