Hi All,
I was wondering what is the proper way to register a custom type
converter. We've created one so that we can handle
System.Collections.Generic.IList appropriately and it works fine with
RPC / RemoteObject calls. However it doesn't appear to be getting
picked up when we push messages over RTMP; any instances of IList come
back to the client as null. Right now we use the following code in
Global.asax:
void Application_Start(object sender, EventArgs e) {
System.ComponentModel.TypeDescriptor.AddAttributes(
typeof(FluorineFx.AMF3.ArrayCollection),
new Attribute[] {
new
System.ComponentModel.TypeConverterAttribute(typeof(NCash.GenericCollectionTypeConverter))
}
);
}
It seems like there should be another place to do this, perhaps in
Web.config in the Fluorine sections?
Thanks,
-Cliff
_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com