internal void OnSharedDataChanged(WritableSharedDataItem[] addedItems, WritableSharedDataItem[] modifiedItems, WritableSharedDataItem[] removedItems)
{
ISnapInPlatform snapInPlatform = this.SnapIn.SnapInPlatform;
if (snapInPlatform == null)
{
throw Microsoft.ManagementConsole.Internal.Utility.CreateClassNotInitializedException("SnapIn", "OnSharedDataChanged");
}
UpdateViewSharedDataCommand command = new UpdateViewSharedDataCommand();
command.ViewInstanceId = this.ViewInstanceId;
command.UpdatedSharedData = this.CreateSharedDataObjectUpdate(addedItems, modifiedItems, removedItems);
snapInPlatform.ProcessCommand(command);
}