remove() public method

public remove ( object val ) : object
val object
return object
Example #1
0
 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()]);
     }
 }
Example #2
0
File: Log.cs Project: 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()]);
       }
 }