Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 0.475 kb
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Simple.Data
{
public class ArgumentCollection : Collection<Argument>
{
public IDictionary<string, object> NamedArgumentsToDictionary()
{
return this.Where(arg => !string.IsNullOrWhiteSpace(arg.Name))
.ToDictionary(arg => arg.Name, arg => arg.Value);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.