Class MethodInfoKey
MethodInfo for caching data
Inheritance
System.Object
MethodInfoKey
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Reflection
Assembly: Simplic.CoreLib.dll
Syntax
public class MethodInfoKey
Constructors
| Improve this Doc View SourceMethodInfoKey(String, Type[])
Create new MethodInfoKey for caching information
Declaration
public MethodInfoKey(string methodName, params Type[] parameter)
Parameters
Type | Name | Description |
---|---|---|
System.String | methodName | Name of the method |
System.Type[] | parameter | List of parameter |
Properties
| Improve this Doc View SourceMethodName
Name of the method
Declaration
public string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Parameter
Parameter
Declaration
public Type[] Parameter { get; }
Property Value
Type | Description |
---|---|
System.Type[] |
Methods
| Improve this Doc View SourceEquals(Object)
Copare MethodInfoKey instances
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to compare |
Returns
Type | Description |
---|---|
System.Boolean | True if the instances has the same HashCode |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Get the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()