public static void unregisterContentUnpublishListener(IContentUnpublishListener listener) { if (m_contentUnpublishListeners.Contains(listener)) { m_contentUnpublishListeners.Remove(listener); } }
public static void registerContentUnpublishListener(IContentUnpublishListener listener) { if (!m_contentUnpublishListeners.Contains(listener)) { m_contentUnpublishListeners.Add(listener); } }