Example #1
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="part"></param>
        /// <param name="piece"></param>
        public Sheet(global::Zebra.StandardLibrary.Part part, global::Zebra.StandardLibrary.Piece piece)
        {
            if (part == null)
            {
                throw new ArgumentNullException(nameof(part));
            }
            this.Part = part;

            if (piece == null)
            {
                throw new ArgumentNullException(nameof(piece));
            }
            this.Piece = piece;


            Init();
        }
Example #2
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="piece"></param>
        /// <param name="setlist"></param>
        public SetlistItem(global::Zebra.StandardLibrary.Piece piece, global::Zebra.StandardLibrary.Setlist setlist)
        {
            if (piece == null)
            {
                throw new ArgumentNullException(nameof(piece));
            }
            this.Piece = piece;

            if (setlist == null)
            {
                throw new ArgumentNullException(nameof(setlist));
            }
            this.Setlist = setlist;


            Init();
        }
Example #3
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="part"></param>
 /// <param name="piece"></param>
 public static Sheet Create(global::Zebra.StandardLibrary.Part part, global::Zebra.StandardLibrary.Piece piece)
 {
     return(new Sheet(part, piece));
 }
Example #4
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="piece"></param>
 /// <param name="setlist"></param>
 public static SetlistItem Create(global::Zebra.StandardLibrary.Piece piece, global::Zebra.StandardLibrary.Setlist setlist)
 {
     return(new SetlistItem(piece, setlist));
 }