##// END OF EJS Templates
refactoring, interactive tarce log almost complete
refactoring, interactive tarce log almost complete

File last commit:

r31:dafaadca5b9f default
r47:b181f7bcb259 interactive logger
Show More
Safe.cs
17 lines | 355 B | text/x-csharp | CSharpLexer
cin
Added utility class for safe disposing methods....
r1 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab
{
public static class Safe
{
cin
minor cleanup
r31 public static void Dispose<T>(T obj) where T : class
cin
Added utility class for safe disposing methods....
r1 {
cin
small fixes
r2 var disp = obj as IDisposable;
if (disp != null)
disp.Dispose();
cin
Added utility class for safe disposing methods....
r1 }
}
}