Interface IVisibilityConditionConfigurationXmlSerializer
XML serializer for VisibilityConditionConfiguration.
public interface IVisibilityConditionConfigurationXmlSerializer
- Extension Methods
Methods
Deserialize(string)
Deserializes a visibility condition configuration from an XML string.
VisibilityConditionConfiguration Deserialize(string visibilityConditionConfigurationXml)
Parameters
visibilityConditionConfigurationXml
stringXML 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
VisibilityConditionConfigurationVisibility condition configuration to be serialized.
Returns
- string
Returns an XML representation of the condition.
Exceptions
- ArgumentNullException
Thrown when
visibilityConditionConfiguration
is null.