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.
AddedNewEventArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="AddedNewEventArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Object containing information about a</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Core
11{
19 public class AddedNewEventArgs<T> : EventArgs
20 {
25 public T NewObject { get; protected set; }
26
30 public AddedNewEventArgs() { }
31
38 public AddedNewEventArgs(T newObject)
39 {
40 NewObject = newObject;
41 }
42 }
43}
Object containing information about a newly added object.
T NewObject
Gets a reference to the newly added object.
AddedNewEventArgs(T newObject)
Creates a new instance of the object.
AddedNewEventArgs()
Creates a new instance of the object.