private static void AssertParagraphExtender(PropertyDefinition fac) { Assert.NotNull(fac); Assert.True(fac.IsExtender); Assert.True(fac.CanExtend(typeof(Paragraph))); Assert.Equal("https://ns.example.com/", fac.Namespace); }
private void AssertIsCharlieValueExtender(PropertyDefinition fac) { Assert.NotNull(fac); Assert.True(fac.IsExtender); Assert.True(fac.CanExtend(typeof(Alpha))); Assert.Equal("https://ns.example.com/", fac.Namespace); }
private bool IsValidExtender(PropertyDefinition prop, Type componentType) { return prop != null && prop.IsExtender && prop.CanExtend(componentType); }
private bool IsValidExtender(PropertyDefinition prop, Type componentType) { return(prop != null && prop.IsExtender && prop.CanExtend(componentType)); }