public PropertySchema(string propertyName, Type propertyType, IComponentSchema owner) { this.Name = propertyName; this.PropertyType = propertyType; this.Owner = owner; this.Attributes = new List<Attribute>(); }
public void Configure(IComponentSchema schema, ComponentConfiguration configuration) { foreach (var automation in configuration.Automations.OfType<EventConfiguration>()) { schema.AddAutomation(new EventAutomationSettings( automation.EventBinding, new CommandAutomationSettings(automation.CommandBinding))); } }
public void AddSchema(Type componentType, IComponentSchema componentSchema) { map[componentType] = componentSchema; }