You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactored StringConditions, CharConditions, CharCompoundConditions, CharMultiConditionParser, to sub-class instead of weird function parameters as sub-classes. Added name() to ParserCondition. Added test for parsing IntermMethod.
Copy file name to clipboardexpand all lines: rsc/csharp/ParserExamples/Services/ITrackSearchService.cs
+1
Original file line number
Diff line number
Diff line change
@@ -0,0 +1 @@
1
+
usingSystem.ServiceModel;usingSystem.ServiceModel.Web;usingParserExamples.Models;usingParserExamples.Searching;namespaceParserExamples.Services{/// <summary>/// This interface provides the contract for track searching./// </summary>/// <remarks>/// Implementations are expected to be effectively thread-safe./// </remarks>[ServiceContract]publicinterfaceITrackSearchService{/// <summary>/// Searches tracks./// </summary>/// <param name="criteria">The search criteria</param>/// <returns>The search result</returns>[OperationContract][WebInvoke(Method="POST",UriTemplate="/TrackSearch",RequestFormat=WebMessageFormat.Json,ResponseFormat=WebMessageFormat.Json)][TransactionFlow(TransactionFlowOption.Allowed)]SearchResult<TrackInfo>Search(TrackSearchCriteriacriteria){;}/// <summary>/// Searches tracks that have past due date./// </summary>/// <param name="albumName">The album name</param>/// <returns>The search result</returns>[OperationContract][WebInvoke(Method="POST",UriTemplate="/GetAlbumTracks?albumName={albumName}",ResponseFormat=WebMessageFormat.Json)][TransactionFlow(TransactionFlowOption.Allowed)]SearchResult<IDictionary<AlbumInfo,IList<TrackInfo>>>GetAlbumTracks(stringalbumName){contentof block;}}}
0 commit comments