C# Class Boo.Lang.Builtins

boo language builtin functions.
Show file Open project: boo/boo-lang Class Usage Examples

Public Methods

Method Description
array ( Type elementType, ICollection collection ) : Array
array ( Type elementType, IEnumerable enumerable ) : Array
array ( Type elementType, int length ) : Array
array ( IEnumerable enumerable ) : object[]
cat ( ) : IEnumerable
enumerate ( object enumerable ) : IEnumerable
gets ( ) : string
iterator ( object enumerable ) : IEnumerable
join ( IEnumerable enumerable ) : string
join ( IEnumerable enumerable, char separator ) : string
join ( IEnumerable enumerable, string separator ) : string
map ( object enumerable, ICallable function ) : IEnumerable
matrix ( Type elementType ) : Array
print ( object o ) : void
prompt ( string message ) : string
range ( int max ) : IEnumerable
range ( int begin, int end ) : IEnumerable
range ( int begin, int end, int step ) : IEnumerable
reversed ( object enumerable ) : IEnumerable
shell ( string filename, string arguments ) : string
shellm ( string filename ) : string

Execute the specified MANAGED application in a new AppDomain. The base directory for the new application domain will be set to directory containing filename (Path.GetDirectoryName(Path.GetFullPath(filename))).

shellp ( string filename, string arguments ) : System.Diagnostics.Process
zip ( ) : ZipEnumerator

Private Methods

Method Description
GetEnumerator ( object enumerable ) : IEnumerator

Method Details

array() public static method

public static array ( Type elementType, ICollection collection ) : Array
elementType System.Type
collection ICollection
return System.Array

array() public static method

public static array ( Type elementType, IEnumerable enumerable ) : Array
elementType System.Type
enumerable IEnumerable
return System.Array

array() public static method

public static array ( Type elementType, int length ) : Array
elementType System.Type
length int
return System.Array

array() public static method

public static array ( IEnumerable enumerable ) : object[]
enumerable IEnumerable
return object[]

cat() public static method

public static cat ( ) : IEnumerable
return IEnumerable

enumerate() public static method

public static enumerate ( object enumerable ) : IEnumerable
enumerable object
return IEnumerable

gets() public static method

public static gets ( ) : string
return string

iterator() public static method

public static iterator ( object enumerable ) : IEnumerable
enumerable object
return IEnumerable

join() public static method

public static join ( IEnumerable enumerable ) : string
enumerable IEnumerable
return string

join() public static method

public static join ( IEnumerable enumerable, char separator ) : string
enumerable IEnumerable
separator char
return string

join() public static method

public static join ( IEnumerable enumerable, string separator ) : string
enumerable IEnumerable
separator string
return string

map() public static method

public static map ( object enumerable, ICallable function ) : IEnumerable
enumerable object
function ICallable
return IEnumerable

matrix() public static method

public static matrix ( Type elementType ) : Array
elementType System.Type
return System.Array

print() public static method

public static print ( object o ) : void
o object
return void

prompt() public static method

public static prompt ( string message ) : string
message string
return string

range() public static method

public static range ( int max ) : IEnumerable
max int
return IEnumerable

range() public static method

public static range ( int begin, int end ) : IEnumerable
begin int
end int
return IEnumerable

range() public static method

public static range ( int begin, int end, int step ) : IEnumerable
begin int
end int
step int
return IEnumerable

reversed() public static method

public static reversed ( object enumerable ) : IEnumerable
enumerable object
return IEnumerable

shell() public static method

public static shell ( string filename, string arguments ) : string
filename string
arguments string
return string

shellm() public static method

Execute the specified MANAGED application in a new AppDomain. The base directory for the new application domain will be set to directory containing filename (Path.GetDirectoryName(Path.GetFullPath(filename))).
public static shellm ( string filename ) : string
filename string
return string

shellp() public static method

public static shellp ( string filename, string arguments ) : System.Diagnostics.Process
filename string
arguments string
return System.Diagnostics.Process

zip() public static method

public static zip ( ) : ZipEnumerator
return ZipEnumerator