Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class AddActorAction : IEditorAction
|
||||
sealed class AddActorAction : IEditorAction
|
||||
{
|
||||
public string Text { get; private set; }
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class CopyPasteEditorAction : IEditorAction
|
||||
sealed class CopyPasteEditorAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("amount")]
|
||||
const string CopiedTiles = "notification-copied-tiles";
|
||||
@@ -271,7 +271,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class UndoCopyPaste
|
||||
sealed class UndoCopyPaste
|
||||
{
|
||||
public CPos Cell { get; }
|
||||
public TerrainTile MapTile { get; }
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
public void Dispose() { }
|
||||
}
|
||||
|
||||
class RemoveActorAction : IEditorAction
|
||||
sealed class RemoveActorAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("name", "id")]
|
||||
const string RemovedActor = "notification-removed-actor";
|
||||
@@ -143,7 +143,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class RemoveResourceAction : IEditorAction
|
||||
sealed class RemoveResourceAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("type")]
|
||||
const string RemovedResource = "notification-removed-resource";
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class AddResourcesEditorAction : IEditorAction
|
||||
sealed class AddResourcesEditorAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("amount", "type")]
|
||||
const string AddedResource = "notification-added-resource";
|
||||
|
||||
@@ -153,7 +153,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class PaintTileEditorAction : IEditorAction
|
||||
sealed class PaintTileEditorAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("id")]
|
||||
const string AddedTile = "notification-added-tile";
|
||||
@@ -225,7 +225,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class FloodFillEditorAction : IEditorAction
|
||||
sealed class FloodFillEditorAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("id")]
|
||||
const string FilledTile = "notification-filled-tile";
|
||||
@@ -363,7 +363,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
}
|
||||
}
|
||||
|
||||
class UndoTile
|
||||
sealed class UndoTile
|
||||
{
|
||||
public CPos Cell { get; }
|
||||
public TerrainTile MapTile { get; }
|
||||
|
||||
Reference in New Issue
Block a user