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.
BusyChangedEventArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="BusyChangedEventArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Delegate for handling the BusyChanged event.</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12
13namespace Csla.Core
14{
24 public delegate void BusyChangedEventHandler(object sender, BusyChangedEventArgs e);
25
29 public class BusyChangedEventArgs : EventArgs
30 {
34 public bool Busy { get; protected set; }
38 public string PropertyName { get; protected set; }
39
49 public BusyChangedEventArgs(string propertyName, bool busy)
50 {
51 PropertyName = propertyName;
52 Busy = busy;
53 }
54 }
55}
Event arguments for the BusyChanged event.
BusyChangedEventArgs(string propertyName, bool busy)
Creates a new instance of the object.
string PropertyName
Property for which the Busy value has changed.
delegate void BusyChangedEventHandler(object sender, BusyChangedEventArgs e)
Delegate for handling the BusyChanged event.