/[gr2lib]/trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 133 by william, Sun Jul 18 06:14:54 2010 UTC revision 187 by william, Sat Jul 24 04:16:43 2010 UTC
# Line 10  using System.ComponentModel; Line 10  using System.ComponentModel;
10  namespace gr2lib.core.apiversion  namespace gr2lib.core.apiversion
11  {  {
12      #region public class VersionType      #region public class VersionType
13        /// <summary>
14        /// Iversiontype inteface
15        /// </summary>
16      public interface Iversiontype      public interface Iversiontype
17      {      {
18            /// <summary>
19            /// get/set the major
20            /// </summary>
21          int major { get; set; }          int major { get; set; }
22            /// <summary>
23            /// get/set the minor
24            /// </summary>
25          int minor { get; set; }          int minor { get; set; }
26            /// <summary>
27            /// get/set the customization
28            /// </summary>
29          int customization { get; set; }          int customization { get; set; }
30            /// <summary>
31            /// get/set the build
32            /// </summary>
33          int build { get; set; }          int build { get; set; }
34          //string version { get; }          //string version { get; }
35      }      }
36        /// <summary>
37        /// versiontype class
38        /// </summary>
39      public class versiontype : Iversiontype      public class versiontype : Iversiontype
40      {      {
41          /// <summary>          /// <summary>
# Line 68  namespace gr2lib.core.apiversion Line 85  namespace gr2lib.core.apiversion
85          /// </summary>          /// </summary>
86          private string version { get { return string.Format("{0}.{1}.{2}.{3}", major, minor, customization, build); } }          private string version { get { return string.Format("{0}.{1}.{2}.{3}", major, minor, customization, build); } }
87          private int _major;          private int _major;
         [RefreshPropertiesAttribute(RefreshProperties.All)]    
88          /// <summary>          /// <summary>
89          /// Returns the Major of the Granny2 API Version (X.0.0.0)          /// Returns the Major of the Granny2 API Version (X.0.0.0)
90          /// </summary>          /// </summary>
91            [RefreshPropertiesAttribute(RefreshProperties.All)]        
92          public int major { get { return _major; } set { _major = value; } }          public int major { get { return _major; } set { _major = value; } }
93    
94          private int _minor;          private int _minor;
         [RefreshPropertiesAttribute(RefreshProperties.All)]    
95          /// <summary>          /// <summary>
96          /// Returns the Minor of the Granny2 API Version (0.X.0.0)          /// Returns the Minor of the Granny2 API Version (0.X.0.0)
97          /// </summary>          /// </summary>
98            [RefreshPropertiesAttribute(RefreshProperties.All)]        
99          public int minor { get { return _minor; } set { _minor = value; } }          public int minor { get { return _minor; } set { _minor = value; } }
100    
101          private int _customization;          private int _customization;
         [RefreshPropertiesAttribute(RefreshProperties.All)]    
102          /// <summary>          /// <summary>
103          /// Returns the Customization of the Granny2 API Version - Customization (0.0.X.0)          /// Returns the Customization of the Granny2 API Version - Customization (0.0.X.0)
104          /// </summary>          /// </summary>
105            [RefreshPropertiesAttribute(RefreshProperties.All)]          
106          public int customization { get { return _customization; } set { _customization = value; } }          public int customization { get { return _customization; } set { _customization = value; } }
107    
108          private int _build;          private int _build;
         [RefreshPropertiesAttribute(RefreshProperties.All)]    
109          /// <summary>          /// <summary>
110          /// Returns the Build of the Granny2 API Version (0.0.0.X)          /// Returns the Build of the Granny2 API Version (0.0.0.X)
111          /// </summary>          /// </summary>
112            [RefreshPropertiesAttribute(RefreshProperties.All)]  
113          public int build { get { return _build; } set { _build = value; } }          public int build { get { return _build; } set { _build = value; } }
114          #endregion          #endregion
115      }      }

Legend:
Removed from v.133  
changed lines
  Added in v.187

  ViewVC Help
Powered by ViewVC 1.1.22