| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- //
- // System.ComponentModel.MarshalByValueComponent.cs
- //
- // Author:
- // Rodrigo Moya ([email protected])
- //
- // (C) Ximian, Inc
- //
- using System;
- namespace System.ComponentModel
- {
- /// <summary>
- /// Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).
- /// </summary>
- public class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
- {
- [MonoTODO]
- public MarshalByValueComponent () {
- // TODO: need to implement for some component model
- // but do not throw a NotImplementedException
- }
- [MonoTODO]
- public void Dispose () {
- // TODO: need to do, but do not
- // throw a NotImplementedException
- }
- [MonoTODO]
- protected virtual void Dispose (bool disposing) {
- }
- [MonoTODO]
- public virtual object GetService (Type service) {
- return null;
- }
-
- public virtual IContainer Container {
- [MonoTODO]
- get {
- return null;
- }
- }
- public virtual bool DesignMode {
- [MonoTODO]
- get {
- return false;
- }
- }
- public virtual ISite Site {
- [MonoTODO]
- get {
- // TODO: need to get Site
- return null;
- }
- [MonoTODO]
- set {
- // TODO: need to set Site
- }
- }
- protected EventHandlerList Events {
- [MonoTODO]
- get {
- // TODO: need to do, but do not
- // throw a NotImplementedException
- return null;
- }
- }
-
- public event EventHandler Disposed;
- }
- }
|