2010-05-05 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web / ProcessInfo.cs
index 9ff6eabe69acf020781e483175f31b27e7a887a8..3b73c01e94eae1350e1424e8c3b7a23827397fbb 100644 (file)
@@ -1,10 +1,10 @@
-// \r
-// System.Web.ProcessInfo\r
-//\r
-// Author:\r
-//   Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
+// 
+// System.Web.ProcessInfo
+//
+// Author:
+//   Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) Tim Coleman, 2002
 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 //
 
 using System.Security.Permissions;
-\r
-namespace System.Web {\r
+
+namespace System.Web {
 
        // CAS
        [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-       public class ProcessInfo {\r
-\r
-               #region Fields\r
-\r
-               TimeSpan age;\r
-               int peakMemoryUsed;\r
-               int processID;\r
-               int requestCount;\r
-               ProcessShutdownReason shutdownReason;\r
-               DateTime startTime;\r
-               ProcessStatus status;\r
-\r
-               #endregion\r
-\r
-               #region Constructors\r
-\r
-               public ProcessInfo ()\r
-               {\r
-               }\r
-\r
-               public ProcessInfo (DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status, ProcessShutdownReason shutdownReason, int peakMemoryUsed)\r
-               {\r
-                       this.age = age;\r
-                       this.peakMemoryUsed = peakMemoryUsed;\r
-                       this.processID = processID;\r
-                       this.requestCount = requestCount;\r
-                       this.shutdownReason = shutdownReason;\r
-                       this.startTime = startTime;\r
-                       this.status = status;\r
-               }\r
-\r
-               #endregion\r
-\r
-               #region Properties\r
-\r
-               public TimeSpan Age {\r
-                       get { return age; }\r
-               }\r
-\r
-               public int PeakMemoryUsed {\r
-                       get { return peakMemoryUsed; }\r
-               }\r
-\r
-               public int ProcessID {\r
-                       get { return processID; }\r
-               }\r
-\r
-               public int RequestCount {\r
-                       get { return requestCount; }\r
-               }\r
-\r
-               public ProcessShutdownReason ShutdownReason {\r
-                       get { return shutdownReason; }\r
-               }\r
-\r
-               public DateTime StartTime {\r
-                       get { return startTime; }\r
-               }\r
-\r
-               public ProcessStatus Status {\r
-                       get { return status; }\r
-               }\r
-\r
-               #endregion // Properties\r
-\r
-               #region Methods\r
-\r
-               public void SetAll (DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status, ProcessShutdownReason shutdownReason, int peakMemoryUsed)\r
-               {\r
-                       this.age = age;\r
-                       this.peakMemoryUsed = peakMemoryUsed;\r
-                       this.processID = processID;\r
-                       this.requestCount = requestCount;\r
-                       this.shutdownReason = shutdownReason;\r
-                       this.startTime = startTime;\r
-                       this.status = status;\r
-               }\r
-\r
-               #endregion // Methods\r
-       }\r
-}\r
+       public class ProcessInfo {
+
+               #region Fields
+
+               TimeSpan age;
+               int peakMemoryUsed;
+               int processID;
+               int requestCount;
+               ProcessShutdownReason shutdownReason;
+               DateTime startTime;
+               ProcessStatus status;
+
+               #endregion
+
+               #region Constructors
+
+               public ProcessInfo ()
+               {
+               }
+
+               public ProcessInfo (DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status, ProcessShutdownReason shutdownReason, int peakMemoryUsed)
+               {
+                       this.age = age;
+                       this.peakMemoryUsed = peakMemoryUsed;
+                       this.processID = processID;
+                       this.requestCount = requestCount;
+                       this.shutdownReason = shutdownReason;
+                       this.startTime = startTime;
+                       this.status = status;
+               }
+
+               #endregion
+
+               #region Properties
+
+               public TimeSpan Age {
+                       get { return age; }
+               }
+
+               public int PeakMemoryUsed {
+                       get { return peakMemoryUsed; }
+               }
+
+               public int ProcessID {
+                       get { return processID; }
+               }
+
+               public int RequestCount {
+                       get { return requestCount; }
+               }
+
+               public ProcessShutdownReason ShutdownReason {
+                       get { return shutdownReason; }
+               }
+
+               public DateTime StartTime {
+                       get { return startTime; }
+               }
+
+               public ProcessStatus Status {
+                       get { return status; }
+               }
+
+               #endregion // Properties
+
+               #region Methods
+
+               public void SetAll (DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status, ProcessShutdownReason shutdownReason, int peakMemoryUsed)
+               {
+                       this.age = age;
+                       this.peakMemoryUsed = peakMemoryUsed;
+                       this.processID = processID;
+                       this.requestCount = requestCount;
+                       this.shutdownReason = shutdownReason;
+                       this.startTime = startTime;
+                       this.status = status;
+               }
+
+               #endregion // Methods
+       }
+}