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

            serializerFactory = new MappedActionScriptSerializerFactory(true);
            serializerFactory.MappingTable.RegisterTypesInAssembly(GetType().Assembly);
        }
Exemplo n.º 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);
 }