2006-03-07 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / Microsoft.Web.Atlas / Microsoft.Web / ScriptMethodDescriptor.cs
index f8f1f1d36695849e774b94fbda795403027baf23..4bacfd87d9bee6268a1b4e5d7cb9775ec634ec59 100644 (file)
@@ -35,27 +35,30 @@ namespace Microsoft.Web
 {
        public class ScriptMethodDescriptor : ScriptMemberDescriptor
        {
+               string methodName;
+               string[] parameters;
+
                public ScriptMethodDescriptor (string methodName)
-                       : base (methodName)
+                       : this (methodName, null)
                {
-                               throw new NotImplementedException ();
                }
 
-               public ScriptMethodDescriptor (string methodName, string parameters)
+               public ScriptMethodDescriptor (string methodName, string[] parameters)
                        : base (methodName)
                {
-                               throw new NotImplementedException ();
+                       this.methodName = methodName;
+                       this.parameters = (parameters == null ? new string [0] : parameters);
                }
 
                public string MethodName {
                        get {
-                               throw new NotImplementedException ();
+                               return methodName;
                        }
                }
 
-               public string Parameters {
+               public string[] Parameters {
                        get {
-                               throw new NotImplementedException ();
+                               return parameters;
                        }
                }
        }