commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
5005ff51336c12f584969354928960a287606371 | fix LightEntityLineHelper FillToString | AlejandroCano/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,signumsoftware/framework,avifatal/framework | Signum.Web/LineHelpers/LightEntityLineHelper.cs | Signum.Web/LineHelpers/LightEntityLineHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Linq.Expressions;
using Signum.Utilities;
using System.Web.Mvc.Html;
using Signum.Entities;
using Signum.Entities.Reflection;
using System.Web;
using Signum.Engine;
namespace Signum.Web... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Linq.Expressions;
using Signum.Utilities;
using System.Web.Mvc.Html;
using Signum.Entities;
using Signum.Entities.Reflection;
using System.Web;
using Signum.Engine;
namespace Signum.Web... | mit | C# |
ab1996b153e318fe4ff4d02ce918f8b351eaf859 | Update PartialOutputRaster.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/PartialOutputRaster.cs | src/api/PartialOutputRaster.cs | // Copyright 2005-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
namespace Landis.SpatialModeling
{
/// <summary>
/// Provides events and methods for handling output rasters that are
/// closed before all thei... | // Copyright 2005-2006 University of Wisconsin
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.... | apache-2.0 | C# |
5e3fafc7554e4d4e6c5f8a94eccedc78af86c29d | Refactor BackgroundPatternTracer | setchi/n_back_tracer,setchi/n_back_tracer | Assets/Scripts/BackgroundPatternTracer.cs | Assets/Scripts/BackgroundPatternTracer.cs | using UnityEngine;
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UniRx;
public class BackgroundPatternTracer : MonoBehaviour {
[SerializeField] GameObject Tile;
[SerializeField] int col;
[SerializeField] int row;
void Awake () {
transform.localPosition = new... | using UnityEngine;
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UniRx;
public class BackgroundPatternTracer : MonoBehaviour {
[SerializeField] GameObject Tile;
[SerializeField] int col;
[SerializeField] int row;
void Awake () {
transform.localPosition = new... | mit | C# |
ee7bf0085fdad00a901b4a28237164ca133b9a58 | Prepare release 1.1.0.12 | physion/BarcodePrinter | BarcodePrinter/Properties/AssemblyInfo.cs | BarcodePrinter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
1acc37d4f53c3dc17ede6feb069ebf91db1a06d9 | Update BankAccount.cs | kiyoaki/bitflyer-api-dotnet-client | BitFlyer.Apis/ResponseData/BankAccount.cs | BitFlyer.Apis/ResponseData/BankAccount.cs | using System.Runtime.Serialization;
using System.Text;
using Utf8Json;
namespace BitFlyer.Apis
{
public class BankAccount
{
[DataMember(Name = "id")]
public long Id { get; set; }
[DataMember(Name = "is_verified")]
public bool IsVerified { get; set; }
[Da... | using System.Runtime.Serialization;
using System.Text;
using Utf8Json;
namespace BitFlyer.Apis
{
public class BankAccount
{
[DataMember(Name = "id")]
public long Id { get; set; }
[DataMember(Name = "is_verified")]
public bool IsVerified { get; set; }
[DataMember(Na... | mit | C# |
490e9dbfd67d5961e7fb33d63985504c8700b308 | Change icon color to be consistent with other section icon colors | FALM-Umbraco-Projects/FALM-Housekeeping-v7,FALM-Umbraco-Projects/FALM-Housekeeping-v7,FALM-Umbraco-Projects/FALM-Housekeeping-v7 | FALMHousekeeping/Constants/HKConstants.cs | FALMHousekeeping/Constants/HKConstants.cs | namespace FALM.Housekeeping.Constants
{
/// <summary>
/// HkConstants
/// </summary>
public class HkConstants
{
/// <summary>
/// Application
/// </summary>
public class Application
{
/// <summary>Name of the Application</summary>
publ... | namespace FALM.Housekeeping.Constants
{
/// <summary>
/// HkConstants
/// </summary>
public class HkConstants
{
/// <summary>
/// Application
/// </summary>
public class Application
{
/// <summary>Name of the Application</summary>
publ... | mit | C# |
96a7ebe685fd9f8f2bb043ecaba27531cc3501bf | Update JsResource.cs | sorenhl/Glimpse.NLog,rho24/Glimpse.NLog,rho24/Glimpse.NLog,rho24/Glimpse.NLog,sorenhl/Glimpse.NLog,sorenhl/Glimpse.NLog | Glimpse.NLog/Resource/JsResource.cs | Glimpse.NLog/Resource/JsResource.cs | using System.Collections.Generic;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Resource;
namespace Glimpse.NLog.Resource
{
public class JsResource : FileResource, IDynamicClientScript
{
private const string InternalName = "glimpse_nlog_js";
protected override EmbeddedResourceI... | using System.Collections.Generic;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Resource;
namespace Glimpse.NLog.Resource
{
public class JsResource : FileResource, IDynamicClientScript
{
private const string InternalName = "glimpse_nlog_js";
public JsResource() {
ResourceNa... | mit | C# |
c3fcac2ee27a414af76ccbc4fb3eec3f21590e29 | Change name of SQL connection string | IsaacSchemm/AnonymousPhotoBin,IsaacSchemm/AnonymousPhotoBin,IsaacSchemm/AnonymousPhotoBin,IsaacSchemm/AnonymousPhotoBin | AnonymousPhotoBin/Startup.cs | AnonymousPhotoBin/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using AnonymousPhotoBin.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using AnonymousPhotoBin.... | agpl-3.0 | C# |
99d60832cb81599140dec567821cb08cc61108eb | correct spelling i comment | RogerKratz/mbcache | MbCache/Logic/MethodInfoComparer.cs | MbCache/Logic/MethodInfoComparer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MbCache.Logic
{
public class MethodInfoComparer : IEqualityComparer<MethodInfo>
{
public bool Equals(MethodInfo x, MethodInfo y)
{
//no need to check what type methodinfo is on - already checked before enter... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MbCache.Logic
{
public class MethodInfoComparer : IEqualityComparer<MethodInfo>
{
public bool Equals(MethodInfo x, MethodInfo y)
{
//no need to check what type methodinfo is on - already check bef... | mit | C# |
44c306731e242702ee05009360553f12eee278d3 | fix assembly info | DotNetDevs/Synology,matteobruni/Synology,DotNetDevs/Synology,Ar3sDevelopment/Synology,Matt-Co/Synology | Synology/Properties/AssemblyInfo.cs | Synology/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Synology")]
[assembly: AssemblyDescription("Synology API for .NET")]
[assembly: AssemblyConfigura... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Synology")]
[assembly: AssemblyDescription("Synology API for .NET")]
[assembly: AssemblyConfigura... | apache-2.0 | C# |
e4ad517cb1f51a0f1872905ac14a287b24386611 | Handle exceptions when clearing temp files BECAUSE NO ONE REPORTED IT | TorchAPI/Torch | Torch/Managers/FilesystemManager.cs | Torch/Managers/FilesystemManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog;
using Torch.API;
namespace Torch.Managers
{
public class FilesystemManager : Manager
{
private static readonly Logger _log = LogManager.GetCurrentClassLogger... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog;
using Torch.API;
namespace Torch.Managers
{
public class FilesystemManager : Manager
{
private static readonly Logger _log = LogManager.GetCurrentClassLogger... | apache-2.0 | C# |
4f14dd3c48635ec41fd57a0450921174d36be304 | Add InternalsVisibleTo for test project | anjdreas/UnitsNet,neutmute/UnitsNet,BrandonLWhite/UnitsNet,BrandonLWhite/UnitsNet,anjdreas/UnitsNet | UnitsNet/Properties/AssemblyInfo.cs | UnitsNet/Properties/AssemblyInfo.cs | // Copyright(c) 2007 Andreas Gullberg Larsen
// https://github.com/anjdreas/UnitsNet
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation ... | // Copyright(c) 2007 Andreas Gullberg Larsen
// https://github.com/anjdreas/UnitsNet
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation ... | mit | C# |
913a0a6ce80bfdbe22a3ec273164b0abf8fd819c | Make SimControlHandler pass up the slider's initial value | futurechris/zombai | Assets/Scripts/SimControlHandler.cs | Assets/Scripts/SimControlHandler.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class SimControlHandler : MonoBehaviour {
public Text simSpeedLabel;
public Slider simSpeedSlider;
public WorldMap map;
private bool initialSet = false;
// Use this for initialization
// void Start () {}
// Update is called once per fr... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class SimControlHandler : MonoBehaviour {
public Text simSpeedLabel;
public Slider simSpeedSlider;
public WorldMap map;
// Use this for initialization
// void Start () {}
// Update is called once per frame
// void Update () {}
public v... | mit | C# |
5209bc144a107d48cfd738bf936b7ae5f85a8387 | Bump to version 0.1.4. | FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("0.1.4.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("0.1.3.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
9ef1b351f0fad7797141613ec570a93189a0b719 | support removing logger | ubikuity/QuartzNetWebConsole,ubikuity/QuartzNetWebConsole,ubikuity/QuartzNetWebConsole,codevlabs/QuartzNetWebConsole | QuartzNetWebConsole/Setup.cs | QuartzNetWebConsole/Setup.cs | using System;
using Quartz;
namespace QuartzNetWebConsole {
public static class Setup {
public static Func<IScheduler> Scheduler { get; set; }
private static ILogger logger;
public static ILogger Logger {
get { return logger; }
set {
va... | using System;
using Quartz;
namespace QuartzNetWebConsole {
public static class Setup {
public static Func<IScheduler> Scheduler { get; set; }
private static ILogger logger;
public static ILogger Logger {
get { return logger; }
set {
va... | apache-2.0 | C# |
237a22d497966659b752cc123004fc76e33ba484 | Fix failing quot test. | TheBerkin/Rant | Rant.Tests/Capitalization.cs | Rant.Tests/Capitalization.cs | using NUnit.Framework;
namespace Rant.Tests
{
[TestFixture]
public class Capitalization
{
private readonly RantEngine rant = new RantEngine();
[Test]
public void Uppercase()
{
Assert.AreEqual("HELLO WORLD", rant.Do(@"[caps:upper]hello world").Main);
}
... | using NUnit.Framework;
namespace Rant.Tests
{
[TestFixture]
public class Capitalization
{
private readonly RantEngine rant = new RantEngine();
[Test]
public void Uppercase()
{
Assert.AreEqual("HELLO WORLD", rant.Do(@"[caps:upper]hello world").Main);
}
... | mit | C# |
1fc0a1a54852b8ac96719e9457c3d3ea277a7d63 | Update version number again | mattfrear/Swashbuckle.Examples,mattfrear/Swashbuckle.Examples,mattfrear/Swashbuckle.Examples | Swashbuckle.Examples/Properties/AssemblyInfo.cs | Swashbuckle.Examples/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Swa... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Swa... | mit | C# |
07114149fda68aa5b1d745471958c7747dba38a1 | fix dakuryon cage debuff? | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/Abnormality.cs | TCC.Core/Data/Abnormality.cs | namespace TCC.Data
{
public class Abnormality
{
public string IconName { get; set; }
public uint Id { get; set; }
public string Name { get; set; }
public string ToolTip { get; set; }
public bool IsBuff { get; set; }
public bool IsShow { get; set; }
public... | namespace TCC.Data
{
public class Abnormality
{
//Bitmap iconBitmap;
public string IconName { get; set; }
public uint Id { get; set; }
public string Name { get; set; }
public string ToolTip { get; set; }
public bool IsBuff { get; set; }
public bool IsShow... | mit | C# |
214c0775ec735c5b96cad7dbbc358aece7dad6aa | Make rumble more robust. | Eusth/VRGIN | VRGIN/Controls/Handlers/BodyRumbleHandler.cs | VRGIN/Controls/Handlers/BodyRumbleHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using VRGIN.Core;
using VRGIN.Helpers;
namespace VRGIN.Controls.Handlers
{
public class BodyRumbleHandler : ProtectedBehaviour
{
private Controller _Controller;
private int _TouchCounter = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using VRGIN.Core;
using VRGIN.Helpers;
namespace VRGIN.Controls.Handlers
{
public class BodyRumbleHandler : ProtectedBehaviour
{
private Controller _Controller;
private int _TouchCounter = ... | mit | C# |
46582d419210c817413040b9234894c37e945bbf | fix bug | vostok/core | Vostok.Core/RetriableCall/ExceptionFinder.cs | Vostok.Core/RetriableCall/ExceptionFinder.cs | using System;
namespace Vostok.RetriableCall
{
public static class ExceptionFinder
{
public static bool HasException<TException>(Exception rootEx)
where TException : Exception
{
return FindException<TException>(rootEx) != null;
}
public static TException... | using System;
namespace Vostok.RetriableCall
{
public static class ExceptionFinder
{
public static bool HasException<TException>(Exception rootEx)
where TException : Exception
{
return FindException<TException>(rootEx) != null;
}
public static TException... | mit | C# |
8ce4704ffd6b0ff95c61d198e34e7bad308bf5a8 | FIX CIT-785 Hide EDIT button for all users in hub | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Areas/Hub/Views/Shared/DisplayHub.cshtml | Web/Areas/Hub/Views/Shared/DisplayHub.cshtml | @using Cats.Models.Hubs
@using Cats.Web.Hub.Helpers
@using Telerik.Web.Mvc.UI
@{
var usr = @Html.GetCurrentUser();
var mdl = new CurrentUserModel(usr);
}
<div align="right">
@{
string title = "";
if(ViewBag.Title != null)
{
title = ViewBag.Title;
}
}
</di... | @using Cats.Models.Hubs
@using Cats.Web.Hub.Helpers
@using Telerik.Web.Mvc.UI
@{
var usr = @Html.GetCurrentUser();
var mdl = new CurrentUserModel(usr);
}
<div align="right">
@{
string title = "";
if(ViewBag.Title != null)
{
title = ViewBag.Title;
}
}
</di... | apache-2.0 | C# |
06dbb33b511271732941263c234203467b09d7a4 | Add test Notes.UpdateTest.WithExistingTags | orodriguez/FTF,orodriguez/FTF,orodriguez/FTF | FTF.Tests.XUnit/Notes/UpdateTest.cs | FTF.Tests.XUnit/Notes/UpdateTest.cs | using System;
using System.Linq;
using FTF.Api.Exceptions;
using Xunit;
namespace FTF.Tests.XUnit.Notes
{
public class UpdateTest : UserAuthenticatedTest
{
[Fact]
public void SimpleTextUpdate()
{
CurrentTime = new DateTime(2016, 2, 20);
var noteId = App.Notes.C... | using System;
using System.Linq;
using FTF.Api.Exceptions;
using Xunit;
namespace FTF.Tests.XUnit.Notes
{
public class UpdateTest : UserAuthenticatedTest
{
[Fact]
public void SimpleTextUpdate()
{
CurrentTime = new DateTime(2016, 2, 20);
var noteId = App.Notes.C... | mit | C# |
40f43fea1aa1b89d4458ac709e15a47343f393d1 | Update TypeClassMonad.cs | StanJav/language-ext,louthy/language-ext,StefanBertels/language-ext | LanguageExt.Tests/TypeClassMonad.cs | LanguageExt.Tests/TypeClassMonad.cs | using Xunit;
using System.Linq;
using LanguageExt.TypeClasses;
using LanguageExt.ClassInstances;
using static LanguageExt.Prelude;
using static LanguageExt.TypeClass;
using LanguageExt;
namespace LanguageExtTests
{
public class TypeClassMonad
{
[Fact]
public void MonadReturnTest()
{
... | using Xunit;
using System.Linq;
using LanguageExt.TypeClasses;
using LanguageExt.ClassInstances;
using static LanguageExt.Prelude;
using static LanguageExt.TypeClass;
using LanguageExt;
namespace LanguageExtTests
{
public class TypeClassMonad
{
[Fact]
public void MonadBindTest()
{
... | mit | C# |
987e7d5ed34ca20dafceb4086b91b14775d9c805 | Bump to version 2.0.2.0 | Silv3rPRO/proshine,MeltWS/proshine,bobus15/proshine | PROShine/Properties/AssemblyInfo.cs | PROShine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: As... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: As... | mit | C# |
3ef5bffbd704a90cc3400cc393146c8e963c96d9 | Update PBU-Main-Future.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/PBU-Main-Future.cs | ProcessBlockUtil/PBU-Main-Future.cs | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at... | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at... | apache-2.0 | C# |
13695fb7417c82670978a37fe654f1813569c056 | Maintain JsProject.HasChanges | auz34/js-studio | src/Examples/MyStudio/Models/JsProject.cs | src/Examples/MyStudio/Models/JsProject.cs | namespace MyStudio.Models
{
using System;
using Catel.Data;
using System.IO;
using Catel;
public class JsProject : ModelBase
{
public JsProject()
{
this.HasChanges = false;
this.MainScript = "// Start type here";
}
public JsProject(str... | namespace MyStudio.Models
{
using System;
using Catel.Data;
using System.IO;
using Catel;
public class JsProject : ModelBase
{
public JsProject()
{
this.HasChanges = false;
this.MainScript = "// Start type here";
}
public JsProject(str... | mit | C# |
033c00606c837470caaea6ff6306c9693cfe6a19 | Change LxWxH in Parcel to doubles | dmmatson/easypost-csharp,kendallb/easypost-async-csharp,EasyPost/easypost-csharp,EasyPost/easypost-csharp,jmalatia/easypost-csharp | EasyPost/Parcel.cs | EasyPost/Parcel.cs | using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyPost {
public class Parcel : IResource {
public string id { get; set; }
public DateTime created_at { get; set; }
public DateTime updated_at { ... | using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyPost {
public class Parcel : IResource {
public string id { get; set; }
public DateTime created_at { get; set; }
public DateTime updated_at { ... | mit | C# |
514bc8b6359bd50ef7e59076a734624b169f0aea | Change in feature 1 branch VS | miladinoviczeljko/GitTest1 | SimpleWebApi/SimpleWebApi/Controllers/PingController.cs | SimpleWebApi/SimpleWebApi/Controllers/PingController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace SimpleWebApi.Controllers
{
public class PingController : Controller
{
[HttpGet]
[Route("ping")]
public IActionResul... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace SimpleWebApi.Controllers
{
public class PingController : Controller
{
[HttpGet]
[Route("ping")]
public IActionResul... | mit | C# |
68a102f30f4959c6a26fef72383c660fe4b0dea7 | Add case for waiting on an empty id | Necromunger/unitystation,fomalsd/unitystation,Lancemaker/unitystation,fomalsd/unitystation,Necromunger/unitystation,MrLeebo/unitystation,krille90/unitystation,MrLeebo/unitystation,Lancemaker/unitystation,MrLeebo/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,MrLeeb... | UnityProject/Assets/Scripts/Messages/GameMessageBase.cs | UnityProject/Assets/Scripts/Messages/GameMessageBase.cs | using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
public abstract class GameMessageBase : MessageBase
{
public GameObject NetworkObject;
public GameObject[] NetworkObjects;
protected IEnumerator WaitFor(NetworkInstanceId id)
{
if (id.IsEmpty())
{
Debug.LogError($"{this} tried to ... | using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
public abstract class GameMessageBase : MessageBase
{
public GameObject NetworkObject;
public GameObject[] NetworkObjects;
protected IEnumerator WaitFor(NetworkInstanceId id)
{
int tries = 0;
while ((NetworkObject = ClientScene.FindLo... | agpl-3.0 | C# |
730c54ae4a27737ba57c08fee706968da152d54d | バージョンアップ。 | kingkino/Implem.Pleasanter,kingkino/Implem.Pleasanter | Implem.Pleasanter/Properties/AssemblyInfo.cs | Implem.Pleasanter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Implem.Pleasanter")]
[assembly: AssemblyDescription("Web tool that helps the efficiency of business")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Implem.Pleasanter")]
[assembl... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Implem.Pleasanter")]
[assembly: AssemblyDescription("Web tool that helps the efficiency of business")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Implem.Pleasanter")]
[assembl... | agpl-3.0 | C# |
9b02a246523fb85309daa4e5affb1ead64a15e90 | Simplify code | martincostello/alexa-london-travel | src/LondonTravel.Skill/Function.cs | src/LondonTravel.Skill/Function.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Threading.Tasks;
using Alexa.NET.Request;
using Alexa.NET.Response;
using Amazon.Lambda.RuntimeSupport;
using Amazon.Lambda.Serializ... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
using Alexa.NET.Request;
using Alexa.NET.Response;
using Amazon.Lambda.Core;
using Amazon.Lambda.Runt... | apache-2.0 | C# |
3d0518f7d313fdea687cb53d82ec35368df5517e | Clone Test | xx5ko/CSharp | MinMethod/Program.cs | MinMethod/Program.cs | using System;
namespace MinMethod
{
class MainClass
{
// mинимално число
public static void Main(string[] args)
{
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
int firstMinimum = GetMin(a, b, c);
Console.WriteLine();
... | using System;
namespace MinMethod
{
class MainClass
{
public static void Main(string[] args)
{
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
int firstMinimum = GetMin(a, b, c);
Console.WriteLine();
Console.WriteLine(firstM... | mit | C# |
8536aef32fb3e4f03f3549b2d2cb17971438d1a5 | add whitespace to CameraFollow | momo-the-monster/workshop-trails | Assets/PDXcc/Trails/Code/CameraFollow.cs | Assets/PDXcc/Trails/Code/CameraFollow.cs | using UnityEngine;
using System.Collections;
namespace pdxcc
{
public class CameraFollow : MonoBehaviour
{
// Target for the camera to follow
public Transform target;
// Distance to maintain between camera and target
public Vector3 offset;
// How quickly to follow
... | using UnityEngine;
using System.Collections;
namespace pdxcc
{
public class CameraFollow : MonoBehaviour
{
// Target for the camera to follow
public Transform target;
// Distance to maintain between camera and target
public Vector3 offset;
// How quickly to follow
... | mit | C# |
77f3a9da38f06776bcb6b927f15ac9662236a78f | Fix migration helper | tom-englert/ResXResourceManager | src/ResXManager.Tests/UnitTest1.cs | src/ResXManager.Tests/UnitTest1.cs | namespace ResXManager.Tests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using TomsToolbox.Composition;
using TomsToolbox.Essentials;
using Xunit;
public class UnitTest1
... | namespace ResXManager.Tests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using TomsToolbox.Composition;
using TomsToolbox.Essentials;
using Xunit;
public class UnitTest1
... | mit | C# |
46e45518f58445312e69d5baca1c0b375589745e | Update buildtaskcall to include commitid and message | AlexEndris/regtesting,hotelde/regtesting | RegTesting.BuildTasks/UpdateTestcasesTask.cs | RegTesting.BuildTasks/UpdateTestcasesTask.cs | using System;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace RegTesting.BuildTasks
{
/// <summary>
/// A Task to update the testcases
/// </summary>
public class UpdateTestcasesTask : Task
{
/// <summary>
/// called on execution of task. Sends the new testcases to the Testservi... | using System;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace RegTesting.BuildTasks
{
/// <summary>
/// A Task to update the testcases
/// </summary>
public class UpdateTestcasesTask : Task
{
/// <summary>
/// called on execution of task. Sends the new testcases to the Testservi... | apache-2.0 | C# |
9a1ff4092cd4d6cd0e070cf127f28f2f33f26a73 | Set TLS 1.2 as the default potocol | Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net | DancingGoat/Startup.cs | DancingGoat/Startup.cs | using Microsoft.Owin;
using Owin;
using System.Net;
[assembly: OwinStartupAttribute(typeof(DancingGoat.Startup))]
namespace DancingGoat
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
// .NET Framework 4.6.1 and lower does not support TLS 1.2 as the d... | using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(DancingGoat.Startup))]
namespace DancingGoat
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
}
}
} | mit | C# |
016b1a6a33266ca5b002cf116892c33c43281f67 | Add support for specifying that -lgcc_eh is needed. | cwensley/maccore,jorik041/maccore,mono/maccore | src/ObjCRuntime/LinkWithAttribute.cs | src/ObjCRuntime/LinkWithAttribute.cs | //
// Authors: Jeffrey Stedfast
//
// Copyright 2011 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | //
// Authors: Jeffrey Stedfast
//
// Copyright 2011 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | apache-2.0 | C# |
33f0cc8c0d18162e543430980357a0f5e78907fd | Use correct types for LikeUserIDs and LikeUsernames | Baggykiin/Curse.NET | Curse.NET/SocketModel/MessageResponse.cs | Curse.NET/SocketModel/MessageResponse.cs | using System;
using Newtonsoft.Json;
namespace Curse.NET.SocketModel
{
public class MessageResponse : ResponseBody
{
public string ClientID { get; set; }
public string ServerID { get; set; }
public string ConversationID { get; set; }
public string ContactID { get; set; }
public int ConversationType { get;... | using System;
using Newtonsoft.Json;
namespace Curse.NET.SocketModel
{
public class MessageResponse : ResponseBody
{
public string ClientID { get; set; }
public string ServerID { get; set; }
public string ConversationID { get; set; }
public string ContactID { get; set; }
public int ConversationType { get;... | mit | C# |
bef34b982481e2cecfb37d67246991ae2cc16951 | fix build error | RopeLEAP/rope,RopeLEAP/rope,RopeLEAP/rope | RopeTest/RunTests.cs | RopeTest/RunTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RopeTest
{
public abstract class RunTests
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RopeTest
{
public abstract class RunTests
{
public abstract Structure { get; set; }
}
}
| mit | C# |
9bca0fe7c913a7d74d8312796c9b32d2a493d149 | Refactor for RaceType to DerbyType | tmeers/Derby,tmeers/Derby,tmeers/Derby | Derby/ViewModels/CompetitionViewModel.cs | Derby/ViewModels/CompetitionViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Derby.Infrastructure;
using Derby.Models;
namespace Derby.ViewModels
{
public class CompetitionViewModel
{
public int Id { get; ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Derby.Infrastructure;
using Derby.Models;
namespace Derby.ViewModels
{
public class CompetitionViewModel
{
public int Id { get; set; }
public int PackId { get... | mit | C# |
6099399721b957e056e885e0c3cc848fabaf416f | create build script after cloning repo | iTzTheBlade/CandyCane | src/app/CandyCane/CsharpProject.cs | src/app/CandyCane/CsharpProject.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CandyCane;
using System.IO;
using LibGit2Sharp;
namespace CandyCane
{
public class CreateCsharpProjectFrom
{
public void createProjectFrom(string projectOrigin)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CandyCane;
using System.IO;
using LibGit2Sharp;
namespace CandyCane
{
public class CreateCsharpProjectFrom
{
public void createProjectFrom(string projectOrigin)
{
... | mit | C# |
3f40e2c156cb4f49c88f0808aad7254bff55928b | Update LoadWebImage.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,ma... | Examples/CSharp/Articles/LoadWebImage.cs | Examples/CSharp/Articles/LoadWebImage.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Articles
{
public class LoadWebImage
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Articles
{
public class LoadWebImage
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Metho... | mit | C# |
d048704cec447caf17fc65beb24f59b9af0bfdd3 | Add additional IUserIdentity properties | msoler8785/ExoMail | ExoMail.Smtp/Interfaces/IUserIdentity.cs | ExoMail.Smtp/Interfaces/IUserIdentity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExoMail.Smtp.Interfaces
{
public interface IUserIdentity
{
string UserId { get; set; }
string UserName { get; set; }
string Password { get; set; }
strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExoMail.Smtp.Interfaces
{
public interface IUserIdentity
{
string UserId { get; set; }
string UserName { get; set; }
string Password { get; set; }
strin... | mit | C# |
ab34c3ccf607df1f533fe551f5b7589f7108645c | Update version number. | ollyau/FSActiveFires | FSActiveFires/Properties/AssemblyInfo.cs | FSActiveFires/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
50f027d0090298df0f0bac4c0e2c7a2dc4c594d5 | add a listener for debugging data-binding | NaleRaphael/MPLite | MPLite/App.xaml.cs | MPLite/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Diagnostics;
namespace MPLite
{
/// <summary>
/// App.xaml 的互動邏輯
/// </summary>
public partial class App : Application
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace MPLite
{
/// <summary>
/// App.xaml 的互動邏輯
/// </summary>
public partial class App : Application
{
public App() : b... | mit | C# |
888d633d087519bd90741e707aa2492cecbbf468 | Fix vk saving in profile | joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Services.Impl/UserServiceImpl.cs | JoinRpg.Services.Impl/UserServiceImpl.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl
{
[UsedImplicitly]
public class UserServiceImpl : DbServiceImplBase, I... | using System;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl
{
[UsedImplicitly]
public class UserServiceImpl : DbServiceImplBase, I... | mit | C# |
4ee22a5ba7ee9d43d49002235eed22f7c68cb8a3 | Update /guitars page description | michaelp0730/MichaelsMusic,michaelp0730/MichaelsMusic,michaelp0730/MichaelsMusic | MichaelsMusic/Views/Guitars/index.cshtml | MichaelsMusic/Views/Guitars/index.cshtml | @model MichaelsMusic.Models.GuitarCollection
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Title = "Guitars";
ViewBag.Description = "This is the guitars collection page. If you want to look at guitars, but you're not sure which ones, this is the right place to start.";
ViewBag.Keywords = "guitar... | @model MichaelsMusic.Models.GuitarCollection
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Title = "Guitars";
ViewBag.Description = "This is the guitar collections page. These are all guitars that I either: own, used to own, or wish I owned (which is most of them). If you want to look at guitars, bu... | mit | C# |
f8acdc70845c3e73076991789fe7964dc596c2af | Add PropertyClass documentation (closes #31) | felipebz/ndapi | Ndapi/PropertyClass.cs | Ndapi/PropertyClass.cs | using System.Collections.Generic;
using Ndapi.Core.Handles;
using Ndapi.Enums;
using Ndapi.Core;
namespace Ndapi
{
/// <summary>
/// Represent a property class.
/// </summary>
public class PropertyClass : NdapiObject
{
/// <summary>
/// Creates a property class.
/// </summa... | using System.Collections.Generic;
using Ndapi.Core.Handles;
using Ndapi.Enums;
using Ndapi.Core;
namespace Ndapi
{
public class PropertyClass : NdapiObject
{
public PropertyClass(FormModule module, string name)
{
Create(name, ObjectType.PropertyClass, module);
}
in... | mit | C# |
16e6acfe6ff9fe03d0827faa3f40bd4861ba3ec0 | add new mess | toannvqo/dnn_publish | Components/ProductController.cs | Components/ProductController.cs | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | mit | C# |
d78c1c03fb46aabd8d77e988b5a2197e58007b75 | Disable GDB + Bochs GUI | zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | Tests/Cosmos.TestRunner.Full/DefaultEngineConfiguration.cs | Tests/Cosmos.TestRunner.Full/DefaultEngineConfiguration.cs | using System;
using System.Collections.Generic;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
namespace Cosmos.TestRunner.Full
{
public class DefaultEngineConfiguration : IEngineConfiguration
{
public virtual int AllowedSecondsInKernel => 6000;
public virtual IEnumerable<RunTarget... | using System;
using System.Collections.Generic;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
namespace Cosmos.TestRunner.Full
{
public class DefaultEngineConfiguration : IEngineConfiguration
{
public virtual int AllowedSecondsInKernel => 6000;
public virtual IEnumerable<RunTarget... | bsd-3-clause | C# |
859b0dbee6a5d95fcb43bf9597a57936245557cf | make an interface for this | jquintus/TrelloWorld,jquintus/TrelloWorld | TrelloWorld/TrelloWorld.Server/Services/MarkdownService.cs | TrelloWorld/TrelloWorld.Server/Services/MarkdownService.cs | using MarkdownSharp;
using System.IO;
using System.Threading.Tasks;
namespace TrelloWorld.Server.Services
{
public interface IMarkdownService
{
Task<string> GetConfigureAppKey();
}
public class MarkdownService : IMarkdownService
{
private readonly Markdown _md;
private rea... | using MarkdownSharp;
using System.IO;
using System.Threading.Tasks;
namespace TrelloWorld.Server.Services
{
public class MarkdownService
{
private readonly string _rootPath;
public MarkdownService(string rootPath)
{
_rootPath = rootPath;
}
public async Task... | mit | C# |
787672b63ed9e5b0fb38f919e7d896bc8dcb72dc | test number 2 | llthelinkll/opencv_project_1,llthelinkll/PowYingChub,llthelinkll/opencv_project_1,llthelinkll/opencv_project_1,llthelinkll/PowYingChub,llthelinkll/PowYingChub,llthelinkll/PowYingChub,llthelinkll/opencv_project_1 | Unity/PowYingChub/Assets/SocketClient.cs | Unity/PowYingChub/Assets/SocketClient.cs | using UnityEngine;
using System;
using System.Collections;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
public class SocketClient : MonoBehaviour {
// Use this for initialization
//private const int listenPort = 5005;
public GameObject hero;
private float xPos = 10.0f;
... | using UnityEngine;
using System;
using System.Collections;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
public class SocketClient : MonoBehaviour {
// Use this for initialization
//private const int listenPort = 5005;
public GameObject hero;
private float xPos = 10.0f;
... | mit | C# |
4aabf1c6e1d9c4fe5ebbac8697306c5a0884d5dd | Bump nuget version | managed-commons/SvgNet | SvgNet/AssemblyInfo.cs | SvgNet/AssemblyInfo.cs | /*
Copyright © 2003 RiskCare Ltd. All rights reserved.
Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved.
Copyright © 2015, 2017 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors
Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICEN... | /*
Copyright © 2003 RiskCare Ltd. All rights reserved.
Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved.
Copyright © 2015, 2017 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors
Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICEN... | bsd-3-clause | C# |
b980bf01179e4adae7b6b9bdc9725a975fdc5155 | Write track, head and sector number to each sector | rolfmichelsen/dragontools | DragonTools.test/Disk/DiskTest.cs | DragonTools.test/Disk/DiskTest.cs | /*
Copyright 2011-2020 Rolf Michelsen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | /*
Copyright 2011-2020 Rolf Michelsen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | apache-2.0 | C# |
2eb8367c14df7698329cd01521ce215dcd96d423 | Tweak class visibility | mkropat/RouteHandlerHttpModule | RouteHandlerHttpModule/FileHandlerLocator.cs | RouteHandlerHttpModule/FileHandlerLocator.cs | using System.IO;
using System.Web;
namespace RouteHandlerHttpModule
{
public static class FileHandlerLocator
{
public static string Locate(HttpContext context)
{
var requestPath = context.Request.Url.AbsolutePath;
var filePath = context.Request.MapPath(requestPath);
... | using System.IO;
using System.Web;
namespace RouteHandlerHttpModule
{
internal static class FileHandlerLocator
{
public static string Locate(HttpContext context)
{
var requestPath = context.Request.Url.AbsolutePath;
var filePath = context.Request.MapPath(requestPath);
... | mit | C# |
dbcfd53389211ffc429d2797d1413ee9ac2e39f1 | Fix handling main menu utility | DMagic1/KSP_Better_Maneuvering | Source/BetterManeuvering/ManeuverMainMenu.cs | Source/BetterManeuvering/ManeuverMainMenu.cs | #region license
/*The MIT License (MIT)
ManeuverMainMenu - Monobehaviour to attach settings file persistence logic to new game creation
Copyright (c) 2016 DMagic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | #region license
/*The MIT License (MIT)
ManeuverMainMenu - Monobehaviour to attach settings file persistence logic to new game creation
Copyright (c) 2016 DMagic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | mit | C# |
311a08cfd2a50efb214c7028be97a3d51de8803b | Move usings inside namespace in stringextensionstests | Hammerstad/Moya | TestMoya/Extensions/StringExtensionsTests.cs | TestMoya/Extensions/StringExtensionsTests.cs | namespace TestMoya.Extensions
{
using Moya.Extensions;
using Xunit;
public class StringExtensionsTests
{
[Fact]
public void StringExtensionsFormatWithWorksWithWorksWithStrings()
{
const string Expected = "Hello world!";
var actual = "{0} {1}".FormatWith... | using Moya.Extensions;
using Xunit;
namespace TestMoya.Extensions
{
public class StringExtensionsTests
{
[Fact]
public void StringExtensionsFormatWithWorksWithWorksWithStrings()
{
const string Expected = "Hello world!";
var actual = "{0} {1}".FormatWith("Hello"... | mit | C# |
d9c96406ad7a05ecd53fbd41b5ef7f9ad0a6d1bf | Fix crash caused by previous commit | NTumbleBit/NTumbleBit,DanGould/NTumbleBit | NTumbleBit/BouncyCastle/security/SecureRandom.cs | NTumbleBit/BouncyCastle/security/SecureRandom.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTumbleBit.BouncyCastle.Security
{
internal class SecureRandom : Random
{
public SecureRandom()
{
}
public override int Next()
{
return RandomUtils.GetInt32();
... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTumbleBit.BouncyCastle.Security
{
internal class SecureRandom : Random
{
public SecureRandom()
{
}
public override int Next()
{
return RandomUtils.GetInt32();
... | mit | C# |
a90ce74775ae462ed7db89b363483d54d2b8a629 | Remove wrong type for username and e-mail field | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Oogstplanner.Web/Views/Account/_LoginForm.cshtml | Oogstplanner.Web/Views/Account/_LoginForm.cshtml | @model LoginOrRegisterViewModel
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post,
new { @class="form-signin", @role="form"}))
{
<div class="form-group">
@Html.ValidationSummary(true)
</div>
<h2 class="form-signin-heading dark">Meld u alstublie... | @model LoginOrRegisterViewModel
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post,
new { @class="form-signin", @role="form"}))
{
<div class="form-group">
@Html.ValidationSummary(true)
</div>
<h2 class="form-signin-heading dark">Meld u alstublie... | mit | C# |
8dddabe0766c45af3fb90f8f880ad1faefb8904a | Remove outdated todo comment | nopara73/HBitcoin | src/HBitcoin.Tests/TrackingTests.cs | src/HBitcoin.Tests/TrackingTests.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using HBitcoin.FullBlockSpv;
using HBitcoin.Models;
using NBitcoin;
using Xunit;
namespace HBitcoin.Tests
{
public class TrackingTests
{
[Fact]
public void TrackingBlockTest()
... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using HBitcoin.FullBlockSpv;
using HBitcoin.Models;
using NBitcoin;
using Xunit;
namespace HBitcoin.Tests
{
public class TrackingTests
{
[Fact]
public void TrackingBlockTest()
... | mit | C# |
4961a26fe52c6700cf3e8c946c2cbe6733f987c8 | Improve visual of checkouts list | azarkevich/VssSvnConverter | VssSvnConverter/LinksBuilder.cs | VssSvnConverter/LinksBuilder.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mime;
using SourceSafeTypeLib;
using vcslib;
namespace VssSvnConverter
{
class LinksBuilder
{
public const string DataFileName = "3-state-links.txt";
public const string DataFileUiName = "3-state-links-ui.txt";
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mime;
using SourceSafeTypeLib;
using vcslib;
namespace VssSvnConverter
{
class LinksBuilder
{
public const string DataFileName = "3-state-links.txt";
public const string DataFileUiName = "3-state-links-ui.txt";
... | mit | C# |
31d1cba327dd1047b7d3ae2607a413381c84ade8 | Update Index.cshtml | Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2 | webapp/src/webapp/Views/Home/Index.cshtml | webapp/src/webapp/Views/Home/Index.cshtml | <!doctype html>
<html>
<head>
<title>webapp</title>
<base href="~/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?fami... | <!doctype html>
<html>
<head>
<title>webapp</title>
<base href="~/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/material-design-lite/dist/material.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=... | mit | C# |
9d16e90c8514c3aa85f9f1476cef5df3f8bf7ac0 | Update SceneSwitcher.cs | hsnabn/duality-samples | SceneTransitions/SceneSwitcher.cs | SceneTransitions/SceneSwitcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Duality;
using Duality.Resources;
namespace SceneTransitions
{
/// <summary>
/// This static class provides functions related to scenes, such as switching,
/// dispose then switch, and scene reloading.
/// </s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Duality;
using Duality.Resources;
namespace SceneTransitions
{
/// <summary>
/// This static class provides functions related to scenes, such as switching,
/// dispos then switch, and scene reloading.
/// </su... | mit | C# |
fa56e80a8c0f25bd8401640dd1191b1b7f991d5d | Fix mistype | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Home/Index.cshtml | src/WebSite/Views/Home/Index.cshtml | @using X.PagedList;
@using X.PagedList.Mvc.Core;
@model IPagedList<Core.ViewModels.PublicationViewModel>
@{
ViewData["Title"] = "Welcome!";
}
@section head {
<meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" />
<meta property="og:type" content="website" />
<meta property="og:url... | @using X.PagedList;
@using X.PagedList.Mvc.Core;
@model IPagedList<Core.ViewModels.PublicationViewModel>
@{
ViewData["Title"] = "Welcome!";
}
@section head {
<meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" />
<meta property="og:type" content="website" />
<meta property="og:url... | mit | C# |
d6418892b46cb27f16ec717cd5fc4e749a6af425 | Remove unnecessary override | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/UserInterface/BasicTabControl.cs | osu.Framework/Graphics/UserInterface/BasicTabControl.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osuTK.Graphics;
namespace osu.Framework.Graphics.UserInterface
{
public class BasicTabControl<T> : TabControl<T>
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osuTK.Graphics;
namespace osu.Framework.Graphics.UserInterface
{
public class BasicTabControl<T> : TabControl<T>
{
... | mit | C# |
08849539a72ccb7163bee028fd70fea20aa13b67 | Update comment | wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/... | src/Avalonia.Controls/Diagnostics/ToolTipDiagnostics.cs | src/Avalonia.Controls/Diagnostics/ToolTipDiagnostics.cs | #nullable enable
namespace Avalonia.Controls.Diagnostics
{
/// <summary>
/// Helper class to provide diagnostics information for <see cref="ToolTip"/>.
/// </summary>
public static class ToolTipDiagnostics
{
/// <summary>
/// Provides access to the internal <see cref="ToolTip.ToolT... | #nullable enable
namespace Avalonia.Controls.Diagnostics
{
/// <summary>
/// Helper class to provide diagnostics information for <see cref="ToolTip"/>.
/// </summary>
public static class ToolTipDiagnostics
{
public static AvaloniaProperty<ToolTip?> ToolTipProperty = ToolTip.ToolTipProperty... | mit | C# |
f44591540014ebfde95c324770e5d53c7ab0109f | Update src/OmniSharp.Shared/Options/RoslynExtensionsOptions.cs | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Shared/Options/RoslynExtensionsOptions.cs | src/OmniSharp.Shared/Options/RoslynExtensionsOptions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OmniSharp.Options
{
public class RoslynExtensionsOptions : OmniSharpExtensionsOptions
{
public bool EnableDecompilationSupport { get; set; }
public bool EnableAnalyzersSupport { get; set; }
pu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OmniSharp.Options
{
public class RoslynExtensionsOptions : OmniSharpExtensionsOptions
{
public bool EnableDecompilationSupport { get; set; }
public bool EnableAnalyzersSupport { get; set; }
pu... | mit | C# |
761c48db5034ab748bf89f53552dc42a026d58de | fix line endings. | quamotion/discutils,breezechen/DiscUtils,breezechen/DiscUtils,drebrez/DiscUtils | src/Iso9660/CDReader.cs | src/Iso9660/CDReader.cs | //
// Copyright (c) 2008-2010, Kenneth Bell
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, ... | //
// Copyright (c) 2008-2010, Kenneth Bell
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, ... | mit | C# |
7053806975831e65410c2665cac31e6c500f63a6 | improve versioning for artifacts | dazinator/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,gep13/GitVersion,GitTools/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,asbjornu/GitVersion,ParticularLabs/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion | build/version.cake | build/version.cake | public class BuildVersion
{
public string Version { get; private set; }
public string SemVersion { get; private set; }
public string NuGetVersion { get; private set; }
public string DotNetAsterix { get; private set; }
public string DotNetVersion { get; private set; }
public string PreReleaseTag ... | public class BuildVersion
{
public string Version { get; private set; }
public string SemVersion { get; private set; }
public string NuGetVersion { get; private set; }
public string DotNetAsterix { get; private set; }
public string DotNetVersion { get; private set; }
public string PreReleaseTag ... | mit | C# |
4a0082dfee1a31a1f239ca330841e891ec651633 | Update the caching change. | anytao/AtCache | Anytao.Common.Caching/ICache.cs | Anytao.Common.Caching/ICache.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Anytao.Common.Caching
{
/// <summary>
/// Abstractioin for caching.
/// </summary>
/// <typeparam name="TKey"></typeparam>
/// <typeparam name="TValue"></typeparam>
/// <code>https://github.com/anyt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Anytao.Common.Caching
{
/// <summary>
/// Abstractioin for caching.
/// </summary>
/// <typeparam name="TKey"></typeparam>
/// <typeparam name="TValue"></typeparam>
/// <code>https://github.com/anyt... | apache-2.0 | C# |
9024d11967a6c0e64f8a7bbb162cd43d7a9aaac4 | Update Cake.Issues.Recipe to 0.4.2 | cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe | Cake.Recipe/Content/addins.cake | Cake.Recipe/Content/addins.cake | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.9.1
#addin nuget:?package=Cake.Coveralls&version=0.10.2
#addin nuget:?package=Cake.Coverlet&version=2.5.... | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.9.1
#addin nuget:?package=Cake.Coveralls&version=0.10.2
#addin nuget:?package=Cake.Coverlet&version=2.5.... | mit | C# |
3405f4e1cb9ea9f77dd2611cb8cb56dff45bc435 | Remove #if directives from AssemblyLoader.cs. | AIWolfSharp/AIWolf_NET | ClientStarter/AssemblyLoader.cs | ClientStarter/AssemblyLoader.cs | //
// AssemblyLoader.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using Microsoft.Extensions.DependencyModel;
using System.Runtime.Loader;
using System.IO;
using System.Linq;
using System.Reflection;
namespace A... | //
// AssemblyLoader.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
#if NETCOREAPP1_1
using Microsoft.Extensions.DependencyModel;
using System.Runtime.Loader;
#endif
using System.IO;
using System.Linq;
using System... | mit | C# |
97a5a1780910bd5e6e69af4346b0c374513c10cc | fix quickhelp on SerializedParameterAttribute | dot42/api | Dot42/SerializedParameterAttribute.cs | Dot42/SerializedParameterAttribute.cs | using System;
namespace Dot42
{
/// <summary>
/// Specifies this parameter is used in serialization. Types and objects passed
/// as this parameter will have all their public fields and public and private
/// properties preserved and not pruned.
/// <para/>
/// <para/>
/// Can ... | using System;
namespace Dot42
{
/// <summary>
/// Specifies this parameter is used in serialization. Types and objects passed
/// as this parameter will have all their public fields and public and private
/// properties preserved and not pruned.
/// <para/>
/// <para/>
/// Can b... | apache-2.0 | C# |
66c2540bc6f183d7317f29f488a850b0b6c4a96f | Fix version number | File-New-Project/EarTrumpet | EarTrumpet/Properties/AssemblyInfo.cs | EarTrumpet/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Ear Trumpet")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("File-New-Project")]
[assembly: AssemblyProduct("Ear Trumpet")]
[assembly: AssemblyCopyright... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Ear Trumpet")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("File-New-Project")]
[assembly: AssemblyProduct("Ear Trumpet")]
[assembly: AssemblyCopyright... | mit | C# |
2c9d0caf0a6bc719a79e2f4c0a21348b61d42282 | Remove extra spaces | RoyalVeterinaryCollege/Orchard,hbulzy/Orchard,Dolphinsimon/Orchard,cryogen/orchard,grapto/Orchard.CloudBust,MetSystem/Orchard,rtpHarry/Orchard,salarvand/Portal,smartnet-developers/Orchard,openbizgit/Orchard,rtpHarry/Orchard,vard0/orchard.tan,xiaobudian/Orchard,SouleDesigns/SouleDesigns.Orchard,Lombiq/Orchard,huoxudong1... | src/Orchard/IDependency.cs | src/Orchard/IDependency.cs | using Orchard.Localization;
using Orchard.Logging;
namespace Orchard {
public interface IDependency {
}
public interface ISingletonDependency : IDependency {
}
public interface ITransientDependency : IDependency {
}
public abstract class Component : IDependency {
p... | using Orchard.Localization;
using Orchard.Logging;
namespace Orchard {
public interface IDependency {
}
public interface ISingletonDependency : IDependency {
}
public interface ITransientDependency : IDependency {
}
public abstract class Component : IDependency ... | bsd-3-clause | C# |
34d1735465c104fb03b0834e639eb076f4a3a77b | Set up PuzzleMaster for playing sounds | gadauto/OCDEscape | Assets/OCDRoomEscape/Scripts/Interaction/PuzzleMaster.cs | Assets/OCDRoomEscape/Scripts/Interaction/PuzzleMaster.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PuzzleMaster : MonoBehaviour
{
public float timeBetweenSounds = 15f;
public WallManager wallMgr;
public List<Puzzle> puzzles;
float increment;
float weightedIncrementTotal;
bool isGameOver = false;
// Use this for i... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PuzzleMaster : MonoBehaviour
{
public float timeBetweenSounds = 15f;
public WallManager wallMgr;
public List<Puzzle> puzzles;
float increment;
float weightedIncrementTotal;
bool isGameOver = false;
// Use this for i... | apache-2.0 | C# |
8e04657a0d01458a85774a5cd70eb6c6da1098b7 | Update UriTemplate.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/UriTemplate.cs | TIKSN.Core/Web/UriTemplate.cs | using System;
using System.Collections.Generic;
namespace TIKSN.Web
{
public class UriTemplate
{
private readonly string _template;
private readonly Dictionary<string, string> _values;
public UriTemplate(string template)
{
this._template = template;
thi... | using System;
using System.Collections.Generic;
namespace TIKSN.Web
{
public class UriTemplate
{
private readonly string _template;
private readonly Dictionary<string, string> _values;
public UriTemplate(string template)
{
_template = template;
_values ... | mit | C# |
bc611cdb0b6bd3a613f071fa2438e378f9f16a0a | Revert check-in message to use CommitterDisplay rather than Committer | timclipsham/tfs-hipchat | TfsHipChat/HipChatNotifier.cs | TfsHipChat/HipChatNotifier.cs | using HipChat;
using TfsHipChat.Tfs.Events;
namespace TfsHipChat
{
public class HipChatNotifier : INotifier
{
private readonly HipChatClient _hipChatClient;
public HipChatNotifier()
{
_hipChatClient = new HipChatClient
{
Token = Pro... | using HipChat;
using TfsHipChat.Tfs.Events;
namespace TfsHipChat
{
public class HipChatNotifier : INotifier
{
private readonly HipChatClient _hipChatClient;
public HipChatNotifier()
{
_hipChatClient = new HipChatClient
{
Token = Pro... | mit | C# |
79cace5e3c4938e0e506c7ede76a933b40450abd | Add doc comments to RaygunIdentifierMessage | ddunkin/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,articulate/raygun4net,ddunkin/raygun4net,tdiehl/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net,articulate/raygun4net | Mindscape.Raygun4Net/Messages/RaygunIdentifierMessage.cs | Mindscape.Raygun4Net/Messages/RaygunIdentifierMessage.cs | namespace Mindscape.Raygun4Net.Messages
{
public class RaygunIdentifierMessage
{
public RaygunIdentifierMessage(string user)
{
Identifier = user;
}
/// <summary>
/// Unique Identifier for this user. Set this to the identifier you use internally to look up users,
/// or a correlation ... | namespace Mindscape.Raygun4Net.Messages
{
public class RaygunIdentifierMessage
{
public RaygunIdentifierMessage(string user)
{
Identifier = user;
}
public string Identifier { get; set; }
public bool IsAnonymous { get; set; }
public string Email { get; set; }
public string Full... | mit | C# |
077a0740c1edc7841c69968497403feca7c92929 | テストFailure時の詳細メッセージを強化。でもまだたりナス。 | hidari/UstdCsv2Ju | UstdCsv2Ju/ResultXmlWriter.cs | UstdCsv2Ju/ResultXmlWriter.cs | using System.Linq;
using System.Xml;
namespace Hidari0415.UstdCsv2Ju
{
internal class ResultXmlWriter
{
public string InputCsv { get; private set; }
public int Threshold { get; private set; }
public string OutputXml { get; private set; }
public ResultXmlWriter(string inputCsv, int threshold, string outputX... | using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace Hidari0415.UstdCsv2Ju
{
internal class ResultXmlWriter
{
public string InputCsv { get; private set; }
public int Threshold { get; private set; }
public string OutputXml { get; private set; }
public ResultXmlWriter(string input... | mit | C# |
812045328654177044e67eb93212efa3a7de20a8 | Optimize SkipLast for read-only collections (#128) | fsateler/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,ddpruitt/morelinq,morelinq/MoreLINQ | MoreLinq/SkipLast.cs | MoreLinq/SkipLast.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2017 Leandro F. Vieira (leandromoh). All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2017 Leandro F. Vieira (leandromoh). All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | apache-2.0 | C# |
0e0d5a5aeb7d122ca53cefae1e92d0835d74aa31 | fix comments | sebas77/Svelto.ECS,sebas77/Svelto-ECS | Svelto.ECS/IEntityViewStruct.cs | Svelto.ECS/IEntityViewStruct.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Svelto.DataStructures;
using Svelto.Utilities;
namespace Svelto.ECS
{
///<summary>EntityStruct MUST implement IEntiyStruct</summary>
public interface IEntityStruct
{
EGID ID { get; set; }
}
///<summary>EntityVie... | using System;
using System.Collections.Generic;
using System.Reflection;
using Svelto.DataStructures;
using Svelto.Utilities;
namespace Svelto.ECS
{
///<summary>EntityStruct MUST implement IEntiyStruct</summary>
public interface IEntityStruct
{
EGID ID { get; set; }
}
///<summary>EntityVie... | mit | C# |
a830bc8addaeb9b60c70ee9a598725fd0da7b376 | Update IOption.cs | siroky/FuncSharp | src/FuncSharp/DataTypes/Option/IOption.cs | src/FuncSharp/DataTypes/Option/IOption.cs | using System;
using System.Collections.Generic;
namespace FuncSharp
{
public interface IOption<out A> : ICoproduct2<A, Unit>
{
/// <summary>
/// Returns whether the option is empty (doesn't contain any value).
/// </summary>
bool IsEmpty { get; }
/// <summary>
... | using System;
using System.Collections.Generic;
namespace FuncSharp
{
public interface IOption<out A> : ICoproduct2<A, Unit>
{
/// <summary>
/// Returns whether the option is empty (doesn't contain any value).
/// </summary>
bool IsEmpty { get; }
/// <summary>
... | mit | C# |
c8ce0f33cafc10b0052351725c22af5664d7300c | Add new line after each question | TeamGameFifteen2AtTelerikAcademy/Game-Fifteen | src/GameFifteen.Logic/Common/Constants.cs | src/GameFifteen.Logic/Common/Constants.cs | namespace GameFifteen.Logic.Common
{
using System;
public static class Constants
{
// Validator
public const string ArgumentName = "Argument name";
public const string CannotBeNullFormat = "{0} cannot be null!";
// Matrix
public const string HorizontalBorder = " --... | namespace GameFifteen.Logic.Common
{
using System;
public static class Constants
{
// Validator
public const string ArgumentName = "Argument name";
public const string CannotBeNullFormat = "{0} cannot be null!";
// Matrix
public const string HorizontalBorder = " --... | mit | C# |
ccd5362d29c61aa595761a3d9c9dbe45e4222efa | add application/xml to supported mime types | dcomartin/Nancy.Gzip | src/Nancy.Gzip/GzipCompressionSettings.cs | src/Nancy.Gzip/GzipCompressionSettings.cs | namespace Nancy.Gzip
{
using System.Collections.Generic;
public class GzipCompressionSettings
{
public int MinimumBytes { get; set; } = 4096;
public IList<string> MimeTypes { get; set; } = new List<string>
{
"text/plain",
"text/html",
"text/xml"... | namespace Nancy.Gzip
{
using System.Collections.Generic;
public class GzipCompressionSettings
{
public int MinimumBytes { get; set; } = 4096;
public IList<string> MimeTypes { get; set; } = new List<string>
{
"text/plain",
"text/html",
"text/xml"... | mit | C# |
0b763e4603a6f086a66128edbbd6b87d881fdf67 | Add Equals override to support SQ | steven-r/Oberon0Compiler | oberon0/Expressions/Operations/Internal/ArithmeticOpKey.cs | oberon0/Expressions/Operations/Internal/ArithmeticOpKey.cs | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArithmeticOpKey.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the... | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArithmeticOpKey.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the... | mit | C# |
4dcf56d256f266694bec2db06b94654140afd379 | mark geopoint immutable | mm999/OrigoDB | src/OrigoDB.Core/Modeling/Geo/GeoPoint.cs | src/OrigoDB.Core/Modeling/Geo/GeoPoint.cs | using System;
namespace OrigoDB.Core.Modeling.Geo
{
/// <summary>
/// A point on the surface of the earth
/// </summary>
[Serializable, Immutable]
public class GeoPoint
{
public const double EarthRadiusKm = 6372.797560856;
/// <summary>
/// Degrees latitude in the rang... | using System;
namespace OrigoDB.Core.Modeling.Geo
{
/// <summary>
/// A point on the surface of the earth
/// </summary>
[Serializable]
public class GeoPoint
{
public const double EarthRadiusKm = 6372.797560856;
/// <summary>
/// Degrees latitude in the range -90 to +9... | mit | C# |
48cb5ff3f5bdea3c1ea3b091dfae546f694435fc | Update settings file | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/Core/Settings.cs | src/Core/Settings.cs | using System;
using System.Net;
using Microsoft.Extensions.Configuration;
namespace Core
{
public class Settings
{
public string ConnectionString { get; private set; }
public string WebSiteTitle { get; private set; }
public string WebSiteUrl { get; private set; }
public strin... | using System;
using System.Net;
using Microsoft.Extensions.Configuration;
namespace Core
{
public class Settings
{
public string ConnectionString { get; private set; }
public string WebSiteTitle { get; private set; }
public string WebSiteUrl { get; private set; }
public strin... | mit | C# |
89389514bef196d433983f1f101dc307a661b0af | Refactor benchmarks to only demonstrate what's needed | peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.cs | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
public class BenchmarkBindableInstantiation
{... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
public class BenchmarkBindableInstantiation
{... | mit | C# |
d2e7938ca617b372d71f6181883eb4267728ddc3 | Add missing using | MrRoundRobin/telegram.bot | src/Telegram.Bot/Types/ChatJoinRequest.cs | src/Telegram.Bot/Types/ChatJoinRequest.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// Represents a join request sent to a chat.
/// </summary>
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrate... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// Represents a join request sent to a chat.
/// </summary>
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class ChatJoinReq... | mit | C# |
5e60b874846d3ca280331fc08c62fb7d40849ab2 | use sample config.json | jtroe/Centroid,ResourceDataInc/Centroid,ResourceDataInc/Centroid,ResourceDataInc/Centroid,jtroe/Centroid,jtroe/Centroid | dot-net/Demo/Program.cs | dot-net/Demo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CentroidConfig;
namespace CentroidConfig.Demo
{
class Program
{
static void Main(string[] args)
{
var c = new Centroid("../../../../config.json");
f... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CentroidConfig;
namespace CentroidConfig.Demo
{
class Program
{
static void Main(string[] args)
{
var c = new Centroid();
foreach (string env in new... | mit | C# |
a77268691b2f9068947fab741ac223ed8dc5da25 | Clean using | aloisdg/Doccou,saidmarouf/Doccou,aloisdg/CountPages | Counter/IDocument.cs | Counter/IDocument.cs | namespace Counter
{
internal interface IDocument
{
DocumentType Type { get; }
uint Count { get; }
}
}
| using System;
using System.IO;
namespace Counter
{
internal interface IDocument
{
DocumentType Type { get; }
uint Count { get; }
}
}
| mit | C# |
f09ebe210414fc019f1376ee728b666cf4105744 | add correct html title | Sage/sageone_api_csharp_sample,Sage/sageone_api_csharp_sample,Sage/sageone_api_csharp_sample | app/Views/Shared/_Layout.cshtml | app/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<title>Sage Accounting API Sample App - C#</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sage Accounting API Sample App - C#</title>
<link t... | <!DOCTYPE html>
<html>
<head>
<title>@ViewData["Title"] - aspMVC2</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sage Accounting API Sample App - C#</title>
<link type="te... | mit | C# |
5f4b4edd0fa733a0b8c7a2d49f95f107594fef9e | Remove SpriteBatch Begin/End from ConsoleLrs | iridinite/shiftdrive | Client/ConsoleLrs.cs | Client/ConsoleLrs.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016-2017.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Implements a <seealso cref="Console"/> showing a map overview for debugging purposes.
/// </summary>
internal sealed class Con... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016-2017.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Implements a <seealso cref="Console"/> showing a map overview for debugging purposes.
/// </summary>
internal sealed class Con... | bsd-3-clause | C# |
d35895b95b8e7f7c3c26179863a17b809bfa7352 | add toString so it's easier to see in the debugger | Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack | RelhaxModpack/RelhaxModpack/Database/XmlDatabaseProperty.cs | RelhaxModpack/RelhaxModpack/Database/XmlDatabaseProperty.cs | using RelhaxModpack.Utilities.Enums;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RelhaxModpack.Database
{
public class XmlDatabaseProperty
{
public string XmlName { get; set; }
public X... | using RelhaxModpack.Utilities.Enums;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RelhaxModpack.Database
{
public class XmlDatabaseProperty
{
public string XmlName { get; set; }
public X... | apache-2.0 | C# |
755f3cfd52692397decc3413828851d1eb5ac492 | Fix comment typo | george-jones/csm-exportelectricity | ExportElectricity.cs | ExportElectricity.cs | using ICities;
using ColossalFramework;
using ColossalFramework.Plugins;
using UnityEngine;
using System.IO;
namespace ExportElectricityMod
{
public class ExportElectricity : IUserMod {
public string Name
{
get { return "Export Electricity Mod"; }
}
public string Description
{
ge... | using ICities;
using ColossalFramework;
using ColossalFramework.Plugins;
using UnityEngine;
using System.IO;
namespace ExportElectricityMod
{
public class ExportElectricity : IUserMod {
public string Name
{
get { return "Export Electricity Mod"; }
}
public string Description
{
ge... | mit | C# |
37977ca8e8928eae0cdbd6eef5e486fb4795423f | bump to version 1.2.1 | Terradue/DotNetOpenSearchDataAnalyzer | Terradue.OpenSearch.DataAnalyzer/Properties/AssemblyInfo.cs | Terradue.OpenSearch.DataAnalyzer/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.OpenSearch.DataAnalyzer
@{
Terradue.OpenSearch.DataAnalyzer provides with a data harvester to scan files using GDAL and to extract Geo, Time and other metadata to export them as profiled structured ATOM feed.
\xrefitem sw_version "Versions" "Software Package Version" 1.2.1
\xrefit... | /*!
\namespace Terradue.OpenSearch.DataAnalyzer
@{
Terradue.OpenSearch.DataAnalyzer provides with a data harvester to scan files using GDAL and to extract Geo, Time and other metadata to export them as profiled structured ATOM feed.
\xrefitem sw_version "Versions" "Software Package Version" 1.1.5
\xrefit... | agpl-3.0 | C# |
42bb416735467eb0543eab2be0681446ff1fe4e5 | Remove unused constructor. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs | WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs | using System;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor.Socks5.Models.Messages
{
public class TorSocks5Request : ByteArraySerializableBase
{
... | using System;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor.Socks5.Models.Messages
{
public class TorSocks5Request : ByteArraySerializableBase
{
... | mit | C# |
c02b6a63ef0d2b48ad7f4175d9a65f43f61efa07 | Change Windows service account to LocalService because of some security issue with mounted drives | majorimi/DirSync | src/DirSyncService/Installer/DirSyncInstaller.cs | src/DirSyncService/Installer/DirSyncInstaller.cs | using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
using System.ServiceProcess;
namespace DirSyncService.Installer
{
[RunInstaller(true)]
public partial class DirSyncInstaller : System.Configuration.Install.Installer
{
private c... | using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
using System.ServiceProcess;
namespace DirSyncService.Installer
{
[RunInstaller(true)]
public partial class DirSyncInstaller : System.Configuration.Install.Installer
{
private c... | apache-2.0 | C# |
e7847894f4a40226e3b2af756e4ca26fd4400eba | Update StyleIdToStyleConverter.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/Converters/StyleIdToStyleConverter.cs | src/Draw2D/Converters/StyleIdToStyleConverter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia;
using Avalonia.Data.Converters;
using Draw2D.ViewModels.Containers;
na... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia;
using Avalonia.Data.Converters;
using Draw2D.ViewModels;
using Draw2D.V... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.