Class ServiceSearchQuery
Provides parameters for a query that selects services from the registry.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ServiceSearchQuery : SearchQuery, IValidator
Constructors
ServiceSearchQuery()
Declaration
public ServiceSearchQuery()
Properties
IsVirtual
Gets or sets flag indicating that only virtual or only physical services must be retrieved. If not set, all services are retrieved.
Declaration
public bool? IsVirtual { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Keywords
Gets or sets the semicolon-separated list of keywords or name/value tags that services must have. The keywords may include wildcards. Returned services must match all keywords and values in the list.
Declaration
public string Keywords { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
soap;Weather*;1.0;version=1.0;owner=jsmith
Kind
Gets or sets the kind of service to be returned (SOAP, REST, OpenData). If not set, the kinds are not checked.
Declaration
public ServiceKind? Kind { get; set; }
Property Value
Type | Description |
---|---|
Nullable<ServiceKind> |
Methods
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |