// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace System.Web.Http.Validation
{
///
/// Abstraction for creating keys used in nested validation scopes. Intended for use in
/// implementations, especially .
///
public interface IBodyModelValidatorKeyBuilder
{
///
/// Returns the key for a nested scope within the scope.
///
/// Key for the current scope.
/// Key for a nested scope. Usually appends a property name to .
string AppendTo(string prefix);
}
}