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); }
public PublishOperationFilterContext(MethodInfo method, ISchemaRepository schemaRepository, PublishOperationAttribute publishOperation) { Method = method; SchemaRepository = schemaRepository; PublishOperation = publishOperation; }