예제 #1
0
파일: Dependency.cs 프로젝트: HelpOrMe/Ject
        protected Dependency(DependencyTranslateInfo info)
        {
            Writer      = info.Writer;
            Description = info.Description;

            Writer.Rewrite(this);
        }
예제 #2
0
 public FactoryEnumeratorDependency(DependencyTranslateInfo info,
                                    Func <ISignedContract, IEnumerator> factoryFunc) : base(info)
 {
     _factoryFunc = factoryFunc;
 }
예제 #3
0
 public CastedDependency(DependencyTranslateInfo info, Type type) : base(info)
 {
     Description.ImplementTypes.Add(type);
 }
예제 #4
0
 public FactoryFunctionDependency(DependencyTranslateInfo info,
                                  Func <ISignedContract, object> factoryFunc) : base(info)
 {
     _factoryFunc = factoryFunc;
 }
예제 #5
0
 public LazyFunctionDependency(DependencyTranslateInfo info, Func <ISignedContract, object> lazyFunc)
     : base(info)
 {
     _lazyFunc = lazyFunc;
 }
예제 #6
0
 public NonCastedDependency(DependencyTranslateInfo info) : base(info)
 {
 }