Rhino.NativeBoolean.GetDefaultValue C# (CSharp) Method

GetDefaultValue() public method

public GetDefaultValue ( Type typeHint ) : object
typeHint System.Type
return object
		public override object GetDefaultValue(Type typeHint)
		{
			// This is actually non-ECMA, but will be proposed
			// as a change in round 2.
			if (typeHint == ScriptRuntime.BooleanClass)
			{
				return ScriptRuntime.WrapBoolean(booleanValue);
			}
			return base.GetDefaultValue(typeHint);
		}