-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add xml descriptions to publicly exposed fields and methods
- Loading branch information
1 parent
d92cf66
commit aa2fcd8
Showing
35 changed files
with
336 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,63 @@ | ||
namespace Dan.Common.Enums; | ||
|
||
/// <summary> | ||
/// Log action enum | ||
/// </summary> | ||
public enum LogAction | ||
{ | ||
// Used once per accreditation | ||
/// <summary> | ||
/// Used once per accreditation | ||
/// </summary> | ||
AuthorizationGranted = 1, | ||
|
||
// Used per consent request (one accreditation may incur several consent requests, each of which may span | ||
// several datasets | ||
/// <summary> | ||
/// Used per consent request (one accreditation may incur several consent requests, each of which may span | ||
/// several datasets | ||
/// </summary> | ||
ConsentRequested = 2, | ||
|
||
// As with ConsentRequested | ||
/// <summary> | ||
/// As with ConsentRequested | ||
/// </summary> | ||
ConsentGiven = 3, | ||
|
||
// As with ConsentRequested | ||
/// <summary> | ||
/// As with ConsentRequested | ||
/// </summary> | ||
ConsentDenied = 4, | ||
|
||
// Used for each harvest performed, of which there may be several per accreditation | ||
/// <summary> | ||
/// Used for each harvest performed, of which there may be several per accreditation | ||
/// </summary> | ||
DatasetRetrieved = 5, | ||
|
||
// As with ConsentRequested | ||
/// <summary> | ||
/// As with ConsentRequested | ||
/// </summary> | ||
ConsentReminderSent = 6, | ||
|
||
// Used when a open data set harvest is performed | ||
/// <summary> | ||
/// Used when a open data set harvest is performed | ||
/// </summary> | ||
OpenDatasetRetrieved = 7, | ||
|
||
// Used once per accreditation | ||
/// <summary> | ||
/// Used once per accreditation | ||
/// </summary> | ||
AccreditationDeleted = 8, | ||
|
||
// Used per data set requested for each AuthorizationGranted | ||
/// <summary> | ||
/// Used per data set requested for each AuthorizationGranted | ||
/// </summary> | ||
DatasetRequested = 9, | ||
|
||
// Used for each dataset in a consent request | ||
/// <summary> | ||
/// Used for each dataset in a consent request | ||
/// </summary> | ||
DatasetRequiringConsentRequested = 10, | ||
|
||
// Used for each correspondence sent related to consent requests (may be skipped, so counted seperately) | ||
/// <summary> | ||
/// Used for each correspondence sent related to consent requests (may be skipped, so counted seperately) | ||
/// </summary> | ||
CorrespondenceSent = 11, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
namespace Dan.Common.Interfaces; | ||
|
||
namespace Dan.Common.Interfaces; | ||
/// <summary> | ||
/// API Service for fetching entity registries | ||
/// </summary> | ||
public interface IEntityRegistryApiClientService | ||
{ | ||
/// <summary> | ||
/// Get entity registry unit | ||
/// </summary> | ||
public Task<EntityRegistryUnit?> GetUpstreamEntityRegistryUnitAsync(Uri registryApiUri); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
namespace Dan.Common.Models; | ||
|
||
/// <summary> | ||
/// For determining what dataset had data retrieved from and when | ||
/// </summary> | ||
[DataContract] | ||
public class DataRetrieval | ||
{ | ||
/// <summary> | ||
/// Name of dataset that data was retrieved from | ||
/// </summary> | ||
[DataMember(Name = "evidenceCodeName")] | ||
public string? EvidenceCodeName { get; set; } | ||
|
||
/// <summary> | ||
/// When data was retrieved from dataset | ||
/// </summary> | ||
[DataMember(Name = "timeStamp")] | ||
public DateTime TimeStamp { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
namespace Nadobe.Common.Models; | ||
// ReSharper disable once CheckNamespace | ||
namespace Nadobe.Common.Models; | ||
|
||
/// <summary> | ||
/// Depcrecated ConsentRequirement model, use Dan.Common.Models.ConsentRequirement instead | ||
/// </summary> | ||
public class ConsentRequirement : Dan.Common.Models.ConsentRequirement { } |
Oops, something went wrong.