コード例 #1
0
 public DatabaseSink(DataAccessLoggerSinks sinkdetails,
                     string connectionstring,
                     string destinationtablename
                     ) : this(sinkdetails, connectionstring)
 {
     this.DestinationTableName = destinationtablename;
 }
コード例 #2
0
 public AzureTableSink(
     DataAccessLoggerSinks sinkdetails,
     string azuretablename,
     string azurestorageaccountname,
     string azurestoragekey
     ) : base(sinkdetails)
 {
     this.AzureTableName          = azuretablename;
     this.AzureStorageAccountName = azurestorageaccountname;
     this.AzureStorageKey         = azurestoragekey;
 }
コード例 #3
0
 public EventLogSink(DataAccessLoggerSinks sinkdetails) : base(sinkdetails)
 {
 }
コード例 #4
0
 public FileSink(DataAccessLoggerSinks sinkdetails, string filepath) : base(sinkdetails)
 {
     this.FilePath = filepath;
 }
コード例 #5
0
 public DatabaseSink(DataAccessLoggerSinks sinkdetails, string connectionstring) : base(sinkdetails)
 {
     this.DatabaseConnectionString = connectionstring;
     this.DestinationTableName     = "DataAccessLogger";
 }
コード例 #6
0
 public ConsoleSink(DataAccessLoggerSinks sinkdetails, ConsoleColor color) : base(sinkdetails)
 {
     this.ForegroundColor = color;
 }
コード例 #7
0
 public ConsoleSink(DataAccessLoggerSinks sinkdetails) : base(sinkdetails)
 {
     this.ForegroundColor = ConsoleColor.Black;
 }
コード例 #8
0
 public DataAccessLoggerSink(DataAccessLoggerSinks sinkDetails)
 {
     this.SourceMachineName           = sinkDetails.SourceMachineName;
     this.SourceApplicationDomainName = sinkDetails.SourceApplicationDomainName;
     this.ReferralLibrary             = sinkDetails.ReferralLibrary;
 }