Esempio n. 1
0
        public PrtgResponse(Stream stream)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            streamValue = stream;
            Type        = PrtgResponseType.Stream;
        }
Esempio n. 2
0
        public PrtgResponse(string str, bool isDirty)
        {
            if (str == null)
            {
                throw new ArgumentNullException(nameof(str));
            }

            stringValue  = str;
            Type         = PrtgResponseType.String;
            this.isDirty = isDirty;
        }