You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
24
external/referencesource/System.Web.DynamicData/DynamicData/IFieldTemplateFactory.cs
vendored
Normal file
24
external/referencesource/System.Web.DynamicData/DynamicData/IFieldTemplateFactory.cs
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Security.Permissions;
|
||||
|
||||
namespace System.Web.DynamicData {
|
||||
/// <summary>
|
||||
/// Interface implemented by objects that know how to create field temnplates
|
||||
/// </summary>
|
||||
public interface IFieldTemplateFactory {
|
||||
|
||||
/// <summary>
|
||||
/// Initialize the FieldTemplateFactory, passing it the meta model that it will work with
|
||||
/// </summary>
|
||||
void Initialize(MetaModel model);
|
||||
|
||||
/// <summary>
|
||||
/// Create a field template based on various pieces of data
|
||||
/// </summary>
|
||||
/// <param name="column">The MetaColumn for which the field template is needed</param>
|
||||
/// <param name="mode">The mode (Readonly, Edit, Insert) for which the field template is needed</param>
|
||||
/// <param name="uiHint">The UIHint (if any) that should affect the field template lookup</param>
|
||||
/// <returns></returns>
|
||||
IFieldTemplate CreateFieldTemplate(MetaColumn column, DataBoundControlMode mode, string uiHint);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user