Validate() public method

public Validate ( ) : void
return void
Beispiel #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();
            }
        }
Beispiel #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();
			}
		}