Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Scaffolding Inheritance: System.Object

Syntax

Summary

The validated inputs for dotnet easyaf new: the solution namespace, target framework, and which optional projects to include.

Constructors

.ctor

Initializes a new instance of the ScaffoldOptions class.

Syntax

Parameters

Exceptions

.ctor Inherited

Inherited from object

Syntax

Properties

Company

Gets the first namespace segment (for example CloudNimble for CloudNimble.Contoso), used for package metadata.

Syntax

Property Value

Type: string

IncludeApi

Gets a value indicating whether the .Api project (and its test project) is created.

Syntax

Property Value

Type: bool

IncludeMessageBus

Gets a value indicating whether the .MessageBus.* projects are created.

Syntax

Property Value

Type: bool

IncludeRuntime

Gets a value indicating whether the .MessageBus.Runtime project is created. Always false when ScaffoldOptions.IncludeMessageBus is false.

Syntax

Property Value

Type: bool

MicrosoftPackageVersion

Gets the version that Microsoft.Extensions and EF Core packages float to for ScaffoldOptions.TargetFramework.

Syntax

Property Value

Type: string

Namespace

Gets the solution namespace (for example CloudNimble.Contoso); every project name starts with it.

Syntax

Property Value

Type: string

Product

Gets the last namespace segment (for example Contoso), used in class, configuration, and WebJob names.

Syntax

Property Value

Type: string

TargetFramework

Gets the target framework moniker every project uses (for example net10.0).

Syntax

Property Value

Type: string

WebJob

Gets a value indicating whether Azure WebJob publish metadata is stamped on the .MessageBus.Runtime project.

Syntax

Property Value

Type: bool

Methods

CreateTokens

Creates the token values the embedded scaffold resources are rendered with.

Syntax

Parameters

Returns

Type: System.Collections.Generic.IReadOnlyDictionary<string, string> The tokens keyed by placeholder name.

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?