remove() public method

public remove ( object val ) : object
val object
return object
示例#1
0
文件: Log.cs 项目: syatanic/fantom
 public static void removeHandler(Func func)
 {
     lock (lockObj)
     {
         List temp = new List(Sys.FuncType, m_handlers);
         temp.remove(func);
         m_handlers = (Func[])temp.toArray(new Func[temp.sz()]);
     }
 }
示例#2
0
文件: Log.cs 项目: nomit007/f4
 public static void removeHandler(Func func)
 {
     lock (lockObj)
       {
     List temp = new List(Sys.FuncType, m_handlers);
     temp.remove(func);
     m_handlers = (Func[])temp.toArray(new Func[temp.sz()]);
       }
 }