Altairis.Fakturoid.Client.InternalExtensionMethods.EnsureFakturoidSuccess C# (CSharp) Méthode

EnsureFakturoidSuccess() public static méthode

public static EnsureFakturoidSuccess ( this r ) : void
r this
Résultat void
        public static void EnsureFakturoidSuccess(this HttpResponseMessage r)
        {
            if (r == null) throw new ArgumentNullException(nameof(r));
            if (r.IsSuccessStatusCode) return;

            throw new FakturoidException(r);
        }
InternalExtensionMethods