Core - Added XML comments to all remaining public members/methods

Core - Refactored a lot of code for nullable reference types
This commit is contained in:
Robert committed 2020-11-16 20:16:06 +01:00
1 parent 61fc96742d
commit a3cd32f6c4
107 files changed
+1150 -649

No files matched your search

@@ -28,6 +28,7 @@
<NrtRequiredVcs>git</NrtRequiredVcs>
<NrtShowRevision>true</NrtShowRevision>
<Version>2.0.0</Version>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DocumentationFile>bin\x64\Release\Artemis.UI.Shared.xml</DocumentationFile>
@@ -106,8 +106,8 @@ namespace Artemis.UI.Shared.Services
if (existing != null)
{
if (existing.Plugin != plugin)
throw new ArtemisPluginException($"Cannot register data model input for type {supportedType.Name} because an editor was already" +
$" registered by {existing.Plugin}");
throw new ArtemisSharedUIException($"Cannot register data model input for type {supportedType.Name} because an editor was already" +
$" registered by {existing.Plugin}");
return existing;
}
@@ -135,8 +135,8 @@ namespace Artemis.UI.Shared.Services
if (existing != null)
{
if (existing.Plugin != plugin)
throw new ArtemisPluginException($"Cannot register data model display for type {supportedType.Name} because an editor was already" +
$" registered by {existing.Plugin}");
throw new ArtemisSharedUIException($"Cannot register data model display for type {supportedType.Name} because an editor was already" +
$" registered by {existing.Plugin}");
return existing;
}
@@ -202,8 +202,8 @@ namespace Artemis.UI.Shared.Services
if (existing != null)
{
if (existing.Plugin != plugin)
throw new ArtemisPluginException($"Cannot register property editor for type {supportedType.Name} because an editor was already " +
$"registered by {existing.Plugin}");
throw new ArtemisSharedUIException($"Cannot register property editor for type {supportedType.Name} because an editor was already " +
$"registered by {existing.Plugin}");
return existing;
}