Beispiel #1
0
 static WriterInit()
 {
     Writer <Boolean> ._invoke       = v => SValue.Ctor(v);
     Writer <Char> ._invoke          = v => SValue.Ctor(v);
     Writer <Byte> ._invoke          = v => SValue.Ctor(v);
     Writer <SByte> ._invoke         = v => SValue.Ctor(v);
     Writer <Int16> ._invoke         = v => SValue.Ctor(v);
     Writer <UInt16> ._invoke        = v => SValue.Ctor(v);
     Writer <Int32> ._invoke         = v => SValue.Ctor(v);
     Writer <UInt32> ._invoke        = v => SValue.Ctor(v);
     Writer <Int64> ._invoke         = v => SValue.Ctor(ref v);
     Writer <UInt64> ._invoke        = v => SValue.Ctor(ref v);
     Writer <String> ._invoke        = v => SValue.Ctor(v);
     Writer <Single> ._invoke        = v => SValue.Ctor(v);
     Writer <Double> ._invoke        = v => SValue.Ctor(ref v);
     Writer <Vector2> ._invoke       = v => SValue.Ctor(ref v);
     Writer <Vector3> ._invoke       = v => SValue.Ctor(ref v);
     Writer <Vector4> ._invoke       = v => SValue.Ctor(ref v);
     Writer <Vector4i> ._invoke      = v => SValue.Ctor(ref v);
     Writer <Quaternion> ._invoke    = v => SValue.Ctor(ref v);
     Writer <Color> ._invoke         = v => SValue.Ctor(ref v);
     Writer <Color32> ._invoke       = v => SValue.Ctor(v);
     Writer <System.Object> ._invoke = v => SValue.FromObject(v);
 }