(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / BindingContext.cs
blob4b4bb1e418f9ba4fdd1df129de02210a1d3794d4
1 //
2 // System.Windows.Forms.BindingContext.cs
3 //
4 // Author:
5 // stubbed out by Jaak Simm (jaaksimm@firm.ee)
6 // Dennis hayes (dennish@raytek.com)
7 //
8 // (C) 2002/3 Ximian, Inc
9 //
12 // Permission is hereby granted, free of charge, to any person obtaining
13 // a copy of this software and associated documentation files (the
14 // "Software"), to deal in the Software without restriction, including
15 // without limitation the rights to use, copy, modify, merge, publish,
16 // distribute, sublicense, and/or sell copies of the Software, and to
17 // permit persons to whom the Software is furnished to do so, subject to
18 // the following conditions:
19 //
20 // The above copyright notice and this permission notice shall be
21 // included in all copies or substantial portions of the Software.
22 //
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System.ComponentModel;
32 namespace System.Windows.Forms {
34 public class BindingContext {
36 /// <summary>
37 /// Manages the collection of BindingManagerBase objects for any object that inherits from the Control class.
38 /// </summary>
40 //private
41 // --- Constructor
42 [MonoTODO]
43 public BindingContext ()
49 // --- Public Properties
50 // Following properties not stubbed out, because they are only supporting internal .NET Framework infrastructure.
51 [MonoTODO]
52 public bool IsReadOnly {
53 get {
54 throw new NotImplementedException ();
58 [MonoTODO]
59 public BindingManagerBase this[object dataSource] {
61 get { throw new NotImplementedException (); }
64 [MonoTODO]
65 public BindingManagerBase this[object dataSource,string dataMember] {
67 get { throw new NotImplementedException (); }
71 // --- Methods
72 // Following methods not stubbed out, because they are only supporting internal .NET Framework infrastructure.
73 [MonoTODO]
74 protected virtual void AddCore(object dataSource,BindingManagerBase listManager){
77 [MonoTODO]
78 protected virtual void ClearCore(){
81 // - void ICollection.CopyTo(Array ar,int index)
82 // - IEnumerator IEnumerable.GetEnumerator()
84 [MonoTODO]
85 protected virtual void OnCollectionChanged(CollectionChangeEventArgs ccevent){
88 [MonoTODO]
89 protected virtual void RemoveCore(object dataSource){
92 [MonoTODO]
93 protected internal void Add(object dataSource, BindingManagerBase listManager)
95 throw new NotImplementedException ();
98 [MonoTODO]
99 protected internal void Clear()
101 //FIXME:
104 [MonoTODO]
105 public bool Contains(object dataSource)
107 throw new NotImplementedException ();
110 [MonoTODO]
111 public bool Contains(object dataSource,string dataMember)
113 throw new NotImplementedException ();
116 [MonoTODO]
117 protected internal void Remove(object dataSource)
119 //FIXME:
123 // --- Public Events
124 // Following events not stubbed out, because they are only supporting internal .NET Framework infrastructure
125 public event CollectionChangeEventHandler CollectionChanged;