Example #1
0
 /// <summary>
 /// Sets a delegate to handle requests from the target app.
 /// </summary>
 /// <param name="formatId">Specifies the format of the data.
 /// We recommend that you set this value by using the StandardDataFormats class.</param>
 /// <param name="delayRenderer">A delegate that is responsible for processing requests from a target app.</param>
 public void SetDataProvider(string formatId, DataProviderHandler delayRenderer)
 {
     if (data.ContainsKey(formatId))
     {
         data[formatId] = delayRenderer;
     }
     else
     {
         data.Add(formatId, delayRenderer);
     }
 }
 public void SetDataProvider( string formatId, DataProviderHandler delayRenderer )
 {
     adapted.SetDataProvider( formatId, delayRenderer );
 }