.NETFramework:StaticValueInjecter
| ylbtech-Omu.ValueInjecter.StaticValueInjecter.cs |
| 1.程序集 Omu.ValueInjecter, Version=3.1.1.0, Culture=neutral, PublicKeyToken=c7694541b0ac80e4返回顶部 |
#region 程序集 Omu.ValueInjecter, Version=3.1.1.0, Culture=neutral, PublicKeyToken=c7694541b0ac80e4
// D:\work-RL2\DS.LC\packages\valueinjecter.3.1.1.3\lib\net40\Omu.ValueInjecter.dll
#endregion using Omu.ValueInjecter.Injections; namespace Omu.ValueInjecter
{
public static class StaticValueInjecter
{
public static IValueInjection DefaultInjection; //
// 摘要:
// Injects values from source to target
//
// 参数:
// target:
// target where the value is going to be injected
//
// source:
// source from where the value is taken
//
// 类型参数:
// T:
// ValueInjection used
//
// 返回结果:
// the modified target
public static object InjectFrom<T>(this object target, object source) where T : IValueInjection, new();
//
// 摘要:
// Injects values from source to target
//
// 参数:
// target:
// target where the value is going to be injected
//
// injection:
// ValueInjection used
//
// source:
// source from where the value is taken
//
// 返回结果:
// the modified target
public static object InjectFrom(this object target, IValueInjection injection, object source);
//
// 摘要:
// Injects values into the target
//
// 参数:
// target:
// target where the value is going to be injected
//
// 类型参数:
// T:
// ValueInjection(INoSourceValueInjection) used for that
//
// 返回结果:
// the modified target
public static object InjectFrom<T>(this object target) where T : INoSourceInjection, new();
//
// 摘要:
// Injects value into target without source
//
// 参数:
// target:
// the target where the value is going to be injected
//
// injection:
// the injection(INoSourceValueInjection) used to inject value
//
// 返回结果:
// the modified target
public static object InjectFrom(this object target, INoSourceInjection injection);
//
// 摘要:
// Inject properties with exact same name and type
public static object InjectFrom(this object target, object source);
}
}
| 2.返回顶部 |
| 3.返回顶部 |
| 4.返回顶部 |
| 5.返回顶部 |
| 6.返回顶部 |
![]() |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |
.NETFramework:StaticValueInjecter的更多相关文章
- .NETFramework:DateTimeOffset
ylbtech-.NETFramework:DateTimeOffset 表示一个时间点,通常相对于协调世界时(UTC)的日期和时间来表示. 1.程序集 mscorlib, Version=4.0.0 ...
- .NETFramework:Random
ylbtech-.NETFramework:Random 1.程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c ...
- .NETFramework:ConfigurationManager
ylbtech-.NETFramework:ConfigurationManager 1.程序集 System.Configuration, Version=4.0.0.0, Culture=neut ...
- .NETFramework:StringBuilder
ylbtech-.NETFramework:StringBuilder 1.程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken ...
- .NETFramework:WebClient
ylbtech-.NETFramework:WebClient 1.程序集 System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5 ...
- .NETFramework:Timers
ylbtech-.NETFramework:Timers 1.返回顶部 1. #region 程序集 System, Version=4.0.0.0, Culture=neutral, PublicK ...
- .NETFramework:Stream
ylbtech-.NETFramework:Stream 1.返回顶部 1. #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, Publi ...
- .NETFramework:HttpContext
ylbtech-.NETFramework:HttpContext 1.返回顶部 1. #region 程序集 System.Web, Version=4.0.0.0, Culture=neutral ...
- .NETFramework:Encoding
ylbtech-.NETFramework:Encoding 1.返回顶部 1. #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, Pub ...
随机推荐
- javascript 怎么操纵OGNL标签
吧ONGL标签放到html标签中,来操作html的标签就能够了 样例代码: html <div id="categoryid" style="display:non ...
- Python中的列表、元祖、字典
一.列表 一组有序项目的集合.可变的数据类型[可进行增删改查] 列表是以方括号"[]"包围的数据集合,不同成员以","分隔. 列表中能够包括不论什么数据类型,也 ...
- adb tcp 调试
su setprop service.adb.tcp.port 5555 stop adbd start adbd
- EasyCamera海康摄像机向EasyDarwin云平台推送音视频数据的缓存设计
本文转自EasyDarwin团队成员Alex的博客:http://blog.csdn.net/cai6811376 EasyCamera在向EasyDarwin云平台推送音视频数据时,有时一个I帧会很 ...
- C++ xml 解析器
C++的xml解析器有很多,这个知乎回答里有一个列表:https://www.zhihu.com/question/32046606 下面使用其中的RapidXml试试. 官方地址: https:// ...
- STM32 ~ STM32 TIM重映射
复用功能 没有重映射 部分重映射 完全重映射 TIM3_CH1 PA6 PB4 PC6 CH2 PA7 PB5 PC7 CH3 PB0 PB0 PC8 CH4 PB1 PB1 PC9 /**重映射 t ...
- go 文件上传
package main import ( "fmt" "io" "io/ioutil" "log" "net ...
- git删除某次提交(某个commit)的方法【转】
本文转载自:https://www.36nu.com/post/275 git删除某次提交(某个commit)的方法 疯狂的兔子 发表于 4个月前 阅读 536 收藏 0 推荐 0 评论 0 推荐收藏 ...
- Codeforces Round #385 (Div. 2) Hongcow Builds A Nation —— 图论计数
题目链接:http://codeforces.com/contest/745/problem/C C. Hongcow Builds A Nation time limit per test 2 se ...
- Nginx安装教程(Centos6.8)
1.安装gcc gcc-c++(如新环境,未安装请先安装 yum install -y gcc gcc-c++ 2.安装wget yum -y install wget 3.安装PCRE库 cd /h ...
