Table of Contents

Interface IVisibilityConditionConfigurationXmlSerializer

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll
public interface IVisibilityConditionConfigurationXmlSerializer
Extension Methods

Methods

Deserialize(string)

Deserializes a visibility condition configuration from an XML string.

VisibilityConditionConfiguration Deserialize(string visibilityConditionConfigurationXml)

Parameters

visibilityConditionConfigurationXml string

XML representation of the condition configuration to be deserialized.

Returns

VisibilityConditionConfiguration

Returns a visibility condition configuration.

Exceptions

ArgumentException

Thrown when visibilityConditionConfigurationXml is null or an empty string.

Serialize(VisibilityConditionConfiguration)

Serializes a visibility condition configuration to an XML string.

string Serialize(VisibilityConditionConfiguration visibilityConditionConfiguration)

Parameters

visibilityConditionConfiguration VisibilityConditionConfiguration

Visibility condition configuration to be serialized.

Returns

string

Returns an XML representation of the condition.

Exceptions

ArgumentNullException

Thrown when visibilityConditionConfiguration is null.