Beispiel #1
0
        private static ShapeBuilderBase <TShape> PassThroughNonNull(ShapeBuilderBase <TShape> builder)
        {
            if (builder == null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

            return(builder);
        }
Beispiel #2
0
 protected ShapeBuilderBase(ShapeBuilderBase <TShape> builder)
     : this(PassThroughNonNull(builder).Shape)
 {
 }