public int Launch () { if (RemainingArguments.Length != 2) { DoAbout (); return 1; } try { assy = Assembly.LoadFrom (RemainingArguments[0]); } catch (Exception e) { Console.Error.WriteLine ("Could not load assembly {0}: {1}", RemainingArguments[0], e); return 1; } docpath = RemainingArguments[1]; if (!Directory.Exists (docpath)) { Console.Error.WriteLine ("Documentation directory {0} does not exist!", docpath); return 1; } BundleDocumenter bd = new BundleDocumenter (assy, docpath); try { bd.Document (); } catch (Exception e) { Console.Error.WriteLine ("Error in docs generation: {0}", e); return 1; } return 0; }
public int Launch() { if (RemainingArguments.Length != 2) { DoAbout(); return(1); } try { assy = Assembly.LoadFrom(RemainingArguments[0]); } catch (Exception e) { Console.Error.WriteLine("Could not load assembly {0}: {1}", RemainingArguments[0], e); return(1); } docpath = RemainingArguments[1]; if (!Directory.Exists(docpath)) { Console.Error.WriteLine("Documentation directory {0} does not exist!", docpath); return(1); } BundleDocumenter bd = new BundleDocumenter(assy, docpath); try { bd.Document(); } catch (Exception e) { Console.Error.WriteLine("Error in docs generation: {0}", e); return(1); } return(0); }
public TypeDocumenter(BundleDocumenter owner) { if (owner == null) { throw new ArgumentNullException(); } this.owner = owner; }
public TypeDocumenter (BundleDocumenter owner) { if (owner == null) throw new ArgumentNullException (); this.owner = owner; }
public RuleDocumenter(BundleDocumenter owner) : base(owner) { }
public MatcherDocumenter(BundleDocumenter owner) : base(owner) { }
public ProviderDocumenter(BundleDocumenter owner) : base(owner) { }
public ResultDocumenter(BundleDocumenter owner) : base(owner) { }
public RegexMatcherDocumenter (BundleDocumenter owner) : base (owner) {}
public RuleDocumenter (BundleDocumenter owner) : base (owner) {}
public ProviderDocumenter (BundleDocumenter owner) : base (owner) {}
public ResultDocumenter (BundleDocumenter owner) : base (owner) {}