Author: jbevain
Date: 2007-10-11 10:53:46 -0400 (Thu, 11 Oct 2007)
New Revision: 87336

Modified:
   trunk/olive/class/agclr/System.Windows.Media/ChangeLog
   trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs
Log:
2007-10-11  Jb Evain  <[EMAIL PROTECTED]>

        * MediaAttributeCollection.cs: implement GetItemByName.



Modified: trunk/olive/class/agclr/System.Windows.Media/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-10-11 
14:52:55 UTC (rev 87335)
+++ trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-10-11 
14:53:46 UTC (rev 87336)
@@ -1,3 +1,7 @@
+2007-10-11  Jb Evain  <[EMAIL PROTECTED]>
+
+       * MediaAttributeCollection.cs: implement GetItemByName.
+
 2007-10-10  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * Visual.cs: Set the surface of the visual upon creation.

Modified: 
trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs    
2007-10-11 14:52:55 UTC (rev 87335)
+++ trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs    
2007-10-11 14:53:46 UTC (rev 87336)
@@ -32,6 +32,7 @@
 namespace System.Windows.Media {
 
        public abstract class MediaAttributeCollection : 
Collection<MediaAttribute> {
+
                public MediaAttributeCollection () : base 
(NativeMethods.media_attribute_collection_new ())
                {
                }
@@ -39,12 +40,12 @@
                internal MediaAttributeCollection (IntPtr raw) : base (raw)
                {
                }
-               
-               public DependencyObject GetItemByName (string AttributeName)
+
+               public DependencyObject GetItemByName (string attribute_name)
                {
-                       throw new NotImplementedException ();
+                       return 
NativeMethods.media_attribute_collection_get_item_by_name (native, 
attribute_name);
                }
-               
+
                internal override Kind GetKind ()
                {
                        return Kind.MEDIAATTRIBUTE_COLLECTION;

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

Reply via email to