mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 07:11:10 +00:00
Implements directory browser dialog, part 1: file system treeview
This commit is contained in:
1 parent
4a53348013
commit
4e4ecbbfca
318 files changed
+6012
-1184
No files matched your search
@@ -1,4 +1,8 @@
|
||||
namespace Lumina.Domain.Common.Models.Core;
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Domain.Common.Models.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Base class for all domain Entities.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
@@ -12,12 +13,15 @@ namespace Lumina.Domain.Common.Models.Core;
|
||||
public abstract class EntityId<TId> : ValueObject
|
||||
{
|
||||
#region ==================================================================== PROPERTIES =================================================================================
|
||||
/// <summary>
|
||||
/// Gets the value representing the entity identifier.
|
||||
/// </summary>
|
||||
public TId Value { get; }
|
||||
#endregion
|
||||
|
||||
#region ====================================================================== CTOR =====================================================================================
|
||||
/// <summary>
|
||||
/// Overload C-tor.
|
||||
/// Initializes a new instance of the <see cref="EntityId{TId}"/> class.
|
||||
/// </summary>
|
||||
/// <param name="value">The value representing this object.</param>
|
||||
protected EntityId(TId value)
|
||||
@@ -27,7 +31,7 @@ public abstract class EntityId<TId> : ValueObject
|
||||
|
||||
#pragma warning disable CS8618
|
||||
/// <summary>
|
||||
/// Default C-tor.
|
||||
/// Initializes a new instance of the <see cref="EntityId{TId}"/> class.
|
||||
/// </summary>
|
||||
protected EntityId()
|
||||
{
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
namespace Lumina.Domain.Common.Models.Core;
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Domain.Common.Models.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Base class for all domain Value Objects.
|
||||
/// </summary>
|
||||
/// <typeparam name="TId">The type representing the unique identifier for the Entity. It should be a non-nullable type.</typeparam>
|
||||
public abstract class ValueObject : IEquatable<ValueObject>
|
||||
{
|
||||
#region ===================================================================== METHODS ===================================================================================
|
||||
|
||||
Reference in new issue
Block a user