> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# XmlExampleElement

> Represents an example XML documentation element.

## Definition

**Assembly:** CloudNimble.EasyAF.XmlDocumentation.dll

**Namespace:** CloudNimble.EasyAF.XmlDocumentation

**Inheritance:** CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement

## Syntax

```csharp theme={"dark"}
CloudNimble.EasyAF.XmlDocumentation.XmlExampleElement
```

## Summary

Represents an example XML documentation element.

## Remarks

The example element contains code examples that demonstrate how to use a type or member.
It can contain both description text and code blocks.

## Constructors

### <Icon icon="hammer" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> .ctor

Initializes a new instance of the XmlExampleElement class.

#### Syntax

```csharp theme={"dark"}
public XmlExampleElement()
```

### <Icon icon="hammer" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> .ctor

Initializes a new instance of the XmlExampleElement class with XML content.

#### Syntax

```csharp theme={"dark"}
public XmlExampleElement(System.Xml.Linq.XElement element)
```

#### Parameters

| Name      | Type                       | Description               |
| --------- | -------------------------- | ------------------------- |
| `element` | `System.Xml.Linq.XElement` | The XML element to parse. |

### <Icon icon="hammer" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Initializes a new instance of the XmlDocumentationElement class.

#### Syntax

```csharp theme={"dark"}
protected XmlDocumentationElement()
```

### <Icon icon="hammer" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Initializes a new instance of the XmlDocumentationElement class with XML content.

#### Syntax

```csharp theme={"dark"}
protected XmlDocumentationElement(System.Xml.Linq.XElement element)
```

#### Parameters

| Name      | Type                       | Description               |
| --------- | -------------------------- | ------------------------- |
| `element` | `System.Xml.Linq.XElement` | The XML element to parse. |

### <Icon icon="hammer" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> InnerElements <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Gets or sets the inner XML elements for nested content.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement> InnerElements { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement>`

### <Icon icon="tag" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> RawXml <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Gets or sets the raw XML content of the element.

#### Syntax

```csharp theme={"dark"}
public string RawXml { get; set; }
```

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> Text <Badge color="gray">Inherited</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Gets or sets the parsed text content of the element.

#### Syntax

```csharp theme={"dark"}
public string Text { get; set; }
```

#### Property Value

Type: `string`

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> CreateDocumentationElement <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Creates the appropriate documentation element based on the XML element name.

#### Syntax

```csharp theme={"dark"}
protected virtual CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement CreateDocumentationElement(System.Xml.Linq.XElement element)
```

#### Parameters

| Name      | Type                       | Description                 |
| --------- | -------------------------- | --------------------------- |
| `element` | `System.Xml.Linq.XElement` | The XML element to convert. |

#### Returns

Type: `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`
The appropriate documentation element, or null if not supported.

### <Icon icon="code-fork" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name  | Type      | Description |
| ----- | --------- | ----------- |
| `obj` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### <Icon icon="code-fork" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> ParseInnerElements <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Parses inner XML elements recursively.

#### Syntax

```csharp theme={"dark"}
protected virtual void ParseInnerElements(System.Xml.Linq.XElement element)
```

#### Parameters

| Name      | Type                       | Description                      |
| --------- | -------------------------- | -------------------------------- |
| `element` | `System.Xml.Linq.XElement` | The parent XML element to parse. |

### <Icon icon="thumbtack" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-merge" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> ToMdx <Badge color="blue">Override</Badge>

Converts this example element to MDX format with proper code formatting.

#### Syntax

```csharp theme={"dark"}
public override string ToMdx()
```

#### Returns

Type: `string`
The MDX representation of this example.

### <Icon icon="function" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> ToMdx <Badge color="gray">Inherited</Badge> <Badge color="orange">Abstract</Badge>

<Note>Inherited from `CloudNimble.EasyAF.XmlDocumentation.XmlDocumentationElement`</Note>

Converts this element to MDX format.

#### Syntax

```csharp theme={"dark"}
public abstract string ToMdx()
```

#### Returns

Type: `string`
The MDX representation of this element.

### <Icon icon="code-fork" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`
