Exemplo n.º 1
0
Arquivo: cas8.cs Projeto: nobled/mono
	static int Test ()
	{
		Program p = new Program ();
		MyReturnCode rc = new MyReturnCode (p.InstanceTest);
		return rc (1);
	}
Exemplo n.º 2
0
Arquivo: cas9.cs Projeto: nobled/mono
	static int Test ()
	{
		MyReturnCode rc = new MyReturnCode (StaticTest);
		return rc (1);
	}
Exemplo n.º 3
0
 /// <summary>
 /// Base response type for strong type check on enums
 /// </summary>
 /// <param name="msgType">The return message type</param>
 /// <param name="msg">
 /// The paired msg for this response which transmits the UID for correlation
 /// </param>
 /// <param name="code">The return code</param>
 /// <param name="status">The return string</param>
 public MyBaseResponse(MyMsgType msgType, ISpEventMessage msg, MyReturnCode code, string status)
     : base(new SpEnumToInt(msgType), msg, new SpEnumToInt(code), status)
 {
 }