Exemple #1
0
 private string StringDelegateNode(DelegateDependencyNode node, string[] dependencies)
 => $"(({node.DelegateRegistrationTypeName}<{node.TypeName}{(dependencies.Any() ? "," : string.Empty)} {string.Join(", ", node.Dependencies.TypeNames())}>)this).Create({string.Join(", ", dependencies)})";
 public DependencyNode(DelegateDependencyNode delegateDependencyNode)
 {
     _dependencyNodeType = DependencyNodeTypeEnum.Delegate;
     _value = delegateDependencyNode;
 }