Produced by Araxis Merge on 8/31/2018 11:26:34 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | BMS_Source.zip\Source\Sources\BMS.Web\Controllers | InformationController.cs | Thu Aug 30 14:52:10 2018 UTC |
| 2 | BMS_Source.zip\Source\Sources\BMS.Web\Controllers | InformationController.cs | Thu Aug 30 19:11:23 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 90 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | using Syst em; | |
| 2 | using Syst em.Collect ions.Gener ic; | |
| 3 | using Syst em.Linq; | |
| 4 | using Syst em.Web; | |
| 5 | using Syst em.Web.Mvc ; | |
| 6 | using BMS. Utils; | |
| 7 | using Syst em.Configu ration; | |
| 8 | ||
| 9 | namespace BMS.Web.Co ntrollers | |
| 10 | { | |
| 11 | public class Inf ormationCo ntroller : BaseContr oller | |
| 12 | { | |
| 13 | // / <summary > | |
| 14 | // / Main act ion of the controlle r. | |
| 15 | // / </summar y> | |
| 16 | // / <returns >Returns t he appropr iate view result.</r eturns> | |
| 17 | [R eadPermiss ionAuthFil terAttribu te] | |
| 18 | pu blic Actio nResult In dex() | |
| 19 | { | |
| 20 | DateTime entryInLo gMethodTim e = DateTi me.UtcNow; | |
| 21 | if (Info World.Trac ing.IWTrac e.IsEntryE nabled) | |
| 22 | { | |
| 23 | Info World.Trac ing.IWTrac e.Entry(Sy stem.Refle ction.Meth odBase.Get CurrentMet hod(), ent ryInLogMet hodTime); | |
| 24 | } | |
| 25 | try | |
| 26 | { | |
| 27 | //ge t VA url f rom web.co nfig | |
| 28 | stri ng urlKey = Configur ationManag er.AppSett ings[Const ants.APP_S ETTING_VA_ URL]; | |
| 29 | stri ng[] split = urlKey. Split('/') ; | |
| 30 | if (split[ 2].EndsWit h(" DNS ")) | |
| 31 | { | |
| 32 | return Red irect(urlK ey); | |
| 33 | } | |
| 34 | retu rn null; | |
| 35 | } | |
| 36 | finally | |
| 37 | { | |
| 38 | if ( InfoWorld. Tracing.IW Trace.IsEx itEnabled) | |
| 39 | { | |
| 40 | InfoWorld. Tracing.IW Trace.Exit (System.Re flection.M ethodBase. GetCurrent Method(), DateTime.U tcNow, ent ryInLogMet hodTime); | |
| 41 | } | |
| 42 | } | |
| 43 | } | |
| 44 | ||
| 45 | } | |
| 46 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.