Age | Commit message (Collapse) | Author |
|
|
|
|
|
On Moonlight, ScriptObject types have custom (de)serialization methods that
need to be called whenever a user object includes properties of that type.
This patch creates a TypeMap subclass (ExternalTypeMap) and exposes a method
that can be called from moon's System.Windows.Browser to register custom
serialization and deserialization methods, keyed by type. These are called
whenever a property is found with a type (or base type) that has custom
methods registered.
|
|
mcs/class/System.ServiceModel.Web/Assembly/AssemblyInfo.cs: Use the
Silverlight public key (instead of the regular FX public key) for
NET_2_1
|
|
* DataContractJsonSerializer_2_1.cs : add extra methods for
Sys.SM.Web.Extensions build.
* WebMessageFormatter.cs : add NET_2_1 profile build.
* AssemblyInfo.cs : InternalVisibleTo System.ServiceModel.Web.Extensions.
svn path=/trunk/mcs/; revision=159943
|
|
in System.ServiceModel.Web:
* JavaScriptObjectDeserializer.cs : new internal file, which is
used by System.Json (for moonlight compatibility).
* net_2_0_System.ServiceModel.Web.dll.sources,
net_2_1_raw_System.ServiceModel.Web.dll.sources :
add JavaScriptObjectDeserializer.cs and JsonReader in Sys.Json
(which is to be moved later).
* AssemblyInfo.cs: added InternalVisibleTo(System.Json). Also added
dummy 2.0 for easy testing.
in System.Json:
* JsonValue.cs : use Sys.SM.Web.dll's JavaScriptObjectDeserializer
for silverlight sdk / moonlight compatibility.
* JsonReader.cs : renamed to JavaScriptReader (for disambiguation in
Sys.SM.Web.dll). Now it is native-type based and used by the above
deserializer.
* Makefile : reference System.Xml and System.ServiceModel.Web (for
moonlight compatibility).
* AssemblyInfo.cs : use the same pub key in 2.0 (dummy), to ease
testing locally.
svn path=/trunk/mcs/; revision=153392
|
|
* AssemblyInfo.cs: Fix attributes for Moonlight
svn path=/trunk/mcs/; revision=150147
|
|
* AssemblyInfo.cs: fix the public key for the NET_2_1 case.
svn path=/trunk/mcs/; revision=123378
|
|
svn path=/trunk/mcs/; revision=111193
|
|
svn path=/trunk/mcs/; revision=111188
|