CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
NullDashboard.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="NullDashboard.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Data portal dashboard that does nothing</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10
12{
18 {
19 DateTimeOffset IDashboard.FirstCall => throw new NotImplementedException();
20
21 DateTimeOffset IDashboard.LastCall => throw new NotImplementedException();
22
23 long IDashboard.TotalCalls => throw new NotImplementedException();
24
25 long IDashboard.FailedCalls => throw new NotImplementedException();
26
27 long IDashboard.CompletedCalls => throw new NotImplementedException();
28
30 {
31 }
32
34 {
35 }
36
37 List<Activity> IDashboard.GetRecentActivity()
38 {
39 throw new NotImplementedException();
40 }
41
45 public void Dispose()
46 {
47 }
48 }
49}
Data portal server dashboard that records no data and consumes no meaningful overhead.
void Dispose()
Dispose resources used by this object.
Arguments parameter passed to the interceptor methods.
Data portal server dashboard.
Definition: IDashboard.cs:17
void CompleteCall(InterceptArgs e)
Called by the data portal to indicate a call has been completed.
long CompletedCalls
Gets the number of times data portal calls have successfully completed
Definition: IDashboard.cs:45
void InitializeCall(InterceptArgs e)
Called by the data portal to indicate a call has been inititalized.
DateTimeOffset LastCall
Gets the most recent time the data portal was invoked
Definition: IDashboard.cs:26
long FailedCalls
Gets the number of times data portal calls have failed
Definition: IDashboard.cs:36
List< Activity > GetRecentActivity()
Gets the items in the recent activity queue.
DateTimeOffset FirstCall
Gets the time the data portal was first invoked
Definition: IDashboard.cs:21
long TotalCalls
Gets the total number of times the data portal has been invoked
Definition: IDashboard.cs:31