public RemoteObjectTestProxy(IFlashExternalInterface externalInterface)
        {
            this.externalInterface = externalInterface;

            serializerFactory = new MappedActionScriptSerializerFactory(true);
            serializerFactory.MappingTable.RegisterTypesInAssembly(GetType().Assembly);
        }
示例#2
0
 /// <summary>
 /// Initializes the gateway.
 /// </summary>
 public FlexGateway()
 {
     // TODO: Should construct and initialize these services based on configuration values.
     serializerFactory = new MappedActionScriptSerializerFactory(true);
     messageBroker = new DefaultMessageBroker(true);
 }