예제 #1
0
        public PreviewData(PreviewWindowInfo previewWindowInfo)
        {
            ArgumentValidation.CheckForNullReference(previewWindowInfo, "previewWindowInfo");

            ConfirmButtonText = previewWindowInfo.ConfirmButtonText;
            Description = previewWindowInfo.Description;
            HelpContext = previewWindowInfo.HelpContext;
            TextViewDescription = previewWindowInfo.TextViewDescription;
            Title = previewWindowInfo.Title;
            Warning = previewWindowInfo.Warning;
            WarningLevel = previewWindowInfo.WarningLevel;
        }
예제 #2
0
        public PreviewData(PreviewWindowInfo previewWindowInfo)
        {
            ArgumentValidation.CheckForNullReference(previewWindowInfo, "previewWindowInfo");

            ConfirmButtonText   = previewWindowInfo.ConfirmButtonText;
            Description         = previewWindowInfo.Description;
            HelpContext         = previewWindowInfo.HelpContext;
            TextViewDescription = previewWindowInfo.TextViewDescription;
            Title        = previewWindowInfo.Title;
            Warning      = previewWindowInfo.Warning;
            WarningLevel = previewWindowInfo.WarningLevel;
        }