Microsoft.ManagementConsole.View.OnSharedDataChanged C# (CSharp) Method

OnSharedDataChanged() private method

private OnSharedDataChanged ( WritableSharedDataItem addedItems, WritableSharedDataItem modifiedItems, WritableSharedDataItem removedItems ) : void
addedItems WritableSharedDataItem
modifiedItems WritableSharedDataItem
removedItems WritableSharedDataItem
return void
        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);
        }