##// END OF EJS Templates
Implab.Fx: implemented animation object...
Implab.Fx: implemented animation object Implab.Fx: implemented transparency animation helper

File last commit:

r2:aa367305156b default
r4:381095ad0a69 default
Show More
Safe.cs
20 lines | 424 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>(ref T obj) where T : class
{
var disp = obj as IDisposable;
if (disp != null)
{
disp.Dispose();
obj = default(T);
}
}
}
}