##// END OF EJS Templates
Закрыть ветку interactive logger
Закрыть ветку interactive logger

File last commit:

r31:dafaadca5b9f default
r49:6f335e65b75f interactive logger
Show More
Safe.cs
17 lines | 355 B | text/x-csharp | CSharpLexer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab
{
public static class Safe
{
public static void Dispose<T>(T obj) where T : class
{
var disp = obj as IDisposable;
if (disp != null)
disp.Dispose();
}
}
}