C# Class Extending2.Dao.Blog

Note that Blog is not a component With a different design the Blog could be made into a component, but we would use a factory pattern to keep things tidy. The factory would internally invoke the container, but for our application perspective, its just an ordinary factory.
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Blog ( ) : System
Blog ( int id, string name, string description ) : System
Blog ( string name, string author ) : System

Method Details

Blog() public method

public Blog ( ) : System
return System

Blog() public method

public Blog ( int id, string name, string description ) : System
id int
name string
description string
return System

Blog() public method

public Blog ( string name, string author ) : System
name string
author string
return System