コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MosaicInfo"/> class.
 /// </summary>
 /// <param name="id">The identifier.</param>
 /// <param name="creator">The creator.</param>
 /// <param name="description">The description.</param>
 /// <param name="mosaicId">The mosaic identifier.</param>
 /// <param name="properties">The properties.</param>
 /// <param name="levy">The levy.</param>
 public MosaicInfo(int id, PublicAccount creator, string description, MosaicId mosaicId, MosaicProperties properties, Mosaic levy)
 {
     Id          = id;
     Creator     = creator;
     Description = description;
     MosaicId    = mosaicId;
     Properties  = properties;
     Levy        = levy;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MosaicLevy"/> class.
 /// </summary>
 /// <param name="mosaic">The mosaic.</param>
 /// <param name="feeType">Type of the fee.</param>
 /// <param name="recipient">The recipient.</param>
 public MosaicLevy(Mosaic mosaic, int feeType, Address recipient)
 {
     Mosaic        = mosaic;
     FeeType       = feeType;
     LevyRecipient = recipient;
 }