Hotfix/5.11.7 (#192)
* Providing default implementation for Abstracts ToString Fixed unitycontainer/unity#359 * Release 5.11.7
This commit is contained in:
Родитель
2b99c9686b
Коммит
096276e2cb
|
@ -1,7 +1,7 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<VersionBase>5.11.6</VersionBase>
|
||||
<VersionBase>5.11.7</VersionBase>
|
||||
<TargetFrameworks>netstandard2.0;netstandard1.0;netcoreapp3.0;netcoreapp2.0;netcoreapp1.0;net48;net47;net46;net45;net40</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace Unity.Injection
|
|||
/// </summary>
|
||||
/// <param name="debug">Indicates if member is rendered in Debug mode</param>
|
||||
/// <returns>String representation on the member</returns>
|
||||
protected abstract string ToString(bool debug = false);
|
||||
protected virtual string ToString(bool debug = false) => ToString();
|
||||
}
|
||||
|
||||
[DebuggerDisplay("{ToString(true)}")]
|
||||
|
|
Загрузка…
Ссылка в новой задаче