Factory for creating Atc.Data.Models.AssemblyInformation instances from System.Reflection.Assembly objects.
public static class AssemblyInformationFactory
AssemblyInformation Create(Assembly assembly)Summary: Creates an
Atc.Data.Models.AssemblyInformationinstance from the specified assembly.Parameters:
assembly- The assembly to extract information from.Returns: An
Atc.Data.Models.AssemblyInformationobject containing assembly metadata.
Data Helper.
public static class DataFactory
DataTable CreateKeyValueDataTableOfGuidString(DropDownFirstItemType dropDownFirstItemType = None)Summary: Create the key/value data table of global identifier and string.
Parameters:
dropDownFirstItemType- Type of the dropdown first item.Returns: The
System.Data.DataTable.
DataTable CreateKeyValueDataTableOfIntString(DropDownFirstItemType dropDownFirstItemType = None)Summary: Create the key/value data table of integer and string.
Parameters:
dropDownFirstItemType- Type of the dropdown first item.Returns: The
System.Data.DataTable.
Dictionary<Guid, string> CreateKeyValueDictionaryOfGuidString(DropDownFirstItemType dropDownFirstItemType = None)Summary: Create the key/value dictionary of global identifier and string.
Parameters:
dropDownFirstItemType- Type of the dropdown first item.Returns: The Dictionary.
Dictionary<int, string> CreateKeyValueDictionaryOfIntString(DropDownFirstItemType dropDownFirstItemType = None)Summary: Create the key/value dictionary of integer and string.
Parameters:
dropDownFirstItemType- Type of the dropdown first item.Returns: The Dictionary.
Dictionary<string, string> CreateKeyValueDictionaryOfStringString(DropDownFirstItemType dropDownFirstItemType = None)Summary: Creates the key value dictionary of string string.
Parameters:
dropDownFirstItemType- Type of the dropdown first item.Returns: The Dictionary.
Factory for creating Atc.Data.Models.LogItem and Atc.Data.Models.LogKeyValueItem instances. Provides convenient methods for creating log items with different severity levels.
public static class LogItemFactory
LogItem Create(LogCategoryType logCategoryType, string message)Summary: Creates a new
Atc.Data.Models.LogItemwith the specified log category and message.Parameters:
logCategoryType- The log category type.
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance.
LogKeyValueItem Create(LogCategoryType logCategoryType, string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith the specified log category and message.Parameters:
logCategoryType- The log category type.
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance.
LogKeyValueItem Create(LogCategoryType logCategoryType, string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith the specified log category and message.Parameters:
logCategoryType- The log category type.
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance.
LogItem CreateAudit(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith audit severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with audit severity.
LogKeyValueItem CreateAudit(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith audit severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with audit severity.
LogKeyValueItem CreateAudit(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith audit severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with audit severity.
LogItem CreateCritical(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith critical severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with critical severity.
LogKeyValueItem CreateCritical(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith critical severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with critical severity.
LogKeyValueItem CreateCritical(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith critical severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with critical severity.
LogItem CreateDebug(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith debug severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with debug severity.
LogKeyValueItem CreateDebug(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith debug severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with debug severity.
LogKeyValueItem CreateDebug(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith debug severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with debug severity.
LogItem CreateError(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith error severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with error severity.
LogKeyValueItem CreateError(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith error severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with error severity.
LogKeyValueItem CreateError(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith error severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with error severity.
LogItem CreateInformation(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith information severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with information severity.
LogKeyValueItem CreateInformation(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith information severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with information severity.
LogKeyValueItem CreateInformation(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith information severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with information severity.
LogItem CreateSecurity(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith security severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with security severity.
LogKeyValueItem CreateSecurity(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith security severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with security severity.
LogKeyValueItem CreateSecurity(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith security severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with security severity.
LogItem CreateService(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith service severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with service severity.
LogKeyValueItem CreateService(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith service severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with service severity.
LogKeyValueItem CreateService(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith service severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with service severity.
LogItem CreateTrace(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith trace severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with trace severity.
LogKeyValueItem CreateTrace(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith trace severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with trace severity.
LogKeyValueItem CreateTrace(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith trace severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with trace severity.
LogItem CreateUi(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith UI severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with UI severity.
LogKeyValueItem CreateUi(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith UI severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with UI severity.
LogKeyValueItem CreateUi(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith UI severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with UI severity.
LogItem CreateWarning(string message)Summary: Creates a new
Atc.Data.Models.LogItemwith warning severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with warning severity.
LogKeyValueItem CreateWarning(string key, string value)Summary: Creates a new
Atc.Data.Models.LogItemwith warning severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with warning severity.
LogKeyValueItem CreateWarning(string key, string value, string description)Summary: Creates a new
Atc.Data.Models.LogItemwith warning severity.Parameters:
message- The log message.Returns: A new
Atc.Data.Models.LogIteminstance with warning severity.