Skip to content

Instantly share code, notes, and snippets.

@mkmurray
Created April 19, 2013 20:36
Show Gist options
  • Save mkmurray/5423055 to your computer and use it in GitHub Desktop.
Save mkmurray/5423055 to your computer and use it in GitHub Desktop.
Reorder policy to put an error behavior node in front of an input conneg reader node
Policies.Reorder(x =>
{
x.WhatMustBeBefore = node => node is ErrorWrapper;
x.WhatMustBeAfter = node => node is InputNode;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment