<PackageReference Include="castle.windsor" Version="2.5.1" />

DependencyModel

public class DependencyModel
public object DefaultValue { get; }

public string DependencyKey { get; set; }

public DependencyType DependencyType { get; set; }

public bool HasDefaultValue { get; }

public bool IsOptional { get; set; }

public Type TargetItemType { get; }

public Type TargetType { get; }

public DependencyModel(DependencyType dependencyType, string dependencyKey, Type targetType, bool isOptional)

public DependencyModel(DependencyType dependencyType, string dependencyKey, Type targetType, bool isOptional, bool hasDefaultValue, object defaultValue)