MonoMobile.Views.MemberData.RemoveNotifyCollectionChangedHandler C# (CSharp) Method

RemoveNotifyCollectionChangedHandler() public method

public RemoveNotifyCollectionChangedHandler ( object value, IHandleNotifyCollectionChanged handler ) : void
value object
handler IHandleNotifyCollectionChanged
return void
		public void RemoveNotifyCollectionChangedHandler(object value, IHandleNotifyCollectionChanged handler)
		{
			var notifyCollectionChanged = value as INotifyCollectionChanged;
			if (notifyCollectionChanged != null && handler != null)
			{
				notifyCollectionChanged.CollectionChanged -= handler.HandleNotifyCollectionChanged;
			}
		}