File scoped namespaces
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Wino.Core.Domain.Models.Menus
|
||||
{
|
||||
public class MenuOperationItemBase<TOperation> where TOperation : Enum
|
||||
{
|
||||
public MenuOperationItemBase(TOperation operation, bool isEnabled)
|
||||
{
|
||||
Operation = operation;
|
||||
IsEnabled = isEnabled;
|
||||
Identifier = operation.ToString();
|
||||
}
|
||||
namespace Wino.Core.Domain.Models.Menus;
|
||||
|
||||
public TOperation Operation { get; set; }
|
||||
public string Identifier { get; set; }
|
||||
public bool IsEnabled { get; set; }
|
||||
public class MenuOperationItemBase<TOperation> where TOperation : Enum
|
||||
{
|
||||
public MenuOperationItemBase(TOperation operation, bool isEnabled)
|
||||
{
|
||||
Operation = operation;
|
||||
IsEnabled = isEnabled;
|
||||
Identifier = operation.ToString();
|
||||
}
|
||||
|
||||
public TOperation Operation { get; set; }
|
||||
public string Identifier { get; set; }
|
||||
public bool IsEnabled { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user