예제 #1
0
        public static void MapText(IEntryHandler handler, IEntry entry)
        {
            handler.PlatformView?.UpdateText(entry);

            // Any text update requires that we update any attributed string formatting
            MapFormatting(handler, entry);
        }
예제 #2
0
 public static void MapClearButtonVisibility(IEntryHandler handler, IEntry entry)
 {
     if (handler is EntryHandler platformHandler)
     {
         handler.PlatformView?.UpdateClearButtonVisibility(entry, platformHandler.GetClearButtonDrawable);
     }
 }
예제 #3
0
 public static void MapPlaceholderColor(IEntryHandler handler, IEntry entry)
 {
     if (handler is EntryHandler platformHandler)
     {
         handler.PlatformView?.UpdatePlaceholderColor(entry);
     }
 }
예제 #4
0
 public static void MapFormatting(IEntryHandler handler, IEntry entry)
 {
     // Update all of the attributed text formatting properties
     // Setting any of those may have removed text alignment settings,
     // so we need to make sure those are applied, too
     handler.PlatformView?.UpdateMaxLength(entry);
     handler.PlatformView?.UpdateHorizontalTextAlignment(entry);
 }
예제 #5
0
        public IHttpActionResult CaptureLead(AllFieldCapture lead, string product)
        {
            //NameValueCollection nvc = form.ReadAsNameValueCollection();

            _entryHandler = new EntryHandler("mortgage");
            _entryHandler.CaptureLead(lead);

            return Ok();
        }
예제 #6
0
 public static void MapSelectionLength(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateSelectionLength(entry);
예제 #7
0
 public static void MapCharacterSpacing(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateCharacterSpacing(entry);
예제 #8
0
 public static void MapCursorPosition(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateCursorPosition(entry);
예제 #9
0
        public static void MapFont(IEntryHandler handler, IEntry entry)
        {
            var fontManager = handler.GetRequiredService <IFontManager>();

            handler.PlatformView?.UpdateFont(entry, fontManager);
        }
예제 #10
0
 public static void MapReturnType(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateReturnType(entry);
예제 #11
0
 public static void MapTextColor(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateTextColor(entry);
예제 #12
0
 public static void MapHorizontalTextAlignment(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateHorizontalTextAlignment(entry);
예제 #13
0
 public static void MapCursorPosition(IEntryHandler handler, IEntry entry)
 {
 }
예제 #14
0
 public static void MapIsTextPredictionEnabled(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateIsTextPredictionEnabled(entry);
예제 #15
0
 public static void MapCharacterSpacing(IEntryHandler handler, IEntry entry)
 {
 }
예제 #16
0
 public static void MapBackground(IEntryHandler handler, IEntry entry)
 {
     handler.UpdateValue(nameof(handler.ContainerView));
     handler.ToPlatform()?.UpdateBackground(entry);
 }
예제 #17
0
 public static void MapCursorPosition(IEntryHandler handler, IEntry entry)
 {
     handler.PlatformView?.UpdateSelectionLength(entry);
 }
예제 #18
0
 public static void MapSelectionLength(IEntryHandler handler, IEntry entry)
 {
 }
예제 #19
0
 public static void MapClearButtonVisibility(IEntryHandler handler, IEntry entry)
 {
     handler.PlatformView?.UpdateClearButtonVisibility(entry);
 }
예제 #20
0
 public static void MapClearButtonVisibility(IEntryHandler handler, IEntry entry)
 {
 }
예제 #21
0
 public static void MapPlaceholder(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdatePlaceholder(entry);
예제 #22
0
 public static void MapBackground(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateBackground(entry);
예제 #23
0
 public static void MapReturnType(IEntryHandler handler, IEntry entry)
 {
 }
예제 #24
0
 public static void MapIsPassword(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateIsPassword(entry);
예제 #25
0
 public static void MapKeyboard(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateKeyboard(entry);
예제 #26
0
 public static void MapVerticalTextAlignment(IEntryHandler handler, IEntry entry) =>
 handler?.PlatformView?.UpdateVerticalTextAlignment(entry);
예제 #27
0
 public static void MapText(IEntryHandler handler, IEntry entry)
 {
 }
예제 #28
0
 public static void MapMaxLength(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateMaxLength(entry);
예제 #29
0
 public static void MapFont(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateFont(entry, handler.GetRequiredService <IFontManager>());
예제 #30
0
 public static void MapIsReadOnly(IEntryHandler handler, IEntry entry) =>
 handler.PlatformView?.UpdateIsReadOnly(entry);
예제 #31
0
 public static void MapKeyboard(IEntryHandler handler, IEntry entry)
 {
 }