Add this attribute to your data interface to specify what controller to use for publishing. Your data type is expected to implement IPublishControlled when this attribute is used. The type you specify is expected to implement IPublishProcessController. For default publishing behaviour use the type GenericPublishProcessController

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public sealed class PublishProcessControllerTypeAttribute : ProcessControllerTypeAttribute
Visual Basic
Public NotInheritable Class PublishProcessControllerTypeAttribute _
	Inherits ProcessControllerTypeAttribute
Visual C++
public ref class PublishProcessControllerTypeAttribute sealed : public ProcessControllerTypeAttribute

Examples

This sample shows how to use the PublishProcessControllerType attribute.
CopyC#
[PublishProcessControllerType(typeof(GenericPublishProcessController))]
// (other IData attributes)
interface IMyDataType : IData, IPublishControlled
{
    // data type properties
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    ProcessControllerTypeAttribute
      Composite.Data..::..PublishProcessControllerTypeAttribute

See Also