NetFramework-SC 0.0.3

.NET Framework 4.6.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package NetFramework-SC --version 0.0.3
NuGet\Install-Package NetFramework-SC -Version 0.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NetFramework-SC" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetFramework-SC --version 0.0.3
#r "nuget: NetFramework-SC, 0.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NetFramework-SC as a Cake Addin
#addin nuget:?package=NetFramework-SC&version=0.0.3

// Install NetFramework-SC as a Cake Tool
#tool nuget:?package=NetFramework-SC&version=0.0.3

NetFramework-SC

<table> <tbody> <tr> <td><a href="#configuration">Configuration</a></td> <td><a href="#logging">Logging</a></td> </tr> </tbody> </table>

Configuration

Special Circumstances Newtonsoft.Json based configuration functionality.

#cctor

Default constructor.

ConfigurationRootFolder

Current current configuration root folder.

GetSubConfigurationByNamespace(key)

Forgetting jObject containing configuration Namespace.

Name Description
key System.String<br>Namespace based key.
Returns

Desired Configuration

Initialize(configurationRootFolder)

Static method that must be called first in any Special Circumstances data exploration.

Name Description
configurationRootFolder System.String<br>Folder containing namespace-based configuration files for Special Circumstances exploration. If configurationFolder does not exist it looks for ".sc" folder under your home directory.

Initialized

To validate we are configured.

Log(namespaceKey, formatting)

Static method for logging system environment information.

Name Description
namespaceKey System.String<br>NamespaceKey for configuration to log.
formatting Newtonsoft.Json.Formatting<br>Indented or no formating of configuration.

Logger

Local log4net logger.

Namespaces

Sorted list of configuration files found in ConfigurationRootFolder.

Save

Save all configurations to ConfigurationRootFolder.

SetSubConfigurationByNamespace(key, jObject)

For setting jObject containing configuration by Namespace.

Name Description
key System.String<br>Namespace based key.
jObject Newtonsoft.Json.Linq.JObject<br>desired configuration.

Logging

SC log4net based logging functionality.

ConfigurationFileName

Current ConfigurationFileName.

InitializeLogs(configurationFileName)

Static method for configuring log4net functionality. If log4net.config file is found in the current working directory it will use it instead of the provided one.

Name Description
configurationFileName System.String<br>log4net configuration filename.

Logger

Local log4net Logger.

Product Versions
.NET Framework net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NetFramework-SC:

Package Downloads
NetFramework-SC.Data

Data functionality for Special Circumstances play ground.

NetFramework-SC.AWS

AWS functionality for Special Circumstances play ground.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.7 1,097 7/19/2018
0.0.6 1,394 7/13/2018
0.0.5 760 7/10/2018
0.0.4 1,219 7/8/2018
0.0.3 1,403 7/3/2018
0.0.2 1,267 7/1/2018
0.0.1 1,275 6/17/2018
0.0.1-beta 916 5/25/2018
0.0.1-alpha 581 5/20/2018

Refactored logging functionality into separage class.