> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/scene-fusion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sftypedpropertyeventmap-1.md).

# Class sfTypedPropertyEventMap\<T>

Namespace: [KS.SceneFusion.Client.Unity.Editor](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor.md)\
Assembly: KSUnity-Source.dll

Maps property names to sfTypeEventMaps for delegates of type T.

```csharp
public class sfTypedPropertyEventMap<T> where T : class
```

#### Type Parameters

`T`

#### Inheritance

object ← [sfTypedPropertyEventMap\<T>](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sftypedpropertyeventmap-1.md)

## Methods

### Add\<Type>(string, T) <a href="#ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_add__1_system_string__0" id="ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_add__1_system_string__0"></a>

Adds a handler for a type and property name.

```csharp
public void Add<Type>(string name, T handler)
```

#### Parameters

`name` string

name of property to add handler for.

`handler` T

handler to add.

#### Type Parameters

`Type`

### GetHandlers(Type, string) <a href="#ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_gethandlers_system_type_system_string" id="ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_gethandlers_system_type_system_string"></a>

Gets the handlers for the given type and property name.

```csharp
public T GetHandlers(Type type, string name)
```

#### Parameters

`type` Type

`name` string

name of property.

#### Returns

T

handlers

### GetHandlers(Type, sfBaseProperty) <a href="#ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_gethandlers_system_type_ks_scenefusion" id="ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_gethandlers_system_type_ks_scenefusion"></a>

Get the handlers for a type and property. If the property is a subproperty, eg. A.B.C, will get the handlers for C, B, and A.

```csharp
public T GetHandlers(Type type, sfBaseProperty property)
```

#### Parameters

`type` Type

`property` [sfBaseProperty](/scene-fusion/api-reference/ks.scenefusion/ks.scenefusion.sfbaseproperty.md)

#### Returns

T

### Remove\<Type>(string, T) <a href="#ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_remove__1_system_string__0" id="ks_scenefusion_client_unity_editor_sftypedpropertyeventmap_1_remove__1_system_string__0"></a>

Removes a handler for a type and property name.

```csharp
public void Remove<Type>(string name, T handler)
```

#### Parameters

`name` string

name of property to remove handler for.

`handler` T

handler to remove.

#### Type Parameters

`Type`
