Share via


AdditionalPropertiesExtensions Class

Definition

Contains extension methods to allow storing and retrieving properties using the type name of the property as the key.

public static class AdditionalPropertiesExtensions
type AdditionalPropertiesExtensions = class
Public Module AdditionalPropertiesExtensions
Inheritance
AdditionalPropertiesExtensions

Methods

Name Description
Add<T>(AdditionalPropertiesDictionary, T)

Adds an additional property using the type name of the property as the key.

Contains<T>(AdditionalPropertiesDictionary)

Determines whether the additional properties dictionary contains a property with the name of the provided type as the key.

Remove<T>(AdditionalPropertiesDictionary)

Removes a property from the additional properties dictionary using the name of the provided type as the key.

TryAdd<T>(AdditionalPropertiesDictionary, T)

Attempts to add a property using the type name of the property as the key.

TryGetValue<T>(AdditionalPropertiesDictionary, T)

Attempts to retrieve a value from the additional properties dictionary using the type name of the property as the key.

Applies to