Table of Contents

Interface IExpandoDataModel

Namespace
PnP.Core.Model
Assembly
PnP.Core.dll

Public interface to define an object extensible through a dictionary of properties

public interface IExpandoDataModel

Properties

Count

Gets the count of properties of the current expando type object

int Count { get; }

Property Value

int

this[string]

Gets or sets dynamic properties

object this[string key] { get; set; }

Parameters

key string

The key of the property to get or set

Property Value

object

The value of the property

Values

The dictionary of properties

TransientDictionary Values { get; }

Property Value

TransientDictionary

Methods

AsDynamic()

Transforms the current model instance into a dynamic type

dynamic AsDynamic()

Returns

dynamic

Dynamic version of current model instance