C# Класс CSP_Web.Controllers.SubscriptionController

Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
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