예제 #1
0
        private void OnObjectChangedChunk(object sender, NotificationWithDataEventArgs <v12.Datatypes.Object.SubscriptionInfo, v12.Protocol.StoreNotification.ObjectChanged, v12.Protocol.StoreNotification.Chunk> args)
        {
            if (args.Data == null)
            {
                return;
            }

            Console.WriteLine($"Chunk received for {args.Data.Body.BlobId} with {args.Data.Body.Data?.Length ?? 0} bytes.");
        }
예제 #2
0
 /// <summary>
 /// Handles the Chunk message from a store when sent as part of an ObjectChanged message.
 /// </summary>
 /// <param name="args">The <see cref="NotificationWithDataEventArgs{SubscriptionInfo, ObjectChanged, Chunk}"/> instance containing the event data.</param>
 protected virtual void HandleObjectChangedChunk(NotificationWithDataEventArgs <SubscriptionInfo, ObjectChanged, Chunk> args)
 {
 }