Description: Orde negara contoh mesin adalah sebuah aplikasi, aplikasi dengan menggunakan alur kerja mesin negara untuk mengimplementasikan solusi pemenuhan pesanan.
Dalam jenis aplikasi, mungkin pesanan sebelum selesai melewati melalui beberapa negara. Untuk contoh ini, ada empat negara didefinisikan:
WaitingForOrderState
OrderOpenState
OrderProcessedState
OrderCompletedState
Sistem ini agar ada beberapa aturan yang menentukan urutan peristiwa dapat terjadi (tergantung status dari pesanan). Misalnya, Anda dapat memperbarui alamat, membatalkan atau membuka pesanan dikirim. Namun, perintah telah diproses, Anda hanya dapat memperbarui atau dikirim, dan tidak dapat dibatalkan. Dalam acara tersebut terjadi, negara alur kerja mesin dapat dikonversi sesuai dengan situasi untuk urutan negara baru. Sebagai contoh, jika order terbuka dan tempat acara OrderShipped, alur kerja keadaan mesin akan mengkonversi status pesanan telah selesai.
To Search:
File list (Check if you may need any files):
订单状态机实例OrderingStateMachine\CS\bin\OrderApplication.exe
..................................\..\...\OrderApplication.pdb
..................................\..\...\OrderApplication.vshost.exe
..................................\..\...\OrderApplication.vshost.exe.manifest
..................................\..\...\OrderLocalServices.dll
..................................\..\...\OrderLocalServices.pdb
..................................\..\...\OrderWorkflows.dll
..................................\..\...\OrderWorkflows.pdb
..................................\..\OrderApplication\Mainform.cs
..................................\..\................\Mainform.designer.cs
..................................\..\................\Mainform.resx
..................................\..\................\obj\Debug - Common Bin\Microsoft.Samples.Workflow.OrderApplication.Mainform.resources
..................................\..\................\...\..................\Microsoft.Samples.Workflow.OrderApplication.Properties.Resources.resources
..................................\..\................\...\..................\OrderApplication.csproj.FileListAbsolute.txt
..................................\..\................\...\..................\OrderApplication.csproj.GenerateResource.Cache
..................................\..\................\...\..................\OrderApplication.exe
..................................\..\................\...\..................\OrderApplication.pdb
..................................\..\................\...\..................\ResolveAssemblyReference.cache
..................................\..\................\...\..................\TempPE\Properties.Resources.Designer.cs.dll
..................................\..\................\OrderApplication.csproj
..................................\..\................\Program.cs
..................................\..\................\...perties\AssemblyInfo.cs
..................................\..\................\..........\Resources.Designer.cs
..................................\..\................\..........\Resources.resx
..................................\..\................\..........\Settings.Designer.cs
..................................\..\................\..........\Settings.settings
..................................\..\OrderingStateMachine.sln
..................................\..\OrderingStateMachine.suo
..................................\..\.....LocalServices\IOrderService.cs
..................................\..\..................\obj\Debug - Common Bin\OrderLocalServices.csproj.FileListAbsolute.txt
..................................\..\..................\...\..................\OrderLocalServices.dll
..................................\..\..................\...\..................\OrderLocalServices.pdb
..................................\..\..................\OrderEventArgs.cs
..................................\..\..................\OrderLocalServices.csproj
..................................\..\..................\OrderService.cs
..................................\..\..................\Properties\AssemblyInfo.cs
..................................\..\.....Workflows\obj\Debug - Common Bin\OrderWorkflows.csproj.FileListAbsolute.txt
..................................\..\..............\...\..................\OrderWorkflows.dll
..................................\..\..............\...\..................\OrderWorkflows.pdb
..................................\..\..............\...\..................\ResolveAssemblyReference.cache
..................................\..\..............\OrderWorkflows.csproj
..................................\..\..............\Properties\AssemblyInfo.cs
..................................\..\..............\SampleWorkflow.cs
..................................\..\..............\SampleWorkflow.Designer.cs
..................................\..\..............\SampleWorkflow.layout
..................................\..\UpgradeLog.XML
..................................\..\_UpgradeReport_Files\UpgradeReport.css
..................................\..\......