public static TypeKey MustBeValidRegistrationTypeKey(this TypeKey typeKey)
 {
     typeKey.MustNotBeEmpty(nameof(typeKey)).Type.MustBeValidRegistrationType();
     return(typeKey);
 }
 protected InstanceManipulation(TypeKey typeKey, string memberName, IReadOnlyList <Dependency> dependencies)
 {
     TypeKey      = typeKey.MustNotBeEmpty(nameof(typeKey));
     MemberName   = memberName.MustNotBeNullOrWhiteSpace(nameof(memberName));
     Dependencies = dependencies;
 }
Example #3
0
 protected InstantiationInfo(TypeKey typeKey, IReadOnlyList <Dependency> instantiationDependencies)
 {
     typeKey.MustBeValidRegistrationTypeKey();
     TypeKey = typeKey;
     InstantiationDependencies = instantiationDependencies;
 }