C# 클래스 Ucrm.ItemManagement.Stock

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: bytecode0101/uCRM

공개 메소드들

메소드 설명
AddNewProduct ( System.Guid productId, int quantity ) : void

This will add a new Product to our sstock

AddQuantity ( System.Guid productId, int quantity ) : void

This will add a new quantity to a specific product

RemoveQuantity ( System.Guid productId, int quantity ) : void

This will remove quantity from the stock

Search ( ) : int>.Dictionary

Searches the stock for products that have the specified tag(s)

Search ( string text ) : List

Delegate the Search to the Search chain

Stock ( ) : System

메소드 상세

AddNewProduct() 공개 메소드

This will add a new Product to our sstock
public AddNewProduct ( System.Guid productId, int quantity ) : void
productId System.Guid
quantity int
리턴 void

AddQuantity() 공개 메소드

This will add a new quantity to a specific product
public AddQuantity ( System.Guid productId, int quantity ) : void
productId System.Guid
quantity int
리턴 void

RemoveQuantity() 공개 메소드

This will remove quantity from the stock
public RemoveQuantity ( System.Guid productId, int quantity ) : void
productId System.Guid
quantity int
리턴 void

Search() 공개 메소드

Searches the stock for products that have the specified tag(s)
public Search ( ) : int>.Dictionary
리턴 int>.Dictionary

Search() 공개 메소드

Delegate the Search to the Search chain
public Search ( string text ) : List
text string
리턴 List

Stock() 공개 메소드

public Stock ( ) : System
리턴 System