C# Class clojure.lang.MultiFn

Represents a multifunction.
See the Clojure documentation for more details.
Inheritance: AFn
Show file Open project: clojure/clojure-clr

Public Methods

Method Description
Dispose ( ) : void
invoke ( ) : object
invoke ( object arg1 ) : object
invoke ( object arg1, object arg2 ) : object
invoke ( object arg1, object arg2, object arg3 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17, object arg18 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17, object arg18, object arg19 ) : object
invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17, object arg18, object arg19, object arg20 ) : object

Private Methods

Method Description
Dispose ( bool disposing ) : void
Dominates ( object x, object y ) : bool

Determine if one dispatch is preferred over another.

FindAndCacheBestMethod ( object dispatchVal ) : IFn

Get the method for a dispatch value and cache it.

GetFn ( object dispatchVal ) : IFn
IsA ( object x, object y ) : bool

Check the hierarchy.

MultiFn ( string name, IFn dispatchFn, object defaultDispatchVal, IRef hierarchy ) : System
Prefers ( object x, object y ) : bool

Is one value preferred over another?

ResetCache ( ) : IPersistentMap

Reset the method cache.

addMethod ( object dispatchVal, IFn method ) : MultiFn
dispatchFn ( ) : IFn
getMethod ( object dispatchVal ) : IFn
getMethodTable ( ) : IPersistentMap
getPreferTable ( ) : IPersistentMap
preferMethod ( object dispatchValX, object dispatchValY ) : MultiFn
removeMethod ( object dispatchVal ) : MultiFn
reset ( ) : MultiFn

Method Details

Dispose() public method

public Dispose ( ) : void
return void

invoke() public method

public invoke ( ) : object
return object

invoke() public method

public invoke ( object arg1 ) : object
arg1 object
return object

invoke() public method

public invoke ( object arg1, object arg2 ) : object
arg1 object
arg2 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3 ) : object
arg1 object
arg2 object
arg3 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
arg15 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
arg15 object
arg16 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
arg15 object
arg16 object
arg17 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17, object arg18 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
arg15 object
arg16 object
arg17 object
arg18 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17, object arg18, object arg19 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
arg15 object
arg16 object
arg17 object
arg18 object
arg19 object
return object

invoke() public method

public invoke ( object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12, object arg13, object arg14, object arg15, object arg16, object arg17, object arg18, object arg19, object arg20 ) : object
arg1 object
arg2 object
arg3 object
arg4 object
arg5 object
arg6 object
arg7 object
arg8 object
arg9 object
arg10 object
arg11 object
arg12 object
arg13 object
arg14 object
arg15 object
arg16 object
arg17 object
arg18 object
arg19 object
arg20 object
return object