Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / MonoRail / NewGenerator / Castle.NewGenerator.Core / BaseGenerator.cs
blob33b5547a8b889272d396d6156ddc03280888d208
1 namespace Castle.NewGenerator.Core
3 using System;
5 public abstract class BaseGenerator : IGenerator
7 private string targetPath;
9 protected BaseGenerator()
11 targetPath = AppDomain.CurrentDomain.BaseDirectory;
14 [Param]
15 public string TargetPath
17 get { return targetPath; }
18 set { targetPath = value; }
21 public abstract void Generate(GeneratorContext context, IGeneratorService generator);