Class PropertyOverride
Inheritance
PropertyOverride
Assembly: Unity.Abstractions.dll
Syntax
public class PropertyOverride : ResolverOverride, IEquatable<PropertyInfo>, IResolve
Constructors
|
Improve this Doc
View Source
PropertyOverride(String, Object)
Declaration
public PropertyOverride(string propertyName, object propertyValue)
Parameters
Type |
Name |
Description |
String |
propertyName |
The property name.
|
Object |
propertyValue |
InjectionParameterValue to use for the property.
|
Fields
|
Improve this Doc
View Source
Value
Declaration
protected readonly object Value
Field Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(PropertyInfo)
Declaration
public bool Equals(PropertyInfo other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Resolve<TContext>(ref TContext)
Declaration
public object Resolve<TContext>(ref TContext context)
where TContext : IResolveContext
Parameters
Type |
Name |
Description |
TContext |
context |
|
Returns
Type Parameters
Name |
Description |
TContext |
|
Implements
Extension Methods