Skip to content

Class GeneratorOptions

Namespace: Momentum.Extensions.EventMarkdownGenerator.Models
Assembly: Momentum.Extensions.EventMarkdownGenerator.dll

csharp
public record GeneratorOptions : IEquatable<GeneratorOptions>

Inheritance

objectGeneratorOptions

Implements

IEquatable<GeneratorOptions>

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

GeneratorOptions(GeneratorOptions)

csharp
protected GeneratorOptions(GeneratorOptions original)

Parameters

original GeneratorOptions

GeneratorOptions()

csharp
public GeneratorOptions()

Properties

AssemblyPaths

csharp
public List<string> AssemblyPaths { get; init; }

Property Value

List<string>

EqualityContract

csharp
protected virtual Type EqualityContract { get; }

Property Value

Type

GitHubBaseUrl

csharp
public string? GitHubBaseUrl { get; init; }

Property Value

string?

OutputDirectory

csharp
public required string OutputDirectory { get; init; }

Property Value

string

SidebarFileName

csharp
public required string SidebarFileName { get; init; }

Property Value

string

TemplatesDirectory

csharp
public string? TemplatesDirectory { get; init; }

Property Value

string?

XmlDocumentationPaths

csharp
public List<string> XmlDocumentationPaths { get; init; }

Property Value

List<string>

Methods

<Clone>$()

csharp
public virtual GeneratorOptions <Clone>$()

Returns

GeneratorOptions

EnsureOutputDirectoryExists()

csharp
public void EnsureOutputDirectoryExists()

Equals(object?)

csharp
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(GeneratorOptions?)

csharp
public virtual bool Equals(GeneratorOptions? other)

Parameters

other GeneratorOptions?

Returns

bool

GetHashCode()

csharp
public override int GetHashCode()

Returns

int

GetSidebarPath()

csharp
public string GetSidebarPath()

Returns

string

PrintMembers(StringBuilder)

csharp
protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

csharp
public override string ToString()

Returns

string

Operators

operator ==(GeneratorOptions?, GeneratorOptions?)

csharp
public static bool operator ==(GeneratorOptions? left, GeneratorOptions? right)

Parameters

left GeneratorOptions?

right GeneratorOptions?

Returns

bool

operator !=(GeneratorOptions?, GeneratorOptions?)

csharp
public static bool operator !=(GeneratorOptions? left, GeneratorOptions? right)

Parameters

left GeneratorOptions?

right GeneratorOptions?

Returns

bool