// 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.
using System.Reflection;
namespace System.Net.Http.Formatting
{
///
/// Interface to determine which data members on a particular type are required.
///
public interface IRequiredMemberSelector
{
///
/// Determines whether a given member is required on deserialization.
///
/// The that will be deserialized.
/// true if should be treated as a required member, otherwise false.
bool IsRequiredMember(MemberInfo member);
}
}