📄 com.systemframework.xml
字号:
<?xml version="1.0"?>
<doc>
<assembly>
<name>Com.SystemFramework</name>
</assembly>
<members>
<member name="T:Com.SystemFramework.ApplicationAssert">
<summary>
A class to help with error checking and automatic logging
of asserts and conditional checks.
<remarks>
This class works with displays system assert dialogs
as well as writing to the application log with the
ApplicationLog class. There is no instance data associated
with this class.
</remarks>
</summary>
</member>
<member name="F:Com.SystemFramework.ApplicationAssert.LineNumber">
<value>
A LineNumber constant to be used when not in a debug build
so that ApplicationAssert. LineNumber is always a valid expression.
<remarks>
This allows us to pass ApplicationAssert.LineNumber with good debug
functionality and minimal runtime overhead.
</remarks>
</value>
</member>
<member name="M:Com.SystemFramework.ApplicationAssert.Check(System.Boolean,System.String,System.Int32)">
<summary>
Check the given condition and show an assert dialog when the
desktop is interactive.
<remarks>
Log the assertion at a warning level in case the desktop is not
interactive. The text will always contain full stack trace
information and will show the location of the error condition if
the source code is available.
</remarks>
<param name="condition">An expression to be tested for True</param>
<param name="errorText">The message to display</param>
<param name="lineNumber">
The line of the current error in the function. See
GenerateStackTrace for more information.
</param>
</summary>
</member>
<member name="M:Com.SystemFramework.ApplicationAssert.CheckCondition(System.Boolean,System.String,System.Int32)">
<summary>
Verify that a required condition holds.
<remarks>
Show an assert dialog in a DEBUG build before throwing an
ApplicationException. It is assumed that the exception will be
handled or logged, so this does not log a warning for the assertion
like the Check function, which does not actually throw.
</remarks>
<param name="condition">An expression to be tested for True</param>
<param name="errorText">The message to display</param>
<param name="lineNumber">
The line of the current error in the function. See
GenerateStackTrace for more information.
</param>
<exception class="System.ApplicationException">
The checked condition failed.
</exception>
</summary>
</member>
<member name="M:Com.SystemFramework.ApplicationAssert.GenerateStackTrace(System.Int32,System.String@)">
<summary>
Generate a stack trace to display/log with the assertion text.
<remarks>
The trace information includes file and line number information
if its available, as well as a copy of the line of text if
the source code is available. This function is only included in
DEBUG builds of the application.
</remarks>
<param name="lineNumber">
The line of the current error in the function. This
value should be retrieved by call Application.LineNumber
in the parameter list of any of the Check* functions. If
LineNumber is not provided,then the next executable line is used.
</param>
<param name="currentTrace">Returns the generated stack trace.</param>
</summary>
</member>
<member name="T:Com.SystemFramework.ApplicationConfiguration">
<summary>
Standard configuration settings to enable tracing and logging
with the ApplicationLog class.
<remarks>
An application can use this class as a model for
adding additional settings to a Web.Config file.
Special Considerations:
The OnApplicationStart function in this class must be called
from the Application_OnStart event in Global.asax. This is
currently used to determine the path of the application,
the HttpContext object is passed it to enable the app
to read other settings in the future, and to minimize the code
in global.asax.
<example>
The global.asax file should be similar to the following code:
<code>
</code>
</example>
</remarks>
</summary>
</member>
<member name="F:Com.SystemFramework.ApplicationConfiguration.appRoot">
<summary>
鍦℅lobal.asax鐨凮nApplicationStart鏃跺垵濮嬪寲鐨刉eb搴旂敤绋嬪簭鏍圭洰褰
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -