Table of Contents

Class XmlNamespacePrefixAttribute

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Specifies a recommended prefix to associate with a XML namespace identifier when serializing a workflow file.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class XmlNamespacePrefixAttribute : Attribute, _Attribute
Inheritance
XmlNamespacePrefixAttribute
Implements
Inherited Members

Constructors

XmlNamespacePrefixAttribute(string, string)

Initializes a new instance of the XmlNamespacePrefixAttribute class with the specified namespace and prefix.

public XmlNamespacePrefixAttribute(string xmlNamespace, string prefix)

Parameters

xmlNamespace string

The XML namespace identifier.

prefix string

The recommended prefix for the namespace.

Properties

Prefix

Gets or sets the recommended prefix for the namespace.

public string Prefix { get; set; }

Property Value

string

XmlNamespace

Gets or sets the XML namespace identifier.

public string XmlNamespace { get; set; }

Property Value

string