Inheritance: IAutomationSource
Exemplo n.º 1
0
        public ClientElement(ClientAutomationSource source, IRawElementProviderSimple provider)
        {
            ArgumentCheck.NotNull(source, "source");
            ArgumentCheck.NotNull(provider, "provider");

            this.source          = source;
            this.provider        = provider;
            providerFragment     = provider as IRawElementProviderFragment;
            providerFragmentRoot = provider as IRawElementProviderFragmentRoot;
        }
Exemplo n.º 2
0
		public ClientElement (ClientAutomationSource source, IRawElementProviderSimple provider)
		{
			ArgumentCheck.NotNull (source, "source");
			ArgumentCheck.NotNull (provider, "provider");

			this.source = source;
			this.provider = provider;
			providerFragment = provider as IRawElementProviderFragment;
			providerFragmentRoot = provider as IRawElementProviderFragmentRoot;
		}