diff --git a/src/Umbraco.Core/Mapping/MapperContext.cs b/src/Umbraco.Core/Mapping/MapperContext.cs index 49d906ccbc..b001300952 100644 --- a/src/Umbraco.Core/Mapping/MapperContext.cs +++ b/src/Umbraco.Core/Mapping/MapperContext.cs @@ -40,6 +40,8 @@ namespace Umbraco.Core.Mapping public TTarget Map(object source) => _mapper.Map(source, this); + // let's say this is a bad (dangerous) idea, and leave it out for now + /* /// /// Maps a source object to a new target object. /// @@ -52,6 +54,7 @@ namespace Umbraco.Core.Mapping f(this); return _mapper.Map(source, this); } + */ /// /// Maps a source object to a new target object. @@ -63,6 +66,8 @@ namespace Umbraco.Core.Mapping public TTarget Map(TSource source) => _mapper.Map(source, this); + // let's say this is a bad (dangerous) idea, and leave it out for now + /* /// /// Maps a source object to a new target object. /// @@ -76,6 +81,7 @@ namespace Umbraco.Core.Mapping f(this); return _mapper.Map(source, this); } + */ /// /// Maps a source object to an existing target object. @@ -88,6 +94,8 @@ namespace Umbraco.Core.Mapping public TTarget Map(TSource source, TTarget target) => _mapper.Map(source, target, this); + // let's say this is a bad (dangerous) idea, and leave it out for now + /* /// /// Maps a source object to an existing target object. /// @@ -102,6 +110,7 @@ namespace Umbraco.Core.Mapping f(this); return _mapper.Map(source, target, this); } + */ #endregion }