BACnet.Ashrae.WritePropertyRequest.Load C# (CSharp) Method

Load() public static method

public static Load ( IValueStream stream ) : WritePropertyRequest
stream IValueStream
return WritePropertyRequest
        public static WritePropertyRequest Load(IValueStream stream)
        {
            stream.EnterSequence();
            var objectIdentifier = Value<ObjectId>.Load(stream);
            var propertyIdentifier = Value<PropertyIdentifier>.Load(stream);
            var propertyArrayIndex = Value<Option<uint>>.Load(stream);
            var propertyValue = Value<GenericValue>.Load(stream);
            var priority = Value<Option<byte>>.Load(stream);
            stream.LeaveSequence();
            return new WritePropertyRequest(objectIdentifier, propertyIdentifier, propertyArrayIndex, propertyValue, priority);
        }