Validate() public method

public Validate ( ) : void
return void
Example #1
0
        public override void Initialize(IApplicationHost host, IOptions options)
        {
            if (options != null)
            {
                _options = (TcpSendOptions)options;

                // Validate options (since this will be coming from a human)
                _options.Validate();
            }
        }
Example #2
0
		public override void Initialize(IApplicationHost host, IOptions options)
		{
			if (options != null)
			{
				_options = (TcpSendOptions) options;

				// Validate options (since this will be coming from a human)
				_options.Validate();
			}
		}