CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
CslaActionCancelEventArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="CslaActionCancelEventArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Event args providing information about</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.ComponentModel;
10
11namespace Csla.Windows
12{
17 public class CslaActionCancelEventArgs : CancelEventArgs
18 {
28 public CslaActionCancelEventArgs(bool cancel, string commandName)
29 : base(cancel)
30 {
31 _commandName = commandName;
32 }
33
34 private string _commandName;
35
39 public string CommandName
40 {
41 get { return _commandName; }
42 }
43 }
44}
Event args providing information about a canceled action.
CslaActionCancelEventArgs(bool cancel, string commandName)
Creates an instance of the object.
string CommandName
Gets the name of the command.