/// <summary>
 /// Initializes a new instance of the <see cref="CollectionState"/> class.
 /// </summary>
 /// <param name="uri">The URI where the target collection resides.</param>
 /// <param name="stateFactory">The state factory to use for state instantiation.</param>
 private CollectionState(Uri uri, StateFactory stateFactory)
     : this(uri, stateFactory.LoadDefaultClient(uri), stateFactory)
 {
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecordState"/> class.
 /// </summary>
 /// <param name="uri">The URI where the target resides.</param>
 /// <param name="stateFactory">The state factory to use for state instantiation.</param>
 private RecordState(Uri uri, StateFactory stateFactory)
     : this(uri, stateFactory.LoadDefaultClient(uri), stateFactory)
 {
 }