Пример #1
0
 /// <inheritdoc />
 protected override void DecodeImpl(BinaryReader reader, long endOfStream)
 {
     this.Icon = (BitmapFontIcon)GetInteger(reader);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IconPayload"/> class.
 /// Create a Icon payload for the specified icon.
 /// </summary>
 /// <param name="icon">The Icon.</param>
 public IconPayload(BitmapFontIcon icon)
 {
     this.Icon = icon;
 }