Files
cefsharp/CefSharp/ModelBinding/IFieldNameConverter.cs
T

20 lines
664 B
C#

// Copyright © 2010-2017 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.
namespace CefSharp.ModelBinding
{
/// <summary>
/// Provides the capability to supply a convention to
/// convert form field names to property names if required.
/// </summary>
public interface IFieldNameConverter
{
/// <summary>
/// Converts a field name to a property name
/// </summary>
/// <param name="fieldName">Field name</param>
/// <returns>Property name</returns>
string Convert(string fieldName);
}
}