C# Class Junior.Route.Routing.RouteCollection

Inheritance: IRouteCollection
Exibir arquivo Open project: nathan-alden/junior-route Class Usage Examples

Public Methods

Method Description
Add ( ) : RouteCollection
Add ( IEnumerable routes ) : RouteCollection
GetEnumerator ( ) : IEnumerator
GetRoute ( System.Guid id ) : Route
GetRoute ( string name ) : Route
GetRoutes ( ) : IEnumerable
GetRoutes ( string name ) : IEnumerable
RouteCollection ( bool allowDuplicateRouteNames = false ) : System

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Method Details

Add() public method

public Add ( ) : RouteCollection
return RouteCollection

Add() public method

public Add ( IEnumerable routes ) : RouteCollection
routes IEnumerable
return RouteCollection

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetRoute() public method

public GetRoute ( System.Guid id ) : Route
id System.Guid
return Route

GetRoute() public method

public GetRoute ( string name ) : Route
name string
return Route

GetRoutes() public method

public GetRoutes ( ) : IEnumerable
return IEnumerable

GetRoutes() public method

public GetRoutes ( string name ) : IEnumerable
name string
return IEnumerable

RouteCollection() public method

public RouteCollection ( bool allowDuplicateRouteNames = false ) : System
allowDuplicateRouteNames bool
return System