Exemple #1
0
 /// <summary>
 /// Removes the permissions callback.
 /// </summary>
 /// <param name="permissionsEventHandler">Permissions event handler.</param>
 public void RemovePermissionsCallback(PermissionsEvent permissionsEventHandler)
 {
     if (permissionsEventHandler != null)
     {
         m_permissionEvent -= permissionsEventHandler;
     }
 }
Exemple #2
0
 /// <summary>
 /// Registers the permissions callback.
 /// </summary>
 /// <param name="permissionsEventHandler">Permissions event handler.</param>
 public void RegisterPermissionsCallback(PermissionsEvent permissionsEventHandler)
 {
     if (permissionsEventHandler != null)
     {
         m_permissionEvent += permissionsEventHandler;
     }
 }
 /// <summary>
 /// Unregister from the permission callbacks.
 ///
 /// See TangoApplication.RegisterPermissionsCallback for more details.
 /// </summary>
 /// <param name="permissionsEventHandler">Event to remove.</param>
 public void UnregisterPermissionsCallback(PermissionsEvent permissionsEventHandler)
 {
     if (permissionsEventHandler != null)
     {
         PermissionEvent -= permissionsEventHandler;
     }
 }
 /// <summary>
 /// Removes the permissions callback.
 /// </summary>
 /// <param name="permissionsEventHandler">Permissions event handler.</param>
 public void RemovePermissionsCallback(PermissionsEvent permissionsEventHandler)
 {
     if (permissionsEventHandler != null)
     {
         m_permissionEvent -= permissionsEventHandler;
     }
 }
 /// <summary>
 /// Registers the permissions callback.
 /// </summary>
 /// <param name="permissionsEventHandler">Permissions event handler.</param>
 public void RegisterPermissionsCallback(PermissionsEvent permissionsEventHandler)
 {
     if (permissionsEventHandler != null)
     {
         m_permissionEvent += permissionsEventHandler;
     }
 }
Exemple #6
0
 /// <summary>
 /// Unregister from the permission callbacks.
 /// 
 /// See TangoApplication.RegisterPermissionsCallback for more details.
 /// </summary>
 /// <param name="permissionsEventHandler">Event to remove.</param>
 private void _UnregisterPermissionsCallback(PermissionsEvent permissionsEventHandler)
 {
     if (permissionsEventHandler != null)
     {
         PermissionEvent -= permissionsEventHandler;
     }
 }