Class DependencyDescriptor
Describes a dependency (a property or parameter).
Inheritance
System.Object
DependencyDescriptor
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class DependencyDescriptor : Object
Constructors
DependencyDescriptor(Object)
Declaration
public DependencyDescriptor(object original)
Parameters
Type |
Name |
Description |
System.Object |
original |
The original member which should be either a System.Reflection.ParameterInfo or a System.Reflection.PropertyInfo instance.
|
Properties
Name
The name of dependency (parameter or property).
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Options
Declaration
public OptionsAttribute Options { get; }
Property Value
Original
The original member (which is either a System.Reflection.PropertyInfo or a System.Reflection.ParameterInfo).
Declaration
public object Original { get; }
Property Value
Type |
Description |
System.Object |
|
Type
The type of dependency (parameter or property).
Declaration
public Type Type { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
<Clone>$()
Declaration
public DependencyDescriptor <Clone>$()
Returns
Equals(DependencyDescriptor)
Declaration
public bool Equals(DependencyDescriptor other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Equality(DependencyDescriptor, DependencyDescriptor)
Declaration
public static bool operator ==(DependencyDescriptor left, DependencyDescriptor right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(DependencyDescriptor, DependencyDescriptor)
Declaration
public static bool operator !=(DependencyDescriptor left, DependencyDescriptor right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<>