NSTableViewBinding.TestWindowController.observeValueForKeyPath C# (CSharp) Method

observeValueForKeyPath() private method

private observeValueForKeyPath ( NSString keyPath, NSArrayController ofObject, NSDictionary change, IntPtr context ) : void
keyPath NSString
ofObject NSArrayController
change NSDictionary
context IntPtr
return void
		private void observeValueForKeyPath(NSString keyPath, NSArrayController ofObject, NSDictionary change, IntPtr context)
		{
			Console.Write(String.Format("Table selection changed: keyPath = {0} : ",
			                                keyPath.ToString()));
			for(uint idx = 0; idx < ofObject.SelectionIndexes.Count; idx++)
			{
				Console.Write(ofObject.SelectionIndexes.IndexGreaterThanOrEqual(idx) + " ");
			}
			Console.WriteLine();
		}