swig/Lib/csharp
Jean-Claude Manoli 18ac3030df Replace ICollection with IEnumerable<T>
Adding a constructor that accepts IEnumerable<T> avoids the boxing and unboxing overhead of the original constructor, when the type parameter is a value type. This also allows passing IList<T>, which does not implement ICollection (ironically the generated type implements IList<T>).

Kept the original constructor for backward compatibility, but replaced ICollection with IEnumerable for added flexibility.
2017-02-05 08:02:14 +01:00
..
arrays_csharp.i add bool array type to arrays_csharp.i [issue #228] 2014-09-17 22:17:36 +01:00
boost_intrusive_ptr.i Correct file format to unix 2016-05-28 00:45:24 +01:00
boost_shared_ptr.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
csharp.swg Add %proxycode directive for adding code into proxy classes for C#, D and Java 2017-01-13 20:43:50 +00:00
csharphead.swg Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
csharpkw.swg Csharp: CLS compliance - keyword rename 2016-09-09 16:40:18 +02:00
director.swg Director exceptions now derive from std::exception 2014-01-20 19:40:52 +00:00
enums.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
enumsimple.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
enumtypesafe.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
std_array.i %extend changes and remove default use of javatype, dtype, cstype %typemaps 2017-01-15 16:50:24 +00:00
std_auto_ptr.i Add std_auto_ptr.i defining typemaps for returning std::auto_ptr<>. 2013-12-03 23:45:20 +01:00
std_common.i const size_t& typemaps added 2006-10-17 21:43:40 +00:00
std_deque.i Each target language now has its own std_deque.i like the other STL wrappers. 2006-01-08 20:08:44 +00:00
std_except.i Add <typeinfo> header for std::bad_cast 2016-09-17 13:24:32 +02:00
std_map.i %extend changes and remove default use of javatype, dtype, cstype %typemaps 2017-01-15 16:50:24 +00:00
std_pair.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
std_shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_string.i std::string typemap modifications so they can be used with %apply for other string classes 2012-05-26 06:33:49 +00:00
std_vector.i Replace ICollection with IEnumerable<T> 2017-02-05 08:02:14 +01:00
std_wstring.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
stl.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swiginterface.i Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value. 2016-05-14 21:32:24 +01:00
swigtype_inout.i Add new swigtype_inout.i library containing SWIGTYPE *& OUTPUT typemaps. 2014-02-04 06:54:22 +00:00
typemaps.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
wchar.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00