public void AutofillContainerAddAutofillView()
        {
            tlog.Debug(tag, $"AutofillContainerAddAutofillView START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            BaseComponents.View view = new BaseComponents.View();
            int    propertyIndex     = 1;
            string id    = "myContainer";
            string label = "testLabel";

            AutofillContainer.ItemHint hint = AutofillContainer.ItemHint.CreditCardExpirationData;
            bool isSensitive = false;

            a1.AddAutofillView(view, propertyIndex, id, label, hint, isSensitive);
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerAddAutofillView END (OK)");
            Assert.Pass("AutofillContainerAddAutofillView");
        }
Exemple #2
0
 public void AddAutofillView(BaseComponents.View view, int propertyIndex, string id, string label, AutofillContainer.ItemHint hint, bool isSensitive)
 {
     Interop.AutofillContainer.AutofillContainer_AddAutofillView(swigCPtr, BaseComponents.View.getCPtr(view), propertyIndex, id, label, (uint)hint, isSensitive);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }