Ejemplo n.º 1
0
 private string StringSingletonNode(SingletonDependencyNode node, string[] dependencies)
 => $"(_SingletonInstances.__{node.InstanceName} ??= new {node.TypeName}({string.Join(", ", dependencies)}))";
Ejemplo n.º 2
0
 public DependencyNode(SingletonDependencyNode singletonDependencyNode)
 {
     _dependencyNodeType = DependencyNodeTypeEnum.Singleton;
     _value = singletonDependencyNode;
 }