{"comment":{"created_at":"2011-10-10T21:23:35Z","body":"This should work:\r\n\r\n```c#\r\n\r\nabstract public class OasisEventBase<T1, T2> : IOasisEvent \r\n        where T1 : IFormattable\r\n        where T2 : IFormattable\r\n    {\r\n        T1 _obj1;\r\n        T2 _obj2;\r\n        TraceEventType _logLevel;\r\n\r\n        public OasisEventBase(T1 obj1, T2 obj2) : this(obj1, obj2, TraceEventType.Verbose) { }\r\n        public OasisEventBase(T1 obj1, T2 obj2, TraceEventType level)\r\n        {\r\n            _obj1 = obj1;\r\n            _obj2 = obj2;\r\n            _logLevel = level;\r\n            EventAggregatorHost.Publish(new OasisLogEvent(this));\r\n        }\r\n\r\n        public T1 Object1\r\n        {\r\n            get { return _obj1; }\r\n            set { _obj1 = value; }\r\n        }\r\n\r\n        public T2 Object2\r\n        {\r\n            get { return _obj2; }\r\n            set { _obj2 = value; }\r\n        }\r\n\r\n        public TraceEventType LogLevel { get { return _logLevel; } }\r\n        public String Title { get { return this.GetType().ToString(); } }\r\n        public String AsString { get { return String.Format(\"{0}: {1}\", this.Title, this.ObjectString); } }\r\n        public string ObjectString { get { return ((T1)_obj1).ToString(\"\", null) + \",\" + ((T2)_obj2).ToString(\"\", null); } }\r\n    }\r\n\r\n```","updated_at":"2011-10-10T21:23:35Z","url":"https://api.github.com/repos/hydrologics/Oasis.Foundation/issues/comments/2352467","id":2352467,"user":{"avatar_url":"https://secure.gravatar.com/avatar/38b13dfe5deeefec9f8afc8ee135f039?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/slebherz","id":675786,"login":"slebherz"}},"action":"created","issue":{"number":1,"created_at":"2011-10-10T21:19:24Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"So, for example, we can fire off an event that contains a Node and a Run.","comments":1,"title":"Two parameter generic OasisEventBase is needed.","updated_at":"2011-10-10T21:23:35Z","url":"https://api.github.com/repos/hydrologics/Oasis.Foundation/issues/1","id":1868301,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/38b13dfe5deeefec9f8afc8ee135f039?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/slebherz","id":675786,"login":"slebherz"},"html_url":"https://github.com/hydrologics/Oasis.Foundation/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":1868301,"comment_id":2352467}}