public bool CanDeedParcel(UUID user, ILandObject parcel) { DeedParcelHandler handler = OnDeedParcel; if (handler != null) { Delegate[] list = handler.GetInvocationList(); return(list.Cast <DeedParcelHandler>().All(h => h(user, parcel, m_scene) != false)); } return(true); }
public bool CanDeedParcel(UUID user, ILandObject parcel) { DeedParcelHandler handler = OnDeedParcel; if (handler != null) { Delegate[] list = handler.GetInvocationList(); foreach (DeedParcelHandler h in list) { if (h(user, parcel, m_scene) == false) { return(false); } } } return(true); }