revert to org files
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
|
|
||||||
namespace Umbraco.Core.Events
|
namespace Umbraco.Core.Events
|
||||||
{
|
{
|
||||||
public class ExportEventArgs<TEntity> : CancellableObjectEventArgs<IEnumerable<TEntity>>
|
public class ExportEventArgs<TEntity> : CancellableObjectEventArgs<IEnumerable<TEntity>>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -76,23 +76,12 @@ namespace Umbraco.Core.Services
|
|||||||
/// Gets a <see cref="IDataTypeDefinition"/> by its control Id
|
/// Gets a <see cref="IDataTypeDefinition"/> by its control Id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">Id of the DataType control</param>
|
/// <param name="id">Id of the DataType control</param>
|
||||||
/// <param name="throwIfNotFound"></param>
|
|
||||||
/// <returns>Collection of <see cref="IDataTypeDefinition"/> objects with a matching contorl id</returns>
|
/// <returns>Collection of <see cref="IDataTypeDefinition"/> objects with a matching contorl id</returns>
|
||||||
[Obsolete("Property editor's are defined by a string alias from version 7 onwards, use the overload GetDataTypeDefinitionByPropertyEditorAlias instead")]
|
|
||||||
public IEnumerable<IDataTypeDefinition> GetDataTypeDefinitionByControlId(Guid id, bool throwIfNotFound)
|
|
||||||
{
|
|
||||||
var alias = LegacyPropertyEditorIdToAliasConverter.GetAliasFromLegacyId(id, throwIfNotFound);
|
|
||||||
if (alias == null)
|
|
||||||
{
|
|
||||||
return Enumerable.Empty<IDataTypeDefinition>();
|
|
||||||
}
|
|
||||||
return GetDataTypeDefinitionByPropertyEditorAlias(alias);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Obsolete("Property editor's are defined by a string alias from version 7 onwards, use the overload GetDataTypeDefinitionByPropertyEditorAlias instead")]
|
[Obsolete("Property editor's are defined by a string alias from version 7 onwards, use the overload GetDataTypeDefinitionByPropertyEditorAlias instead")]
|
||||||
public IEnumerable<IDataTypeDefinition> GetDataTypeDefinitionByControlId(Guid id)
|
public IEnumerable<IDataTypeDefinition> GetDataTypeDefinitionByControlId(Guid id)
|
||||||
{
|
{
|
||||||
return GetDataTypeDefinitionByControlId(id, true);
|
var alias = LegacyPropertyEditorIdToAliasConverter.GetAliasFromLegacyId(id, true);
|
||||||
|
return GetDataTypeDefinitionByPropertyEditorAlias(alias);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user