private Message GenerateMessage(MethodInfo method, PublishOperationAttribute publishOperationAttribute, ISchemaRepository schemaRepository)
        {
            var message = new Message
            {
                Payload = _schemaGenerator.GenerateSchema(publishOperationAttribute.MessagePayloadType, schemaRepository),
                // todo: all the other properties... message has a lot!
            };

            return(message);
        }
示例#2
0
 public PublishOperationFilterContext(MethodInfo method, ISchemaRepository schemaRepository, PublishOperationAttribute publishOperation)
 {
     Method           = method;
     SchemaRepository = schemaRepository;
     PublishOperation = publishOperation;
 }