// Copyright © 2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Collections.Generic;
namespace CefSharp.ModelBinding
{
///
/// Model binding context object
///
public class BindingContext
{
///
/// Binding destination type
///
public Type DestinationType { get; set; }
///
/// The generic type of a collection is only used when DestinationType is a enumerable.
///
public Type GenericType { get; set; }
///
/// The current model object (or null for body deserialization)
///
public object Model { get; set; }
///
/// DestinationType properties that are not black listed
///
public IEnumerable ValidModelBindingMembers { get; set; }
///
/// The incoming data fields
///
public object Object { get; set; }
}
}