sitecore 所需对象

示例

这将检查给定对象是否为null,然后检查是否为null RequiredObjectIsNullException。

Assert.Required(parameter, "参数是必需的。");