Beispiel #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);
 }
 public SurrogateSelector(IReadOnlyList <ISurrogateProvider> providers)
 {
     SetField.NotNull(out this.providers, nameof(providers), providers);
 }
Beispiel #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);
        }
Beispiel #4
0
 public ErrorResilientStore(IStore <T> store)
 {
     SetField.NotNull(out this.store, nameof(store), store);
 }
 public SurrogateLogDecorator(ISurrogateProvider inner, TraceListener trace)
 {
     SetField.NotNull(out this.inner, nameof(inner), inner);
     SetField.NotNull(out this.trace, nameof(trace), trace);
 }
Beispiel #6
0
 public FormatterStore(Stream stream, IFormatter formatter)
 {
     SetField.NotNull(out this.stream, nameof(stream), stream);
     SetField.NotNull(out this.formatter, nameof(formatter), formatter);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #9
0
 public LoopMethod(Rest <C, T> rest, int count)
 {
     SetField.NotNull(out this.rest, nameof(rest), rest);
     this.count = count;
 }
Beispiel #10
0
 public VoidMethod(Rest <C, T> rest)
 {
     SetField.NotNull(out this.rest, nameof(rest), rest);
 }