Definition
Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Scaffolding Inheritance: System.ObjectSyntax
Summary
The validated inputs fordotnet 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
objectSyntax
Properties
Company
Gets the first namespace segment (for exampleCloudNimble 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 exampleCloudNimble.Contoso); every project name starts with it.
Syntax
Property Value
Type:string
Product
Gets the last namespace segment (for exampleContoso), used in class, configuration, and WebJob names.
Syntax
Property Value
Type:string
TargetFramework
Gets the target framework moniker every project uses (for examplenet10.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
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?