示例#1
0
 private string StringFactoryNode(FactoryDependencyNode node, string[] dependencies)
 => $"(_SingletonInstances.__{node.InstanceName} ??= new {node.ImplimentationName}({string.Join(", ", new[] { "_SingletonInstances" }.Concat(dependencies))}))";
 public DependencyNode(FactoryDependencyNode factoryDependencyNode)
 {
     _dependencyNodeType = DependencyNodeTypeEnum.Factory;
     _value = factoryDependencyNode;
 }