Skip to content

Instantly share code, notes, and snippets.

@xinmyname
Created February 19, 2012 05:42
Show Gist options
  • Select an option

  • Save xinmyname/1862145 to your computer and use it in GitHub Desktop.

Select an option

Save xinmyname/1862145 to your computer and use it in GitHub Desktop.
Fluent Parsing sample
public IEnumerable<InterfaceStatusEntry> ShowInterfaceStatus()
{
return ParserFactory
.CreateParser<InterfaceStatusParserBase>(_iosVersion.SoftwareFamily)
.Parse(_sshShellWrapper.Capture("show interface status"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment