PageRenderTime 37ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/src/NUnit/mocks/ICall.cs

#
C# | 24 lines | 8 code | 2 blank | 14 comment | 0 complexity | 64d445207cb290b31e42832bb2672890 MD5 | raw file
Possible License(s): GPL-2.0
  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. using System;
  7. namespace NUnit.Mocks
  8. {
  9. /// <summary>
  10. /// The ICall interface is implemented by objects that can be called
  11. /// with an array of arguments and return a value.
  12. /// </summary>
  13. public interface ICall
  14. {
  15. /// <summary>
  16. /// Process a call with a possibly empty set of arguments.
  17. /// </summary>
  18. /// <param name="args">Arguments for this call</param>
  19. /// <returns>An implementation-defined return value</returns>
  20. object Call( object[] args );
  21. }
  22. }