public void SetProject(ProjectBuilder proj) { if (proj == null) { throw new ArgumentNullException(); } this.proj = proj; }
protected ProviderBuilder(ProjectBuilder proj, string basis) { this.proj = proj; this.basis = basis; }
protected ProviderBuilder (ProjectBuilder proj, string basis) { this.proj = proj; this.basis = basis; }
public void SetProject (ProjectBuilder proj) { if (proj == null) throw new ArgumentNullException (); this.proj = proj; }
// The functions return true on error, as usual. // // Right now we don't inherit structure templates from one another, // so this function doesn't need to be virtual. I can't see a case in which // inheriting is what one wants to do, but maybe I'm wrong ... public virtual bool Apply (ProjectBuilder proj, string decl_loc, IWarningLogger log) { return false; }
// The functions return true on error, as usual. // // Right now we don't inherit structure templates from one another, // so this function doesn't need to be virtual. I can't see a case in which // inheriting is what one wants to do, but maybe I'm wrong ... public virtual bool Apply(ProjectBuilder proj, string decl_loc, IWarningLogger log) { return(false); }