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

# RendererBase

> Base class for documentation renderers providing common functionality.

## Definition

**Assembly:** CloudNimble.DotNetDocs.Core.dll

**Namespace:** CloudNimble.DotNetDocs.Core.Renderers

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.DotNetDocs.Core.Renderers.RendererBase
```

## Summary

Base class for documentation renderers providing common functionality.

## Constructors

### <Icon icon="hammer" iconType="duotone" color="#419AC5" 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="#419AC5" size={24} className="mr-2" /> Enabled

When more than one Renderer is registered, allows a renderer to be turned off.

#### Syntax

```csharp theme={"dark"}
public bool Enabled { get; set; }
```

#### Property Value

Type: `bool`

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" 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="#419AC5" 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="#419AC5" 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="#419AC5" size={24} className="mr-2" /> GetNamespaceFileName

Gets a safe file name for a namespace, suitable for use in file systems.

#### Syntax

```csharp theme={"dark"}
public string GetNamespaceFileName(CloudNimble.DotNetDocs.Core.DocNamespace ns, string extension)
```

#### Parameters

| Name        | Type                                       | Description                             |
| ----------- | ------------------------------------------ | --------------------------------------- |
| `ns`        | `CloudNimble.DotNetDocs.Core.DocNamespace` | The namespace to get the file name for. |
| `extension` | `string`                                   | The file extension (without the dot).   |

#### Returns

Type: `string`
A safe file name for the namespace.

#### Remarks

This method is deprecated. Use GetNamespaceFilePath instead.

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetSafeNamespaceName

Gets a safe namespace name for use in file names and display.

#### Syntax

```csharp theme={"dark"}
public string GetSafeNamespaceName(CloudNimble.DotNetDocs.Core.DocNamespace ns)
```

#### Parameters

| Name | Type                                       | Description                        |
| ---- | ------------------------------------------ | ---------------------------------- |
| `ns` | `CloudNimble.DotNetDocs.Core.DocNamespace` | The namespace to get the name for. |

#### Returns

Type: `string`
A safe namespace name, using "global" for the global namespace.

### <Icon icon="function" iconType="duotone" color="#419AC5" 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="#419AC5" size={24} className="mr-2" /> GetTypeFileName

Gets a safe file name for a type, suitable for use in file systems.

#### Syntax

```csharp theme={"dark"}
public string GetTypeFileName(CloudNimble.DotNetDocs.Core.DocType type, CloudNimble.DotNetDocs.Core.DocNamespace ns, string extension)
```

#### Parameters

| Name        | Type                                       | Description                           |
| ----------- | ------------------------------------------ | ------------------------------------- |
| `type`      | `CloudNimble.DotNetDocs.Core.DocType`      | The type to get the file name for.    |
| `ns`        | `CloudNimble.DotNetDocs.Core.DocNamespace` | The namespace containing the type.    |
| `extension` | `string`                                   | The file extension (without the dot). |

#### Returns

Type: `string`
A safe file name for the type.

#### Remarks

This method is deprecated. Use GetTypeFilePath instead.

### <Icon icon="function" iconType="duotone" color="#419AC5" 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="thumbtack" iconType="duotone" color="#419AC5" 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-fork" iconType="duotone" color="#419AC5" 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?`
