当前位置: 首页>>代码示例>>C#>>正文


C# Error.EDAMNotFoundException类代码示例

本文整理汇总了C#中Evernote.EDAM.Error.EDAMNotFoundException的典型用法代码示例。如果您正苦于以下问题:C# Evernote.EDAM.Error.EDAMNotFoundException类的具体用法?C# Evernote.EDAM.Error.EDAMNotFoundException怎么用?C# Evernote.EDAM.Error.EDAMNotFoundException使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Evernote.EDAM.Error.EDAMNotFoundException类属于命名空间,在下文中一共展示了Evernote.EDAM.Error.EDAMNotFoundException类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Read

 public void Read (TProtocol iprot)
 {
   TField field;
   iprot.ReadStructBegin();
   while (true)
   {
     field = iprot.ReadFieldBegin();
     if (field.Type == TType.Stop) { 
       break;
     }
     switch (field.ID)
     {
       case 0:
         if (field.Type == TType.Struct) {
           Success = new PublicUserInfo();
           Success.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 1:
         if (field.Type == TType.Struct) {
           NotFoundException = new Evernote.EDAM.Error.EDAMNotFoundException();
           NotFoundException.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 2:
         if (field.Type == TType.Struct) {
           SystemException = new Evernote.EDAM.Error.EDAMSystemException();
           SystemException.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 3:
         if (field.Type == TType.Struct) {
           UserException = new Evernote.EDAM.Error.EDAMUserException();
           UserException.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       default: 
         TProtocolUtil.Skip(iprot, field.Type);
         break;
     }
     iprot.ReadFieldEnd();
   }
   iprot.ReadStructEnd();
 }
开发者ID:phillco,项目名称:HellForge,代码行数:52,代码来源:UserStore.cs

示例2: Read

 public void Read (TProtocol iprot)
 {
   TField field;
   iprot.ReadStructBegin();
   while (true)
   {
     field = iprot.ReadFieldBegin();
     if (field.Type == TType.Stop) { 
       break;
     }
     switch (field.ID)
     {
       case 0:
         if (field.Type == TType.List) {
           {
             Success = new List<Evernote.EDAM.Type.LinkedNotebook>();
             TList _list150 = iprot.ReadListBegin();
             for( int _i151 = 0; _i151 < _list150.Count; ++_i151)
             {
               Evernote.EDAM.Type.LinkedNotebook _elem152 = new Evernote.EDAM.Type.LinkedNotebook();
               _elem152 = new Evernote.EDAM.Type.LinkedNotebook();
               _elem152.Read(iprot);
               Success.Add(_elem152);
             }
             iprot.ReadListEnd();
           }
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 1:
         if (field.Type == TType.Struct) {
           UserException = new Evernote.EDAM.Error.EDAMUserException();
           UserException.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 2:
         if (field.Type == TType.Struct) {
           NotFoundException = new Evernote.EDAM.Error.EDAMNotFoundException();
           NotFoundException.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 3:
         if (field.Type == TType.Struct) {
           SystemException = new Evernote.EDAM.Error.EDAMSystemException();
           SystemException.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       default: 
         TProtocolUtil.Skip(iprot, field.Type);
         break;
     }
     iprot.ReadFieldEnd();
   }
   iprot.ReadStructEnd();
 }
开发者ID:Glympse,项目名称:evernote-sdk-csharp,代码行数:62,代码来源:NoteStore.cs

示例3: Read

 public void Read(TProtocol iprot)
 {
     TField field;
     iprot.ReadStructBegin();
     while (true)
     {
       field = iprot.ReadFieldBegin();
       if (field.Type == TType.Stop) {
     break;
       }
       switch (field.ID)
       {
     case 0:
       if (field.Type == TType.Struct) {
     this.success = new Evernote.EDAM.Type.Notebook();
     this.success.Read(iprot);
     this.__isset.success = true;
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     case 1:
       if (field.Type == TType.Struct) {
     this.userException = new Evernote.EDAM.Error.EDAMUserException();
     this.userException.Read(iprot);
     this.__isset.userException = true;
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     case 2:
       if (field.Type == TType.Struct) {
     this.systemException = new Evernote.EDAM.Error.EDAMSystemException();
     this.systemException.Read(iprot);
     this.__isset.systemException = true;
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     case 3:
       if (field.Type == TType.Struct) {
     this.notFoundException = new Evernote.EDAM.Error.EDAMNotFoundException();
     this.notFoundException.Read(iprot);
     this.__isset.notFoundException = true;
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     default:
       TProtocolUtil.Skip(iprot, field.Type);
       break;
       }
       iprot.ReadFieldEnd();
     }
     iprot.ReadStructEnd();
 }
开发者ID:trayburn,项目名称:EverGTD,代码行数:56,代码来源:NoteStore.cs


注:本文中的Evernote.EDAM.Error.EDAMNotFoundException类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。