[Vala] #region example class



 Here it's an Example Class that use #region :

    public class FooBar
    {
        #region Private Members

        private double foo;

        #endregion

        #region Constructors
        
        construct {
                foo = 3.14;
        }

        FooBar () {}

        #endregion

        #region Public Fonction

        int bar() { return (int)foo; }

        #endregion
}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]