Class TypeExtensions
CSharp System.Type extension methods.
Inheritance
System.Object
TypeExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Foundation.Extensions
Assembly: cs.temp.dll.dll
Syntax
public static class TypeExtensions
Methods
HasDefaultConstructor(Type)
Searches for a public parameterless instance constructor.
Declaration
public static bool HasDefaultConstructor(this Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | A System.Type to check for default constructor. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the |