Exemple #1
0
 private void SetInnerType(HarvestType ContentField)
 {
     this.ContentField=((HarvestType)(XTypedServices.GetCloneIfRooted(ContentField)));
     XTypedServices.SetName(this, this.ContentField);
 }
Exemple #2
0
 /// <summary>
 /// <para>
 /// 
 ///         Requests that the catalogue attempt to harvest a resource from some 
 ///         network location identified by the source URL.
 ///
 ///         Source          - a URL from which the resource is retrieved
 ///         ResourceType    - normally a URI that specifies the type of the resource
 ///                           (DCMES v1.1) being harvested if it is known.
 ///         ResourceFormat  - a media type indicating the format of the 
 ///                           resource being harvested.  The default is 
 ///                           "application/xml".
 ///         ResponseHandler - a reference to some endpoint to which the 
 ///                           response shall be forwarded when the
 ///                           harvest operation has been completed
 ///         HarvestInterval - an interval expressed using the ISO 8601 syntax; 
 ///                           it specifies the interval between harvest 
 ///                           attempts (e.g., P6M indicates an interval of 
 ///                           six months).
 ///         
 /// </para>
 /// </summary>
 public Harvest(HarvestType content)
 {
     SetInnerType(content);
 }