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 |
|---|---|---|---|---|---|---|---|---|
baaaf67c681f78a9a08f99d549100c8ced66b8b1 | Load system web assembly before running do not use system web assembly analyzer tests | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | BitTools/BitCodeAnalyzer.Test/SystemAnalyzers/WebAnalyzers/DoNotUseSystemWebAssemblyAnalyzerTests.cs | BitTools/BitCodeAnalyzer.Test/SystemAnalyzers/WebAnalyzers/DoNotUseSystemWebAssemblyAnalyzerTests.cs | using System;
using System.Reflection;
using BitCodeAnalyzer.SystemAnalyzers.WebAnalyzers;
using BitCodeAnalyzer.Test.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks... | using System;
using System.Reflection;
using System.Web.Hosting;
using BitCodeAnalyzer.SystemAnalyzers.WebAnalyzers;
using BitCodeAnalyzer.Test.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
us... | mit | C# |
c41b746ff5dae5aa9e30e00ec213c5d32fad8c4b | refactor MediaContentHomeViewModel | Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject | EntertainmentSystem/Web/EntertainmentSystem.Web/ViewModels/MediaContent/MediaContentHomeViewModel.cs | EntertainmentSystem/Web/EntertainmentSystem.Web/ViewModels/MediaContent/MediaContentHomeViewModel.cs | namespace EntertainmentSystem.Web.ViewModels.MediaContent
{
using Data.Models.Media;
using Infrastructure.Mapping;
public class MediaContentHomeViewModel : IMapFrom<MediaContent>
{
public string Title { get; set; }
public string Description { get; set; }
public string Content... | namespace EntertainmentSystem.Web.ViewModels.MediaContent
{
using Data.Models.Media;
using Infrastructure.Mapping;
public class MediaContentHomeViewModel : IMapFrom<MediaContent>
{
public string ContentUrl { get; set; }
public ContentType ContentType { get; set; }
}
}
| mit | C# |
fee67c8214c997fbbcb92828689524478a7bfbd3 | Update GenericPersister.cs | guilherme-otran/projeto-integrado-2-sem | projeto-integrado-2-sem/Interactors/GenericPersister.cs | projeto-integrado-2-sem/Interactors/GenericPersister.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using projeto_integrado_2_sem.Repositories;
using projeto_integrado_2_sem.Validators;
namespace projeto_integrado_2_sem.Interactors
{
class GenericPersister<T> where T : IStorable
{
priv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using projeto_integrado_2_sem.Repositories;
using projeto_integrado_2_sem.Validators;
namespace projeto_integrado_2_sem.Interactors
{
class GenericPersister<T>
{
private BaseRepository<T... | mit | C# |
7d0c091559535e9ff37b61915297bd4c4b4cf8ba | Include method in cache key | selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java | HttpMock/RequestCacheKey.cs | HttpMock/RequestCacheKey.cs | using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HttpMock
{
public class RequestCacheKey
{
public string Method { get; private set; }
public string Scheme { get; private set; }
public st... | using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HttpMock
{
public class RequestCacheKey
{
public string Scheme { get; private set; }
public string Host { get; private set; }
public int?... | mit | C# |
d7dee57886e98696247ceddf2a030bed46fe4e03 | set can not be null in BeatmapSetCover.cs | naoey/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,smoogipooo/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,ppy/osu,Frontear/osuKyzer,2yangk23/osu,ZLima12/o... | osu.Game/Beatmaps/Drawables/BeatmapSetCover.cs | osu.Game/Beatmaps/Drawables/BeatmapSetCover.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Game.Beatmaps.Drawable... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Game.Beatmaps.Drawables
{
publi... | mit | C# |
8104b15874c5b358c22f7d3f8d6fb9ac42b09b94 | remove braces | NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu | osu.Game/Online/API/Requests/GetUserRequest.cs | osu.Game/Online/API/Requests/GetUserRequest.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.Game.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | // 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.Game.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | mit | C# |
a17dfba83422f2283d261cb17ff118ca9f77c2c3 | Add UnitTest for EditExpense#Date. | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.Model.Tests/EditExpenseTest.cs | client/BlueMonkey/BlueMonkey.Model.Tests/EditExpenseTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.ExpenseServices;
using BlueMonkey.MediaServices;
using BlueMonkey.TimeService;
using Moq;
using Xunit;
namespace BlueMonkey.Model.Tests
{
public class EditExpenseTest
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.ExpenseServices;
using BlueMonkey.MediaServices;
using BlueMonkey.TimeService;
using Moq;
using Xunit;
namespace BlueMonkey.Model.Tests
{
public class EditExpenseTest
{
... | mit | C# |
eea96125da4a9ca45149d42181ad416cfd40904d | fix bug about required password length doesnt match | joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | src/JoinRpg.WebPortal.Models/ManageViewModels.cs | src/JoinRpg.WebPortal.Models/ManageViewModels.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace JoinRpg.Web.Models
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public int LoginsCount { get; set; }
public string Email { get; set; }
}
public class FactorViewMod... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace JoinRpg.Web.Models
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public int LoginsCount { get; set; }
public string Email { get; set; }
}
public class FactorViewMod... | mit | C# |
a73c26da10e110f38a1499177215233c08359cef | drop the database if it exists at test setup | KaraokeStu/fluentmigrator,modulexcite/fluentmigrator,spaccabit/fluentmigrator,schambers/fluentmigrator,IRlyDontKnow/fluentmigrator,wolfascu/fluentmigrator,itn3000/fluentmigrator,bluefalcon/fluentmigrator,wolfascu/fluentmigrator,jogibear9988/fluentmigrator,fluentmigrator/fluentmigrator,igitur/fluentmigrator,tommarien/fl... | src/FluentMigrator.Tests/Integration/Processors/Firebird/TestDisposing.cs | src/FluentMigrator.Tests/Integration/Processors/Firebird/TestDisposing.cs | using System.Data;
using FirebirdSql.Data.FirebirdClient;
using FluentMigrator.Expressions;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Generators.Firebird;
using FluentMigrator.Runner.Processors;
using FluentMigrator.Runner.Processors.Firebird;
using NUnit.Framework;
using NUnit.Should;
names... | using System.Data;
using FirebirdSql.Data.FirebirdClient;
using FluentMigrator.Expressions;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Generators.Firebird;
using FluentMigrator.Runner.Processors;
using FluentMigrator.Runner.Processors.Firebird;
using NUnit.Framework;
using NUnit.Should;
names... | apache-2.0 | C# |
5e02a68886f55a82b5823e00e7a544fcc80aabfe | Increase assembly version to 1.1. | safakgur/Dawn.SocketAwaitable | src/Dawn.SocketAwaitable/Properties/AssemblyInfo.cs | src/Dawn.SocketAwaitable/Properties/AssemblyInfo.cs | // Copyright
// ----------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="https://github.com/safakgur/Dawn.SocketAwaitable">
// MIT
// </copyright>
// <license>
// This source code is subject to terms and condit... | // Copyright
// ----------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="https://github.com/safakgur/Dawn.SocketAwaitable">
// MIT
// </copyright>
// <license>
// This source code is subject to terms and condit... | mit | C# |
bf4d5dd41d2602409b8798770486c6bff668cdfc | Add back error to trigger diagnostic | anjdreas/roslyn-analyzers | SampleConsoleApp/Program.cs | SampleConsoleApp/Program.cs | namespace SampleConsoleApp
{
internal static class Program
{
private static void Main(string[] args)
{
// ObjectInitializer_AssignAll enable
Foo foo = new Foo
{
//PropInt = 1,
// ObjectInitializer_AssignAll disable
... | namespace SampleConsoleApp
{
internal static class Program
{
private static void Main(string[] args)
{
// ObjectInitializer_AssignAll enable
Foo foo = new Foo
{
PropInt = 1,
// ObjectInitializer_AssignAll disable
... | mit | C# |
51d0295fb9267fdef95139d558e2c23ffa1615df | Add xmldoc to mem layout attributes. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Memory/MemoryLayoutAttributes.cs | src/AsmResolver.DotNet/Memory/MemoryLayoutAttributes.cs | using System;
namespace AsmResolver.DotNet.Memory
{
/// <summary>
/// Defines members for all possible attributes that can be assigned to a <see cref="TypeMemoryLayout"/> instance.
/// </summary>
[Flags]
public enum MemoryLayoutAttributes
{
/// <summary>
/// Indicates the layout... | using System;
namespace AsmResolver.DotNet.Memory
{
[Flags]
public enum MemoryLayoutAttributes
{
Is32Bit = 0b0,
Is64Bit = 0b1,
BitnessMask = 0b1,
IsPlatformDependent = 0b10,
}
}
| mit | C# |
b8d17eda255f2738a46b8929836bba66e524f5a1 | Fix typo in ILogger. | CamTechConsultants/CvsntGitImporter | ILogger.cs | ILogger.cs | /*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
namespace CvsGitConverter
{
/// <summary>
/// Application logging.
/// </summary>
interface ILogger
{
/// <summary>
/// Increase the indent for any ... | /*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
namespace CvsGitConverter
{
/// <summary>
/// Applicatio logging.
/// </summary>
interface ILogger
{
/// <summary>
/// Increase the indent for any f... | mit | C# |
20b7dff57a7ac6225fc89366bb2758bb2f8f3ecc | Implement GetTabular | TentacleGuitar/Server,TentacleGuitar/Server | src/TentacleGuitar.Server/Controllers/HomeController.cs | src/TentacleGuitar.Server/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TentacleGuitar.Server.Models;
namespace TentacleGuitar.Server.Controllers
{
public class HomeController : BaseController
{
[HttpPost("/SignIn")]
public IAction... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TentacleGuitar.Server.Models;
namespace TentacleGuitar.Server.Controllers
{
public class HomeController : BaseController
{
[HttpPost("/SignIn")]
public IAction... | mit | C# |
6f4b672dd4fb90cbeb76b24915c69392b897375c | Test Server-side function called in transaction fails | jazd/Business,jazd/Business,jazd/Business | CSharp/Core.Test/TestDBFunctions.cs | CSharp/Core.Test/TestDBFunctions.cs | using System;
using NUnit.Framework;
namespace Business.Core.Test
{
[TestFixture]
public class TestDBFunctions
{
[Test]
public void Book() {
var profile = new Profile.Profile();
var database = new Fake.Database(profile);
database.Connect();
var bookName = "Sales";
float bookAmount = 111.11F;
... | using System;
using NUnit.Framework;
namespace Business.Core.Test
{
[TestFixture]
public class TestDBFunctions
{
[Test]
public void Book() {
var profile = new Profile.Profile();
var database = new Fake.Database(profile);
database.Connect();
var bookName = "Sales";
float bookAmount = 111.11F;
... | mit | C# |
864b94ebd995c51e09bc7fc40d98f94a185c295c | Update Weather.cs | stephanecodo/WeatherNet | WeatherNet/Model/Weather.cs | WeatherNet/Model/Weather.cs | #region
using System;
#endregion
namespace WeatherNet.Model
{
/// <summary>
/// General weather result type
/// </summary>
public abstract class Weather
{
/// <summary>
/// Time of data receiving in GMT.
/// </summary>
public DateTime Date { get; set; }
... | #region
using System;
#endregion
namespace WeatherNet.Model
{
/// <summary>
/// General weather result type
/// </summary>
public abstract class Weather
{
/// <summary>
/// Time of data receiving in GMT.
/// </summary>
public DateTime Date { get; set; }
... | mit | C# |
ca303ca3725026d89cd2438121a34e7b488ee856 | Comment out game logic and replace table code | 12joan/hangman | hangman.cs | hangman.cs | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// char key = Console.ReadKey(true).KeyChar;
// var game = new Game("HANG THE MAN");
// bool wasCorrect = game.GuessLetter(key);
// Console.WriteLine(wasCorrect.ToString());
// var ou... | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
char key = Console.ReadKey(true).KeyChar;
var game = new Game("HANG THE MAN");
bool wasCorrect = game.GuessLetter(key);
Console.WriteLine(wasCorrect.ToString());
var output = game.Sho... | unlicense | C# |
80c2f75e8eaf87cb4239dcd181b23443a9c476a4 | fix AgentView choose randomly among last 5 | accu-rate/SumoVizUnity,accu-rate/SumoVizUnity | Assets/Scripts/CameraModes/AgentView.cs | Assets/Scripts/CameraModes/AgentView.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// initial implementation from Christos Tsiliakis
public class AgentView : MonoBehaviour {
private GameObject currentPed = null;
private GameObject mainCameraParent;
void Start() {
mainCameraParent = GameObject.Find ("MainCameraP... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// initial implementation from Christos Tsiliakis
public class AgentView : MonoBehaviour {
private GameObject currentPed = null;
private GameObject mainCameraParent;
void Start() {
mainCameraParent = GameObject.Find ("MainCameraP... | mit | C# |
4168ab5ce64de9d23fd7978c9ea401f2daaa8b3c | Set start position of MetallKefer to the first Waypoint | emazzotta/unity-tower-defense | Assets/Scripts/MetallKeferController.cs | Assets/Scripts/MetallKeferController.cs | using UnityEngine;
using System.Collections;
public class MetallKeferController : MonoBehaviour {
private GameController gameController;
private GameObject[] baseBuildable;
private GameObject nextWaypiont;
private int currentWaypointIndex = 0;
private int movementSpeed = 2;
void Start () {
this.gameControll... | using UnityEngine;
using System.Collections;
public class MetallKeferController : MonoBehaviour {
private GameController gameController;
private GameObject[] baseBuildable;
private GameObject nextWaypiont;
private int currentWaypointIndex = 0;
private int movementSpeed = 2;
void Start () {
this.gameControll... | mit | C# |
6d8100180ddde2afe5370b097a53814f0dfe083a | Add script and audio whitelist to PauseManager | uulltt/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Scenario/PauseManager.cs | Assets/Scripts/Scenario/PauseManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseManager : MonoBehaviour
{
//Whitelisted items won't be affected by pause
public AudioSource[] audioSourceWhitelist;
public MonoBehaviour[] scriptWhitelist;
private bool paused;
private float timeScale;
private Lis... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseManager : MonoBehaviour
{
private bool paused;
private float timeScale;
private List<AudioSource> pausedAudioSources;
private List<MonoBehaviour> disabledScripts;
void Start ()
{
paused = false;
}
void Upda... | mit | C# |
cc4cfc7e852a27e7c45ce46f65b55d4c3333e380 | fix ownership | jeske/StepsDB-alpha,jeske/StepsDB-alpha,jeske/StepsDB-alpha | Bend/Properties/AssemblyInfo.cs | Bend/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("Be... | 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("Co... | apache-2.0 | C# |
9b1dba3a0e58834356b195d3e6f17679958c328b | Exclude files that can not be accessed | sakapon/Tools-2016 | FileReplacer/FileReplacer/FileHelper.cs | FileReplacer/FileReplacer/FileHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace FileReplacer
{
public static class FileHelper
{
public static readonly Encoding UTF8N = new UTF8Encoding();
public static void ReplaceContent(FileInfo file, string oldV... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace FileReplacer
{
public static class FileHelper
{
public static readonly Encoding UTF8N = new UTF8Encoding();
public static void ReplaceContent(FileInfo file, string oldV... | mit | C# |
628bc07b992d049450a5c17429ff29caffc4d4cf | Fix build script | SharpeRAD/Cake.WebDeploy,SharpeRAD/Cake.WebDeploy,SharpeRAD/Cake.WebDeploy | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// IMPORTS
//////////////////////////////////////////////////////////////////////
#addin "Cake.Slack"
#addin "Cake.ReSharperReports"
#addin "Cake.AWS.S3"
#addin "Cake.FileHelpers"
#tool "ReportUnit"
#tool "JetBrains.ReSharper.CommandLineTools"
... | //////////////////////////////////////////////////////////////////////
// IMPORTS
//////////////////////////////////////////////////////////////////////
#addin "Cake.Slack"
#addin "Cake.ReSharperReports"
#addin "Cake.AWS.S3"
#addin "Cake.FileHelpers"
///////////////////////////////////////////////////////////////... | mit | C# |
64859547c97e08e162e8c59bd4d4f7e814e2ed58 | Create assembly info on build | justinjstark/Verdeler,justinjstark/Delivered | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var version = Argument("version", "0.0.0");
/////////////////... | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | mit | C# |
812518f0e17835cba5711affc7b36f81be23c9d4 | remove coveralls. | rafd75/boleto2net,BoletoNet/boleto2net | build.cake | build.cake | #addin Cake.Coveralls
#tool "nuget:?package=NUnit.ConsoleRunner"
#tool "nuget:?package=OpenCover"
///#tool coveralls.net
using System.Xml.Linq;
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
Task("RunNugetPack").WithCriteria(string.IsNullOrWhiteSpace(EnvironmentV... | #addin Cake.Coveralls
#tool "nuget:?package=NUnit.ConsoleRunner"
#tool "nuget:?package=OpenCover"
#tool coveralls.net
using System.Xml.Linq;
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
Task("RunNugetPack").WithCriteria(string.IsNullOrWhiteSpace(EnvironmentVari... | apache-2.0 | C# |
6d996f3a8a14d5cc63fe96520170f03692c6b92c | Add caching option when downloading package. | chocolatey/nuget-chocolatey,jmezach/NuGet2,themotleyfool/NuGet,mono/nuget,indsoft/NuGet2,indsoft/NuGet2,mrward/NuGet.V2,GearedToWar/NuGet2,xoofx/NuGet,ctaggart/nuget,mrward/NuGet.V2,pratikkagda/nuget,xoofx/NuGet,anurse/NuGet,ctaggart/nuget,xoofx/NuGet,jholovacs/NuGet,indsoft/NuGet2,antiufo/NuGet2,dolkensp/node.net,prat... | NuPack.Core/Utility/HttpWebRequestor.cs | NuPack.Core/Utility/HttpWebRequestor.cs | namespace NuPack {
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Net;
using System.Net.Cache;
// REVIEW: This class isn't super clean. Maybe this object should be passed around instead
// of being static
public static class HttpWebRequestor... | namespace NuPack {
using System;
using System.IO;
using System.Net;
using System.Net.Cache;
// REVIEW: This class isn't super clean. Maybe this object should be passed around instead
// of being static
public static class HttpWebRequestor {
[System.Diagnostics.CodeAnalysis... | apache-2.0 | C# |
88891d9b66cddc49bef44ac8af1eca45f8392fa2 | use relative url for getting json metrics | etishor/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,alhardy/Metrics.NET,Recognos/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,mnadel/Metric... | Src/Metrics/Visualization/FlotWebApp.cs | Src/Metrics/Visualization/FlotWebApp.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
namespace Metrics.Visualization
{
public static class FlotWebApp
{
private static string ReadFromEmbededResource()
{
using (var stream = Assembly.GetAssembly(typeof(FlotWebApp)).GetManifestResource... | using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
namespace Metrics.Visualization
{
public static class FlotWebApp
{
private static string ReadFromEmbededResource()
{
using (var stream = Assembly.GetAssembly(typeof(FlotWebApp)).GetManifestResource... | apache-2.0 | C# |
b0d6b8f8f230e316fbbdeea79292e5533382ef6a | Update BulkConfig.cs | borisdj/EFCore.BulkExtensions | EFCore.BulkExtensions/BulkConfig.cs | EFCore.BulkExtensions/BulkConfig.cs | namespace EFCore.BulkExtensions
{
public class BulkConfig
{
public bool PreserveInsertOrder { get; set; }
public bool SetOutputIdentity { get; set; }
public int BatchSize { get; set; } = 2000;
public int? NotifyAfter { get; set; }
public int? BulkCopyTimeout { get; s... | namespace EFCore.BulkExtensions
{
public class BulkConfig
{
public bool PreserveInsertOrder { get; set; }
public bool SetOutputIdentity { get; set; }
public int BatchSize { get; set; } = 2000;
public int? NotifyAfter { get; set; }
public int? BulkCopyTimeout { get; s... | mit | C# |
da9ea14d478b83940a68f79df0c97dfc32515b75 | comment out test tmp folder creation since it isn't used | robertwahler/jammer,robertwahler/EventManager,robertwahler/EventManager,robertwahler/jammer | Assets/Examples/Colors/Test/Unit/Editor/TestSetup.cs | Assets/Examples/Colors/Test/Unit/Editor/TestSetup.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Examples.Test {
[SetUpFixture]
public class TestSetup {
private static TestSetup instance = null;
/// <summary>
/// This path is used to stub the Settings folder. Used f... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Examples.Test {
[SetUpFixture]
public class TestSetup {
private static TestSetup instance = null;
/// <summary>
/// This path is used to stub the Settings folder. Used f... | mit | C# |
5cfb6636054316676c34af3173f8351adf45a6cd | Correct error message in thread test | fairtradex/MaxMind-DB-Reader-dotnet | MaxMind.MaxMindDb.Test/ThreadingTest.cs | MaxMind.MaxMindDb.Test/ThreadingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
namespace MaxMind.MaxMindDb.Test
{
[TestFixture]
public class ThreadingTest
{
[Test]
public void TestParallelFor()
{
var reader = ne... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
namespace MaxMind.MaxMindDb.Test
{
[TestFixture]
public class ThreadingTest
{
[Test]
public void TestParallelFor()
{
var reader = ne... | apache-2.0 | C# |
8f72c279fdad8608b923edcbc6bce3d507641136 | Fix broken unit test for AutoMapperTab. | ajedwards/Glimpse.AutoMapper | Glimpse.AutoMapper/AutoMapperTab.cs | Glimpse.AutoMapper/AutoMapperTab.cs | using System;
using System.Diagnostics;
using System.Linq;
using AutoMapper;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Tab.Assist;
namespace Glimpse.AutoMapper
{
public class AutoMapperTab : TabBase
{
private static readonly string[] Headers = { "Profile", "Type Map" };
private r... | using System;
using System.Linq;
using AutoMapper;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Tab.Assist;
namespace Glimpse.AutoMapper
{
public class AutoMapperTab : TabBase
{
private static readonly string[] Headers = { "Profile", "Type Map" };
private readonly IConfigurationProv... | apache-2.0 | C# |
52ca52c39c824e043d5d20ebf472bacaf305143a | Increment version to v1.3 | phdesign/NppToolBucket | phdesign.NppToolBucket/Properties/AssemblyInfo.cs | phdesign.NppToolBucket/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("Np... | 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("Np... | apache-2.0 | C# |
5ebe14b76513c68172e819ef5697a94ec86d6313 | Update DirectCalculationFormula.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-c... | Examples/CSharp/Formulas/DirectCalculationFormula.cs | Examples/CSharp/Formulas/DirectCalculationFormula.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formulas
{
public class DirectCalculationFormula
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formulas
{
public class DirectCalculationFormula
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflec... | mit | C# |
04110043cd143e7331d67e8b9739be146252c3b9 | Fix - Se ad un utente vengono cancellati tutti i ruoli, viene cancellato l'utente dalla basae dati SO115 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneUtenti/GestioneRuoli/DeleteRuolo.cs | src/backend/SO115App.Persistence.MongoDB/GestioneUtenti/GestioneRuoli/DeleteRuolo.cs | //-----------------------------------------------------------------------
// <copyright file="DeleteRuolo.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License ... | //-----------------------------------------------------------------------
// <copyright file="DeleteRuolo.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License ... | agpl-3.0 | C# |
e95eea248a420a69c5354a01488f19961fe64e18 | change int test address back to localhost | AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud | src/server/Adaptive.ReactiveTrader.Server.IntegrationTests/IntegrationTestAddress.cs | src/server/Adaptive.ReactiveTrader.Server.IntegrationTests/IntegrationTestAddress.cs | namespace Adaptive.ReactiveTrader.Server.IntegrationTests
{
public static class IntegrationTestAddress
{
public const string Url = "localhost";
}
}
| namespace Adaptive.ReactiveTrader.Server.IntegrationTests
{
public static class IntegrationTestAddress
{
public const string Url = "192.168.99.100";
}
}
| apache-2.0 | C# |
38ff4bd9d74a339ccea3ee2ab5ba44d03dd7c866 | Fix bug with moving claim to character | joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Views/Shared/AvailClaimTargetsPartial.cshtml | Joinrpg/Views/Shared/AvailClaimTargetsPartial.cshtml | @using JoinRpg.Web.Models
@model CharacterGroupListViewModel
@functions {
private static string GetName(CharacterGroupListItemViewModel gr)
{
return gr.Name + (gr.AvaiableDirectSlots > 0 ? (" " + DisplayCount.OfX(gr.AvaiableDirectSlots, "вакансия", "вакансии", "вакансий")) : "");
}
}
@helper CreateValu... | @using JoinRpg.Web.Models
@model CharacterGroupListViewModel
@functions {
private static string GetName(CharacterGroupListItemViewModel gr)
{
return gr.Name + (gr.AvaiableDirectSlots > 0 ? (" " + DisplayCount.OfX(gr.AvaiableDirectSlots, "вакансия", "вакансии", "вакансий")) : "");
}
}
@helper CreateValu... | mit | C# |
78f7b46fed076eb9cddcb73016d065ceccf01191 | Active line highlighting width fix | segrived/Msiler | Msiler/Lib/HighlightCurrentLineBackgroundRenderer.cs | Msiler/Lib/HighlightCurrentLineBackgroundRenderer.cs | using System.Windows;
using System.Windows.Media;
using ICSharpCode.AvalonEdit;
using ICSharpCode.AvalonEdit.Rendering;
using Microsoft.VisualStudio.PlatformUI;
using Msiler.Helpers;
namespace Msiler.Lib
{
public class HighlightCurrentLineBackgroundRenderer : IBackgroundRenderer
{
public bool Enabled ... | using System.Windows;
using System.Windows.Media;
using ICSharpCode.AvalonEdit;
using ICSharpCode.AvalonEdit.Rendering;
using Microsoft.VisualStudio.PlatformUI;
using Msiler.Helpers;
namespace Msiler.Lib
{
public class HighlightCurrentLineBackgroundRenderer : IBackgroundRenderer
{
public bool Enabled ... | mit | C# |
f0e59fe165d1bc982c5c40c8dbe093cfe142961d | Hide common methods from Object class in Convention class. | bondarenkod/Dapper-FluentMap,henkmollema/Dapper-FluentMap,henkmollema/Dapper-FluentMap,arumata/Dapper-FluentMap,thomasbargetz/Dapper-FluentMap | src/Dapper.FluentMap/Conventions/Convention.cs | src/Dapper.FluentMap/Conventions/Convention.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using Dapper.FluentMap.Mapping;
namespace Dapper.FluentMap.Conventions
{
/// <summary>
/// Represents a convention for mapping entity properties to column names.
/// </summary>
public abstract class Convention
{
/... | using System;
using System.Collections.Generic;
using Dapper.FluentMap.Mapping;
namespace Dapper.FluentMap.Conventions
{
/// <summary>
/// Represents a convention for mapping entity properties to column names.
/// </summary>
public abstract class Convention
{
/// <summary>
/// Init... | mit | C# |
7f7788baf1a7fb14a070731203dd84794b7e3d2e | update SearchCriteria | lianzhao/WikiaWP,lianzhao/WikiaWP,lianzhao/WikiaWP | src/ZhAsoiafWiki.Plus/Models/SearchCriteria.cs | src/ZhAsoiafWiki.Plus/Models/SearchCriteria.cs | namespace ZhAsoiafWiki.Plus.Models
{
public class SearchCriteria
{
public string Query { get; set; }
public int Page { get; set; }
public int? PageSize { get; set; }
public int? AbstractLength { get; set; }
public int? ThumbnailWidth { get; set; }
... | namespace ZhAsoiafWiki.Plus.Models
{
public class SearchCriteria
{
public string Query { get; set; }
public int Page { get; set; }
public int? PageSize { get; set; }
public bool IsValidRequest()
{
return !string.IsNullOrEmpty(Query) && Page >= ... | mit | C# |
866bf0340a2db0ad4dba0e9303e360a09a596095 | Rename unit test function to be more explicit on its purpose. | jbogard/MediatR | test/MediatR.Tests/NotificationHandlerTests.cs | test/MediatR.Tests/NotificationHandlerTests.cs | using System.IO;
using System.Text;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace MediatR.Tests
{
public class NotificationHandlerTests
{
public class Ping : INotification
{
public string Message { get; set; }
}
public class PongChildHandler :... | using System.IO;
using System.Text;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace MediatR.Tests
{
public class NotificationHandlerTests
{
public class Ping : INotification
{
public string Message { get; set; }
}
public class PongChildHandler :... | apache-2.0 | C# |
44177eea1a0c43d070041ea31fc95d165e073f2d | fix case. | thinkingmedia/Prometheus | Prometheus/Nodes/Types/UndefinedType.cs | Prometheus/Nodes/Types/UndefinedType.cs | using System;
using System.Diagnostics;
using Prometheus.Nodes.Types.Attributes;
using Prometheus.Nodes.Types.Bases;
namespace Prometheus.Nodes.Types
{
/// <summary>
/// Represents an undefined value.
/// </summary>
[DebuggerDisplay("Undefined")]
[DataTypeInfo("Undefined")]
public class Undefi... | using System.Diagnostics;
using Prometheus.Nodes.Types.Attributes;
using Prometheus.Nodes.Types.Bases;
namespace Prometheus.Nodes.Types
{
/// <summary>
/// Represents an undefined value.
/// </summary>
[DebuggerDisplay("Undefined")]
[DataTypeInfo("Undefined")]
public class UndefinedType : Data... | mit | C# |
dd229b40c0b80ea024dd1f9ee6b87d7b54e5f3d2 | Remove unused code | claudiospizzi/DSCPullServerWeb | Sources/DSCPullServerWeb/Helpers/FileActionResult.cs | Sources/DSCPullServerWeb/Helpers/FileActionResult.cs | using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace DSCPullServerWeb.Helpers
{
public class FileActionResult : IHttpActionResult
{
private FileInfo _file;
public FileActionResult(FileInfo... | using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace DSCPullServerWeb.Helpers
{
public class FileActionResult : IHttpActionResult
{
private FileInfo _file;
public FileActionResult(FileInfo... | mit | C# |
83b9bbe13bd6d4364ad68bc822fc9cce83fe4a6c | Fix for windows: custom font was disposed PrivateFontCollection was not kept in memory, causing the loaded font to be disposed, causing a later crash. | tzachshabtay/MonoAGS | Engine/UI/Text/AGSFontLoader.cs | Engine/UI/Text/AGSFontLoader.cs | using System;
using AGS.API;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Drawing.Text;
using System.Collections.Generic;
namespace AGS.Engine
{
public class AGSFontLoader
{
private IResourceLoader _resources;
private PrivateFontCollection _fontCollection;
private Dicti... | using System;
using AGS.API;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Drawing.Text;
namespace AGS.Engine
{
public class AGSFontLoader
{
private IResourceLoader _resources;
public AGSFontLoader(IResourceLoader resources)
{
_resources = resources;
}
public FontFamily Loa... | artistic-2.0 | C# |
45c59c7296eb7fece73bd9dada3f9d67d8c6db04 | Revert "View インスタンスが何度も作られないよう修正" | veigr/EventMapHpViewer,liaoleon/EventMapHpViewer,FreyYa/EventMapHpViewer,Grabacr07/EventMapHpViewer | EventMapHpViewer/MapHpViewer.cs | EventMapHpViewer/MapHpViewer.cs | using System.ComponentModel.Composition;
using EventMapHpViewer.Models;
using EventMapHpViewer.ViewModels;
using Grabacr07.KanColleViewer.Composition;
namespace EventMapHpViewer
{
[Export(typeof(IPlugin))]
[Export(typeof(ITool))]
[ExportMetadata("Guid", "101436F4-9308-4892-A88A-19EFBDF2ED5F")]
[Export... | using System.ComponentModel.Composition;
using EventMapHpViewer.Models;
using EventMapHpViewer.ViewModels;
using Grabacr07.KanColleViewer.Composition;
namespace EventMapHpViewer
{
[Export(typeof(IPlugin))]
[Export(typeof(ITool))]
[ExportMetadata("Guid", "101436F4-9308-4892-A88A-19EFBDF2ED5F")]
[Export... | mit | C# |
e26f650764d5fa3e9754d9ac37f6cd96cca5e7e4 | Comment out debug message (no longer required) [ci skip] | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs | Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
[RequireComponent (typeof (Rigidbody))]
public class ShipManager : MonoBehaviour {
public float portTransCutoff = 5;
//Setup Variables for gathering Ports
public enum Direction{
YawLeft,
YawRight,
... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
[RequireComponent (typeof (Rigidbody))]
public class ShipManager : MonoBehaviour {
public float portTransCutoff = 5;
//Setup Variables for gathering Ports
public enum Direction{
YawLeft,
YawRight,
... | apache-2.0 | C# |
a0a33ea3b9387d660fdbe129abd1014becd67d04 | Enable TLS Usage | iquirino/NetStash | NetStash/Properties/AssemblyInfo.cs | NetStash/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("Ne... | 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("Ne... | apache-2.0 | C# |
423e3cc9b6c8291a4d6b4f71148d1f47c3bc36da | Use ObservableCollection for ComboBox item source so that the ComboBox updates when the list changes. | ushadow/handinput,ushadow/handinput,ushadow/handinput | GesturesViewer/ModelSelector.cs | GesturesViewer/ModelSelector.cs | using System;
using System.IO;
using System.ComponentModel;
using System.Text.RegularExpressions;
using System.Collections.ObjectModel;
using Common.Logging;
namespace GesturesViewer {
class ModelSelector : INotifyPropertyChanged {
static readonly ILog Log = LogManager.GetCurrentClassLogger();
static reado... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Text.RegularExpressions;
using Common.Logging;
namespace GesturesViewer {
class ModelSelector : INotifyPropertyChanged {
static readonly... | mit | C# |
bbae930a81d0305a0a710b645c9ea6a750c1775d | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
abd9ddc7fbef7d85e4f03ae1a878f454d32b8494 | test of line ending stuff | utunga/Tradeify,utunga/Tradeify | Offr.Tests/MockMessageParser.cs | Offr.Tests/MockMessageParser.cs | using System;
using Offr.Message;
using Offr.Text;
namespace Offr.Tests
{
public class MockMessageParser : IMessageParser
{
//hi mum
public IMessage Parse(IRawMessage source)
{
if (!(source is MockRawMessage))
{
throw new ApplicationException("Moc... | using System;
using Offr.Message;
using Offr.Text;
namespace Offr.Tests
{
public class MockMessageParser : IMessageParser
{
public IMessage Parse(IRawMessage source)
{
if (!(source is MockRawMessage))
{
throw new ApplicationException("MockSourceText only ... | agpl-3.0 | C# |
70535c262763e4a4f7ea99677c51a8461de29340 | Fix performance logger format | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Core/Logging/PerformanceLogger.cs | InfinniPlatform.Core/Logging/PerformanceLogger.cs | using System;
using Microsoft.Extensions.Logging;
namespace InfinniPlatform.Logging
{
public class PerformanceLogger<TComponent> : IPerformanceLogger<TComponent>
{
public PerformanceLogger(ILogger<IPerformanceLogger<TComponent>> logger)
{
_logger = logger;
}
priv... | using System;
using Microsoft.Extensions.Logging;
namespace InfinniPlatform.Logging
{
public class PerformanceLogger<TComponent> : IPerformanceLogger<TComponent>
{
public PerformanceLogger(ILogger<IPerformanceLogger<TComponent>> logger)
{
_logger = logger;
}
priv... | agpl-3.0 | C# |
44a29efe00917f78640722a231ed9948c897278c | Fix #15 | arthurrump/Zermelo.App.UWP | Zermelo.App.UWP/Login/LoginViewModel.cs | Zermelo.App.UWP/Login/LoginViewModel.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.Azure.Mobile.Analytics;
using Template10.Mvvm;
using Windows.UI.Xaml.Navigation;
using Zermelo.App.UWP.Services;
namespace Zermelo.App.UWP.Login
{
public class LoginViewModel : ViewModelBase
{
Sto... | using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.Azure.Mobile.Analytics;
using Template10.Mvvm;
using Windows.UI.Xaml.Navigation;
using Zermelo.App.UWP.Services;
namespace Zermelo.App.UWP.Login
{
public class LoginViewModel : ViewModelBase
{
Sto... | mit | C# |
c26f276f8d2c4e5dd162e91de972a49619116319 | Update ElasticIndexServices.cs | siuccwd/IOER,siuccwd/IOER,siuccwd/IOER | Services/Isle.BizServices/ElasticIndexServices.cs | Services/Isle.BizServices/ElasticIndexServices.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LRWarehouse.Business;
using LRWarehouse.DAL;
using LRWarehouse.Business.ResourceV2;
using System.Runtime.Caching;
using System.Collections.Concurrent;
using System.Threading;
namespace Isle.BizServices
{
public class Elas... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LRWarehouse.Business;
using LRWarehouse.DAL;
namespace Isle.BizServices
{
public class ElasticIndexServices
{
/// <summary>
/// Remove a resource version document
/// </summary>
/// <... | apache-2.0 | C# |
b9781a2e07befab8369915c97084af3d13a371a6 | Fix PATH for non-Windows hosts (#36) | rosolko/WebDriverManager.Net | WebDriverManager/Services/Impl/VariableService.cs | WebDriverManager/Services/Impl/VariableService.cs | using System;
using System.IO;
namespace WebDriverManager.Services.Impl
{
public class VariableService : IVariableService
{
public void SetupVariable(string path)
{
UpdatePath(path);
}
protected void UpdatePath(string path)
{
const string name =... | using System;
using System.IO;
namespace WebDriverManager.Services.Impl
{
public class VariableService : IVariableService
{
public void SetupVariable(string path)
{
UpdatePath(path);
}
protected void UpdatePath(string path)
{
const string name =... | mit | C# |
906b5ef4b4cf1fea35c2e537967d45e4a9525cf1 | refactor for readability | gregoryjscott/please,ResourceDataInc/please,jtroe/please,jtroe/please,jtroe/please,ResourceDataInc/please,ResourceDataInc/please,gregoryjscott/please,gregoryjscott/please | app/Library/Migrate/Tasks/RunMissingMigrations.cs | app/Library/Migrate/Tasks/RunMissingMigrations.cs | using System.Linq;
using Library.Migrate.Model;
using Simpler;
namespace Library.Migrate.Tasks
{
public class RunMissingMigrations : InTask<RunMissingMigrations.Input>
{
public class Input
{
public string ConnectionName { get; set; }
public Version[] InstalledVersions {... | using System.Linq;
using Library.Migrate.Model;
using Simpler;
namespace Library.Migrate.Tasks
{
public class RunMissingMigrations : InTask<RunMissingMigrations.Input>
{
public class Input
{
public string ConnectionName { get; set; }
public Version[] InstalledVersions {... | mit | C# |
d36227084ed2b169b1e82b1c473882a17ea72e52 | Fix - In "aggiungi nuovo utente" la ricerca filtra sia per nome che per cognome | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/Personale/GetPersonaleVVF.cs | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/Personale/GetPersonaleVVF.cs | using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using SO115App.ExternalAPI.Fake.Classi.PersonaleUtentiComuni;
using SO115App.ExternalAPI.Fake.Classi.Utility;
using SO115App.Models.Classi.Utenti.Autenticazione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Personale;
using System;
using S... | using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using SO115App.ExternalAPI.Fake.Classi.PersonaleUtentiComuni;
using SO115App.ExternalAPI.Fake.Classi.Utility;
using SO115App.Models.Classi.Utenti.Autenticazione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Personale;
using System.Collecti... | agpl-3.0 | C# |
6fc010e874e0bca8bc67527060f9deff900952ec | update nlog reports with new reporting structure | alhardy/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,Liwoj/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,etishor/Met... | Src/Adapters/Metrics.NLog/NLogReportsConfigExtensions.cs | Src/Adapters/Metrics.NLog/NLogReportsConfigExtensions.cs |
using System;
using Metrics.NLog;
using Metrics.Reporters;
using Metrics.Reports;
namespace Metrics
{
public static class NLogReportsConfigExtensions
{
/// <summary>
/// Write CSV Metrics Reports using NLog.
/// </summary>
/// <param name="reports">Instance to configure</param... |
using System;
using Metrics.NLog;
using Metrics.Reporters;
using Metrics.Reports;
namespace Metrics
{
public static class NLogReportsConfigExtensions
{
/// <summary>
/// Write CSV Metrics Reports using NLog.
/// </summary>
/// <param name="reports">Instance to configure</param... | apache-2.0 | C# |
b20fbbace2673d3d3fe239be47be2a5f05322882 | Remove unused usings. | FloodProject/flood,FloodProject/flood,FloodProject/flood | src/EngineManaged/PropertyNotifier.cs | src/EngineManaged/PropertyNotifier.cs | using System;
namespace Flood
{
public class PropertyAttribute : Attribute
{
}
public delegate bool PropertyChanged(object obj, string propertyName, object oldValue, object newValue);
public interface IPropertyNotifier
{
event PropertyChanged PropertyChanged;
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Flood
{
public class PropertyAttribute : Attribute
{
}
public delegate bool PropertyChanged(object obj, string propertyName, object oldValue, object newValue);
... | bsd-2-clause | C# |
4662ec6b443d9df2bf350a9704635b4976ef615d | Bump patch version | inputfalken/Sharpy | src/Sharpy/Properties/AssemblyInfo.cs | src/Sharpy/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("S... | 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("S... | mit | C# |
24632dbbbd791906225a080b7179231fc3acc083 | Remove tap repo stuff | RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast | RightpointLabs.Pourcast.Application/Orchestrators/Concrete/TapOrchestrator.cs | RightpointLabs.Pourcast.Application/Orchestrators/Concrete/TapOrchestrator.cs | namespace RightpointLabs.Pourcast.Application.Orchestrators.Concrete
{
using System;
using RightpointLabs.Pourcast.Application.Orchestrators.Abstract;
using RightpointLabs.Pourcast.Domain.Models;
using RightpointLabs.Pourcast.Domain.Repositories;
using RightpointLabs.Pourcast.Domain.Services;
... | namespace RightpointLabs.Pourcast.Application.Orchestrators.Concrete
{
using System;
using RightpointLabs.Pourcast.Application.Orchestrators.Abstract;
using RightpointLabs.Pourcast.Domain.Models;
using RightpointLabs.Pourcast.Domain.Repositories;
using RightpointLabs.Pourcast.Domain.Services;
... | mit | C# |
a6765744a2e47967a6c2003262274a8e280f6a57 | introduce proxy class for sitenav | mruhul/workshop-carsales-web-mvc,mruhul/workshop-carsales-web-mvc | Src/Carsales.Web/Features/Shared/SiteNav/LoadSiteNavOnPageLoadEventHandler.cs | Src/Carsales.Web/Features/Shared/SiteNav/LoadSiteNavOnPageLoadEventHandler.cs | using System.Threading.Tasks;
using System.Web.Mvc;
using Bolt.Cache;
using Bolt.Cache.Extensions;
using Bolt.RequestBus;
using Carsales.Web.Infrastructure.Cache;
using Carsales.Web.Infrastructure.StartupTasks;
using Carsales.Web.Infrastructure.UserContext;
namespace Carsales.Web.Features.Shared.SiteNav
{
public ... | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using Bolt.Cache;
using Bolt.Cache.Extensions;
using Bolt.RequestBus;
using Bolt.RestClient;
using Bolt.RestClient.Builders;
using Bolt.RestClient.Extensions;
using Carsales.Web.Infrastructure.Cache;
using Carsales.Web.Infrastructure.Configs;
using Cars... | mit | C# |
ead9b657622cde7df77c5169fe5b22c48a2205ca | Make EnvironmentVariableConfiguration methods virtual | appharbor/appharbor-cli | src/AppHarbor/EnvironmentVariableConfiguration.cs | src/AppHarbor/EnvironmentVariableConfiguration.cs | using System;
namespace AppHarbor
{
public class EnvironmentVariableConfiguration
{
public virtual string Get(string variable, EnvironmentVariableTarget environmentVariableTarget)
{
return Environment.GetEnvironmentVariable(variable, environmentVariableTarget);
}
public virtual void Set(string variable,... | using System;
namespace AppHarbor
{
public class EnvironmentVariableConfiguration
{
public string Get(string variable, EnvironmentVariableTarget environmentVariableTarget)
{
return Environment.GetEnvironmentVariable(variable, environmentVariableTarget);
}
public void Set(string variable, string value, E... | mit | C# |
09baa63f7472e8089fc5885ca6220ffbfde26925 | add StatusCode and Content for RpcClientInvalidStatusCodeException (#62) | Gekctek/JsonRpc.Router,edjCase/JsonRpc,edjCase/JsonRpc | src/EdjCase.JsonRpc.Client/RpcClientExceptions.cs | src/EdjCase.JsonRpc.Client/RpcClientExceptions.cs | using System;
using EdjCase.JsonRpc.Core;
namespace EdjCase.JsonRpc.Client
{
/// <summary>
/// Base exception that is thrown from an error that was caused by the client
/// for the rpc request (not caused by rpc server)
/// </summary>
public abstract class RpcClientException : Exception
{
/// <param name="mes... | using System;
using EdjCase.JsonRpc.Core;
namespace EdjCase.JsonRpc.Client
{
/// <summary>
/// Base exception that is thrown from an error that was caused by the client
/// for the rpc request (not caused by rpc server)
/// </summary>
public abstract class RpcClientException : Exception
{
/// <param name="mes... | mit | C# |
855587249579a987e188d70b2d0141ce4808ef15 | remove comments fix things up | EhrgoHealth/CS6440,EhrgoHealth/CS6440 | src/EhrgoHealth.Web/App_Start/AutoMapperConfig.cs | src/EhrgoHealth.Web/App_Start/AutoMapperConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using EhrgoHealth.Data;
using Fitbit;
namespace EhrgoHealth.Web.App_Start
{
public class AutoMapperConfig
{
public static void ConfigureMap()
{
Mapper.Initialize(a =>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using EhrgoHealth.Data;
using Fitbit;
namespace EhrgoHealth.Web.App_Start
{
public class AutoMapperConfig
{
public static void ConfigureMap()
{
Mapper.Initialize(a =>
... | mit | C# |
b120d9f64b8f58d53f4ad0f50bbf78b5824b3204 | remove GS name in assembly info | mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient | minuet/symphony/GlobalAssemblyInfo.cs | minuet/symphony/GlobalAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Symphony OSF")]
[assembly: AssemblyProduct("Paragon")]
[assembly: AssemblyCopyright("Symphony OSF")]
[assembly: ComVisible(false)]
#if DEBUG
[assembly: AssemblyConfiguration("DEBUG")]
#else
[assembly: AssemblyConfig... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Goldman Sachs & Co.")]
[assembly: AssemblyProduct("Paragon")]
[assembly: AssemblyCopyright("Copyright © Goldman Sachs & Co. 2015")]
[assembly: ComVisible(false)]
#if DEBUG
[assembly: AssemblyConfiguration("DEBUG")]
#... | apache-2.0 | C# |
37c5c2c3af0835619b9b05cdcb25c003eeb8c2eb | Fix focus on login page | rfavillejr/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,IdentityS... | src/OnPremise/WebSite/Views/Account/SignIn.cshtml | src/OnPremise/WebSite/Views/Account/SignIn.cshtml | @model Thinktecture.IdentityServer.Web.ViewModels.SignInModel
@{
ViewBag.Title = "Username / Password Sign In";
ViewBag.Meta = "<meta name=\"viewport\" content=\"width=320\" />";
}
<h2>Username / Password Sign In</h2>
@Html.ValidationSummary(true, "Sign In was unsuccessful. Please correct the errors and try... | @model Thinktecture.IdentityServer.Web.ViewModels.SignInModel
@{
ViewBag.Title = "Username / Password Sign In";
ViewBag.Meta = "<meta name=\"viewport\" content=\"width=320\" />";
}
<h2>Username / Password Sign In</h2>
@Html.ValidationSummary(true, "Sign In was unsuccessful. Please correct the errors and try... | bsd-3-clause | C# |
b7dce55898d11232377128f979176e97de1c1db7 | add admin filter for /Auth/Grant | feilang864/task.zyfei.net,feilang864/task.zyfei.net | UI/PC/Controllers/AuthController.cs | UI/PC/Controllers/AuthController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FFLTask.UI.PC.Filter;
using FFLTask.SRV.ServiceInterface;
using FFLTask.SRV.ViewModel.Auth;
namespace FFLTask.UI.PC.Controllers
{
public class AuthController : BaseController
{
#region Auth... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FFLTask.UI.PC.Filter;
using FFLTask.SRV.ServiceInterface;
using FFLTask.SRV.ViewModel.Auth;
namespace FFLTask.UI.PC.Controllers
{
public class AuthController : BaseController
{
#region Auth... | mit | C# |
4f1066a19151b9cc2fc1ac2994002a7d546e45b6 | Remove `compiled` option in C# | mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-bench... | csharp/Benchmark.cs | csharp/Benchmark.cs | using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics;
class Benchmark
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("Usage: benchmark <filename>");
Environment.Exit(1);
}
StreamRea... | using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics;
class Benchmark
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine("Usage: benchmark <filename>");
Environment.Exit(1);
}
StreamRea... | mit | C# |
cb69e2552a8b8e7b5433c4027153f32b86a4a057 | Update copyright header to match LCA guidelines | twsouthwick/codeformatter,dotnet/codeformatter,michaelcfanning/codeformatter,shiftkey/Octokit.CodeFormatter,BertTank/codeformatter,kharaone/codeformatter,srivatsn/codeformatter,mmitche/codeformatter,cbjugstad/codeformatter,hickford/codeformatter,Maxwe11/codeformatter,jaredpar/codeformatter,twsouthwick/codeformatter,jer... | src/Microsoft.DotNet.CodeFormatting/Rules/HasCopyrightHeaderFormattingRule.cs | src/Microsoft.DotNet.CodeFormatting/Rules/HasCopyrightHeaderFormattingRule.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under MIT. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under MIT. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | mit | C# |
aece83be7884730235317bf40d78dbacb5935120 | 升级版本到2.1.2 | tangxuehua/ecommon,Aaron-Liu/ecommon | src/ECommon/Properties/AssemblyInfo.cs | src/ECommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | mit | C# |
14456732aa114a6dd47fe089dbb9d5d8d4e180c4 | Fix typo. | ExRam/ExRam.Gremlinq | src/ExRam.Gremlinq.Core/Queries/Key.cs | src/ExRam.Gremlinq.Core/Queries/Key.cs | using System;
using Gremlin.Net.Process.Traversal;
namespace ExRam.Gremlinq.Core
{
public readonly struct Key
{
private readonly object? _key;
public Key(T t)
{
_key = t;
}
public Key(string name)
{
_key = name;
}
publi... | using System;
using Gremlin.Net.Process.Traversal;
namespace ExRam.Gremlinq.Core
{
public readonly struct Key
{
private readonly object? _key;
public Key(T t)
{
_key = t;
}
public Key(string name)
{
_key = name;
}
publi... | mit | C# |
5672d3aa3e646829280dae641f5e4152b4711437 | Update Https for Jon-Douglas.com (#356) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/JonDouglas.cs | src/Firehose.Web/Authors/JonDouglas.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JonDouglas : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Jon";
public string LastName => "Douglas";
public string ShortBioOrTagLine => string.Empt... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JonDouglas : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Jon";
public string LastName => "Douglas";
public string ShortBioOrTagLine => string.Emp... | mit | C# |
8ff3e5fe66a76fd06d398038829b8456f569352c | Build and publish Rock.Core.Newtonsoft nuget package | bfriesen/Rock.Core,RockFramework/Rock.Core,peteraritchie/Rock.Core | Rock.Core.Newtonsoft/Properties/AssemblyInfo.cs | Rock.Core.Newtonsoft/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("Ro... | 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("Ro... | mit | C# |
e144049ba2fbe3a538ec26e0601d244782a7ad46 | Fix comment | karolz-ms/diagnostics-eventflow | src/Microsoft.Diagnostics.EventFlow.Core/Implementations/PayloadDictionaryUtilities.cs | src/Microsoft.Diagnostics.EventFlow.Core/Implementations/PayloadDictionaryUtilities.cs | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.C... | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.C... | mit | C# |
ee5ae3cdecbd733cccc61c285daf29b905aba425 | Update the bootstrap nodes used for testing | Impyy/SharpTox | SharpTox.Tests/Globals.cs | SharpTox.Tests/Globals.cs | using SharpTox.Core;
namespace SharpTox.Test
{
static class Globals
{
public static ToxNode[] Nodes = new ToxNode[]
{
new ToxNode("node.tox.biribiri.org", 33445, new ToxKey(ToxKeyType.Public, "F404ABAA1C99A9D37D61AB54898F56793E1DEF8BD46B1038B9D822E8460FAB67")),
new ToxN... | using SharpTox.Core;
namespace SharpTox.Test
{
static class Globals
{
public static ToxNode[] Nodes = new ToxNode[]
{
new ToxNode("178.62.250.138", 33445, new ToxKey(ToxKeyType.Public, "788236D34978D1D5BD822F0A5BEBD2C53C64CC31CD3149350EE27D4D9A2F9B6B")),
new ToxNode("19... | mit | C# |
77186bbb3c171d07b070a20a3db8f4f97c77308a | Split up DerAsnTypeTag in primitive and constructed | huysentruitw/pem-utils | src/DerConverter/Asn/DerAsnTypeTag.cs | src/DerConverter/Asn/DerAsnTypeTag.cs | namespace DerConverter.Asn
{
public enum DerAsnTypeTag : byte
{
// Primitive (bit 5: 0)
Boolean = 0x01,
Integer = 0x02,
BitString = 0x03,
OctetString = 0x04,
Null = 0x05,
ObjectIdentifier = 0x06,
Utf8String = 0x0C,
PrintableString = 0x13,
... | namespace DerConverter.Asn
{
public enum DerAsnTypeTag : byte
{
Boolean = 0x01,
Integer = 0x02,
BitString = 0x03,
OctetString = 0x04,
Null = 0x05,
ObjectIdentifier = 0x06,
Utf8String = 0x0C,
PrintableString = 0x13,
Ia5tring = 0x16,
... | apache-2.0 | C# |
e42b20ae4fafc1487ba950203c5a89bb13f47697 | Fix regression in puzzle 10 | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | apache-2.0 | C# |
065d2a4887347b7cb4f9fb4ad1e0286c0c51850b | Add licence header | 2yangk23/osu,peppy/osu-new,naoey/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,Nabile-Rahmani/osu,ppy/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,DrabWeb/osu,NeoAdonis/osu,smoogipooo/osu,johnneijzen/osu,EVAST9919/osu,Frontear/osuKyzer,peppy/os... | osu.Game.Rulesets.Osu/Objects/Drawables/ITrackSnaking.cs | osu.Game.Rulesets.Osu/Objects/Drawables/ITrackSnaking.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
/// <summary>
/// A component which tracks the current end snaking position of a slid... | using OpenTK;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
/// <summary>
/// A component which tracks the current end snaking position of a slider.
/// </summary>
public interface ITrackSnaking
{
void UpdateSnakingPosition(Vector2 start, Vector2 end);
}
}
| mit | C# |
a7548f4ee096e86efe2655c79353b8177014f98b | Update assembly information. | oliverzick/ImmutableUndoRedo | src/Sample/Properties/AssemblyInfo.cs | src/Sample/Properties/AssemblyInfo.cs | #region Copyright and license
// <copyright file="AssemblyInfo.cs" company="Oliver Zick">
// Copyright (c) 2015 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exce... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | apache-2.0 | C# |
9f0b313ceab33bde800842330beade8c31abe8d9 | bump version to 1.0.5 | moyasar/moyasar-dotnet | moyasar/Properties/AssemblyInfo.cs | moyasar/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("mo... | 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("mo... | mit | C# |
0a55f9ca1430943d44a6c4ab443972d9ab83429f | Remove problematic overloaded extension method | jugglingnutcase/Nancy.EmbeddedContent,jugglingnutcase/Nancy.EmbeddedContent | Nancy.EmbeddedContent/Conventions/EmbeddedStaticContentConventionsExtensions.cs | Nancy.EmbeddedContent/Conventions/EmbeddedStaticContentConventionsExtensions.cs | namespace Nancy.EmbeddedContent.Conventions
{
using System;
using System.Collections.Generic;
using System.Reflection;
/// <summary>
/// Extension methods to aid adding embedded static content into conventions
/// </summary>
public static class StaticContentsConventionsExtensions
{
... | namespace Nancy.EmbeddedContent.Conventions
{
using System;
using System.Collections.Generic;
using System.Reflection;
/// <summary>
/// Extension methods to aid adding embedded static content into conventions
/// </summary>
public static class StaticContentsConventionsExtensions
{
... | mit | C# |
02160a04d9c69a4394d342105fac38953d1e3f1b | Make ViewComponentTagHelperMetadata static. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Razor.Extensions/ViewComponentTagHelperMetadata.cs | src/Microsoft.AspNetCore.Mvc.Razor.Extensions/ViewComponentTagHelperMetadata.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
{
public static class ViewComponentTagHelperMetadata
{
/// <summary>
/// Th... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.Razor.Extensions
{
public class ViewComponentTagHelperMetadata
{
/// <summary>
/// The key i... | apache-2.0 | C# |
3eae38b7ab32fe01353f9794731812722c80cc2a | Make ThrowHelpers public | sandreenko/corert,tijoytom/corert,sandreenko/corert,gregkalapos/corert,yizhang82/corert,krytarowski/corert,botaberg/corert,shrah/corert,botaberg/corert,kyulee1/corert,kyulee1/corert,kyulee1/corert,krytarowski/corert,shrah/corert,kyulee1/corert,tijoytom/corert,gregkalapos/corert,yizhang82/corert,shrah/corert,gregkalapos... | src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ThrowHelpers.cs | src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ThrowHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Internal.Runtime.CompilerHelpers
{
/// <summary>
/// These methods are used to thr... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Internal.Runtime.CompilerHelpers
{
/// <summary>
/// These methods are used to thr... | mit | C# |
27e3c9e778f64367f3c4a6d584728d52fb440843 | Remove usings. | DrabWeb/osu,johnneijzen/osu,Nabile-Rahmani/osu,naoey/osu,smoogipoo/osu,ZLima12/osu,Frontear/osuKyzer,2yangk23/osu,UselessToucan/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,Drezi126/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/os... | osu.Game.Rulesets.Taiko/Objects/TaikoHitObject.cs | osu.Game.Rulesets.Taiko/Objects/TaikoHitObject.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects;
namespace osu.Game.Rulesets.Taiko.Objects
{
public abstract class TaikoHitObject : HitObject
{
/// <summary>
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Rulesets.Taiko.Objects
{
public abstra... | mit | C# |
679366b325a263ba9f4c2a4039bb435e71289c8b | update version | SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
1e70fde95d10650e0cddd2fcd42ac1510e1c1d86 | Bump WebApi version to 5.10.2 | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | mit | C# |
78f8baab3b043f99599f792ac2885ecb3b80fdab | Add PreviousFireTime to trigger profile dto | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/SchedulerManagement/TriggerProfileDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/SchedulerManagement/TriggerProfileDto.cs | using PS.Mothership.Core.Common.Template.Gen;
using Quartz;
using System;
using System.Collections.Generic;
namespace PS.Mothership.Core.Common.Dto.SchedulerManagement
{
public class TriggerProfileDto
{
public string Name { get; set; }
public TriggerState State { get; set; }
public Dat... | using PS.Mothership.Core.Common.Template.Gen;
using Quartz;
using System;
using System.Collections.Generic;
namespace PS.Mothership.Core.Common.Dto.SchedulerManagement
{
public class TriggerProfileDto
{
public string Name { get; set; }
public TriggerState State { get; set; }
public Dat... | mit | C# |
fac1a98dc8a70b8260caa0c8117955ae0965630f | remove extraneous HibernateTemplate from test fixture injection | spring-projects/spring-net,likesea/spring-net,zi1jing/spring-net,yonglehou/spring-net,dreamofei/spring-net,djechelon/spring-net,kvr000/spring-net,yonglehou/spring-net,kvr000/spring-net,zi1jing/spring-net,dreamofei/spring-net,spring-projects/spring-net,yonglehou/spring-net,likesea/spring-net,spring-projects/spring-net,k... | test/Spring/Spring.Data.NHibernate.TxPromotion.Integration.Tests/TestUsingHibernateTxScopeTransactionManager.cs | test/Spring/Spring.Data.NHibernate.TxPromotion.Integration.Tests/TestUsingHibernateTxScopeTransactionManager.cs | using NUnit.Framework;
using Spring.Testing.NUnit;
namespace Spring.Data.NHibernate.TxPromotion.Integration.Tests
{
[TestFixture]
public class TestUsingHibernateTxScopeTransactionManager : AbstractTransactionalSpringContextTests
{
#region DI
public IService1 Service1 { get; set; }
... | using NUnit.Framework;
using Spring.Data.NHibernate.Generic;
using Spring.Testing.NUnit;
namespace Spring.Data.NHibernate.TxPromotion.Integration.Tests
{
[TestFixture]
public class TestUsingHibernateTxScopeTransactionManager : AbstractTransactionalSpringContextTests
{
#region DI
public G... | apache-2.0 | C# |
edb2f63d3ed2415766a110eb9de54f145b8bc3bb | update bio (#602) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/DanSiegel.cs | src/Firehose.Web/Authors/DanSiegel.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DanSiegel : IAmAMicrosoftMVP
{
public string FirstName => "Dan";
public string LastName => "Siegel";
public string StateOrRegion => "San Diego, CA";
p... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DanSiegel : IAmAMicrosoftMVP
{
public string FirstName => "Dan";
public string LastName => "Siegel";
public string StateOrRegion => "San Diego, CA";
p... | mit | C# |
6295fd1b2e651de9dc7eac76fa1f4cc6459d7dc7 | add to string for .net | plivo/plivo-dotnet,plivo/plivo-dotnet | src/Plivo/Resource/Call/QueuedCall.cs | src/Plivo/Resource/Call/QueuedCall.cs | namespace Plivo.Resource.Call
{
/// <summary>
/// Queued call.
/// </summary>
public class QueuedCall : Resource
{
public string Direction { get; set; }
public string From { get; set; }
public string CallStatus { get; set; }
public string To { get; set; }
publ... | namespace Plivo.Resource.Call
{
/// <summary>
/// Queued call.
/// </summary>
public class QueuedCall : Resource
{
public string Direction { get; set; }
public string From { get; set; }
public string CallStatus { get; set; }
public string To { get; set; }
publ... | mit | C# |
43eca1918a71602efe1865b4787476caa9c0f241 | Remove obsolete code / comments | mdissel/serilog-sinks-marten | src/Tests/TestDefaultConfiguration.cs | src/Tests/TestDefaultConfiguration.cs | using System;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Serilog;
using Serilog.Sinks;
using Serilog.Sinks.Marten;
using m = Marten;
namespace Tests
{
public class TestDefaultConfiguration : IDisposable
{
... | using System;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Serilog;
using Serilog.Sinks;
using Serilog.Sinks.Marten;
using m = Marten;
namespace Tests
{
public class TestDefaultConfiguration : IDisposable
{
... | mit | C# |
a9711f83e847179899b43812eec6fa0d6e1bc596 | Implement IAsyncDisposable for NullDisposable | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/NullDisposable.cs | src/WeihanLi.Common/NullDisposable.cs | using System.Threading.Tasks;
using System.Security.Cryptography.X509Certificates;
namespace WeihanLi.Common;
/// <summary>
/// A singleton disposable that does nothing when disposed.
/// </summary>
public sealed class NullDisposable : IDisposable
#if NET6_0_OR_GREATER
, IAsyncDisposable
#endif
{
private Null... | namespace WeihanLi.Common;
/// <summary>
/// A singleton disposable that does nothing when disposed.
/// </summary>
public sealed class NullDisposable : IDisposable
{
private NullDisposable()
{
}
public void Dispose()
{
}
/// <summary>
/// Gets the instance of <see cref="NullDisposab... | mit | C# |
df40f77832c03eccb8a1dcc38259406ad035478b | Add channel tag | DriesPeeters/PushbulletSharp,adamyeager/PushbulletSharp | PushbulletSharp/Models/Requests/PushRequestBase.cs | PushbulletSharp/Models/Requests/PushRequestBase.cs | using System.Runtime.Serialization;
namespace PushbulletSharp.Models.Requests
{
[DataContract]
public abstract class PushRequestBase
{
/// <summary>
/// Gets or sets the device iden.
/// </summary>
/// <value>
/// The device iden.
/// </value>
[DataM... | using System.Runtime.Serialization;
namespace PushbulletSharp.Models.Requests
{
[DataContract]
public abstract class PushRequestBase
{
/// <summary>
/// Gets or sets the device iden.
/// </summary>
/// <value>
/// The device iden.
/// </value>
[DataM... | mit | C# |
b39d38e74de9bb391a4f78428be4f67738dede10 | Fix category of revision log RSS feeds. | dokipen/trac,dafrito/trac-mirror,dokipen/trac,moreati/trac-gitsvn,moreati/trac-gitsvn,exocad/exotrac,dafrito/trac-mirror,dafrito/trac-mirror,exocad/exotrac,exocad/exotrac,moreati/trac-gitsvn,moreati/trac-gitsvn,dokipen/trac,dafrito/trac-mirror,exocad/exotrac | templates/log_rss.cs | templates/log_rss.cs | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | bsd-3-clause | C# |
ded2384aea7e7d52b71594794123fe1cceaff303 | remove unused ctor | labdogg1003/monotouch-samples,kingyond/monotouch-samples,markradacz/monotouch-samples,haithemaraissia/monotouch-samples,markradacz/monotouch-samples,W3SS/monotouch-samples,albertoms/monotouch-samples,albertoms/monotouch-samples,kingyond/monotouch-samples,nelzomal/monotouch-samples,peteryule/monotouch-samples,hongnguyen... | AQTapDemo/AQTapDemoViewController.cs | AQTapDemo/AQTapDemoViewController.cs | //
// AQTapDemoViewController.cs:
//
// Authors:
// Chris Adamson (cadamson@subfurther.com)
// Marek Safar (marek.safar@gmail.com)
//
// Copyright 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Softw... | //
// AQTapDemoViewController.cs:
//
// Authors:
// Chris Adamson (cadamson@subfurther.com)
// Marek Safar (marek.safar@gmail.com)
//
// Copyright 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Softw... | mit | C# |
58de88a9c001f5482f5be03e139316f094d265b9 | remove httpResponseMessage from Body params | zhangyuan/UFO-API,zhangyuan/UFO-API,zhangyuan/UFO-API | test/ProductFacts.cs | test/ProductFacts.cs | using System.Linq;
using System.Net;
using System.Net.Http;
using Newtonsoft.Json;
using Xunit;
namespace test
{
public class ProductFacts : TestBase
{
private HttpResponseMessage httpResponseMessage;
[Fact]
public void ShouldReturnOk()
{
var httpResponseMessage = ... | using System.Linq;
using System.Net;
using System.Net.Http;
using Newtonsoft.Json;
using Xunit;
namespace test
{
public class ProductFacts : TestBase
{
private HttpResponseMessage httpResponseMessage;
[Fact]
public void ShouldReturnOk()
{
var httpResponseMessage = ... | mit | C# |
c79f8f9a5a17aa21adb6cf65d0991453a346de27 | Add MillisecondEpochConverter | Baggykiin/Curse.NET | Curse.NET/MicrosecondEpochConverter.cs | Curse.NET/MicrosecondEpochConverter.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Curse.NET
{
internal class MicrosecondEpochConverter : DateTimeConverterBase
{
private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public override void WriteJson(JsonWriter writer, object ... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Curse.NET
{
internal class MicrosecondEpochConverter : DateTimeConverterBase
{
private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public override void WriteJson(JsonWriter writer, object ... | mit | C# |
76f4dbaa807e277fdcfcf562e6dd5a12de9a4e35 | Remove now unused local variable. | PenguinF/sandra-three | Eutherion/Win/Storage/SettingReader.cs | Eutherion/Win/Storage/SettingReader.cs | #region License
/*********************************************************************************
* SettingReader.cs
*
* Copyright (c) 2004-2019 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | #region License
/*********************************************************************************
* SettingReader.cs
*
* Copyright (c) 2004-2019 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | apache-2.0 | C# |
59fff3698ff18568613a794dd239ac6142dc182c | Bump to version 1.4. | mono/sdb,mono/sdb | src/AssemblyInfo.cs | src/AssemblyInfo.cs | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Alex Rønne Petersen
//
// 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
// ... | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Alex Rønne Petersen
//
// 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
// ... | mit | C# |
0a3dbd5f4f79fe5a7845d8e27af5427abc444dfd | Implement the apply method for selections on SelectionAccess to flatten the selection | Domysee/Pather.CSharp | src/Pather.CSharp/PathElements/SelectionAccess.cs | src/Pather.CSharp/PathElements/SelectionAccess.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class SelectionAccess : IPathElement
{
public SelectionAccess()
{
}
public object A... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class SelectionAccess : IPathElement
{
public SelectionAccess()
{
}
public object A... | mit | C# |
1a7d86176b0d1942006e9a55d7729c7f5197d409 | Enumerate via self instead of directly | bojanrajkovic/pingu | src/Pingu/PngFile.cs | src/Pingu/PngFile.cs | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Pingu.Chunks;
namespace Pingu
{
public class PngFile : IEnumerable<Chunk>
{
List<Chunk> chunksToWrite = new List<Chunk>();
static readonly byte[] magic = new byte[] { 0x89, 0x50, ... | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Pingu.Chunks;
namespace Pingu
{
public class PngFile : IEnumerable<Chunk>
{
List<Chunk> chunksToWrite = new List<Chunk>();
static readonly byte[] magic = new byte[] { 0x89, 0x50, ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.