本文整理汇总了C#中Log_Reports类的典型用法代码示例。如果您正苦于以下问题:C# Log_Reports类的具体用法?C# Log_Reports怎么用?C# Log_Reports使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Log_Reports类属于命名空间,在下文中一共展示了Log_Reports类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Select
//────────────────────────────────────────
/// <summary>
/// 無条件で、全てのレコードを返す。
/// </summary>
/// <param name="dst_Row"></param>
/// <param name="isRequired_ExpectedValue"></param>
/// <param name="dataTable"></param>
/// <param name="s_ParentNode_query"></param>
/// <param name="log_Reports"></param>
public void Select(
out List<DataRow> out_List_DstRow,
bool isRequired_ExpectedValue,
DataTable dataTable,
Configuration_Node parent_Conf,
Log_Reports log_Reports
)
{
Log_Method log_Method = new Log_MethodImpl();
log_Method.BeginMethod(Info_Table.Name_Library, this, "Select",log_Reports);
//
//
//
//
out_List_DstRow = new List<DataRow>();
foreach (DataRow row in dataTable.Rows)
{
out_List_DstRow.Add(row);
}
goto gt_EndMethod;
//
//
//
//
gt_EndMethod:
log_Method.EndMethod(log_Reports);
}
开发者ID:muzudho,项目名称:XtA,代码行数:42,代码来源:SelectPerformerImpl.cs
示例2: NewInstance
public override Expression_Node_Function NewInstance(
Expression_Node_String parent_Expression, Configuration_Node cur_Conf,
object owner_MemoryApplication, Log_Reports pg_Logging)
{
Log_Method pg_Method = new Log_MethodImpl(0);
pg_Method.BeginMethod(Info_CSVEditorImpl.Name_Library, this, "NewInstance",pg_Logging);
//
Expression_Node_Function f0 = new Expression_Node_Function_BootCsvEditorExImpl(this.EnumEventhandler,this.List_NameArgumentInitializer,this.Functiontranslatoritem);
f0.Parent_Expression = parent_Expression;
f0.Cur_Configuration = cur_Conf;
((Expression_Node_FunctionAbstract)f0).Owner_MemoryApplication = (MemoryApplication)owner_MemoryApplication;
//関数名初期化
f0.Dictionary_Expression_Attribute.Set(PmNames.S_NAME.Name_Pm, new Expression_Leaf_StringImpl(NAME_FUNCTION, null, cur_Conf), pg_Logging);
//「プロジェクト選択時」のイベントハンドラーを上書き要求。
{
Expression_Node_Function expr_Func2 = Collection_Function.NewFunction2(
Expression_Node_Function_OnEditorSelected_Impl.NAME_FUNCTION,
f0,
cur_Conf,
//EnumEventhandler.Tp_B_Wr_Rhn,
owner_MemoryApplication,
pg_Logging);
((Expression_Node_Function_BootCsvEditorExImpl)f0).Functionitem_OnProjectSelected = expr_Func2;
}
//
pg_Method.EndMethod(pg_Logging);
return f0;
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:32,代码来源:Expression_Function_BootCsvEditorExImpl.cs
示例3: Execute5_Main
//────────────────────────────────────────
/// <summary>
/// 「ツール設定ウィンドウ」を開きます。
/// </summary>
/// <param name="sender"></param>
/// <param name="eventMonitor"></param>
/// <param name="log_Reports"></param>
public override string Execute5_Main(Log_Reports log_Reports)
{
Log_Method log_Method = new Log_MethodImpl(0);
log_Method.BeginMethod(Info_Functions.Name_Library, this, "Execute5_Main",log_Reports);
if (this.EnumEventhandler == EnumEventhandler.O_Lr)
{
if (log_Reports.CanStopwatch)
{
string sFncName;
this.TrySelectAttribute(out sFncName, PmNames.S_NAME.Name_Pm, EnumHitcount.One_Or_Zero, log_Reports);
log_Method.Log_Stopwatch.Message = "Nアクション[" + sFncName + "]実行";
log_Method.Log_Stopwatch.Begin();
}
//
//
//
//
// ツール設定モデルを共有します。
this.Owner_MemoryApplication.MemoryForms.MemoryAatoolxmlDialog.MemoryAatoolxml = this.Owner_MemoryApplication.MemoryAatoolxml;
// 「SelectedIndexイベント」を必ず動かすために、リストボックスを空にします。
this.Owner_MemoryApplication.MemoryForms.Form_Toolwindow.Clear();
// ダイアログボックスを出します。
((Form)this.Owner_MemoryApplication.MemoryForms.Form_Toolwindow).ShowDialog(this.Owner_MemoryApplication.MemoryForms.Mainwnd_FormWrapping.Form);
}
log_Method.EndMethod(log_Reports);
return "";
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:40,代码来源:Expression_Node_Function11Impl.cs
示例4: Execute5_Main
//────────────────────────────────────────
/// <summary>
/// アクション実行。
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public override string Execute5_Main(Log_Reports log_Reports)
{
Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
log_Method.BeginMethod(Info_Functions.Name_Library, this, "Execute5_Main",log_Reports);
string sFncName0;
this.TrySelectAttribute(out sFncName0, PmNames.S_NAME.Name_Pm, EnumHitcount.One_Or_Zero, log_Reports);
if (log_Reports.CanStopwatch)
{
log_Method.Log_Stopwatch.Message = "「E■[" + sFncName0 + "]アクション」実行(A)";
log_Method.Log_Stopwatch.Begin();
}
//
//
if (this.EnumEventhandler == EnumEventhandler.O_Lr)
{
this.Execute6_Sub(log_Reports);
}
else if (this.EnumEventhandler == EnumEventhandler.O_Ea)
{
this.Execute6_Sub(log_Reports);
}
goto gt_EndMethod;
//
//
gt_EndMethod:
log_Method.EndMethod(log_Reports);
return "";
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:38,代码来源:Expression_Node_Function42Impl.cs
示例5: Add
//────────────────────────────────────────
/// <summary>
/// 追加。
/// </summary>
/// <param name="nItems"></param>
/// <param name="request"></param>
/// <param name="log_Reports"></param>
public void Add(
Expression_Node_String ec_Child,
Log_Reports log_Reports
)
{
Log_Method log_Method = new Log_MethodImpl(0);
log_Method.BeginMethod(Info_Syntax.Name_Library, this, "Add",log_Reports);
if (ec_Child is Expression_Node_StringImpl)
{
((Expression_Node_StringImpl)ec_Child).Parent_Expression = this.owner_Expression;
}
else if (ec_Child is Expression_Leaf_StringImpl)
{
((Expression_Leaf_StringImpl)ec_Child).Parent_Expression = this.owner_Expression;
}
else if (ec_Child is Expression_TexttemplateP1pImpl)
{
((Expression_TexttemplateP1pImpl)ec_Child).Parent_Expression = this.owner_Expression;
}
else
{
log_Method.WriteWarning_ToConsole(" 想定外のクラス=[" + ec_Child.GetType().Name + "]");
}
this.listExpression_Item.Add(ec_Child);
log_Method.EndMethod(log_Reports);
}
开发者ID:muzudho,项目名称:XtA,代码行数:35,代码来源:List_Expression_Node_StringImpl.cs
示例6: Execute5_Main
//────────────────────────────────────────
/// <summary>
/// アクション実行。
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public override string Execute5_Main(Log_Reports log_Reports)
{
Log_Method log_Method = new Log_MethodImpl(0);
log_Method.BeginMethod(Info_Functions.Name_Library, this, "Execute5_Main",log_Reports);
string sFncName0;
this.TrySelectAttribute(out sFncName0, PmNames.S_NAME.Name_Pm, EnumHitcount.One_Or_Zero, log_Reports);
if (this.EnumEventhandler == EnumEventhandler.O_Ea)
{
if (this.Functionparameterset.Sender is Customcontrol)
{
Customcontrol ccFc = (Customcontrol)this.Functionparameterset.Sender;
string sName_Usercontrol = ccFc.ControlCommon.Expression_Name_Control.Execute4_OnExpressionString(EnumHitcount.Unconstraint, log_Reports);
log_Reports.Comment_EventCreationMe = "[" + sName_Usercontrol + "]コントロールが、[" + sFncName0 + "]アクションを実行。";
}
else
{
log_Reports.Comment_EventCreationMe = "[" + sFncName0 + "]アクションを実行。";
}
ListBox pcLst = (ListBox)this.Functionparameterset.Sender;
this.Execute6_Sub(pcLst, log_Reports);
}
log_Method.EndMethod(log_Reports);
return "";
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:37,代码来源:Expression_Node_Function32Impl.cs
示例7: Add
//────────────────────────────────────────
/// <summary>
/// グリッド領域を追加します。(エラー対応処理付き)
/// </summary>
/// <param name="gridAreaName"></param>
/// <param name="gridArea"></param>
/// <param name="log_Reports"></param>
public void Add(
string sName_Gridarea,
Grid gridArea,
Log_Reports log_Reports,
string sLogStack
)
{
Log_Method pg_Method = new Log_MethodImpl(0);
pg_Method.BeginMethod(Info_GridPanel.Name_Library, this, "Add",log_Reports);
Exception err_Excp;
try
{
this.Dictionary_Item.Add(sName_Gridarea, gridArea);
}
catch (Exception e)
{
// エラー
err_Excp = e;
goto gt_Error_Exception;
}
goto gt_EndMethod;
//
//
#region 異常系
//────────────────────────────────────────
gt_Error_Exception:
if (log_Reports.CanCreateReport)
{
Log_RecordReports r = log_Reports.BeginCreateReport(EnumReport.Error);
r.SetTitle("▲エラー50404!", pg_Method);
StringBuilder t = new StringBuilder();
t.Append("グリッドパネルの利用");
t.Append(Environment.NewLine);
t.Append(Environment.NewLine);
t.Append("[");
t.Append(sName_Gridarea);
t.Append("]要素の追加時に失敗しました。");
t.Append(Environment.NewLine);
t.Append(Environment.NewLine);
t.Append("エラー:");
t.Append(err_Excp.Message);
t.Append(Environment.NewLine);
t.Append(Environment.NewLine);
t.Append("実行経路ヒント:");
t.Append(sLogStack);
r.Message = t.ToString();
log_Reports.EndCreateReport();
}
goto gt_EndMethod;
//────────────────────────────────────────
#endregion
//
//
gt_EndMethod:
pg_Method.EndMethod(log_Reports);
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:67,代码来源:MemoryGridsImpl.cs
示例8: CopyTo
//────────────────────────────────────────
/// <summary>
/// リスト・ビュー1の内容を、リスト・ビュー2へ、コピーします。
/// </summary>
/// <param name="listView"></param>
/// <param name="listView"></param>
public void CopyTo(ListView listView1, ListView listView2, Log_Reports log_Reports)
{
// リスト・ビュー2を空にします。
listView2.Clear();
// 編集テーブルを、並び順変更先テーブルにコピーします。
foreach (ColumnHeader columnHeader in listView1.Columns)
{
listView2.Columns.Add(columnHeader.Text);
}
foreach (ListViewItem listViewItem in listView1.Items)
{
// [0]列目を初期値として設定します。
ListViewItem newItem = new ListViewItem(listViewItem.Text);
// 最初の[0]列目は既に追加済みなので、[1]列目以降から追加します。
for (int nIndex = 1; nIndex < listViewItem.SubItems.Count; nIndex++)
{
newItem.SubItems.Add(listViewItem.SubItems[nIndex]);
}
listView2.Items.Add(newItem);
}
goto gt_EndMethod;
//
gt_EndMethod:
;
}
开发者ID:muzudho,项目名称:XtA,代码行数:35,代码来源:Utility_TableViewImpl.cs
示例9: P4_Save
//────────────────────────────────────────
/// <summary>
/// レコードセットを、一時記憶。
/// </summary>
/// <param name="p3_RecordSet"></param>
/// <param name="RecordSetSaveTo_or_null"></param>
/// <param name="log_Reports"></param>
public void P4_Save(
RecordSet recordSet_toSave,
Expressionv_4ASelectRecord ecvRequest_SelRec_OrNull,//where
Log_Reports log_Reports
)
{
if (null != ecvRequest_SelRec_OrNull)
{
//
// "RECORD_SAVE_TO:FC_mr_skillLst_001" といった、名前。
string sStorage = ecvRequest_SelRec_OrNull.Expression_Storage.Execute4_OnExpressionString(EnumHitcount.Unconstraint, log_Reports);
if ("" != sStorage.Trim())
{
//
// 内容のコピー。
//p3_Selectstatement.NFld = nRequest_saveTo_orNull.NField;
//p3_Selectstatement.NLookupValue = nRequest_saveTo_orNull.NLookupValue;
//p3_Selectstatement.NRequired = nRequest_saveTo_orNull.NRequired;
//p3_Selectstatement.NFrom = nRequest_saveTo_orNull.NFrom;
//p3_Selectstatement.NStorage = nRequest_saveTo_orNull.NStorage;
//p3_Selectstatement.NDescription = nRequest_saveTo_orNull.NDescription;
//
// レコードセットを一時記憶。
this.Owner_MemoryApplication.MemoryRecordset.RecordsetStorage.Add(
ecvRequest_SelRec_OrNull.Expression_Storage,
recordSet_toSave,// p3_Selectstatement,
this.Owner_MemoryApplication,
log_Reports);
}
}
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:40,代码来源:P4_RecordSetSaverImpl.cs
示例10: SelectItemsByPmAsCsv
//────────────────────────────────────────
/// <summary>
/// 例えば ("access",”from”)と指定すれば、
/// 指定リストの要素の中で <~ access=”from,to”> といった属性を持つものはヒットする。
///
/// 選択アイテムをリストから除外するなら bRemove=true にします。
/// </summary>
/// <param name="sName"></param>
/// <param name="sExpectedValue"></param>
/// <param name="request_Items"></param>
/// <param name="log_Reports"></param>
/// <returns></returns>
public static List<Expression_Node_String> SelectItemsByPmAsCsv(
List<Expression_Node_String> ecList_Item, string sPmName, string sExpectedValue,
bool bRemove, EnumHitcount hits, Log_Reports log_Reports)
{
Log_Method pg_Method = new Log_MethodImpl(0);
pg_Method.BeginMethod(Info_Controls.Name_Library, "Util_E_NodeImpl", "SelectItemsByAttrAsCsv",log_Reports);
//
//
//Util_E_NodeImpl dammy_This = new Util_E_NodeImpl();
List<Expression_Node_String> ecList_Result;
ecList_Result = Utility_Expression_NodeImpl.SelectItemsByPmAsCsv_Full_(
ecList_Item,
sPmName,
false,
sExpectedValue,
bRemove,
hits,
log_Reports
);
goto gt_EndMethod;
//
//
gt_EndMethod:
pg_Method.EndMethod(log_Reports);
// 正常終了
return ecList_Result;
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:42,代码来源:Utility_Expression_NodeImpl.cs
示例11: ParseChild_InAnotherLibrary
//────────────────────────────────────────
public static void ParseChild_InAnotherLibrary(
Configurationtree_Node cur_Cf,
Expression_Node_String parent_Expr,//nAcase,nFelemの両方の場合がある。
MemoryApplication memoryApplication,
Log_TextIndented_ConfigurationtreeToExpression pg_ParsingLog,
Log_Reports log_Reports
)
{
Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
log_Method.BeginMethod(Info_ConfigurationtreeToExpression.Name_Library, "SToE_AbstractImpl", "ParseChild_InAnotherLibrary",log_Reports);
ConfigurationtreeToExpression_F14n16 dammy = new ConfigurationtreeToExpression_F14_FncImpl_();//メソッドが使いたいだけなので、何でもいい。
dammy.ParseChild_InConfigurationtreeToExpression(
cur_Cf,
parent_Expr,
memoryApplication,
pg_ParsingLog,
log_Reports
);
goto gt_EndMethod;
//
//
gt_EndMethod:
if (Log_ReportsImpl.BDebugmode_Static)
{
//d_ParsingLog.Decrement(s_Cur.Name_Node);
}
log_Method.EndMethod(log_Reports);
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:32,代码来源:ConfigurationtreeToExpression_AbstractImpl.cs
示例12: Add
//────────────────────────────────────────
/// <summary>
/// 追加。
/// </summary>
public void Add(
Configurationtree_Node cur_Conf,
Log_Reports log_Reports
)
{
this.list_Configurationtree_Node.Add(cur_Conf);
}
开发者ID:muzudho,项目名称:XtA,代码行数:11,代码来源:List_Configurationtree_NodeImpl.cs
示例13: Translate_Step2
//────────────────────────────────────────
public override void Translate_Step2(
ConfigurationtreeToFunction_Item parentProcesser,
Configurationtree_Node action_Conf,
Expression_Node_Function parent_Expr_Func,//todo:何これ?
MemoryApplication owner_MemoryApplication,
Log_TextIndented_ConfigurationtreeToExpression pg_ParsingLog,
Log_Reports log_Reports
)
{
Expression_Node_String ec_ArgListboxName;
parent_Expr_Func.TrySelectAttribute(out ec_ArgListboxName, Expression_Node_Function20Impl.PM_NAME_CONTROL_LISTBOX, EnumHitcount.One_Or_Zero, log_Reports);
if ("" == ec_ArgListboxName.Execute4_OnExpressionString(EnumHitcount.Unconstraint, log_Reports))
{
// 引数 listboxFcName が指定されていない場合は、その記述が書かれているコントロールの名前を入れる。
Configuration_Node cf_Event = action_Conf.GetParentByNodename(
NamesNode.S_EVENT, EnumConfiguration.Unknown, true, log_Reports);
if (log_Reports.Successful)
{
Configuration_Node parent_Configurationtree_Control = cf_Event.GetParentByNodename(
NamesNode.S_CONTROL1, EnumConfiguration.Tree, true, log_Reports);
string sName_Usercontrol;
((Configurationtree_Node)parent_Configurationtree_Control).Dictionary_Attribute.TryGetValue(PmNames.S_NAME, out sName_Usercontrol, true, log_Reports);
ec_ArgListboxName.AppendTextNode(sName_Usercontrol, action_Conf, log_Reports);
}
}
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:30,代码来源:ConfigurationtreeToFunction20_ItemImpl.cs
示例14: ConfigurationtreeToFunction
//────────────────────────────────────────
/// <summary>
/// イベントハンドラーの作成。
/// </summary>
/// <param name="s_Action"></param>
/// <param name="log_Reports"></param>
/// <returns></returns>
public Expression_Node_Function ConfigurationtreeToFunction(
Configurationtree_Node action_Conf,
MemoryApplication owner_MemoryApplication,
Log_Reports log_Reports
)
{
Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
log_Method.BeginMethod(Info_Functions.Name_Library, this, "ConfigurationtreeToFunction",log_Reports);
if (log_Reports.CanStopwatch)
{
log_Method.Log_Stopwatch.Begin();
}
//
Expression_Node_Function expr_Func;
if (log_Reports.Successful)
{
expr_Func = owner_MemoryApplication.MemoryForms.ConfigurationtreeToFunction.Translate(
action_Conf,
true,
log_Reports
);
}
else
{
expr_Func = null;
}
goto gt_EndMethod;
//
gt_EndMethod:
log_Method.EndMethod(log_Reports);
return expr_Func;
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:42,代码来源:Executer3_FunctionImpl.cs
示例15: Execute5_Main
//────────────────────────────────────────
/// <summary>
/// アクション実行。
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public override string Execute5_Main(Log_Reports log_Reports)
{
Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
log_Method.BeginMethod(Info_Functions.Name_Library, this, "Execute5_Main",log_Reports);
//
//
if (this.EnumEventhandler == EnumEventhandler.O_Lr)
{
this.Execute6_Sub(
log_Reports
);
}
else if (this.EnumEventhandler == EnumEventhandler.O_Ea)
{
this.Execute6_Sub(
log_Reports
);
}
//
//
log_Method.EndMethod(log_Reports);
return "";
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:33,代码来源:Expression_Node_Function40Impl.cs
示例16: AddValidator
//────────────────────────────────────────
public void AddValidator(
Expressionv_Validator_Old ecv_Validator,
Log_Reports log_Reports
)
{
// 未実装 TODO 実装すること。
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:8,代码来源:CustomcontrolLabel.cs
示例17: SetDataSource
//────────────────────────────────────────
public void SetDataSource(Table_Humaninput o_Table, Log_Reports log_Reports)
{
this.table_Humaninput = o_Table;
Utility_TableviewImpl u_tblView = new Utility_TableviewImpl();
u_tblView.IsVisibled_Fieldtype = true;
u_tblView.SetDataSourceToListView(
o_Table, this.listView1, log_Reports);
if (!log_Reports.Successful)
{
// 既エラー。
goto gt_EndMethod;
}
u_tblView.CopyTo(this.listView1, this.listView2, log_Reports);
if (!log_Reports.Successful)
{
// 既エラー。
goto gt_EndMethod;
}
//
gt_EndMethod:
return;
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:27,代码来源:Form1.cs
示例18: CreateMessage_Debug
//────────────────────────────────────────
/// <summary>
/// 内容をデバッグ出力します。
/// </summary>
public void CreateMessage_Debug(Log_Reports log_Reports)
{
Log_Method log_Method = new Log_MethodImpl(0);
Log_Reports d_Logging_Dammy = new Log_ReportsImpl(log_Method);
log_Method.BeginMethod(Info_MiddleImpl.Name_Library, this, "CreateMessage_Debug",d_Logging_Dammy);
//
//
//ystem.Console.WriteLine(this.GetType().Name + "#DebugWrite: 【デバッグ出力】 project要素の個数=[" + this.Items.Count + "]");
foreach (MemoryAatoolxml_Editor aatool_Editor in this.Dictionary_Item.Values)
{
//ystem.Console.WriteLine(this.GetType().Name + "#DebugWrite: 【デバッグ出力】 project名=[" + st_Project.Name + "]");
aatool_Editor.WriteDebug_ToConsole(aatool_Editor.Dictionary_Fsetvar_Configurationtree, log_Reports);
}
//
//
d_Logging_Dammy.EndCreateReport();
log_Method.EndMethod(d_Logging_Dammy);
if (!d_Logging_Dammy.Successful)
{
log_Method.WriteDebug_ToConsole(d_Logging_Dammy.ToText());
}
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:30,代码来源:Dictionary_AatoolxmlEditorImpl.cs
示例19: SearchLua
//────────────────────────────────────────
/// <summary>
/// 再帰関数です。
/// </summary>
/// <param name="result">.luaファイルのパスが追加されます。</param>
/// <param name="folderpath"></param>
public void SearchLua(List<string> result, string folderpath, Log_Reports log_Reports)
{
Log_Method log_Method = new Log_MethodImpl();
log_Method.BeginMethod(Info_Actorslist.Name_Library, this, "SearchLua", log_Reports);
if (log_Reports.Successful)
{
if (!Directory.Exists(folderpath))
{
System.Console.WriteLine("SearchLua エラー");
goto gt_Error_Folder;
}
string[] filepaths = Directory.GetFileSystemEntries(folderpath);
foreach (string filepath in filepaths)
{
if (Directory.Exists(filepath))
{
//System.Console.WriteLine("dir=[" + filepath + "]");
this.SearchLua(result, filepath, log_Reports);
}
else
{
Match m1 = this.Regex.Match(filepath);
if (m1.Success)
{
result.Add(filepath);
//System.Console.WriteLine("file=[" + filepath + "]");
}
}
}
}
goto gt_EndMethod;
#region 異常系
//────────────────────────────────────────
gt_Error_Folder:
if (log_Reports.CanCreateReport)
{
Log_RecordReports r = log_Reports.BeginCreateReport(EnumReport.Error);
r.SetTitle("▲エラー13001!", log_Method);
Log_TextIndented s = new Log_TextIndentedImpl();
s.Append("存在するフォルダーを指定してください。");
s.Append(Environment.NewLine);
s.Append(" folderpath=[");
s.Append(folderpath);
s.Append("]");
r.Message = s.ToString();
log_Reports.EndCreateReport();
}
goto gt_EndMethod;
//────────────────────────────────────────
#endregion
gt_EndMethod:
log_Method.EndMethod(log_Reports);
}
开发者ID:muzudho,项目名称:XtA,代码行数:65,代码来源:FinderLuaImpl.cs
示例20: Parse_ChildNodes
//────────────────────────────────────────
protected override void Parse_ChildNodes(
XmlElement cur_X,
Configurationtree_Node cf_Cur,
MemoryApplication memoryApplication,
Log_Reports log_Reports
)
{
}
开发者ID:muzudho,项目名称:CSVExE,代码行数:9,代码来源:XmlToConfigurationtree_V_4ASelectRecordImpl_.cs
注:本文中的Log_Reports类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论