static Backendless() { Types.AddAbstractTypeMapping(typeof(IList <>), typeof(List <>)); Types.AddClientClassMapping("flex.messaging.messages.AcknowledgeMessage", typeof(AckMessage)); Types.AddClientClassMapping("flex.messaging.messages.AsyncMessage", typeof(AsyncMessage)); Types.AddClientClassMapping("flex.messaging.messages.RemotingMessage", typeof(ReqMessage)); Types.AddClientClassMapping("flex.messaging.messages.CommandMessage", typeof(CommandMessage)); Types.AddClientClassMapping("flex.messaging.messages.ErrorMessage", typeof(ErrMessage)); Types.AddClientClassMapping("flex.messaging.io.ArrayCollection", typeof(ObjectProxy)); Types.AddClientClassMapping("com.backendless.persistence.GeometryDTO", typeof(GeometryDTO)); Types.AddClientClassMapping("com.backendless.persistence.Point", typeof(Point)); Types.AddClientClassMapping("com.backendless.persistence.LineString", typeof(LineString)); Types.AddClientClassMapping("com.backendless.persistence.Polygon", typeof(Polygon)); Types.AddClientClassMapping("com.backendless.transaction.UnitOfWork", typeof(UnitOfWork)); Types.AddClientClassMapping("com.backendless.transaction.Operation", typeof(Operation)); Types.AddClientClassMapping("com.backendless.transaction.OperationCreate", typeof(OperationCreate)); Types.AddClientClassMapping("com.backendless.transaction.OperationCreateBulk", typeof(OperationCreateBulk)); Types.AddClientClassMapping("com.backendless.transaction.OperationDelete", typeof(OperationDelete)); Types.AddClientClassMapping("com.backendless.transaction.OperationDeleteBulk", typeof(OperationDeleteBulk)); Types.AddClientClassMapping("com.backendless.transaction.OperationUpdate", typeof(OperationUpdate)); Types.AddClientClassMapping("com.backendless.transaction.OperationUpdateBulk", typeof(OperationUpdateBulk)); Types.AddClientClassMapping("com.backendless.transaction.OperationFind", typeof(OperationFind)); Types.AddClientClassMapping("com.backendless.transaction.OperationAddRelation", typeof(OperationAddRelation)); Types.AddClientClassMapping("com.backendless.transaction.OperationSetRelation", typeof(OperationSetRelation)); Types.AddClientClassMapping("com.backendless.transaction.OperationDeleteRelation", typeof(OperationDeleteRelation)); ORBConfig.GetInstance() .getObjectFactories() .AddArgumentObjectFactory("Weborb.V3Types.BodyHolder", new BodyHolderFactory()); Types.AddAbstractTypeMapping(typeof(IDictionary), typeof(Dictionary <object, object>)); }
static Backendless() { Types.AddAbstractTypeMapping(typeof(IList <>), typeof(List <>)); Types.AddClientClassMapping("flex.messaging.messages.AcknowledgeMessage", typeof(AckMessage)); Types.AddClientClassMapping("flex.messaging.messages.AsyncMessage", typeof(AsyncMessage)); Types.AddClientClassMapping("flex.messaging.messages.RemotingMessage", typeof(ReqMessage)); Types.AddClientClassMapping("flex.messaging.messages.CommandMessage", typeof(CommandMessage)); Types.AddClientClassMapping("flex.messaging.messages.ErrorMessage", typeof(ErrMessage)); Types.AddClientClassMapping("flex.messaging.io.ArrayCollection", typeof(ObjectProxy)); ORBConfig.GetInstance() .getObjectFactories() .AddArgumentObjectFactory("Weborb.V3Types.BodyHolder", new BodyHolderFactory()); Types.AddAbstractTypeMapping(typeof(IDictionary), typeof(Dictionary <object, object>)); }