Proxy.Proxy.Request C# (CSharp) Method

Request() public method

public Request ( ) : void
return void
        public override void Request()
        {
            // Use 'lazy initialization'
            if (_realSubject == null) {
                _realSubject = new RealSubject();
            }

            _realSubject.Request();
        }

Usage Example

コード例 #1
0
ファイル: Program.cs プロジェクト: Alex-LG/DP
        static void Main(string[] args)
        {
            Proxy proxy = new Proxy();
            proxy.Request();

            Console.ReadKey();
        }
All Usage Examples Of Proxy.Proxy::Request
Proxy