Пример #1
0
        public ItemCountDefinition(ByteStream stream)
        {
            if (stream == null) throw new ArgumentException("null stream");

            TypeName = stream.getString();
            //Log.Trace(String.Format("deserialized TypeName \"{0}\"", TypeName), "ctr");
            SubtypeName = stream.getString();
            //Log.Trace(String.Format("deserialized SubtypeName \"{0}\"", SubtypeName), "ctr");
            Count = stream.getDouble();
            //Log.Trace(String.Format("deserialized Count \"{0}\"", Count), "ctr");
        }
Пример #2
0
        public AppVersion(ByteStream stream)
        {
            if (stream == null) throw new ArgumentException("null stream");

            Major = stream.getUShort();
            Minor = stream.getUShort();
            Patch = stream.getUShort();
            GitSHA = stream.getString();
        }