-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGlobalIdentityModel.cs
More file actions
40 lines (37 loc) · 1.57 KB
/
GlobalIdentityModel.cs
File metadata and controls
40 lines (37 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
using System.Runtime.Serialization;
namespace RapidField.SolidInstruments.Core
{
/// <summary>
/// Represents an object that models a general construct and that is identified primarily by a <see cref="Guid" /> value.
/// </summary>
/// <remarks>
/// <see cref="GlobalIdentityModel" /> is the default implementation of <see cref="IGlobalIdentityModel" />.
/// </remarks>
[DataContract]
public abstract class GlobalIdentityModel : Model<Guid>, IGlobalIdentityModel
{
/// <summary>
/// Initializes a new instance of the <see cref="GlobalIdentityModel" /> class.
/// </summary>
protected GlobalIdentityModel()
: base()
{
return;
}
/// <summary>
/// Initializes a new instance of the <see cref="GlobalIdentityModel" /> class.
/// </summary>
/// <param name="identifier">
/// A value that uniquely identifies the model. The default value is equal to the default instance of <see cref="Guid" />.
/// </param>
protected GlobalIdentityModel(Guid identifier)
: base(identifier)
{
return;
}
}
}