Author: motym
Date: 2007-03-29 03:50:30 -0500 (Thu, 29 Mar 2007)
New Revision: 75125

Modified:
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/MyGroupCollectionAttribute.vb
Log:
implementation for MyGroupCollectionAttribute

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/MyGroupCollectionAttribute.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/MyGroupCollectionAttribute.vb
        2007-03-29 08:37:52 UTC (rev 75124)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/MyGroupCollectionAttribute.vb
        2007-03-29 08:50:30 UTC (rev 75125)
@@ -38,27 +38,37 @@
     <EditorBrowsable(EditorBrowsableState.Advanced)> _
     Public NotInheritable Class MyGroupCollectionAttribute
         Inherits Attribute
+
+        Dim _typeToCollect As String
+        Dim _createInstanceMethodName As String
+        Dim _disposeInstanceMethodName As String
+        Dim _defaultInstanceAlias As String
+
         Public Sub New(ByVal typeToCollect As String, ByVal 
createInstanceMethodName As String, ByVal disposeInstanceMethodName As String, 
ByVal defaultInstanceAlias As String)
-            Throw New NotImplementedException
+            _typeToCollect = typeToCollect
+            _createInstanceMethodName = createInstanceMethodName
+            _disposeInstanceMethodName = disposeInstanceMethodName
+            _defaultInstanceAlias = defaultInstanceAlias
         End Sub
+
         Public ReadOnly Property CreateMethod() As String
             Get
-                Throw New NotImplementedException
+                Return _createInstanceMethodName
             End Get
         End Property
         Public ReadOnly Property DefaultInstanceAlias() As String
             Get
-                Throw New NotImplementedException
+                Return _defaultInstanceAlias
             End Get
         End Property
         Public ReadOnly Property DisposeMethod() As String
             Get
-                Throw New NotImplementedException
+                Return _disposeInstanceMethodName
             End Get
         End Property
         Public ReadOnly Property MyGroupName() As String
             Get
-                Throw New NotImplementedException
+                Return _typeToCollect
             End Get
         End Property
     End Class

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
      2007-03-29 08:37:52 UTC (rev 75124)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
      2007-03-29 08:50:30 UTC (rev 75125)
@@ -38,7 +38,6 @@
         Inherits ServerComputer
 
         Public Sub New()
-            Throw New NotImplementedException
         End Sub
 
         Public ReadOnly Property Audio() As Audio

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to