U4-1112 - Add Any() property to DynamicXml
This commit is contained in:
@@ -190,6 +190,11 @@ namespace Umbraco.Core.Dynamics
|
||||
return this.BaseElement.Elements().Count();
|
||||
}
|
||||
|
||||
public bool Any()
|
||||
{
|
||||
return this.BaseElement.Elements().Any();
|
||||
}
|
||||
|
||||
public bool IsNull()
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -90,6 +90,11 @@ namespace umbraco.MacroEngines
|
||||
return _inner.Count();
|
||||
}
|
||||
|
||||
public bool Any()
|
||||
{
|
||||
return _inner.Any();
|
||||
}
|
||||
|
||||
public bool IsNull()
|
||||
{
|
||||
return _inner.IsNull();
|
||||
|
||||
Reference in New Issue
Block a user