C# 클래스 CSP_Web.Controllers.SubscriptionController

상속: Controller
파일 보기 프로젝트 열기: Microsoft/CSP-Explorer

공개 메소드들

메소드 설명
GetUsage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.JsonResult
Index ( string SubscriptionId ) : System.Web.Mvc.ActionResult
SubscriptionController ( IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService ) : System
Usage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
GetMeter ( string MeterId ) : Meter

메소드 상세

GetUsage() 공개 메소드

public GetUsage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.JsonResult
SubscriptionId string
StartDate System.DateTime
EndDate System.DateTime
Granularity string
ShowDetails bool
Count int
리턴 System.Web.Mvc.JsonResult

Index() 공개 메소드

public Index ( string SubscriptionId ) : System.Web.Mvc.ActionResult
SubscriptionId string
리턴 System.Web.Mvc.ActionResult

SubscriptionController() 공개 메소드

public SubscriptionController ( IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService ) : System
ResellerService IResellerService
GraphService IGraphService
CrestService ICRESTService
리턴 System

Usage() 공개 메소드

public Usage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.ActionResult
SubscriptionId string
StartDate System.DateTime
EndDate System.DateTime
Granularity string
ShowDetails bool
Count int
리턴 System.Web.Mvc.ActionResult