当前位置: 首页>>代码示例>>C#>>正文


C# Visitor.MapToPersonBase方法代码示例

本文整理汇总了C#中Visitor.MapToPersonBase方法的典型用法代码示例。如果您正苦于以下问题:C# Visitor.MapToPersonBase方法的具体用法?C# Visitor.MapToPersonBase怎么用?C# Visitor.MapToPersonBase使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Visitor的用法示例。


在下文中一共展示了Visitor.MapToPersonBase方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ShowVisitorMessage

 /// <summary>
 /// Shows the visitor message.
 /// </summary>
 /// <param name="visitor">The visitor.</param>
 private void ShowVisitorMessage(Visitor visitor)
 {
     PersonBase personBase = visitor.MapToPersonBase();
     PersonSelectionService.SelectPerson(personBase);
     this.ShowMessagePopUp(personBase);
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:10,代码来源:PersonStateroomUserControlViewModel.cs

示例2: ShowVisitorAlert

 /// <summary>
 /// Shows the visitor alert.
 /// </summary>
 /// <param name="visitor">The visitor.</param>
 private void ShowVisitorAlert(Visitor visitor)
 {
     PersonBase personBase = visitor.MapToPersonBase();
     PersonSelectionService.SelectPerson(personBase);
     this.ShowAlertPopUp(personBase);
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:10,代码来源:PersonStateroomUserControlViewModel.cs

示例3: SelectVisitor

        /// <summary>
        /// Function to select visitor.
        /// </summary>
        /// <param name="visitor">The visitor.</param>
        private void SelectVisitor(Visitor visitor)
        {
            if (visitor != null && !this.IsStopSelection)
            {
                PersonBase personBase = visitor.MapToPersonBase();
                PersonSelectionService.SelectPerson(personBase);
                if (!this.IsShowPersonInfoIconClicked)
                {
                    this.ShowAgeVerificationPopupView();
                }
            }

            this.IsShowPersonInfoIconClicked = false;
            this.IsStopSelection = false;
        }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:19,代码来源:PersonStateroomUserControlViewModel.cs

示例4: ViewVisitorStateroomDetails

 /// <summary>
 /// Views the visitor stateroom details.
 /// </summary>
 /// <param name="visitor">The visitor.</param>
 private void ViewVisitorStateroomDetails(Visitor visitor)
 {
     this.IsShowPersonInfoIconClicked = true;
     this.SelectVisitor(visitor);
     PersonBase personBase = visitor.MapToPersonBase();
     Messenger.Instance.Notify(MessengerMessage.ShowPersonInfo, new Tuple<PersonBase, bool>(personBase, false));
 }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:11,代码来源:PersonStateroomUserControlViewModel.cs

示例5: ChangeVisitorBoardingStatus

        /// <summary>
        /// Changes the selected visitor.
        /// </summary>
        /// <param name="visitor">The visitor.</param>
        private static void ChangeVisitorBoardingStatus(Visitor visitor)
        {
            if (visitor != null)
            {
                PersonBase personBase = visitor.MapToPersonBase();
                PersonSelectionService.SelectPerson(personBase);

                Messenger.Instance.Notify(MessengerMessage.ChangePersonBoardingStatus, personBase);
            }
        }
开发者ID:JaipurAnkita,项目名称:mastercode,代码行数:14,代码来源:PersonStateroomUserControlViewModel.cs


注:本文中的Visitor.MapToPersonBase方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。