ReactPropertyBagHelper
种类:class
属性包实现的辅助方法。
属性
GlobalNamespace
static
readonly
IReactPropertyNamespace
GlobalNamespace
已弃用:请勿使用。它将在未来的版本中删除。
已弃用。请勿使用。它将在未来的版本中删除。
方法
CreatePropertyBag
static
IReactPropertyBag
CreatePropertyBag
()
创建 IReactPropertyBag
的新实例
GetName
static
IReactPropertyName
GetName
(IReactPropertyNamespace
ns, string localName)
获取命名空间 ns
和 localName
的原子 IReactPropertyName
。请注意,自 0.65 版本起,将 null
作为 ns
传递保留用于局部值。在以前的版本中,它与传递 GlobalNamespace
相同。
GetNamespace
static
IReactPropertyNamespace
GetNamespace
(string namespaceName)
为提供的 namespaceName
获取原子 IReactPropertyNamespace
。考虑使用模块名称作为特定于模块的属性的命名空间。