File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,22 @@ public TimeSpan SleepInterval
69
69
set { this . sleepInterval = value ; }
70
70
}
71
71
72
+ /// <summary>
73
+ /// Gets the timeout interval before which this component must be considered loaded.
74
+ /// </summary>
75
+ protected TimeSpan Timeout
76
+ {
77
+ get { return this . timeout ; }
78
+ }
79
+
80
+ /// <summary>
81
+ /// Gets the clock object providing timing for monitoring the load status of this component.
82
+ /// </summary>
83
+ protected IClock Clock
84
+ {
85
+ get { return this . clock ; }
86
+ }
87
+
72
88
/// <summary>
73
89
/// Ensures that the component is currently loaded.
74
90
/// </summary>
@@ -125,7 +141,10 @@ protected virtual void HandleErrors()
125
141
// no-op by default
126
142
}
127
143
128
- private void Wait ( )
144
+ /// <summary>
145
+ /// Waits between polls of the load status of this component.
146
+ /// </summary>
147
+ protected virtual void Wait ( )
129
148
{
130
149
Thread . Sleep ( this . sleepInterval ) ;
131
150
}
You can’t perform that action at this time.
0 commit comments