This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class CronLog | |
| :BaseModel | |
| { | |
| public int ProcessId { get; set; } | |
| public string ProcessName { get; set; } | |
| public DateTime RequestTime { get; set; } | |
| public DateTime ActualRequestTime { get; set; } | |
| public DateTime ResponseTime { get; set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Google.Contacts; | |
| using Google.GData.Contacts; | |
| using Google.GData.Client; | |
| using Google.GData.Extensions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class EmbeddedStringResources | |
| { | |
| static Dictionary<string, string> stringResources = new Dictionary<string, string>(); | |
| public static string LoadResource(string name) | |
| { | |
| // Tüm resource .dll içinde olmalı (GetExecutingAssembly()) | |
| Assembly assembly = Assembly.GetExecutingAssembly(); | |
| string resourceName = assembly.GetName().Name + ".Resources." + name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.Linq; | |
| using ServiceStack; | |
| using ServiceStack.Configuration; | |
| using ServiceStack.Redis; | |
| using ServiceStack.Text; | |
| namespace GithubApi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| LinkCrawler crawler = new LinkCrawler(); | |
| List<string> list = crawler.Catch("http://blog.yemrekeskin.com/en/"); | |
| foreach (var item in list) | |
| { | |
| Console.WriteLine(item); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface ILogger | |
| { | |
| void Write(Exception ex); | |
| void Write(string logText); | |
| } | |
| public abstract class BaseLogger | |
| : ILogger | |
| { | |
| public static string logFilePath = string.Empty; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GO | |
| /****** Object: StoredProcedure [dbo].[INSERT] Script Date: ******/ | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| --drop proc [dbo].[INSERT] | |
| CREATE procedure [dbo].[INSERT] | |
| ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DECLARE @text1 VARCHAR(MAX), | |
| @text2 VARCHAR(MAX), | |
| @text3 VARCHAR(MAX), | |
| @text4 VARCHAR(MAX), | |
| @text5 VARCHAR(MAX), | |
| @dbname VARCHAR(64) | |
| SET @dbname='DB_NAME' | |
| SET @text1='TEXT1_TO_SEARCH' | |
| SET @text2='TEXT2_TO_SEARCH' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Veritabanı nesne içerikleri | |
| SELECT * FROM sys.syscomments(NOLOCK) | |
| -- Şema isimlerinin tutulduğu tablo | |
| SELECT * FROM sys.schemas(NOLOCK) | |
| -- Bütün veritabanı nesne isimleri | |
| SELECT * FROM sys.all_objects(NOLOCK) | |
| -- ana select ifadesi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class TestProcessorOutput | |
| { | |
| public string ScreenTestOutputMessage { get; set; } | |
| public string StoredProcedureTestOutputMessage { get; set; } | |
| public string RunOutPutFileValidationTestOutputMessage { get; set; } | |
| public string RunInputFilevalidationTestOutputMessage { get; set; } | |
| } | |
| public interface ITestProcessor | |
| { |