Пример #1
0
        internal TypeResponse([NotNull] Dictionary <string, string> body, [NotNull] TypeProperties properties)
        {
            if ((body == null) || (properties == null))
            {
                throw new ArgumentNullException(nameof(body) + " || " + nameof(properties));
            }

            Body       = body;
            Properties = properties;
        }
Пример #2
0
 internal TypeResponse(Dictionary <string, string> body, TypeProperties properties)
 {
     Body       = body ?? throw new ArgumentNullException(nameof(body));
     Properties = properties ?? throw new ArgumentNullException(nameof(properties));
 }