本文整理汇总了C#中Server.Engines.Reports.PersistanceReader.GetChild方法的典型用法代码示例。如果您正苦于以下问题:C# PersistanceReader.GetChild方法的具体用法?C# PersistanceReader.GetChild怎么用?C# PersistanceReader.GetChild使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Server.Engines.Reports.PersistanceReader
的用法示例。
在下文中一共展示了PersistanceReader.GetChild方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
while ( ip.HasChild )
{
m_Values.Add( ip.GetChild() as ItemValue );
}
}
示例2: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
while ( ip.HasChild )
{
m_Snapshots.Add( ip.GetChild() as Snapshot );
}
}
示例3: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
while ( ip.HasChild )
{
m_Items.Add( ip.GetChild() as ChartItem );
}
}
示例4: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
while ( ip.HasChild )
{
m_Children.Add( ip.GetChild() );
}
}
示例5: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
while ( ip.HasChild )
{
PersistableObject child = ip.GetChild();
if ( child is ReportColumn )
m_Columns.Add( (ReportColumn) child );
else if ( child is ReportItem )
m_Items.Add( (ReportItem) child );
}
}
示例6: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
DateTime min = DateTime.UtcNow - TimeSpan.FromDays( 8.0 );
while ( ip.HasChild )
{
PersistableObject obj = ip.GetChild();
if ( obj is PageInfo )
{
PageInfo pageInfo = obj as PageInfo;
pageInfo.UpdateResolver();
if ( pageInfo.TimeSent >= min || pageInfo.TimeResolved >= min )
{
m_Pages.Add( pageInfo );
pageInfo.History = this;
}
else
{
pageInfo.Sender = null;
pageInfo.Resolver = null;
}
}
else if ( obj is QueueStatus )
{
QueueStatus queueStatus = obj as QueueStatus;
if ( queueStatus.TimeStamp >= min )
m_QueueStats.Add( queueStatus );
}
}
}
示例7: DeserializeChildren
public override void DeserializeChildren( PersistanceReader ip )
{
while ( ip.HasChild )
m_Responses.Add( ip.GetChild() as ResponseInfo );
}