ibatchentry.cs

来自「C# 版本的一个三层商业架构」· CS 代码 · 共 25 行

CS
25
字号
using System;

namespace CSLA.BatchQueue
{
  /// <summary>
  /// Defines the interface that must be implemented by
  /// all worker classes.
  /// </summary>
  /// <remarks>
  /// To create a worker that can be executed within the
  /// batch queue, implement this interface. The interface
  /// will be invoked by the batch queue processor on the
  /// server.
  /// </remarks>
  public interface IBatchEntry
	{
    /// <summary>
    /// This method should contain your worker code that
    /// is to be run in the batch queue.
    /// </summary>
    /// <param name="State">An optional object containing extra state data from the client.</param>
    void Execute(object state);
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?