Exemple #1
0
        protected Dependency(DependencyTranslateInfo info)
        {
            Writer      = info.Writer;
            Description = info.Description;

            Writer.Rewrite(this);
        }
Exemple #2
0
 public FactoryEnumeratorDependency(DependencyTranslateInfo info,
                                    Func <ISignedContract, IEnumerator> factoryFunc) : base(info)
 {
     _factoryFunc = factoryFunc;
 }
Exemple #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;
 }
Exemple #5
0
 public LazyFunctionDependency(DependencyTranslateInfo info, Func <ISignedContract, object> lazyFunc)
     : base(info)
 {
     _lazyFunc = lazyFunc;
 }
Exemple #6
0
 public NonCastedDependency(DependencyTranslateInfo info) : base(info)
 {
 }