-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#371 Add UserRoleAssignment to example projects.
- Loading branch information
1 parent
1cca248
commit 92b5ca5
Showing
61 changed files
with
2,675 additions
and
147 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -260,6 +260,7 @@ unencrypted | |
unformatted | ||
uninstallation | ||
unmanaged | ||
untracked | ||
uref | ||
url | ||
usings | ||
|
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
30 changes: 30 additions & 0 deletions
30
example/RapidField.SolidInstruments.Example.BeaconService/README.md
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- | ||
Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
--> | ||
|
||
[![Solid Instruments](../../SolidInstruments.Logo.Color.Transparent.500w.png)](../../README.md) | ||
- - - | ||
|
||
# RapidField.SolidInstruments.Example.BeaconService | ||
|
||
This document describes the purpose of the [`RapidField.SolidInstruments.Example.BeaconService`]() project. | ||
|
||
## Purpose | ||
|
||
This project demonstrates a utility service that publishes scheduled heartbeat messages. | ||
|
||
## License | ||
|
||
[![License](https://img.shields.io/github/license/rapidfield/solid-instruments?style=flat&color=lightseagreen&label=license&logo=open-access&logoColor=lightgrey)](../../LICENSE.txt) | ||
|
||
**Solid Instruments** is [MIT-licensed](https://en.wikipedia.org/wiki/MIT_License). Review the [license terms](../../LICENSE.txt) for more information. | ||
|
||
<br /> | ||
|
||
- - - | ||
|
||
<br /> | ||
|
||
[![RapidField](../../RapidField.Logo.Color.Black.Transparent.200w.png)](https://www.rapidfield.com) | ||
|
||
###### Copyright (c) RapidField LLC. All rights reserved. "RapidField" and "Solid Instruments" are trademarks of RapidField LLC. |
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
42 changes: 42 additions & 0 deletions
42
...sControl/CommandHandlers/ModelState/UserRoleAssignment/CreateDomainModelCommandHandler.cs
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// ================================================================================================================================= | ||
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
// ================================================================================================================================= | ||
|
||
using RapidField.SolidInstruments.Command; | ||
using RapidField.SolidInstruments.DataAccess; | ||
using System; | ||
using DataAccessModel = RapidField.SolidInstruments.Example.Domain.Models.UserRoleAssignment.AggregateDataAccessModel; | ||
using DomainModel = RapidField.SolidInstruments.Example.Domain.Models.UserRoleAssignment.DomainModel; | ||
using DomainModelCommand = RapidField.SolidInstruments.Example.Domain.Commands.ModelState.UserRoleAssignment.CreateDomainModelCommand; | ||
|
||
namespace RapidField.SolidInstruments.Example.Domain.AccessControl.CommandHandlers.ModelState.UserRoleAssignment | ||
{ | ||
/// <summary> | ||
/// Processes a single <see cref="DomainModelCommand" />. | ||
/// </summary> | ||
public sealed class CreateDomainModelCommandHandler : CreateDomainModelCommandHandler<Guid, DomainModel, DataAccessModel, DomainModelCommand> | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="CreateDomainModelCommandHandler" /> class. | ||
/// </summary> | ||
/// <param name="mediator"> | ||
/// A processing intermediary that is used to process sub-commands. | ||
/// </param> | ||
/// <exception cref="ArgumentNullException"> | ||
/// <paramref name="mediator" /> is <see langword="null" />. | ||
/// </exception> | ||
public CreateDomainModelCommandHandler(ICommandMediator mediator) | ||
: base(mediator) | ||
{ | ||
return; | ||
} | ||
|
||
/// <summary> | ||
/// Releases all resources consumed by the current <see cref="CreateDomainModelCommandHandler" />. | ||
/// </summary> | ||
/// <param name="disposing"> | ||
/// A value indicating whether or not managed resources should be released. | ||
/// </param> | ||
protected override void Dispose(Boolean disposing) => base.Dispose(disposing); | ||
} | ||
} |
Oops, something went wrong.