Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Content.IContentBuilder< out TB > Interface Template Reference

Base interface for content builders. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Content.IContentBuilder< out TB >:
PushTechnology.ClientInterface.Client.Content.IRecordContentBuilder PushTechnology.ClientInterface.Client.Content.ISimpleContentBuilder

Public Member Functions

TB SetEncoding (ContentEncoding encoding)
 /// Sets the transport encoding to be used for the content. More...
 
TB Reset ()
 Reset the builder, clearing all that has been added to it so far. This will also reset any other attributes of the content to initial default values. More...
 
IContent Build ()
 Build content. More...
 

Detailed Description

Base interface for content builders.

Content builders may be created using a IContentFactory.

Template Parameters
TBThe builder type.

Member Function Documentation

IContent PushTechnology.ClientInterface.Client.Content.IContentBuilder< out TB >.Build ( )

Build content.

Returns
The content.
TB PushTechnology.ClientInterface.Client.Content.IContentBuilder< out TB >.Reset ( )

Reset the builder, clearing all that has been added to it so far. This will also reset any other attributes of the content to initial default values.

Returns
This builder.
TB PushTechnology.ClientInterface.Client.Content.IContentBuilder< out TB >.SetEncoding ( ContentEncoding  encoding)

/// Sets the transport encoding to be used for the content.

Parameters
encoding
Returns
This builder.

The documentation for this interface was generated from the following file: