Show / Hide Table of Contents

Interface IWMDataFormatter

Classes that read a specific format and convert it to a ElementValue instance to support data binding must implement this interface.

Namespace: Quantellia.WMServer.Asset.DataBinding
Assembly: WMServer.dll
Syntax
public interface IWMDataFormatter

Properties

OutputType

The name of the ElementValue Type that will be returned by this formatter.

Declaration
string OutputType { get; }
Property Value
Type Description
string

Methods

Read(object, string?)

Read the specified data object and convert it to an appropriate ElementValue.

Declaration
ElementValue Read(object data, string? outputType = null)
Parameters
Type Name Description
object data
string outputType
Returns
Type Description
ElementValue

Write(ElementValue)

Serialize the specified ElementValue instance to a string using this formatter's syntax.

Declaration
string Write(ElementValue data)
Parameters
Type Name Description
ElementValue data
Returns
Type Description
string
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE