Example #1
0
 public bool Initialize()
 {
     if (InitializeFunc == null)
     {
         return(true);
     }
     return(InitializeFunc.Invoke().ConfigureAwait(false).GetAwaiter().GetResult());
 }
Example #2
0
 public bool Initialize()
 {
     if (InitializeFunc == null)
     {
         return(true);
     }
     return(InitializeFunc.Invoke());
 }