本文整理汇总了C#中MAPIInspector.Parsers.FastTransferStream类的典型用法代码示例。如果您正苦于以下问题:C# FastTransferStream类的具体用法?C# FastTransferStream怎么用?C# FastTransferStream使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FastTransferStream类属于MAPIInspector.Parsers命名空间,在下文中一共展示了FastTransferStream类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Parse
/// <summary>
/// Parse fields from a FastTransferStream.
/// </summary>
/// <param name="stream">A FastTransferStream.</param>
public override void Parse(FastTransferStream stream)
{
List<ProgressPerMessageChange> InterProgressPerMessageChanges = new List<ProgressPerMessageChange>();
if (ProgressTotal.Verify(stream))
{
this.ProgressTotal = new ProgressTotal(stream);
}
while (ProgressPerMessageChange.Verify(stream))
{
InterProgressPerMessageChanges.Add(new ProgressPerMessageChange(stream));
}
this.ProgressPerMessageChanges = InterProgressPerMessageChanges.ToArray();
if (Deletions.Verify(stream))
{
this.Deletions = new Deletions(stream);
}
if (ReadStateChanges.Verify(stream))
{
this.ReadStateChanges = new ReadStateChanges(stream);
}
this.State = new State(stream);
if (stream.ReadMarker() == Markers.IncrSyncEnd)
{
this.EndMarker = Markers.IncrSyncEnd;
}
else
{
throw new Exception("The ContentsSync cannot be parsed successfully. The IncrSyncEnd Marker is missed.");
}
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:38,代码来源:MSOXCFXICS.cs
示例2: EmbeddedMessage
/// <summary>
/// Initializes a new instance of the EmbeddedMessage class.
/// </summary>
/// <param name="stream">The stream.</param>
public EmbeddedMessage(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例3: ParseFrom
/// <summary>
/// Parse a DispidNamedPropInfo instance from a FastTransferStream.
/// </summary>
/// <param name="stream">A FastTransferStream.</param>
/// <returns>A DispidNamedPropInfo instance.</returns>
public static new LexicalBase ParseFrom(FastTransferStream stream)
{
return new DispidNamedPropInfo(stream);
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:9,代码来源:MSOXCFXICS.cs
示例4: Verify
/// <summary>
/// Verify that a stream's current position contains a serialized DispidNamedPropInfo.
/// </summary>
/// <param name="stream">A FastTransferStream</param>
/// <returns>If the stream's current position contains a serialized DispidNamedPropInfo, return true, else false</returns>
public static bool Verify(FastTransferStream stream)
{
return stream.Verify(0x00, Guid.Empty.ToByteArray().Length);
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:9,代码来源:MSOXCFXICS.cs
示例5: VarPropTypePropValue
/// <summary>
/// Initializes a new instance of the VarPropTypePropValue class.
/// </summary>
/// <param name="stream">A FastTransferStream.</param>
public VarPropTypePropValue(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例6: SubFolderNoDelProps
/// <summary>
/// Initializes a new instance of the SubFolderNoDelProps class.
/// </summary>
/// <param name="stream">A FastTransferStream.</param>
public SubFolderNoDelProps(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例7: State
/// <summary>
/// Initializes a new instance of the State class.
/// </summary>
/// <param name="stream">The stream.</param>
public State(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例8: Deletions
/// <summary>
/// Initializes a new instance of the Deletions class.
/// </summary>
/// <param name="stream">The stream.</param>
public Deletions(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例9: DispidNamedPropInfo
/// <summary>
/// Initializes a new instance of the DispidNamedPropInfo class.
/// </summary>
/// <param name="stream">A FastTransferStream</param>
public DispidNamedPropInfo(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例10: SyncMessagePartialPropList
/// <summary>
/// Initializes a new instance of the SyncMessagePartialPropList class.
/// </summary>
/// <param name="stream">The stream.</param>
public SyncMessagePartialPropList(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
示例11: SyntacticalBase
/// <summary>
/// Initializes a new instance of the SyntacticalBase class.
/// </summary>
/// <param name="stream">A FastTransferStream.</param>
protected SyntacticalBase(FastTransferStream stream)
{
this.PreviousPosition = stream.Position;
if (stream != null && stream.Length > 0)
{
this.Parse(stream);
}
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:12,代码来源:MSOXCFXICS.cs
示例12: TopFolder
/// <summary>
/// Initializes a new instance of the TopFolder class.
/// </summary>
/// <param name="stream">A FastTransferStream.</param>
public TopFolder(FastTransferStream stream)
: base(stream)
{
}
开发者ID:jiaxiaoyan23,项目名称:MAPI-Inspector-for-Fiddler,代码行数:8,代码来源:MSOXCFXICS.cs
注:本文中的MAPIInspector.Parsers.FastTransferStream类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论