123456789101112131415161718192021222324252627282930313233 |
- using Jint.Native.Object;
- using Jint.Runtime;
- namespace Jint.Native.Boolean
- {
- public class BooleanInstance : ObjectInstance, IPrimitiveInstance
- {
- public BooleanInstance(Engine engine)
- : base(engine)
- {
- }
- public override string Class
- {
- get
- {
- return "Boolean";
- }
- }
- Types IPrimitiveInstance.Type
- {
- get { return Types.Boolean; }
- }
- JsValue IPrimitiveInstance.PrimitiveValue
- {
- get { return PrimitiveValue; }
- }
- public JsValue PrimitiveValue { get; set; }
- }
- }
|