C# 클래스 PetStore.Service.CategoryService

As you can see this service does not imeplement any service interface. This is OK for components you dont think you would need to offer more than one implementation. Principles: YAGNI and KISS :-)
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
CategoryService ( ICategoryDataAccess categoryDataAccess ) : System
Find ( int category ) : Category
ObtainCategories ( ) : PetStore.Model.Category[]

메소드 상세

CategoryService() 공개 메소드

public CategoryService ( ICategoryDataAccess categoryDataAccess ) : System
categoryDataAccess ICategoryDataAccess
리턴 System

Find() 공개 메소드

public Find ( int category ) : Category
category int
리턴 PetStore.Model.Category

ObtainCategories() 공개 메소드

public ObtainCategories ( ) : PetStore.Model.Category[]
리턴 PetStore.Model.Category[]