public static AnnotationsExporterParameters WithSearchDirectories( this AnnotationsExporterParameters @this, params string[] directories) { @this.AddSearchDirectories(directories); return(@this); }
public static AnnotationsExporterParameters WithLibraries( this AnnotationsExporterParameters @this, [InstantHandle] IEnumerable <string> paths) { @this.AddLibraries(paths); return(@this); }
public static AnnotationsExporterParameters WithSearchDirectories( this AnnotationsExporterParameters @this, [InstantHandle] IEnumerable <string> directories) { @this.AddSearchDirectories(directories); return(@this); }
public static void Run(string assemblyPath, Action <AnnotationsExporterParameters> configure) { if (configure == null) { throw new ArgumentNullException(nameof(configure)); } var parameters = new AnnotationsExporterParameters(); configure(parameters); Run(assemblyPath, parameters); }
public static AnnotationsExporterParameters WithStripAnnotations(this AnnotationsExporterParameters @this) => WithStripAnnotations(@this, true);
public static AnnotationsExporterParameters WithStripAnnotations(this AnnotationsExporterParameters @this, bool value) { @this.StripAnnotations = value; return(@this); }
public static AnnotationsExporterParameters WithoutExportAnnotations(this AnnotationsExporterParameters @this) => WithExportAnnotations(@this, false);
public static AnnotationsExporterParameters WithSearchDirectory(this AnnotationsExporterParameters @this, string directory) { @this.AddSearchDirectory(directory); return(@this); }
public static AnnotationsExporterParameters WithLibraries(this AnnotationsExporterParameters @this, params string[] paths) { @this.AddLibraries(paths); return(@this); }
public static AnnotationsExporterParameters WithLibrary(this AnnotationsExporterParameters @this, string path) { @this.AddLibrary(path); return(@this); }
public static AnnotationsExporterParameters WithXmlPath(this AnnotationsExporterParameters @this, string?path) { @this.XmlPath = path; return(@this); }