This file contains 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) | |
{ | |
if(CheckInternetConnection()) | |
Console.WriteLine("Internet var"); | |
else Console.WriteLine("Internet yok"); | |
Console.ReadLine(); |
This file contains 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
<!-- | |
Random Turkish Identification Number Generator | |
--> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
</head> | |
<body> |
This file contains 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.Drawing; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
using System.Windows.Forms; | |
public class WebsiteThumbImage | |
{ | |
public int ThumbWidth { get; set; } | |
public int ThumbHeight { get; set; } |
This file contains 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 BaseModel | |
{ | |
public Guid Id { get; set; } | |
public DateTime CreateDate { get; set; } | |
public bool IsActive { get; set; } | |
public string LastUpdatingUserName { get; set; } | |
public DateTime LastUpdatingDate { get; set; } | |
} |
This file contains 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 IIdentifierGenerator | |
{ | |
Guid SequentialGuid(); | |
} | |
public class GuidCombGenerator | |
: IIdentifierGenerator | |
{ | |
public Guid SequentialGuid() | |
{ |
This file contains 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 void Deneme(string filename) | |
{ | |
// variables | |
var pathin = Path.Combine( | |
Directory.GetCurrentDirectory(),"wwwroot", | |
filename); | |
string pathout = Path.Combine( | |
Directory.GetCurrentDirectory(),"wwwroot/exported", | |
filename); |
This file contains 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 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 ComManager.Models; | |
using Dapper; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Linq; | |
namespace ComManager.Repository | |
{ |
This file contains 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 ComManager.Models; | |
using Dapper; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Linq; | |
namespace ComManager.Repository | |
{ |
This file contains 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 abstract class BaseNotifierJobExecuter<TJob> | |
: INotifierJobExecuter | |
where TJob : IJob | |
{ | |
private ISchedulerFactory schedulerFactory = new StdSchedulerFactory(); | |
public IScheduler scheduler = null; | |
protected IJob jobAction = null; | |
protected string CronExpression = String.Empty; | |
protected string jobKey = String.Empty; |
NewerOlder