Need to publicize some things for the REST service to work

This commit is contained in:
Shannon
2015-04-30 16:39:41 +10:00
parent 374bbc0973
commit 85cdc79fd2
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ namespace Umbraco.Core.PropertyEditors
/// <summary>
/// Returns the property editors
/// </summary>
public IEnumerable<PropertyEditor> PropertyEditors
public virtual IEnumerable<PropertyEditor> PropertyEditors
{
get { return _unioned.Value; }
}
@@ -59,7 +59,7 @@ namespace Umbraco.Core.PropertyEditors
/// </summary>
/// <param name="alias"></param>
/// <returns></returns>
public PropertyEditor GetByAlias(string alias)
public virtual PropertyEditor GetByAlias(string alias)
{
return PropertyEditors.SingleOrDefault(x => x.Alias == alias);
}

View File

@@ -72,7 +72,7 @@ namespace Umbraco.Web.PropertyEditors
/// The default validator used is the RequiredValueValidator but this can be overridden by property editors
/// if they need to do some custom validation, or if the value being validated is a json object.
/// </remarks>
internal override ManifestValueValidator RequiredValidator
public override ManifestValueValidator RequiredValidator
{
get { return new RequiredTagsValueValidator(); }
}