本文整理匯總了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 );
}