Skip to main content

Definition

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

Syntax

Summary

Represents a command for generating code for a specified EasyAF component.

Remarks

This command is used within the EasyAF tooling to automate the generation of code for various components, such as business logic, core libraries, data access, APIs, or all components at once.

Examples

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Component

Gets or sets the component to generate. Available options: business, core, data, api, simplemessagebus, all.

Syntax

Property Value

Type: string

DontDelete

Gets or sets a directory that will be ignored when deleting files during code generation.

Syntax

Property Value

Type: string

NotPublic

Gets or sets a comma-separated list of table names to ignore when generating the public API surface.

Syntax

Property Value

Type: string

Root

Gets or sets the working directory for the code compiler. Defaults to the current directory if not specified.

Syntax

Property Value

Type: string

Methods

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

OnExecuteAsync

Executes the code generation command asynchronously.

Syntax

Returns

Type: System.Threading.Tasks.Task<int> A Task`1 representing the asynchronous operation, with a result of 0 on success.

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?