public PageMapper Default <TPage>(params Action <SourcePage, TPage>[] mappers) where TPage : PageData { _maps[DefaultMapName] = new PageMap <TPage>(DefaultMapName, mappers); return(this); }
public PageMapper Map <TPage>(string oldTypeName, params Action <SourcePage, TPage>[] mappers) where TPage : PageData { _maps[oldTypeName] = new PageMap <TPage>(oldTypeName, mappers); return(this); }