示例#1
0
        protected CustomReflectionContext(ReflectionContext source)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            _sourceContext = source;
            _projector     = new ReflectionContextProjector(this);
        }
示例#2
0
        protected CustomReflectionContext(ReflectionContext source)
        {
            if (source is null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            SourceContext = source;
            _projector    = new ReflectionContextProjector(this);
        }
示例#3
0
 protected CustomReflectionContext()
 {
     _projector = new ReflectionContextProjector(this);
 }
 protected CustomReflectionContext(ReflectionContext source)
 {
     SourceContext = source ?? throw new ArgumentNullException("source");
     _projector    = new ReflectionContextProjector(this);
 }