Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/WinGet.RestSource.Utils/Models/Arrays/Capabilities.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// <copyright file="Capabilities.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -8,6 +8,7 @@ namespace Microsoft.WinGet.RestSource.Utils.Models.Arrays
{
using System;
using Microsoft.WinGet.RestSource.Utils.Models.Core;
using Microsoft.WinGet.RestSource.Utils.Validators.StringValidators;

/// <summary>
/// Capabilities.
Expand All @@ -17,7 +18,7 @@ public class Capabilities : ApiArray<string>
private const bool Nullable = true;
private const bool Unique = true;
private const uint Max = 1000;
private static readonly Type Validator = typeof(Capabilities);
private static readonly Type Validator = typeof(CapabilitiesValidator);

/// <summary>
/// Initializes a new instance of the <see cref="Capabilities"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Microsoft.WinGet.RestSource.Utils.Models.Arrays
{
using System;
using Microsoft.WinGet.RestSource.Utils.Models.Core;
using Microsoft.WinGet.RestSource.Utils.Validators.StringValidators;

/// <summary>
/// RestrictedCapabilities.
Expand All @@ -17,7 +18,7 @@ public class RestrictedCapabilities : ApiArray<string>
private const bool Nullable = true;
private const bool Unique = true;
private const uint Max = 1000;
private static readonly Type Validator = typeof(Capabilities);
private static readonly Type Validator = typeof(CapabilitiesValidator);

/// <summary>
/// Initializes a new instance of the <see cref="RestrictedCapabilities"/> class.
Expand Down