Performs a lock that is "name" specific  
 More...
 | 
| static void  | Lock (string name, Action< long > method) | 
|   | Locks the method based on unique name  More...
  | 
|   | 
| static async Task  | LockAsync (string name, Func< Task > method) | 
|   | Locks the method based on unique name  More...
  | 
|   | 
| static T  | Lock< T > (string name, Func< long, T > method) | 
|   | Locks the method based on unique name  More...
  | 
|   | 
| static async Task< T >  | LockAsync< T > (string name, Func< Task< T >> method) | 
|   | Locks the method based on unique name  More...
  | 
|   | 
Performs a lock that is "name" specific 
 
◆ Lock()
  
  
      
        
          | static void Sphyrnidae.Common.Utilities.NamedLocker.Lock  | 
          ( | 
          string  | 
          name,  | 
         
        
           | 
           | 
          Action< long >  | 
          method  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Locks the method based on unique name 
- Parameters
 - 
  
    | name | Unique name which acts as a lock | 
    | method | The locked method that is locked by name | 
  
   
 
 
◆ Lock< T >()
Locks the method based on unique name 
- Template Parameters
 - 
  
    | T | The return type of the method | 
  
   
- Parameters
 - 
  
    | name | Unique name which acts as a lock | 
    | method | The locked method that is locked by name | 
  
   
- Returns
 - Whatever the method returns
 
 
 
◆ LockAsync()
  
  
      
        
          | static async Task Sphyrnidae.Common.Utilities.NamedLocker.LockAsync  | 
          ( | 
          string  | 
          name,  | 
         
        
           | 
           | 
          Func< Task >  | 
          method  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Locks the method based on unique name 
- Parameters
 - 
  
    | name | Unique name which acts as a lock | 
    | method | The locked method that is locked by name | 
  
   
 
 
◆ LockAsync< T >()
Locks the method based on unique name 
- Template Parameters
 - 
  
    | T | The return type of the method | 
  
   
- Parameters
 - 
  
    | name | Unique name which acts as a lock | 
    | method | The locked method that is locked by name | 
  
   
- Returns
 - Whatever the method returns
 
 
 
The documentation for this class was generated from the following file:
- C:/Users/dougb/Desktop/Sphyrnidae/New/Common/Common/Utilities/NamedLocker.cs