コード例 #1
0
ファイル: PrtgResponse.cs プロジェクト: runnane/PrtgAPI
        public PrtgResponse(Stream stream)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            streamValue = stream;
            Type        = PrtgResponseType.Stream;
        }
コード例 #2
0
ファイル: PrtgResponse.cs プロジェクト: runnane/PrtgAPI
        public PrtgResponse(string str, bool isDirty)
        {
            if (str == null)
            {
                throw new ArgumentNullException(nameof(str));
            }

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