[성현모] CPXV2 Init

This commit is contained in:
SHM
2024-06-26 10:30:00 +09:00
parent cdf12248c5
commit 5958993b6a
588 changed files with 698420 additions and 0 deletions

View File

@ -0,0 +1,25 @@
using System;
namespace SystemX.Net.Platform.Common.Util
{
/// <summary>
/// Generic event argument decorator class
/// </summary>
public class GenericEventArgs : EventArgs
{
private EventArgs _innerEventArgs;
public T Cast<T>() where T : EventArgs
{
if (_innerEventArgs is T)
return (T)_innerEventArgs;
return null;
}
public GenericEventArgs(EventArgs args)
{
_innerEventArgs = args;
}
}
}