mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Implements first stage library management system
This commit is contained in:
1 parent
5e0f94cd82
commit
36352ea9e8
291 files changed
+3733
-1384
No files matched your search
+1
-29
@@ -99,39 +99,11 @@ public interface IUserService
|
||||
|
||||
### C# Specific
|
||||
#### Code Conventions:
|
||||
- Each class, interface and struct should use the following `#region`s to group code sections:
|
||||
- Group `using`s with the following `#region`:
|
||||
```csharp
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
#endregion
|
||||
|
||||
namespace Current.Namespace;
|
||||
|
||||
public class DhlDeliveryServiceProvider : IDeliveryServiceProvider
|
||||
{
|
||||
#region ================================================================== FIELD MEMBERS ================================================================================
|
||||
private readonly ITaxCalculator _taxCalculator;
|
||||
#endregion
|
||||
|
||||
#region ====================================================================== CTOR =====================================================================================
|
||||
public GetDirectoryTreeQueryHandler(ITaxCalculator taxCalculator)
|
||||
{
|
||||
_taxCalculator = taxCalculator;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ===================================================================== METHODS ===================================================================================
|
||||
public void Deliver()
|
||||
{
|
||||
// code
|
||||
}
|
||||
|
||||
public decimal CalculateCost()
|
||||
{
|
||||
// code
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
```
|
||||
- Enforce one type per file. For example:
|
||||
```csharp
|
||||
|
||||
Reference in new issue
Block a user