# GH_DocumentEventServer class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_DocumentEventServer : IGH_DebugDescription
```

RhinoCommon only event server.

## Constructors

- [GH_DocumentEventServer](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/ctor.md): Create and register a new event server.

## Properties

- [Enabled](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/enabled.md): Gets or sets the enabled state flag for this event watcher.
- [GuidTableRefCount](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/guidtablerefcount.md): Gets the number of stored ids in the Guid Table.

## Methods

- [AppendToDebugLog](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/appendtodebuglog.md)
- [ClearGuidTable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/clearguidtable.md): Clear the entire ID table.
- [CreateGuidTable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/createguidtable.md): Create the entire ID table from scratch.
- [EnsureGuidTable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-documenteventserver/ensureguidtable.md): Create the entire ID table if it doesn't exist yet.
