Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit e3593e10 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

update valueinjecter to version 3.1 (.net 4.0) - used in bus auxiliaries

parent 6350d55d
No related branches found
No related tags found
No related merge requests found
Showing
with 1376 additions and 348 deletions
......@@ -31,16 +31,6 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Deploy|AnyCPU'">
<OutputPath>bin\Deploy\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
......@@ -59,7 +49,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\VectoCommon\VectoCommon\VectoCommon.csproj">
<Project>{79a066ad-69a9-4223-90f6-6ed5d2d084f4}</Project>
<Project>{79A066AD-69A9-4223-90F6-6ED5D2D084F4}</Project>
<Name>VectoCommon</Name>
</ProjectReference>
<ProjectReference Include="..\..\VectoCore\VectoCore\VectoCore.csproj">
......
......@@ -268,8 +268,8 @@ Global
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.DebugTUG|Any CPU.Build.0 = Debug|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.DebugTUG|x64.ActiveCfg = Debug|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.DebugTUG|x86.ActiveCfg = Debug|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Deploy|Any CPU.ActiveCfg = Deploy|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Deploy|Any CPU.Build.0 = Deploy|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Deploy|Any CPU.ActiveCfg = Release|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Deploy|Any CPU.Build.0 = Release|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Deploy|x64.ActiveCfg = Debug|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Deploy|x86.ActiveCfg = Debug|Any CPU
{B4B9BD2F-FD8F-4BB8-82FA-E2154D2C7FBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
......@@ -571,7 +571,6 @@ Global
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.DebugTUG|x64.ActiveCfg = Debug|Any CPU
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.DebugTUG|x86.ActiveCfg = Debug|Any CPU
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.Deploy|Any CPU.ActiveCfg = Release|Any CPU
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.Deploy|Any CPU.Build.0 = Release|Any CPU
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.Deploy|x64.ActiveCfg = Debug|Any CPU
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.Deploy|x86.ActiveCfg = Debug|Any CPU
{7C364099-9B85-473A-8A42-BBEBE4798FF5}.Release|Any CPU.ActiveCfg = Release|Any CPU
......
Option Strict On
Imports VectoAuxiliaries.Electrics
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.IO
Imports DocumentFormat.OpenXml
Imports DocumentFormat.OpenXml.Spreadsheet
Imports Newtonsoft.Json
Imports VectoAuxiliaries
Imports System.Globalization
Imports TUGraz.VectoCommon.Utils
......@@ -48,7 +43,6 @@ Namespace Electrics
End If
Return alternatorMapValues
End Function
Public Function Initialise() As Boolean Implements IAlternatorMap.Initialise
......
......@@ -102,7 +102,7 @@ Namespace Hvac
For Each line As TechListBenefitLine In DirectCast(from, SSMTOOL).TechList.TechLines
Dim newLine As New TechListBenefitLine(Me.GenInputs)
newLine.InjectFrom()
'newLine.InjectFrom()
newLine.InjectFrom(line)
TechList.Add(newLine, feedback)
......@@ -293,4 +293,4 @@ Namespace Hvac
End If
End Sub
End Class
End Namespace
\ No newline at end of file
End Namespace
......@@ -57,27 +57,14 @@
<PropertyGroup>
<OptionInfer>Off</OptionInfer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Deploy|AnyCPU'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Deploy\</OutputPath>
<DocumentationFile>BusAuxiliaries.xml</DocumentationFile>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>3rdPartyLibraries\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Omu.ValueInjecter">
<HintPath>..\..\packages\ValueInjecter.2.3.3\lib\net35\Omu.ValueInjecter.dll</HintPath>
<Reference Include="Omu.ValueInjecter, Version=3.1.1.0, Culture=neutral, PublicKeyToken=c7694541b0ac80e4, processorArchitecture=MSIL">
<HintPath>..\..\packages\ValueInjecter.3.1.1.5\lib\net40\Omu.ValueInjecter.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
......
......@@ -2,5 +2,5 @@
<packages>
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net40" requireReinstallation="True" />
<package id="valueinjecter" version="2.3.3" targetFramework="net40" />
<package id="ValueInjecter" version="3.1.1.5" targetFramework="net45" />
</packages>
\ No newline at end of file
......@@ -53,16 +53,6 @@
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Deploy|AnyCPU'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Deploy\</OutputPath>
<DocumentationFile>AdvancedAuxiliaryInterfaces.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
......
File deleted
<?xml version="1.0"?>
<doc>
<assembly>
<name>Omu.ValueInjecter</name>
</assembly>
<members>
<member name="T:Omu.ValueInjecter.ExactValueInjection">
<summary>
</summary>
</member>
<member name="M:Omu.ValueInjecter.PrefixedValueInjection.SearchTargetName(System.String)">
<summary>
get a string representing the target property name using the source property name and prefixes
</summary>
<param name="s">source property original name</param>
<returns></returns>
</member>
<member name="M:Omu.ValueInjecter.PrefixedValueInjection.SearchSourceName(System.String)">
<summary>
get a string representing the source property name using the target property name and prefixes
</summary>
<param name="s">target property original name</param>
<returns></returns>
</member>
<member name="M:Omu.ValueInjecter.DescriptorTools.GetByName(System.ComponentModel.PropertyDescriptorCollection,System.String)">
<summary>
Seek for a PropertyDescriptor within the collection by Name
</summary>
<returns>the search result or null if nothing was found</returns>
</member>
<member name="M:Omu.ValueInjecter.DescriptorTools.GetByName(System.ComponentModel.PropertyDescriptorCollection,System.String,System.Boolean)">
<summary>
Seek for a PropertyDescriptor within the collection by Name with option to ignore case
</summary>
<returns>search result or null if nothing was found</returns>
</member>
<member name="M:Omu.ValueInjecter.DescriptorTools.GetByNameType``1(System.ComponentModel.PropertyDescriptorCollection,System.String)">
<summary>
Search for a PropertyDescriptor within the collection that is of a specific type T
</summary>
<returns>search result or null if nothing was found</returns>
</member>
<member name="T:Omu.ValueInjecter.NoSourceValueInjection">
<summary>
inject value without source
</summary>
</member>
<member name="T:Omu.ValueInjecter.UberFlatter">
<summary>
performs flattening and unflattening
first version of this class was made by Vadim Plamadeala ☺
</summary>
</member>
<member name="T:Omu.ValueInjecter.PropertyInfosStorage">
<summary>
this is for caching the PropertyDescriptorCollection and PropertyInfo[] for each Type
</summary>
</member>
<member name="T:Omu.ValueInjecter.LoopValueInjection`2">
<summary>
maps the properties with the same name from the source object of type TSourceProperty to the ones from the target object of type TTargetProperty
</summary>
<typeparam name="TSourceProperty">source properties type</typeparam>
<typeparam name="TTargetProperty">target properties type</typeparam>
</member>
<member name="T:Omu.ValueInjecter.LoopValueInjection">
<summary>
maps the properties with the same name and type(by default, but you can override TypesMatch to change this) from source to the ones in the target
</summary>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom``1(System.Object,System.Object[])">
<summary>
Injects values from source to target
</summary>
<typeparam name="T">ValueInjection used</typeparam>
<param name="target">target where the value is going to be injected</param>
<param name="source">source from where the value is taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom(System.Object,Omu.ValueInjecter.IValueInjection,System.Object[])">
<summary>
Injects values from source to target
</summary>
<param name="target">target where the value is going to be injected</param>
<param name="injection">ValueInjection used</param>
<param name="source">source from where the value is taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom``1(System.Object)">
<summary>
Injects values into the target
</summary>
<typeparam name="T">ValueInjection(INoSourceValueInjection) used for that</typeparam>
<param name="target">target where the value is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom(System.Object,Omu.ValueInjecter.INoSourceValueInjection)">
<summary>
Injects value into target without source
</summary>
<param name="target">the target where the value is going to be injected</param>
<param name="injection"> the injection(INoSourceValueInjection) used to inject value</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom(System.Object,System.Object[])">
<summary>
it the same as calling InjectFrom&lt;LookupValueInjection&gt;()
</summary>
</member>
<member name="M:Omu.ValueInjecter.ValueInjecter.Inject``1(System.Object,System.Object[])">
<summary>
inject values from source to target
</summary>
<typeparam name="T">ValueInjection used </typeparam>
<param name="target">target where the values is going to be injected</param>
<param name="source">source from where the values are taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.ValueInjecter.Inject(Omu.ValueInjecter.IValueInjection,System.Object,System.Object[])">
<summary>
inject values from source to target
</summary>
<param name="injection">the injection used</param>
<param name="target">target where the values is going to be injected</param>
<param name="source">source from where the values are taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.ValueInjecter.Inject``1(System.Object)">
<summary>
inject values into the target
</summary>
<typeparam name="T">ValueInjection used </typeparam>
<param name="target">target where the values is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.ValueInjecter.Inject(Omu.ValueInjecter.INoSourceValueInjection,System.Object)">
<summary>
inject values into the target
</summary>
<param name="injection">ValueInjection used</param>
<param name="target">target where the values is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.ValueInjecter.Inject(System.Object,System.Object[])">
<summary>
the same as calling Inject&lt;LoopValueInjection>()
</summary>
</member>
</members>
</doc>
File deleted
<?xml version="1.0"?>
<doc>
<assembly>
<name>Omu.ValueInjecter.Silverlight</name>
</assembly>
<members>
<member name="M:Omu.ValueInjecter.Silverlight.StaticValueInjecter.InjectFrom``1(System.Object,System.Object[])">
<summary>
Injects values from source to target
</summary>
<typeparam name="T">ValueInjection used</typeparam>
<param name="target">target where the value is going to be injected</param>
<param name="source">source from where the value is taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.StaticValueInjecter.InjectFrom(System.Object,Omu.ValueInjecter.Silverlight.IValueInjection,System.Object[])">
<summary>
Injects values from source to target
</summary>
<param name="target">target where the value is going to be injected</param>
<param name="injection">ValueInjection used</param>
<param name="source">source from where the value is taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.StaticValueInjecter.InjectFrom``1(System.Object)">
<summary>
Injects values into the target
</summary>
<typeparam name="T">ValueInjection(INoSourceValueInjection) used for that</typeparam>
<param name="target">target where the value is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.StaticValueInjecter.InjectFrom(System.Object,Omu.ValueInjecter.Silverlight.INoSourceValueInjection)">
<summary>
Injects value into target without source
</summary>
<param name="target">the target where the value is going to be injected</param>
<param name="injection"> the injection(INoSourceValueInjection) used to inject value</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.StaticValueInjecter.InjectFrom(System.Object,System.Object[])">
<summary>
it the same as calling InjectFrom&lt;LookupValueInjection&gt;()
</summary>
</member>
<member name="T:Omu.ValueInjecter.Silverlight.NoSourceValueInjection">
<summary>
inject value without source
</summary>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.PrefixedValueInjection.SearchTargetName(System.String)">
<summary>
get a string representing the target property name using the source property name and prefixes
</summary>
<param name="s">source property original name</param>
<returns></returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.PrefixedValueInjection.SearchSourceName(System.String)">
<summary>
get a string representing the source property name using the target property name and prefixes
</summary>
<param name="s">target property original name</param>
<returns></returns>
</member>
<member name="T:Omu.ValueInjecter.Silverlight.ExactValueInjection">
<summary>
</summary>
</member>
<member name="T:Omu.ValueInjecter.Silverlight.PropertyInfosStorage">
<summary>
this is for caching the PropertyInfo[] of each Type
</summary>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.DescriptorTools.GetByName(System.Reflection.PropertyInfo[],System.String)">
<summary>
Seek for a PropertyInfo within the collection by Name
</summary>
<returns>the search result or null if nothing was found</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.DescriptorTools.GetByName(System.Reflection.PropertyInfo[],System.String,System.Boolean)">
<summary>
Seek for a PropertyInfo within the collection by Name with option to ignore case
</summary>
<returns>search result or null if nothing was found</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.DescriptorTools.GetByNameType``1(System.Reflection.PropertyInfo[],System.String)">
<summary>
Search for a PropertyInfo within the collection that is of a specific type T
</summary>
<returns>search result or null if nothing was found</returns>
</member>
<member name="T:Omu.ValueInjecter.Silverlight.ValueInjecter">
<summary>
ValueInjecter
</summary>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.ValueInjecter.Inject``1(System.Object,System.Object[])">
<summary>
inject values from source to target
</summary>
<typeparam name="T">ValueInjection used </typeparam>
<param name="target">target where the values is going to be injected</param>
<param name="source">source from where the values are taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.ValueInjecter.Inject(Omu.ValueInjecter.Silverlight.IValueInjection,System.Object,System.Object[])">
<summary>
inject values from source to target
</summary>
<param name="injection">the injection used</param>
<param name="target">target where the values is going to be injected</param>
<param name="source">source from where the values are taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.ValueInjecter.Inject``1(System.Object)">
<summary>
inject values into the target
</summary>
<typeparam name="T">ValueInjection used </typeparam>
<param name="target">target where the values is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.ValueInjecter.Inject(Omu.ValueInjecter.Silverlight.INoSourceValueInjection,System.Object)">
<summary>
inject values into the target
</summary>
<param name="injection">ValueInjection used</param>
<param name="target">target where the values is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.Silverlight.ValueInjecter.Inject(System.Object,System.Object[])">
<summary>
the same as calling Inject&lt;LoopValueInjection>()
</summary>
</member>
<member name="T:Omu.ValueInjecter.Silverlight.LoopValueInjection`2">
<summary>
maps the properties with the same name from the source object of type TSourceProperty to the ones from the target object of type TTargetProperty
</summary>
<typeparam name="TSourceProperty">source properties type</typeparam>
<typeparam name="TTargetProperty">target properties type</typeparam>
</member>
<member name="T:Omu.ValueInjecter.Silverlight.LoopValueInjection">
<summary>
maps the properties with the same name and type(by default, but you can override TypesMatch to change this) from source to the ones in the target
</summary>
</member>
</members>
</doc>
File deleted
File deleted
File added
<?xml version="1.0"?>
<doc>
<assembly>
<name>Omu.ValueInjecter</name>
</assembly>
<members>
<member name="T:Omu.ValueInjecter.Injections.LoopInjection">
<summary>
LoopInjection, by default will match properties with the same name and type;
override MatchTypes to change type matching;
override GetTargetProp to change how the target property is determined based on the source property;
override SetValue to control the how the value is set ( do type casting, ignore setting in certain scenarios etc. )
</summary>
</member>
<member name="T:Omu.ValueInjecter.Injections.FlatLoopInjection">
<summary>
FlatLoopInjection, matches unflat properties to flat ( a.b.c => abc )
override SetValue to control the how the value is set ( do type casting, ignore setting in certain scenarios etc. )
override Match to control unflat target checking
</summary>
</member>
<member name="F:Omu.ValueInjecter.Mapper.Instance">
<summary>
static mapper instance
</summary>
</member>
<member name="M:Omu.ValueInjecter.Mapper.MapDefault``1(System.Object,System.Object)">
<summary>
Map using default mapper ( Ignore added maps )
</summary>
<typeparam name="TResult">Result type</typeparam>
<param name="source"> source object</param>
<param name="tag">object used to send additional paramaters for the mapping code</param>
<returns> mapped object</returns>
</member>
<member name="M:Omu.ValueInjecter.Mapper.Map``1(System.Object,System.Object)">
<summary>
Map source object to result type
</summary>
<typeparam name="TResult"> Result type</typeparam>
<param name="source"> source object</param>
<param name="tag">object used to send additional paramaters for the mapping code</param>
<returns>mapped object</returns>
</member>
<member name="M:Omu.ValueInjecter.Mapper.Map``2(``0,System.Object)">
<summary>
Map source object to result type, TSource is specified not inferred, useful when source is not of TSource type like with EF proxy object
</summary>
<typeparam name="TSource">source type</typeparam>
<typeparam name="TResult">result type</typeparam>
<param name="source">source object</param>
<param name="tag">object used to send additional paramaters for the mapping code</param>
<returns>mapped object</returns>
</member>
<member name="M:Omu.ValueInjecter.Mapper.AddMap``2(System.Func{``0,``1})">
<summary>
register a function for mapping from source to result
</summary>
<typeparam name="TSource">source type</typeparam>
<typeparam name="TResult">result type</typeparam>
<param name="func">function receives source and returns result object</param>
</member>
<member name="M:Omu.ValueInjecter.Mapper.AddMap``2(System.Func{``0,System.Object,``1})">
<summary>
register a function for mapping from source to result
</summary>
<typeparam name="TSource">source type</typeparam>
<typeparam name="TResult">result type</typeparam>
<param name="func">function receives source, tag object for additional parameters, and returns result object</param>
</member>
<member name="M:Omu.ValueInjecter.Mapper.Reset">
<summary>
clear added maps and default map
</summary>
</member>
<member name="P:Omu.ValueInjecter.Mapper.DefaultMap">
<summary>
Default map used when there's no map specified for the given types
</summary>
</member>
<member name="T:Omu.ValueInjecter.Flat.PropertyWithComponent">
<summary>
Unflat target property info
</summary>
</member>
<member name="P:Omu.ValueInjecter.Flat.PropertyWithComponent.Property">
<summary>
Property that is target of unflatteing path
</summary>
</member>
<member name="P:Omu.ValueInjecter.Flat.PropertyWithComponent.Component">
<summary>
Object last target of unflattening path
</summary>
</member>
<member name="P:Omu.ValueInjecter.Flat.PropertyWithComponent.Level">
<summary>
Unflatteing level (a.b.c = level 2)
</summary>
</member>
<member name="M:Omu.ValueInjecter.Utils.Extensions.GetProps(System.Object)">
<summary>
Get properties
</summary>
<param name="o"></param>
<returns></returns>
</member>
<member name="M:Omu.ValueInjecter.Utils.Extensions.GetProps(System.Type)">
<summary>
Get type properties, including properties of inherited interfaces
http://stackoverflow.com/a/2444090/112100
</summary>
<param name="type"></param>
<returns></returns>
</member>
<member name="T:Omu.ValueInjecter.Injections.NoSourceInjection">
<summary>
inject value without source
</summary>
</member>
<member name="M:Omu.ValueInjecter.Flat.TrailFinder.GetTrails(System.String,System.Collections.Generic.IEnumerable{System.Reflection.PropertyInfo},System.Func{System.String,System.Reflection.PropertyInfo,System.Boolean},System.StringComparison,System.Boolean)">
<summary>
Get all possible trails based on the property name
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupProps">properties to look into</param>
<param name="match">match func used for checking the last property in the trail</param>
<param name="comparison">StringComparison type used for building the flat trail</param>
<param name="forFlattening">getting trails for flattening or unflattening, in the first case we need to make sure the properties are readable in the latter writeable</param>
<returns>all possible trails</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.Tunnelier.Digg(System.Collections.Generic.IList{System.String},System.Object,System.Func{System.Reflection.PropertyInfo,System.Object,System.Object})">
<summary>
given the trail (path) get the unflat target property info
</summary>
<param name="trail">Unflattening path</param>
<param name="target">object to digg into</param>
<param name="activator">object creator, used to create objects along the way if null is encountered by default Activator.CreateIntance is used</param>
<returns>unflat target property info</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.Tunnelier.Find(System.Collections.Generic.IList{System.String},System.Object)">
<summary>
Get the unflat target info
</summary>
<param name="trail">unflat path</param>
<param name="target">object to look into</param>
<returns>unflat target property info</returns>
</member>
<member name="T:Omu.ValueInjecter.Flat.UberFlatter">
<summary>
performs flattening and unflattening;
flattening = from a.b.c to abc;
unflattening = from abc to a.b.c (if b is null new object is created and assigned);
it's possible to have multiple matches abc => [a.b.c, ab.c a.bc], which is why all methods return a collection of targets;
first version of this class was made by Vadim Plamadeala ☺
</summary>
</member>
<member name="M:Omu.ValueInjecter.Flat.UberFlatter.Unflat(System.String,System.Object,System.Func{System.String,System.Reflection.PropertyInfo,System.Boolean},System.StringComparison,System.Func{System.Reflection.PropertyInfo,System.Object,System.Object})">
<summary>
Get unflat targets for given flatPropertyName, objects will be created if null encountered in the path towards the target, you can set the value from flatProperty into the target(s)
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupObject">object to look for targets into</param>
<param name="match">match func used for checking the last property in the trail</param>
<param name="comparison"></param>
<param name="activator">creator func, used to create objects along the way if null is encountered, by default Activator.CreateIntance is used</param>
<returns>all matching unflat targets info</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.UberFlatter.Unflat(System.String,System.Object,System.Func{System.String,System.Reflection.PropertyInfo,System.Boolean},System.Func{System.Reflection.PropertyInfo,System.Object,System.Object})">
<summary>
Get unflat targets for given flatPropertyName, objects will be created if null encountered in the path towards the target, you can set the value from flatProperty into the target(s)
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupObject">object to look for targets into</param>
<param name="match">match func used for checking the last property in the trail</param>
<param name="activator">creator func, used to create objects along the way if null is encountered, by default Activator.CreateIntance is used</param>
<returns>all matching unflat targets info</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.UberFlatter.Unflat(System.String,System.Object,System.Func{System.Reflection.PropertyInfo,System.Object,System.Object})">
<summary>
Get unflat targets for given flatPropertyName, objects will be created if null encountered in the path towards the target, you can set the value from flatProperty into the target(s)
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupObject">object to look for targets into</param>
<param name="activator">creator func, used to create objects along the way if null is encountered, by default Activator.CreateIntance is used</param>
<returns>all matching unflat targets info</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.UberFlatter.Flat(System.String,System.Object,System.Func{System.String,System.Reflection.PropertyInfo,System.Boolean})">
<summary>
Get unflat targets for given flatPropertyName, you can use the result to get value from and set it into the flat property
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupObject">object to look for targets into</param>
<param name="match">match func used for checking the last property in the trail</param>
<returns>all matching unflat targets info</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.UberFlatter.Flat(System.String,System.Object,System.Func{System.String,System.Reflection.PropertyInfo,System.Boolean},System.StringComparison)">
<summary>
Get unflat targets for given flatPropertyName, you can use the result to get value from and set it into the flat property
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupObject">object to look for targets into</param>
<param name="match">match func used for checking the last property in the trail</param>
<param name="comparison">StringComparison type used for building the flat trail</param>
<returns>all matching unflat targets info</returns>
</member>
<member name="M:Omu.ValueInjecter.Flat.UberFlatter.Flat(System.String,System.Object)">
<summary>
Get unflat targets for given flatPropertyName, you can use the result to get value from and set it into the flat property
</summary>
<param name="flatPropertyName">flat property name</param>
<param name="lookupObject">object to look for targets into</param>
<returns>all matching unflat targets info</returns>
</member>
<member name="T:Omu.ValueInjecter.Injections.UnflatLoopInjection">
<summary>
UnflatLoopInjection, matches flat properties to unflat ( abc => a.b.c );
override SetValue to control the how the value is set ( do type casting, ignore setting in certain scenarios etc. );
override Match to control unflat target checking;
</summary>
</member>
<member name="M:Omu.ValueInjecter.Injections.UnflatLoopInjection.#ctor(System.Func{System.Reflection.PropertyInfo,System.Object,System.Object})">
<summary>
Create injection and set the creator func
</summary>
<param name="activator">creator func, used to create objects along the way if null is encountered, by default Activator.CreateIntance is used</param>
</member>
<member name="F:Omu.ValueInjecter.MapperInstance.Maps">
<summary>
registered custom maps
</summary>
</member>
<member name="F:Omu.ValueInjecter.MapperInstance.DefaultMap">
<summary>
Default map used when there's no map specified for the given types
</summary>
</member>
<member name="M:Omu.ValueInjecter.MapperInstance.MapDefault``1(System.Object,System.Object)">
<summary>
Map using default mapper ( Ignore added maps )
</summary>
<typeparam name="TResult">Result type</typeparam>
<param name="source"> source object</param>
<param name="tag">object used to send additional paramaters for the mapping code</param>
<returns> mapped object</returns>
</member>
<member name="M:Omu.ValueInjecter.MapperInstance.Map``1(System.Object,System.Object)">
<summary>
Map source object to result type
</summary>
<typeparam name="TResult"> Result type</typeparam>
<param name="source"> source object</param>
<param name="tag">object used to send additional paramaters for the mapping code</param>
<returns>mapped object</returns>
</member>
<member name="M:Omu.ValueInjecter.MapperInstance.Map``2(``0,System.Object)">
<summary>
Map source object to result type, TSource is specified not inferred, useful when source is not of TSource type like with EF proxy object
</summary>
<typeparam name="TSource">source type</typeparam>
<typeparam name="TResult">result type</typeparam>
<param name="source">source object</param>
<param name="tag">object used to send additional paramaters for the mapping code</param>
<returns>mapped object</returns>
</member>
<member name="M:Omu.ValueInjecter.MapperInstance.AddMap``2(System.Func{``0,``1})">
<summary>
register a function for mapping from source to result
</summary>
<typeparam name="TSource">source type</typeparam>
<typeparam name="TResult">result type</typeparam>
<param name="func">function receives source and returns result object</param>
</member>
<member name="M:Omu.ValueInjecter.MapperInstance.AddMap``2(System.Func{``0,System.Object,``1})">
<summary>
register a function for mapping from source to result
</summary>
<typeparam name="TSource">source type</typeparam>
<typeparam name="TResult">result type</typeparam>
<param name="func">function receives source, tag object for additional parameters, and returns result object</param>
</member>
<member name="M:Omu.ValueInjecter.MapperInstance.Reset">
<summary>
clear added maps and reset default map to initial value
</summary>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom``1(System.Object,System.Object)">
<summary>
Injects values from source to target
</summary>
<typeparam name="T">ValueInjection used</typeparam>
<param name="target">target where the value is going to be injected</param>
<param name="source">source from where the value is taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom(System.Object,Omu.ValueInjecter.Injections.IValueInjection,System.Object)">
<summary>
Injects values from source to target
</summary>
<param name="target">target where the value is going to be injected</param>
<param name="injection">ValueInjection used</param>
<param name="source">source from where the value is taken</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom``1(System.Object)">
<summary>
Injects values into the target
</summary>
<typeparam name="T">ValueInjection(INoSourceValueInjection) used for that</typeparam>
<param name="target">target where the value is going to be injected</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom(System.Object,Omu.ValueInjecter.Injections.INoSourceInjection)">
<summary>
Injects value into target without source
</summary>
<param name="target">the target where the value is going to be injected</param>
<param name="injection"> the injection(INoSourceValueInjection) used to inject value</param>
<returns>the modified target</returns>
</member>
<member name="M:Omu.ValueInjecter.StaticValueInjecter.InjectFrom(System.Object,System.Object)">
<summary>
Inject properties with exact same name and type
</summary>
</member>
</members>
</doc>
File added
File added
This diff is collapsed.
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment