The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardJsonConverter.XmlToJson(XDocument, IDataProtectionProvider) Method

Converts a dashboard XML definition to the JSON string with specified data protection services.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v19.2.AspNetCore.dll

Declaration

public static string XmlToJson(
    XDocument dashboardDocument,
    IDataProtectionProvider protectionProvider
)
Public Shared Function XmlToJson(
    dashboardDocument As XDocument,
    protectionProvider As IDataProtectionProvider
) As String

Parameters

Name Type Description
dashboardDocument XDocument

A XDocument that specifies the dashboard XML definition.

protectionProvider IDataProtectionProvider

A IDataProtectionProvider object that provides data protection services.

Returns

Type Description
String

A String value that is the JSON dashboard model.

See Also