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。考虑将模块名称用作特定于模块的属性的命名空间。