本文整理汇总了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();
}
示例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();
}
示例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();
}