|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace Worker
{
/// <summary>
/// This interface is used to perform the worker activities.
/// </summary>
[ServiceContract]
public interface IJobPerformer
{
/// <summary>
/// This method makes an entry in the database.
/// </summary>
/// <param name="fileId">This is the file Id in the files table.s</param>
/// <param name="message">This is the message to be entered</param>
/// <param name="count">The number of times the message is entered</param>
/// <returns>True if succesful false if there is an error</returns>
[OperationContract]
bool SaveEntries(int fileId, string message, int count);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.