Beispiel #1
0
        internal byte[] New()
        {
            var bytes       = new List <byte>(12);
            var timePart    = new SimoIdTimePart();
            var counterPart = new SimoIdCounterPart();

            bytes.AddRange(timePart.Value);
            bytes.AddRange(_machinePart.Value);
            bytes.AddRange(_processPart.Value);
            bytes.AddRange(counterPart.Value);

            return(bytes.ToArray());
        }
        internal byte[] New()
        {
            var bytes = new List<byte>(12);
            var timePart = new SimoIdTimePart();
            var counterPart = new SimoIdCounterPart();

            bytes.AddRange(timePart.Value);
            bytes.AddRange(_machinePart.Value);
            bytes.AddRange(_processPart.Value);
            bytes.AddRange(counterPart.Value);

            return bytes.ToArray();
        }