BusinessFlow-Befor-After-Pattern
1.0.0
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package BusinessFlow-Befor-After-Pattern --version 1.0.0
NuGet\Install-Package BusinessFlow-Befor-After-Pattern -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BusinessFlow-Befor-After-Pattern" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BusinessFlow-Befor-After-Pattern --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BusinessFlow-Befor-After-Pattern, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BusinessFlow-Befor-After-Pattern as a Cake Addin
#addin nuget:?package=BusinessFlow-Befor-After-Pattern&version=1.0.0
// Install BusinessFlow-Befor-After-Pattern as a Cake Tool
#tool nuget:?package=BusinessFlow-Befor-After-Pattern&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Example Code
class SampleBusiness.cs
public class SampleBussiness : BussinessFlow<int?> {
private int Count;
public SampleBussiness()
{
}
protected override void OnBeforeExcute()
{
ExecutionResult.Continue = true; // If "true" get to "OnExecute" else Operation End
ExecutionResult.Message = "Operation Continue"; //Return Your Message
}
protected override int? OnExecute()
{
ExecutionResult.Message = "Operation Sucessful";
ExecutionResult.Result = 100*100; // Your Result
return ExecutionResult.Result; //Return Result
}
protected override void OnAfterExecute()
{
//Implementation
}
}
class Program { static void Main(string[] args) { SampleBussiness bussiness = new SampleBussiness(); var result = bussiness.Execute(); } }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
First release