1212
1313namespace SmartImage . Core
1414{
15+ /*
16+
1517 /// <summary>
1618 /// Legacy integration features
1719 /// </summary>
@@ -101,7 +103,7 @@ internal static bool HandleContextMenu(IntegrationOption option)
101103 }
102104 catch (Exception e)
103105 {
104- Trace . WriteLine ( "Context menu error: {0}" , e . Message ) ;
106+ Trace.WriteLine($ "Context menu error: {e.Message}" );
105107 NConsole.WaitForSecond();
106108 return false;
107109 }
@@ -142,7 +144,8 @@ internal static bool LegacyCleanup()
142144
143145 return true;
144146 }
145- }
147+ }*/
148+
146149 // todo: move context menu integration to Novus for use in other projects?
147150
148151 internal enum IntegrationOption
@@ -156,15 +159,13 @@ internal enum IntegrationOption
156159 /// </summary>
157160 internal static class Integration
158161 {
159-
160162 /*
161163 * HKEY_CLASSES_ROOT is an alias, a merging, of two other locations:
162164 * HKEY_CURRENT_USER\Software\Classes
163165 * HKEY_LOCAL_MACHINE\Software\Classes
164166 */
165167
166168
167-
168169 /// <returns><c>true</c> if operation succeeded; <c>false</c> otherwise</returns>
169170 internal static bool HandleContextMenu ( IntegrationOption option )
170171 {
@@ -189,7 +190,7 @@ internal static bool HandleContextMenu(IntegrationOption option)
189190 regCmd ? . SetValue ( String . Empty , $ "\" { fullPath } \" \" %1\" ") ;
190191 }
191192 catch ( Exception ex ) {
192- Trace . WriteLine ( "{0}" , ex . Message ) ;
193+ Trace . WriteLine ( $ " { ex . Message } " ) ;
193194 NConsole . WaitForInput ( ) ;
194195 return false ;
195196 }
@@ -217,7 +218,7 @@ internal static bool HandleContextMenu(IntegrationOption option)
217218 }
218219 }
219220 catch ( Exception ex ) {
220- Trace . WriteLine ( "{0}" , ex . Message ) ;
221+ Trace . WriteLine ( $ " { ex . Message } " ) ;
221222 NConsole . WaitForInput ( ) ;
222223 return false ;
223224 }
0 commit comments