示例#1
0
        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);
 }
 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)
 {
 }