Esempio n. 1
0
 public Fiber(IFrameFactory <C> factory, IWaitFactory <C> waits)
 {
     SetField.NotNull(out this.frames, nameof(factory), factory);
     SetField.NotNull(out this.waits, nameof(waits), waits);
 }
Esempio n. 2
0
 public SurrogateSelector(IReadOnlyList <ISurrogateProvider> providers)
 {
     SetField.NotNull(out this.providers, nameof(providers), providers);
 }
Esempio n. 3
0
        public static void NotNullFrom <T>(out T field, string name, SerializationInfo info) where T : class
        {
            var value = (T)info.GetValue(name, typeof(T));

            SetField.NotNull(out field, name, value);
        }
Esempio n. 4
0
 public ErrorResilientStore(IStore <T> store)
 {
     SetField.NotNull(out this.store, nameof(store), store);
 }
Esempio n. 5
0
 public SurrogateLogDecorator(ISurrogateProvider inner, TraceListener trace)
 {
     SetField.NotNull(out this.inner, nameof(inner), inner);
     SetField.NotNull(out this.trace, nameof(trace), trace);
 }
Esempio n. 6
0
 public FormatterStore(Stream stream, IFormatter formatter)
 {
     SetField.NotNull(out this.stream, nameof(stream), stream);
     SetField.NotNull(out this.formatter, nameof(formatter), formatter);
 }
Esempio n. 7
0
 public FactoryStore(IStore <T> store, Func <T> factory)
 {
     SetField.NotNull(out this.store, nameof(store), store);
     SetField.NotNull(out this.factory, nameof(factory), factory);
 }
Esempio n. 8
0
 public Releaser(LocalMutualExclusion <T> owner, T item)
 {
     SetField.NotNull(out this.owner, nameof(owner), owner);
     SetField.NotNull(out this.item, nameof(item), item);
 }
Esempio n. 9
0
 public LoopMethod(Rest <C, T> rest, int count)
 {
     SetField.NotNull(out this.rest, nameof(rest), rest);
     this.count = count;
 }
Esempio n. 10
0
 public VoidMethod(Rest <C, T> rest)
 {
     SetField.NotNull(out this.rest, nameof(rest), rest);
 }