public SetMemberGrammar(MemberInfo[] members) { Key = members.Select(x => x.Name).Join("."); Members = members; CellModifications = new CellModifications(); CellModifications.Header(Key); }
public DataColumnMatch(string columnName, Type columnType) { Name = columnName; _columnType = columnType; CellModifications = new CellModifications(); }
public CheckPropertyGrammar(MemberInfo[] members) { Members = members; CellModifications = new CellModifications(); Key = members.Select(x => x.Name).Join("."); CellModifications.Header(Key); }
public Cell BuildCell(CellHandling handling, Fixture fixture) { var cell = new Cell(handling, Name, _columnType); CellModifications.Apply(cell); return(cell); }
public ConfigureObjectGrammar(string format, Action <TObject, TInput> configure) { var keys = format.ParseTemplateKeys(); if (keys.Any()) { _format = format; _key = keys.Single(); } else { _key = format; _format = "Configure {0} with {1} = {{{1}}}".ToFormat(typeof(TObject).Name, _key); } _configure = configure; CellModifications = new CellModifications(); }
public CheckPropertyGrammar(Accessor accessor) { _accessor = accessor; CellModifications = new CellModifications(); }
internal SetPropertyGrammar(Accessor accessor) { _accessor = accessor; _template = "{0} = {{{0}}}".ToFormat(_accessor.Name); CellModifications = new CellModifications(); }
public AccessorMatch(Accessor accessor) { _accessor = accessor; CellModifications = new CellModifications(); }