Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [AttributeUsage(AttributeTargets.Method)]
- public class OutputXml : ModifyChainAttribute
- {
- public override void Alter(ActionCall call)
- {
- call.ParentChain().AlterConnegOutput(c =>
- {
- c.ClearAll();
- c.AddFormatter<XmlFormatter>();
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement