Table of Contents

Class TransientDictionary

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

Class for tracking Dictionary changes

public class TransientDictionary : Dictionary<string, object>, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IReadOnlyDictionary<string, object>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable
Inheritance
TransientDictionary
Implements
Inherited Members

Properties

HasChanges

Does this model instance have changes?

public bool HasChanges { get; }

Property Value

bool

this[string]

Gets or sets the value of an object in this dictionary

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

Parameters

key string

Key of the object to set

Property Value

object

Methods

Add(string, object)

Adds a new item to the dictionary

public void Add(string key, object value)

Parameters

key string

Key of the item to add

value object

Value of the item to add