public AsyncFolderResult(CustomAsyncFolder folder)
 {
     this.Folder = folder;
     this.FWaitHandle = new ManualResetEvent(true);
     this.FCompletedSynchronously = true;
 }
 public AsyncFolderResult(CustomAsyncFolder folder, WaitHandle waitHandle)
 {
     this.Folder = folder;
     this.FWaitHandle = waitHandle;
 }
 private void Write194_CustomAsyncFolder(string n, string ns, CustomAsyncFolder o, bool isNullable, bool needType)
 {
     if (o == null)
     {
         if (isNullable)
         {
             base.WriteNullTagLiteral(n, ns);
         }
     }
     else if (!needType && (o.GetType() != typeof(CustomAsyncFolder)))
     {
         throw base.CreateUnknownTypeException(o);
     }
 }