Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / MonoRail / NewGenerator / Castle.NewGenerator.Core / Attributes / GeneratorOptionsAttribute.cs
blobde13191f9cd8179f061099e11da16d388221122d
1 namespace Castle.NewGenerator.Core
3 using System;
5 [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
6 public class GeneratorOptionsAttribute : Attribute
8 private readonly Type optionClass;
10 public GeneratorOptionsAttribute(Type optionClass)
12 this.optionClass = optionClass;
15 public Type OptionClass
17 get { return optionClass; }