/// <summary> /// Construct a new <c>AutoRefreshingNodeDetails</c> class that automatically /// refreshes the details on every query for a set number of queries. /// </summary> /// <remarks> /// When <c>autoRefreshCount</c> is specified /// </remarks> /// <param name="details">The underlying details implementation to use.</param> /// <param name="autoRefreshCount"> /// The minimum number of future queries in which to auto refresh. -1 means infininty. /// </param> public AutoRefreshingNodeDetails(INodeDetails details, int autoRefreshCount) : base(details) { if (autoRefreshCount < -1) { throw new ArgumentOutOfRangeException("Can't be less than -1", "autoRefreshCount"); } m_OrignalAutoRefreshCount = m_AutoRefreshCount = autoRefreshCount; }
public AutoRefreshingFileDetails(INodeDetails details, int autoRefreshCount) : base(details, autoRefreshCount) { }
/// <summary> /// Construct a new <c>AutoRefreshingNodeDetails</c> class that automatically /// refreshes the details on every query. /// </summary> /// <param name="details">The underlying details implementation to use.</param> public AutoRefreshingNodeDetails(INodeDetails details) : this(details, -1) { }
public NodeDetailsWrapper(INodeDetails innerMutableNodeAttributes) { m_Wrappee = innerMutableNodeAttributes; }