use primary constructor
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
namespace Pilz.UI.Telerik.Dialogs;
|
||||
|
||||
public class FlyoutClosedEventArgs : global::Telerik.WinControls.UI.SplashScreen.FlyoutClosedEventArgs
|
||||
public class FlyoutClosedEventArgs(RadFlyoutBase content) : global::Telerik.WinControls.UI.SplashScreen.FlyoutClosedEventArgs(content)
|
||||
{
|
||||
public new RadFlyoutBase? Content => base.Content as RadFlyoutBase;
|
||||
|
||||
public FlyoutClosedEventArgs(RadFlyoutBase content) : base(content)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,11 +2,7 @@
|
||||
|
||||
namespace Pilz.UI.Telerik.Dialogs;
|
||||
|
||||
public class FlyoutCreatedEventArgs : ContentCreatedEventArgs
|
||||
public class FlyoutCreatedEventArgs(RadFlyoutBase content) : ContentCreatedEventArgs(content)
|
||||
{
|
||||
public new RadFlyoutBase? Content => base.Content as RadFlyoutBase;
|
||||
|
||||
public FlyoutCreatedEventArgs(RadFlyoutBase content) : base(content)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user