Version: 2022.2
LanguageEnglish
  • C#

IPropertyBag<T0>

interface in Unity.Properties


Implements interfaces:IPropertyBag

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Base typed interface for implementing property bags.

Public Methods

Accept Call this method to invoke IPropertyBagVisitor.Visit_1 with the strongly typed container.
CreateInstance Creates and returns a new instance of TContainer.
GetProperties Returns an enumerator that iterates through all static properties for the type.
TryCreateInstance Tries to create a new instance of TContainer.