Changeset 1600
- Timestamp:
- 1/19/2010 3:56:06 AM (3 years ago)
- Location:
- branches/eraser6/CodeReview/Eraser.Util
- Files:
-
- 3 edited
-
ConsoleWindow.cs (modified) (1 diff)
-
Localisation.cs (modified) (3 diffs)
-
Theming.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.Util/ConsoleWindow.cs
r1584 r1600 50 50 } 51 51 52 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "disposing")] 52 53 private void Dispose(bool disposing) 53 54 { -
branches/eraser6/CodeReview/Eraser.Util/Localisation.cs
r1591 r1600 38 38 /// call S._(string) or S._(string, object) for plurals 39 39 /// </summary> 40 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "S")] 40 41 public static class S 41 42 { … … 45 46 /// <param name="str">The string to localise.</param> 46 47 /// <returns>A localised string, or str if no localisation exists.</returns> 48 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")] 49 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "_")] 47 50 public static string _(string text) 48 51 { … … 59 62 /// <returns>The formatted and localised string.</returns> 60 63 /// <remarks>The localised string is retrieved before formatting.</remarks> 64 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")] 65 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "_")] 61 66 public static string _(string text, params object[] args) 62 67 { -
branches/eraser6/CodeReview/Eraser.Util/Theming.cs
r1590 r1600 200 200 if (Instance != null) 201 201 throw new InvalidOperationException("Only one instance of the " + 202 " ThemeMessageFilter can exist at any one time.");202 "theme-change message filter can exist at any one time."); 203 203 204 204 Instance = this;
Note: See TracChangeset
for help on using the changeset viewer.
