コード例 #1
0
ファイル: TheBallCore.designer.cs プロジェクト: kallex/Caloom
 private void CopyContentFrom(HTTPActivityDetails sourceObject)
 {
     RemoteIPAddress = sourceObject.RemoteIPAddress;
             RemoteEndpointUserName = sourceObject.RemoteEndpointUserName;
             UserID = sourceObject.UserID;
             UTCDateTime = sourceObject.UTCDateTime;
             RequestLine = sourceObject.RequestLine;
             HTTPStatusCode = sourceObject.HTTPStatusCode;
             ReturnedContentLength = sourceObject.ReturnedContentLength;
 }
コード例 #2
0
ファイル: TheBallCore.designer.cs プロジェクト: kallex/Caloom
partial         static void CreateCustomDemo(ref HTTPActivityDetails customDemoObject);
コード例 #3
0
ファイル: TheBallCore.designer.cs プロジェクト: kallex/Caloom
        void IInformationObject.SetInstanceTreeValuesAsUnmodified()
        {
            _unmodified_OwnerInfo = OwnerInfo;
                    if(OwnerInfo != null)
                        ((IInformationObject) OwnerInfo).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_ProcessorUsage = ProcessorUsage;
                    if(ProcessorUsage != null)
                        ((IInformationObject) ProcessorUsage).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_StorageTransactionUsage = StorageTransactionUsage;
                    if(StorageTransactionUsage != null)
                        ((IInformationObject) StorageTransactionUsage).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_NetworkUsage = NetworkUsage;
                    if(NetworkUsage != null)
                        ((IInformationObject) NetworkUsage).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_RequestDetails = RequestDetails;
                    if(RequestDetails != null)
                        ((IInformationObject) RequestDetails).SetInstanceTreeValuesAsUnmodified();
        }
コード例 #4
0
ファイル: TheBallCore.designer.cs プロジェクト: kallex/Caloom
 public static HTTPActivityDetails CreateDefault()
 {
     var result = new HTTPActivityDetails();
             return result;
 }
コード例 #5
0
 private void SetRequestLoggingData(HttpRequest request, HTTPActivityDetails requestDetails)
 {
     requestDetails.RemoteIPAddress = request.UserHostAddress;
     requestDetails.RemoteEndpointUserName = "******";
     requestDetails.UTCDateTime = DateTime.UtcNow;
     requestDetails.RequestLine = String.Format("{0} {1} {2}", request.HttpMethod, request.Url.AbsoluteUri, request.ServerVariables["SERVER_PROTOCOL"]);
 }