Content-Length: 1691 | pFad | https://github.com/pythonnet/pythonnet/raw/refs/heads/master/src/testing/constructortests.cs

th: 1649 using System; using System.IO; namespace Python.Test { //github.com/ //github.com/ These classes support the CLR constructor unit tests. //github.com/ public class EnumConstructorTest { public TypeCode value; public EnumConstructorTest(TypeCode v) { value = v; } } public class FlagsConstructorTest { public FileAccess value; public FlagsConstructorTest(FileAccess v) { value = v; } } public class StructConstructorTest { public Guid value; public StructConstructorTest(Guid v) { value = v; } } public struct GenericStructConstructorTest where T : struct { public T Value; public GenericStructConstructorTest(T value) { this.Value = value; } } public class SubclassConstructorTest { public Exception value; public SubclassConstructorTest(Exception v) { value = v; } } public class MultipleConstructorsTest { public string value; public Type[] type; public MultipleConstructorsTest() { value = ""; type = new Type[1] { null }; } public MultipleConstructorsTest(string s, params Type[] tp) { value = s; type = tp; } } public class DefaultConstructorMatching { public double a; public DefaultConstructorMatching() { a = 1; } public DefaultConstructorMatching(double a) { this.a = a; } } }








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/pythonnet/pythonnet/raw/refs/heads/master/src/testing/constructortests.cs

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy