OROptimizer.Shared
2.1.0
See the version list below for details.
dotnet add package OROptimizer.Shared --version 2.1.0
NuGet\Install-Package OROptimizer.Shared -Version 2.1.0
<PackageReference Include="OROptimizer.Shared" Version="2.1.0" />
paket add OROptimizer.Shared --version 2.1.0
#r "nuget: OROptimizer.Shared, 2.1.0"
// Install OROptimizer.Shared as a Cake Addin #addin nuget:?package=OROptimizer.Shared&version=2.1.0 // Install OROptimizer.Shared as a Cake Tool #tool nuget:?package=OROptimizer.Shared&version=2.1.0
A shared library used in OROptimizer as well as in some other related projects
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- log4net (>= 2.0.12)
- Microsoft.CodeAnalysis (>= 2.3.2)
- System.Runtime.Loader (>= 4.3.0)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on OROptimizer.Shared:
Package | Downloads |
---|---|
IoC.Configuration
The main functions of IoC.Configuration library are: 1) Container agnostic configuration of dependency injection using XML configuration file. The file has section where container can be specified, that will be handling dependency injection resolutions. Currently two popular containers are supported, Ninject and Autofac, via extension libraries IoC.Configuration.Ninject and IoC.Configuration.Autofac, that are available in Nuget.org. The dependency injection container (e.g., Autofac, Ninject) can be easily switched in configuration file. In addition, the configuration file has sections for settings, plugins, startup actions, dynamically generated implementations of interfaces (see autoService elements under iocConfiguration/dependencyInjection/autoGeneratedServices in example configuration files in GitHub test projects in https://github.com/artakhak/IoC.Configuration/tree/master/IoC.Configuration.Tests). 2) Container agnostic configuration of dependency injection in code. The bindings are specified using IoC.Configuration chained methods, however the actual resolutions are done using one of the popular dependency injection containers, Ninject and Autofac, via extension libraries IoC.Configuration.Ninject and IoC.Configuration.Autofac. Note: Use either IoC.Configuration.Ninject 2.0.0 or higher, or IoC.Configuration.Autofac 2.0.0 with IoC.Configuration.Autofac 2.x.x. |
|
IoC.Configuration.Autofac
An Autofac extension for IoC.Configuration 2. Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io Look at http://iocconfiguration.readthedocs.io/ |
|
IoC.Configuration.Ninject
A Ninject extension for IoC.Configuration 2. Source code can be found at https://github.com/artakhak/IoC.Configuration Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io Look at http://iocconfiguration.readthedocs.io/ |
|
FileInclude
A library to generate a file from template which can include placeholder sections that reference other file (i.e., file includes). The referenced files can include similar sections to reference other files. The library was motivated by the need to reference other files in README.md file (other MD files, example code files, etc.). The method GenerateFileFromTemplate in interface FileInclude.ITemplateProcessor recursively compiles the template file specified in parameter templateFilePath, and all the files directly or indirectly referenced by the template file into a single file and returns the file contents in output parameter generatedFileContents. The default implementation of FileInclude.ITemplateProcessor is FileInclude.TemplateProcessor and it uses IncludedFilePlaceHolder element tag to locate the include place-holders. However the tag name can be changed by overriding the virtual property TemplateProcessor.FileIncludeTagName. The method FileInclude.ITemplateProcessor.GenerateFileFromTemplate returns errors as a list of FileInclude.IErrorData objects that contain error details. Also, the method checks and reports any possible circular references, to prevent infinite processing. There is also an extension method FileInclude.TemplateProcessorExtensions.GenerateFileFromTemplateAndSave which saves the file generated from the template. The extension method checks if the generated file was modified by other applications (say manually edited) since it was auto-generated last time, to prevent data loss. |
|
UniversalExpressionParser
UniversalExpressionParser is a library for parsing functional expressions. The parsed language format is specified in implementation of UniversalExpressionParser.IExpressionLanguageProvider. The library supports expressions of the following types among others: functions, literals (variables), numeric values (parsed by specifying regular expressions), texts keywords, prefixes, postfixes, code blocks and code separators, (e.g., {var x = y+z++;++x;}), line and block comments, operators with priorities specified in UniversalExpressionParser.IExpressionLanguageProvider, custom expression parsers to handle non-standard situations, etc. The parser returns a structure that stores the results of parsing which also includes the list of parse errors, if any. The parser was tested by simulated tests that randomly generate thousands of parsed expressions and parse those expressions. NOTE: The source code is available at https://github.com/artakhak/UniversalExpressionParser. The documentation with good demos of example expressions, code to parse the expressions and visualized parse results reference https://universalexpressionparser.readthedocs.io/en/latest/summary.html. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.1 | 3,559 | 4/3/2022 |
2.1.0 | 652 | 4/3/2022 |
2.0.1 | 718 | 11/29/2019 |
2.0.0 | 2,567 | 2/24/2019 |
1.0.0 | 5,491 | 4/17/2018 |
1.0.0-Betta | 839 | 4/1/2018 |
1.0.0-beta2 | 1,973 | 4/1/2018 |
1) -Made the following improvements to interfaces OROptimizer.DynamicCode.IDynamicAssemblyBuilder and OROptimizer.DynamicCode.IDynamicallyGeneratedClass as follows:
- Deprecated the method FinalizeDynamicallyGeneratedClass() in OROptimizer.DynamicCode.IDynamicAssemblyBuilder. No need to call this method anymore, since classes will be finalized when the assembly is built in IDisposable.Dispose().
- Deprecated the method AddUsingNamespaceStatment in OROptimizer.DynamicCode.IDynamicallyGeneratedClass (replaced with method AddUsingNamespaceStatement() with fixed typo).
- Deprecated the method FinalizeAndAddToAssembly() in OROptimizer.DynamicCode.IDynamicallyGeneratedClass. No need to explicitly add the class to assembly builder improvements to interfaces OROptimizer.DynamicCode.IDynamicAssemblyBuilder, since the class is added when method StartDynamicallyGeneratedClass() in OROptimizer.DynamicCode.IDynamicAssemblyBuilder is executed.
- Added method "string GenerateCSharpFile()" to OROptimizer.DynamicCode.IDynamicallyGeneratedClass.
- Added an oveloaded method OROptimizer.GlobalsCore.StartDynamicAssemblyBuilder() which instead of adding all currently loaded assemblies as references to dynamically generated assembly (as the old deprecated method still does) uses an instance if interface OROptimizer.ILoadedAssemblies as a parameter to determine which
assemblies should be added as references. The default implementation OROptimizer.AllLoadedAssemblies returns all loaded assemblies in method OROptimizer.ILoadedAssemblies.GetAssemblies().
2) Added a new interface OROptimizer.ServiceResolver.IDiBasedObjectFactory and its default implementation OROptimizer.ServiceResolver.DiBasedObjectFactory for creating instance of types while injecting constructor parameters using dependency injection. OROptimizer.ServiceResolver.ServiceResolverAmbientContext.Context.Resolve() is used to inject the values of constructor parameters.
3) Added new helper classes for relative path calculation, XML element selection and modifications, etc under namespaces OROptimizer.Utilities, ROptimizer.Diagnostics, as well as some other small improvements.