public InstanceBuilderInfo(ITypeId projectType, ProjectTypeInstanceBuilderHelper.CreateBuilder createDelegate) { this.ProjectType = projectType; this.CreateDelegate = createDelegate; this.RegisteredTypes = new List <Type>(); }
public void Register(ITypeId projectType, ProjectTypeInstanceBuilderHelper.CreateBuilder createDelegate) { this.creators.Add(new ProjectTypeInstanceBuilderHelper.InstanceBuilderInfo(projectType, createDelegate)); }