PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/NUnit/mocks/ICall.cs

#
C# | 24 lines | 8 code | 2 blank | 14 comment | 0 complexity | 64d445207cb290b31e42832bb2672890 MD5 | raw file
 1// ****************************************************************
 2// Copyright 2007, Charlie Poole
 3// This is free software licensed under the NUnit license. You may
 4// obtain a copy of the license at http://nunit.org
 5// ****************************************************************
 6
 7using System;
 8
 9namespace NUnit.Mocks
10{
11	/// <summary>
12	/// The ICall interface is implemented by objects that can be called
13	/// with an array of arguments and return a value.
14	/// </summary>
15	public interface ICall
16	{
17		/// <summary>
18		/// Process a call with a possibly empty set of arguments.
19		/// </summary>
20		/// <param name="args">Arguments for this call</param>
21		/// <returns>An implementation-defined return value</returns>
22		object Call( object[] args );
23	}
24}