e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
32 lines
998 B
C#
32 lines
998 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="WebPartTransformer.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI.WebControls.WebParts {
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
|
|
public abstract class WebPartTransformer {
|
|
|
|
/// <devdoc>
|
|
/// Overridden by derived classes. Should return a Control that implements
|
|
/// ITransformerConfigurationControl
|
|
/// </devdoc>
|
|
public virtual Control CreateConfigurationControl() {
|
|
return null;
|
|
}
|
|
|
|
protected internal virtual void LoadConfigurationState(object savedState) {
|
|
}
|
|
|
|
protected internal virtual object SaveConfigurationState() {
|
|
return null;
|
|
}
|
|
|
|
public abstract object Transform(object providerData);
|
|
}
|
|
}
|