Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/DocumentInformation.cs @ 4068

Last change on this file since 4068 was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 2.3 KB
Line 
1using System;
2
3namespace Netron.Diagramming.Core {
4  /// <summary>
5  /// The meta-data (author, date, description) related to a diagram is collected in this class
6  /// </summary>
7  public partial class DocumentInformation : IVersion {
8    #region Fields
9
10    // ------------------------------------------------------------------
11    /// <summary>
12    /// Implementation of IVersion - the current version of
13    /// DocumentInformation.
14    /// </summary>
15    // ------------------------------------------------------------------
16    protected const double documentInformationVersion = 1.0;
17
18    /// <summary>
19    /// the CreationDate field
20    /// </summary>
21    private string mCreationDate = DateTime.Now.ToString();
22    /// <summary>
23    /// the field
24    /// </summary>
25    private string mAuthor = string.Empty;
26    /// <summary>
27    /// the Description field
28    /// </summary>
29    private string mDescription = string.Empty;
30    /// <summary>
31    /// the Title field
32    /// </summary>
33    private string mTitle = string.Empty;
34    #endregion
35
36    #region Properties
37
38    // ------------------------------------------------------------------
39    /// <summary>
40    /// Gets the current version.
41    /// </summary>
42    // ------------------------------------------------------------------
43    public virtual double Version {
44      get {
45        return documentInformationVersion;
46      }
47    }
48
49    /// <summary>
50    /// Gets or sets the
51    /// </summary>
52    public string Author {
53      get { return mAuthor; }
54      set { mAuthor = value; }
55    }
56    /// <summary>
57    /// Gets or sets the Description
58    /// </summary>
59    public string Description {
60      get { return mDescription; }
61      set { mDescription = value; }
62    }
63    /// <summary>
64    /// Gets or sets the Title
65    /// </summary>
66    public string Title {
67      get { return mTitle; }
68      set { mTitle = value; }
69    }
70    /// <summary>
71    /// Gets or sets the CreationDate
72    /// </summary>
73    public string CreationDate {
74      get { return mCreationDate; }
75      set { mCreationDate = value; }
76    }
77    #endregion
78
79    #region Constructor
80    ///<summary>
81    ///Default constructor
82    ///</summary>
83    public DocumentInformation() {
84
85    }
86    #endregion
87
88  }
89}
Note: See TracBrowser for help on using the repository browser.