DependencyProperties Class
Specifications of an introduced dependency.
Inheritance
Implements
Namespace: Metalama.Extensions.DependencyInjection
Assembly: Metalama.Extensions.DependencyInjection.dll
Syntax
[CompileTime]
public class DependencyProperties : Object
Constructors
Name | Description |
---|---|
DependencyProperties(DependencyProperties) | |
DependencyProperties(INamedType, IType, String, Boolean, Nullable<Boolean>, Nullable<Boolean>, DeclarationKind) | Initializes a new instance of the DependencyProperties class. This overload excepts the dependency type as an IType. |
DependencyProperties(INamedType, Type, String, Boolean, Nullable<Boolean>, Nullable<Boolean>, DeclarationKind) | Initializes a new instance of the DependencyProperties class. This overload excepts the dependency type as a System.Type. |
Properties
Name | Description |
---|---|
DependencyType | Gets the dependency type. |
EqualityContract | |
IsLazy | Gets a value indicating whether the dependency should be resolved lazily upon first use.
The default value, when this property is neither specified nor overwritten, is |
IsRequired | Gets a value indicating whether the dependency is required. When this property is set to |
IsStatic | Gets a value indicating whether the dependency field or property is static. |
Kind | Gets the kind of declaration to introduce i.e. Field or Property. |
Name | Gets the name of the field or property that should expose the dependency. |
Options | Gets the options set by the options framework. |
TargetType | Gets the type into which the dependency should be injected. |
Methods
Name | Description |
---|---|
<Clone>$() | |
Equals(DependencyProperties) | |
Equals(Object) | |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() |
Operators
Name | Description |
---|---|
Equality(DependencyProperties, DependencyProperties) | |
Inequality(DependencyProperties, DependencyProperties) |