public AdaptiveBlockImageConsumer(AdaptiveBlockImage image, AdaptiveBlockConsumerProperties properties)
 {
     Image      = image;
     Properties = properties;
 }
 public AdaptiveBlockContentConsumer(AdaptiveBlockContent content, AdaptiveBlockConsumerProperties properties)
 {
     Content    = content;
     Properties = properties;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Note that the block WILL be modified.
 /// </summary>
 /// <param name="block"></param>
 /// <param name="properties"></param>
 public AdaptiveBlockConsumer(AdaptiveBlock block, AdaptiveBlockConsumerProperties properties)
 {
     Block     = block;
     m_content = block.View?.Content;
 }