Beispiel #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="LazyValue"/> object
 /// </summary>
 public LazyValue(LazyValueCallback <TValue> lazyValue)
 {
     _value     = default(TValue);
     _lazyValue = lazyValue;
 }
 /// <summary>
 /// Creates a new instance of the <see cref="LoadDataEventArgs"/> class
 /// </summary>
 internal DataLoadedEventArgs(String uri, LazyValueCallback<byte[]> dataEval)
 {
     _uri = uri;
     _data = new LazyValue<byte[]>(dataEval);
 }
 /// <summary>
 /// Creates a new instance of the <see cref="LoadDataEventArgs"/> class
 /// </summary>
 internal DataLoadedEventArgs(String uri, LazyValueCallback <byte[]> dataEval)
 {
     _uri  = uri;
     _data = new LazyValue <byte[]>(dataEval);
 }