示例#1
0
 public ContainerInstance(IEnumerable <int> path, IRenderingInstructions renderingInstructions, string name, IEnumerable <PropertyInstance> properties, IEnumerable <ComponentInstance> components = null)
     : base(path, renderingInstructions)
 {
     this.Name       = name;
     this.Properties = properties;
     this.Components = components;
 }
示例#2
0
 public AreaInstance(IEnumerable <int> path, IRenderingInstructions renderingInstructions, IEnumerable <ComponentInstance> components = null)
     : base(path, renderingInstructions)
 {
     this.Components = components;
 }
示例#3
0
 public AtomInstance(IEnumerable <int> path, IRenderingInstructions renderingInstructions, string name, IEnumerable <PropertyInstance> properties)
     : base(path, renderingInstructions)
 {
     this.Name       = name;
     this.Properties = properties;
 }
 public Builder(IRenderingInstructions renderingInstructions, Func <string, WidgetSpecification> widgetSpecificationFinder, IComponentSpecificationLibrary componentLibrary)
 {
     this.renderingInstructions     = renderingInstructions;
     this.widgetSpecificationFinder = widgetSpecificationFinder;
     this.componentLibrary          = componentLibrary;
 }
示例#5
0
 protected ComponentInstance(IEnumerable <int> path, IRenderingInstructions renderingInstructions)
 {
     this.Path = path;
     this.RenderingInstructions = renderingInstructions;
 }
示例#6
0
 public PageInstance(IEnumerable<ComponentInstance> components, IRenderingInstructions renderingInstructions)
 {
     this.Components = components;
     this.RenderingInstructions = renderingInstructions;
 }
示例#7
0
 public PlaceholderInstance(IEnumerable <int> path, IRenderingInstructions renderingInstructions, ComponentInstance content)
     : base(path, renderingInstructions)
 {
     this.Content = content;
 }
 public Builder(IRenderingInstructions renderingInstructions, Func<string, WidgetSpecification> widgetSpecificationFinder, IComponentSpecificationLibrary componentLibrary)
 {
     this.renderingInstructions = renderingInstructions;
     this.widgetSpecificationFinder = widgetSpecificationFinder;
     this.componentLibrary = componentLibrary;
 }
示例#9
0
 public PageInstance(IEnumerable <ComponentInstance> components, IRenderingInstructions renderingInstructions)
 {
     this.Components            = components;
     this.RenderingInstructions = renderingInstructions;
 }