The Labs \ Source Viewer \ SSCLI \ System.ComponentModel \ ISupportInitialize

  1. //------------------------------------------------------------------------------
  2. // <copyright file="ISupportInitialize.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.ComponentModel
  16. {
  17.    
  18.    
  19.     using System.Diagnostics;
  20.    
  21.     using System;
  22.    
  23.     /// <devdoc>
  24.     /// <para>Specifies that this object supports
  25.     /// a simple,
  26.     /// transacted notification for batch initialization.</para>
  27.     /// </devdoc>
  28.     [SRDescription(SR.ISupportInitializeDescr)]
  29.     public interface ISupportInitialize
  30.     {
  31.         /// <devdoc>
  32.         /// <para>
  33.         /// Signals
  34.         /// the object that initialization is starting.
  35.         /// </para>
  36.         /// </devdoc>
  37.         void BeginInit();
  38.        
  39.         /// <devdoc>
  40.         /// <para>
  41.         /// Signals the object that initialization is
  42.         /// complete.
  43.         /// </para>
  44.         /// </devdoc>
  45.         void EndInit();
  46.     }
  47. }

Developer Fusion