ptupitsyn commented on a change in pull request #6356: IGNITE-7101: .NET: 
IIgnite.GetVersion
URL: https://github.com/apache/ignite/pull/6356#discussion_r271618942
 
 

 ##########
 File path: 
modules/platforms/dotnet/Apache.Ignite.Core/Common/IgniteProductVersion.cs
 ##########
 @@ -0,0 +1,224 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+namespace Apache.Ignite.Core.Common
+{
+    using System;
+    using System.Globalization;
+    using Apache.Ignite.Core.Binary;
+    using Apache.Ignite.Core.Impl.Binary;
+    using Apache.Ignite.Core.Impl.Common;
+
+    /// <summary>
+    /// Represents node version.
+    /// </summary>
+    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", 
"CA1036:OverrideMethodsOnComparableTypes")]
+    public class IgniteProductVersion : IEquatable<IgniteProductVersion>, 
IComparable<IgniteProductVersion>
+    {
+        /** Major version number. */
+        private readonly byte _major;
+
+        /** Minor version number. */
+        private readonly byte _minor;
+
+        /** Maintenance version number. */
+        private readonly byte _maintenance;
+
+        /** Stage of development. */
+        private readonly String _stage;
+
+        /** Revision timestamp. */
+        private readonly long _revTs;
+
+        /** Revision hash. */
+        private byte[] _revHash;
 
 Review comment:
   Should be `readonly`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to