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
3bf0c4e4e8c05b731ec8772ae353907ce9454663
Convert InternetExplorer to a Browser subclass
freenet/wintray,freenet/wintray
Browsers/InternetExplorer.cs
Browsers/InternetExplorer.cs
using System; using System.Diagnostics; using Microsoft.Win32; namespace FreenetTray.Browsers { class InternetExplorer: Browser { private static string IERegistryKey = @"Software\Microsoft\Internet Explorer"; public InternetExplorer() { // See https://support.microsoft.com...
using System; using System.Diagnostics; using Microsoft.Win32; namespace FreenetTray.Browsers { class InternetExplorer : IBrowser { private readonly Version _version; private readonly bool _isInstalled; public InternetExplorer() { // See https://support.microsoft.c...
mit
C#
f8c9ab1ccc5898f6ef002ba882c7e1984fe133e3
Update UsingExcelPredefinedStyles.cs
asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-...
Examples/CSharp/Formatting/ApproachesToFormatData/UsingExcelPredefinedStyles.cs
Examples/CSharp/Formatting/ApproachesToFormatData/UsingExcelPredefinedStyles.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Formatting.ApproachesToFormatData { public class UsingExcelPredefinedStyles { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = A...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Formatting.ApproachesToFormatData { public class UsingExcelPredefinedStyles { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Uti...
mit
C#
48c4d30eb792dd4d2ade244bbc6e399e63604ca3
Remove unneeded properties from Statement class
lpatalas/NhLogAnalyzer
NhLogAnalyzer/Infrastructure/Statement.cs
NhLogAnalyzer/Infrastructure/Statement.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NhLogAnalyzer.Infrastructure { public class Statement { private readonly int id; public int Id { get { return id; } } private readonly str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NhLogAnalyzer.Infrastructure { public class Statement { private readonly int id; public int Id { get { return id; } } private readonly str...
mit
C#
90d42bced8ed9610a33df6ddfe6ca4449c86c573
add decoding info for 3DNow.s.cs
zuloloxi/capstone,NeilBryant/capstone,sephiroth99/capstone,AmesianX/capstone,techvoltage/capstone,bowlofstew/capstone,nplanel/capstone,bSr43/capstone,NeilBryant/capstone,pyq881120/capstone,sephiroth99/capstone,nplanel/capstone,8l/capstone,dynm/capstone,sephiroth99/capstone,dynm/capstone,bigendiansmalls/capstone,dynm/ca...
suite/MC/X86/3DNow.s.cs
suite/MC/X86/3DNow.s.cs
# CS_ARCH_X86, CS_MODE_32, CS_OPT_SYNTAX_ATT 0x0f,0x0f,0xca,0xbf = pavgusb %mm2, %mm1 0x67,0x0f,0x0f,0x5c,0x16,0x09,0xbf = pavgusb 9(%esi,%edx), %mm3 0x0f,0x0f,0xca,0x1d = pf2id %mm2, %mm1 0x67,0x0f,0x0f,0x5c,0x16,0x09,0x1d = pf2id 9(%esi,%edx), %mm3 0x0f,0x0f,0xca,0xae = pfacc %mm2, %mm1 0x0f,0x0f,0xca,0x9e = pfadd %m...
0x0f,0x0f,0xca,0xbf = pavgusb %mm2, %mm1 0x67,0x0f,0x0f,0x5c,0x16,0x09,0xbf = pavgusb 9(%esi,%edx), %mm3 0x0f,0x0f,0xca,0x1d = pf2id %mm2, %mm1 0x67,0x0f,0x0f,0x5c,0x16,0x09,0x1d = pf2id 9(%esi,%edx), %mm3 0x0f,0x0f,0xca,0xae = pfacc %mm2, %mm1 0x0f,0x0f,0xca,0x9e = pfadd %mm2, %mm1 0x0f,0x0f,0xca,0xb0 = pfcmpeq %mm2, ...
bsd-3-clause
C#
5dd483a46548f9aad7844edc4467e5cb596ccd0b
fix author empty issue
CVBDL/RALibraryServer
RaLibrary.BookApiProxy/Douban/DoubanBooksOpenApi.cs
RaLibrary.BookApiProxy/Douban/DoubanBooksOpenApi.cs
using Newtonsoft.Json; using RaLibrary.BookApiProxy.Exceptions; using RaLibrary.BookApiProxy.Models; using RaLibrary.Utilities; using System.Configuration; using System.Net.Http; using System.Threading.Tasks; namespace RaLibrary.BookApiProxy.Douban { public class DoubanBooksOpenApi : IBooksOpenApi { #...
using Newtonsoft.Json; using RaLibrary.BookApiProxy.Exceptions; using RaLibrary.BookApiProxy.Models; using RaLibrary.Utilities; using System.Configuration; using System.Net.Http; using System.Threading.Tasks; namespace RaLibrary.BookApiProxy.Douban { public class DoubanBooksOpenApi : IBooksOpenApi { #...
mit
C#
c14a022d76a076531541285e67a9f9b842f355ed
Remove worthless comment
EasyPeasyLemonSqueezy/MadCat
MadCat/NutEngine/Camera/Camera2D.cs
MadCat/NutEngine/Camera/Camera2D.cs
using Microsoft.Xna.Framework; namespace NutEngine.Camera { public abstract class Camera2D { public abstract Matrix2D Transform { get; } public Vector2 Position { get; set; } public float Rotation { get; set; } public float Zoom { get; set; } public Vector2 Frame { ge...
using Microsoft.Xna.Framework; namespace NutEngine.Camera { public abstract class Camera2D { /// TODO: Считать матрицу без 5 умножений /// и делать это по-разному в унаследованных камерах public abstract Matrix2D Transform { get; } public Vector2 Position { get; set; } ...
mit
C#
dc860f3edf2108f72e4f866aeb9b6793c5e4174c
Update exportTxt.cs
Gytaco/RevitAPI,Gytaco/RevitAPI
Macros/CS/ImportExport/exportTxt.cs
Macros/CS/ImportExport/exportTxt.cs
/* This code exports a delimited tab text file of some parameters from Walls. */ //This code requires the following reference using System.IO; public void exportTxt() { //assigns doc to the active document in use - default Document doc = this.ActiveUIDocument.Document; //a string that stores the f...
/* This code exports a delimited tab text file of some parameters from Walls. */ //This code requires the following reference using System.IO; public void exportTxt() { //assigns doc to the active document in use - default Document doc = this.ActiveUIDocument.Document; //a string that stores the f...
mit
C#
a0ef35a38c8abc3d201827af1366953d54134968
Bump version
stratisproject/NStratis
NBitcoin/Properties/AssemblyInfo.cs
NBitcoin/Properties/AssemblyInfo.cs
using System; 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. [assem...
using System; 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. [assem...
mit
C#
555a986d9edbb93d06f98e7488b7a948a1288d2e
Create State property
jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew
Models/Machines.cs
Models/Machines.cs
using System.Data.Entity; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; namespace VendingMachineNew.Models { public class Machines { [Key] public int Id ...
using System.Data.Entity; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; namespace VendingMachineNew.Models { public class Machines { [Key] public int Id ...
mit
C#
f17ac8e797c17ed64851f9b89123ac9a6e4a7cc9
Add test for Int64.Parse
tgiphil/Cosmos,zarlo/Cosmos,trivalik/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,trivalik/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,zarlo/Cosmos,fanoI/Cosmos
Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs
Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs
using System; using System.Linq; using System.Threading.Tasks; using Cosmos.TestRunner; namespace Cosmos.Compiler.Tests.Bcl.System { class Int64Test { public static void Execute() { Int64 value; String result; String expectedResult; value = Int6...
using System; using System.Linq; using System.Threading.Tasks; using Cosmos.TestRunner; namespace Cosmos.Compiler.Tests.Bcl.System { class Int64Test { public static void Execute() { Int64 value; String result; String expectedResult; value = Int6...
bsd-3-clause
C#
aa04d21ccf2149c5be2460284374803028229a45
Add async transaction tests.
mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector,mysql-net/MySqlConnector
tests/SideBySide.New/Transaction.cs
tests/SideBySide.New/Transaction.cs
using System; using System.Threading.Tasks; using Dapper; using MySql.Data.MySqlClient; using Xunit; namespace SideBySide { public class Transaction : IClassFixture<TransactionFixture> { public Transaction(TransactionFixture database) { m_database = database; m_connection = m_database.Connection; } [...
using System; using Dapper; using MySql.Data.MySqlClient; using Xunit; namespace SideBySide { public class Transaction : IClassFixture<TransactionFixture> { public Transaction(TransactionFixture database) { m_database = database; m_connection = m_database.Connection; } [Fact] public void NestedTran...
mit
C#
19a3c959923328c8b91e4653ee003b101f60c770
Update InspectCode to 2019.3
2yangk23/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,2yangk23/osu
build/InspectCode.cake
build/InspectCode.cake
#addin "nuget:?package=CodeFileSanity&version=0.0.33" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.3.0" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); ///////////////////////////////////////////////////////...
#addin "nuget:?package=CodeFileSanity&version=0.0.33" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.2.1" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); ///////////////////////////////////////////////////////...
mit
C#
2d873e72c5995a68127aba84132aba91aebb7ef2
add lastActivity field to Person (also type and nickName) [Issue 6]
darrenparkinson/SparkDotNet
Models/Person.cs
Models/Person.cs
using System; using Newtonsoft.Json; namespace SparkDotNet { public class Person { public string id { get; set; } public string[] emails { get; set; } public string displayName { get; set; } public string firstName { get; set; } public string lastName { get; set; } ...
using System; using Newtonsoft.Json; namespace SparkDotNet { public class Person { public string id { get; set; } public string[] emails { get; set; } public string displayName { get; set; } public string firstName { get; set; } public string lastName { get; set; } ...
mit
C#
470714854afc48f04143d5f25d2c25c6723745cb
Update Skills.cs
datanets/kask-kiosk,datanets/kask-kiosk
Models/Skills.cs
Models/Skills.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Empty.Models { public class Skills { public int Skill_ID { get; set; } public string Skill_Name { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Empty.Models { public class Skills { public int skill_ID { get; set; } public string skillName { get; set; } } }
mit
C#
7c56c11e5a08feee2a0f689fc4d902c97cb93d55
Add helper method
mbrit/MetroLog,mbrit/MetroLog,onovotny/MetroLog,thomasgalliker/MetroLog,mbrit/MetroLog,onovotny/MetroLog,onovotny/MetroLog,thomasgalliker/MetroLog,thomasgalliker/MetroLog
MetroLog/ILogManager.cs
MetroLog/ILogManager.cs
using System.IO; using MetroLog.Targets; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MetroLog { public interface ILogManager { LoggingConfiguration DefaultConfiguration { get; } ILogger GetLogger<T>(LoggingConfi...
using System.IO; using MetroLog.Targets; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MetroLog { public interface ILogManager { LoggingConfiguration DefaultConfiguration { get; } ILogger GetLogger<T>(LoggingConfi...
mit
C#
3cbe5d7ddc0ef42b0dd3605183b923ccc71a1bd0
Fix fading: reset opacity afterwards
Procrat/orpheus
Assets/Scripts/Ghost.cs
Assets/Scripts/Ghost.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ghost : MonoBehaviour { public float floatSpeed; public GameObject playerManager; private bool gonnaPossess = false; private GameObject possessee = null; private Vector2 possessPath; void OnTrigg...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ghost : MonoBehaviour { public float floatSpeed; public GameObject playerManager; private bool gonnaPossess = false; private GameObject possessee = null; private Vector2 possessPath; void OnTrigg...
mit
C#
949b53d10729c4819cec7ee3ee9e6a0b13dd3323
Update TitleEstimateController.cs
bigfont/webapi-cors
CORS/Controllers/TitleEstimateController.cs
CORS/Controllers/TitleEstimateController.cs
using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Cors; namespace CORS.Controllers { public class TitleEstimateController : ApiController { public class EstimateQuery { public string username { get; set; } } public IHttpActionRes...
public class TitleEstimateController : ApiController { public IHttpActionResult GetTitleEstimate([FromUri] EstimateQuery query) { // All the values in "query" are null or zero // Do some stuff with query if there were anything to do } } public class EstimateQuery { // Various fi...
mit
C#
9ddfbf051e648d5da7816ccfb3817266f6455e56
Allow VisualStudioExperimentationService to initialize on a background thread
gafter/roslyn,genlu/roslyn,panopticoncentral/roslyn,mgoertz-msft/roslyn,DustinCampbell/roslyn,AlekseyTs/roslyn,diryboy/roslyn,tmat/roslyn,dotnet/roslyn,jmarolf/roslyn,physhi/roslyn,mavasani/roslyn,dotnet/roslyn,nguerrera/roslyn,heejaechang/roslyn,jmarolf/roslyn,stephentoub/roslyn,MichalStrehovsky/roslyn,DustinCampbell/...
src/VisualStudio/Core/Def/Experimentation/VisualStudioExperimentationService.cs
src/VisualStudio/Core/Def/Experimentation/VisualStudioExperimentationService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Composition; using System.Reflection; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Experimen...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Composition; using System.Reflection; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Experimen...
mit
C#
2bdd2da769bad5c9ddbc707645cde558bf95a576
Fix comment typo
ukahoot/ukahoot,ukahoot/ukahoot.github.io,ukahoot/ukahoot,ukahoot/ukahoot.github.io,ukahoot/ukahoot.github.io,ukahoot/ukahoot,ukahoot/ukahoot
tokenserver/src/Util.cs
tokenserver/src/Util.cs
using System; using System.Text; namespace UKahoot { public static class Util { public const string TOKEN_ENDPOINT = "https://kahoot.it/reserve/session/"; public const string ENDPOINT_URI = "https://kahoot.it/"; public const string ENDPOINT_HOST = "kahoot.it"; public static byte[] GetBytes(string txt) { re...
using System; using System.Text; namespace UKahoot { public static class Util { public const string TOKEN_ENDPOINT = "https://kahoot.it/reserve/session/"; public const string ENDPOINT_URI = "https://kahoot.it/"; public const string ENDPOINT_HOST = "kahoot.it"; public static byte[] GetBytes(string txt) { re...
mit
C#
c7e473e2203e9c5ecea6d12c8e272f34cf93f07b
Set StateId in DataTokens so ShieldDecode works because StateId was in the data when ShieldEncode was called
grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation
NavigationMvc/RouteConfig.cs
NavigationMvc/RouteConfig.cs
using System.Web.Mvc; using System.Web.Routing; namespace Navigation.Mvc { public class RouteConfig { public static void AddStateRoutes() { if (StateInfoConfig.Dialogs == null) return; string controller, action; Route route; using (RouteTable.Routes.GetWriteLock()) { foreac...
using System.Web.Mvc; using System.Web.Routing; namespace Navigation.Mvc { public class RouteConfig { public static void AddStateRoutes() { if (StateInfoConfig.Dialogs == null) return; string controller, action; Route route; using (RouteTable.Routes.GetWriteLock()) { foreac...
apache-2.0
C#
d397882f8d7d4029509e64fc08844b60552b9513
Add more functionality to the EthernetFrame class
shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg
trunk/src/bindings/EthernetFrame.cs
trunk/src/bindings/EthernetFrame.cs
using System; namespace TAPCfg { public class EthernetFrame { private byte[] data; private byte[] src = new byte[6]; private byte[] dst = new byte[6]; private int etherType; public EthernetFrame(byte[] data) { this.data = data; Array.Copy(data, 0, dst, 0, 6); Array.Copy(data, 6, src, 0, 6); et...
namespace TAPCfg { public class EthernetFrame { private byte[] data; public EthernetFrame(byte[] data) { this.data = data; } public byte[] Data { get { return data; } } } }
lgpl-2.1
C#
768d695ee381741cc39bc0be6a779d09bde8ec59
Remove "(UTC)"
mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker
PlatformStatusTracker/PlatformStatusTracker.Web/Views/Home/Changes.cshtml
PlatformStatusTracker/PlatformStatusTracker.Web/Views/Home/Changes.cshtml
@using System.Globalization @using System.Text @using PlatformStatusTracker.Core.Data @using PlatformStatusTracker.Core.Model @model PlatformStatusTracker.Web.ViewModels.Home.ChangesViewModel @{ ViewBag.Title = Model.Date.ToString("yyyy-MM-dd", DateTimeFormatInfo.InvariantInfo) + " - Changes"; } <article> <h1...
@using System.Globalization @using System.Text @using PlatformStatusTracker.Core.Data @using PlatformStatusTracker.Core.Model @model PlatformStatusTracker.Web.ViewModels.Home.ChangesViewModel @{ ViewBag.Title = Model.Date.ToString("yyyy-MM-dd", DateTimeFormatInfo.InvariantInfo) + " - Changes"; } <article> <h1...
mit
C#
ed4111f3c1eccfc5b49d17f75c3fc266d407a431
fix assy properties
AndyPook/Slack
SlackAPI/Properties/AssemblyInfo.cs
SlackAPI/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("Po...
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("Ar...
mit
C#
dbdf8d44f5c7b21f35c8324083902f5bd8dcd8bd
Update hostname from dev to sandbox
Payoneer-Escrow/payoneer-escrow-csharp-dotnet
PayoneerEscrow/Api/Client.cs
PayoneerEscrow/Api/Client.cs
namespace PayoneerEscrow.Api { /// <summary> /// Class Client /// </summary> public class Client { /////////////////////////////////////////////////////////////////////// // PROPERTIES //////////////////////////////////////////////////////// //////////////////////////////////////////////////////////...
namespace PayoneerEscrow.Api { /// <summary> /// Class Client /// </summary> public class Client { /////////////////////////////////////////////////////////////////////// // PROPERTIES //////////////////////////////////////////////////////// //////////////////////////////////////////////////////////...
mit
C#
a966a17aed94b11b4b1b117daf1d285208758c20
fix MissingIntPtrCtorException
Dynalon/banshee-osx,GNOME/banshee,stsundermann/banshee,arfbtwn/banshee,dufoli/banshee,GNOME/banshee,Dynalon/banshee-osx,ixfalia/banshee,arfbtwn/banshee,babycaseny/banshee,dufoli/banshee,arfbtwn/banshee,Carbenium/banshee,stsundermann/banshee,babycaseny/banshee,babycaseny/banshee,Dynalon/banshee-osx,babycaseny/banshee,GN...
src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
// // AudiobookGrid.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, 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, incl...
// // AudiobookGrid.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, 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, incl...
mit
C#
2ae30d206d8ac4ea938d659405883fd528184920
Drop relay fee to 0.001 DCR/kB.
decred/Paymetheus,jrick/Paymetheus
Paymetheus.Decred/Wallet/TransactionFees.cs
Paymetheus.Decred/Wallet/TransactionFees.cs
// Copyright (c) 2016 The btcsuite developers // Copyright (c) 2016 The Decred developers // Licensed under the ISC license. See LICENSE file in the project root for full license information. using System; using System.Linq; namespace Paymetheus.Decred.Wallet { public static class TransactionFees { ...
// Copyright (c) 2016 The btcsuite developers // Copyright (c) 2016 The Decred developers // Licensed under the ISC license. See LICENSE file in the project root for full license information. using Paymetheus.Decred.Script; using System; using System.Linq; namespace Paymetheus.Decred.Wallet { public static clas...
isc
C#
7a4a9acf58b1ac1cea610b8f738f08d4492b2bec
fix ValueAsync
geeklearningio/gl-dotnet-domain
src/GeekLearning.Domain/MaybeExtensions.cs
src/GeekLearning.Domain/MaybeExtensions.cs
namespace GeekLearning.Domain { using System.Threading.Tasks; public static class MaybeExtensions { public async static Task<T> ValueAsync<T>(this Task<Maybe<T>> maybeTask) where T : class { return (await maybeTask).Value; } } }
namespace GeekLearning.Domain { using System.Threading.Tasks; public static class MaybeExtensions { public async static Task<Maybe<T>> ValueAsync<T>(this Task<Maybe<T>> maybeTask) where T : class { return (await maybeTask).Value; } } }
mit
C#
7526f217510a2d141528f74279b49ea4dd4f191e
Use auto-version for AssemblyFileVersion in develop builds to facilitate installers
l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto
Source/Shared/GlobalAssemblyInfo.cs
Source/Shared/GlobalAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Picoe Software Solutions Inc.")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersi...
using System.Reflection; [assembly: AssemblyCompany("Picoe Software Solutions Inc.")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersi...
bsd-3-clause
C#
1c5756ba2b994f1737341e77dea2e6cff0625d0a
add reference to Package for instructions
Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack
RelhaxModpack/RelhaxModpack/Installer/Instruction.cs
RelhaxModpack/RelhaxModpack/Installer/Instruction.cs
using RelhaxModpack.Database; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RelhaxModpack.Installer { public abstract class Instruction : XmlDatabaseComponent { public Instruction() : base() { } p...
using RelhaxModpack.Database; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RelhaxModpack.Installer { public abstract class Instruction : XmlDatabaseComponent { public Instruction() : base() { } p...
apache-2.0
C#
b338f40249e45d89c4134cc61fb076b487de75db
Fix bug with non-HTML responses
OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp
Middleware/StripWhitespaceMiddleware.cs
Middleware/StripWhitespaceMiddleware.cs
using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; namespace PersonalWebApp.Middleware { public class StripWhitespaceMiddleware { private readonly RequestDelegate _next; public StripWhite...
using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; namespace PersonalWebApp.Middleware { public class StripWhitespaceMiddleware { private readonly RequestDelegate _next; public StripWhite...
mit
C#
5ce17caa0ad3fe82a10cc003f4d5e481816d37bd
Include missing views AddNews and EditNews in project.
razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum
Source/SvNaum.Web/App_Start/FilterConfig.cs
Source/SvNaum.Web/App_Start/FilterConfig.cs
using System.Web; using System.Web.Mvc; namespace SvNaum.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
using System.Web; using System.Web.Mvc; namespace SvNaum.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { //filters.Add(new HandleErrorAttribute()); } } }
mit
C#
6b424ac2137e95dc793517e2e0b085744564e7a7
Add support for building from the command line.
adbre/cab42,adbre/cab42
CAB42/Program.cs
CAB42/Program.cs
namespace C42A { using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Xml.Serialization; using C42A.CAB42; internal static class Program { /// <summary> /// The main entry point for the application. ...
namespace C42A { using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Xml.Serialization; internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> ...
apache-2.0
C#
70961c3b57c6544d59943b2466cdf6be703ef865
Update Assembly Version
SolrNetLight/SolrNetLight
SolrNetLight/Properties/AssemblyInfo.cs
SolrNetLight/Properties/AssemblyInfo.cs
using System.Resources; 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 assembl...
using System.Resources; 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 assembl...
apache-2.0
C#
1e1a07bfe26a9cc983a285793d5cc6d32d328e3d
add PasswordEntry.PlaceholderText sample
sevoku/xwt
TestApps/Samples/Samples/PasswordEntries.cs
TestApps/Samples/Samples/PasswordEntries.cs
// // PasswordEntry.cs // // Author: // Bojan Rajkovic <brajkovic@xamarin.com> // // Copyright (c) 2013 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 restri...
// // PasswordEntry.cs // // Author: // Bojan Rajkovic <brajkovic@xamarin.com> // // Copyright (c) 2013 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 restri...
mit
C#
cc3d7f696917dd87d16a237385dfe1576f97aee6
Add full sample
aloisdg/edx-csharp
edX/Module1/Program.cs
edX/Module1/Program.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Module1 { class Program { /// <summary> /// Facebook allow 71 gend...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Module1 { class Program { /// <summary> /// Facebook allow 71 gender options /// </summary> enum Gender { Male, Female, ...
mit
C#
dc9a53df6ffd4648425bf09cadced0a999c6dba8
Update LinqToDBSection.cs
MaceWindu/linq2db,ronnyek/linq2db,jogibear9988/linq2db,AK107/linq2db,LinqToDB4iSeries/linq2db,enginekit/linq2db,lvaleriu/linq2db,genusP/linq2db,sdanyliv/linq2db,jogibear9988/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,genusP/linq2db,barsgroup/linq2db,MaceWindu/linq2db,rechkalov/linq2db,lvaleriu/linq2db,barsgroup/b...
Source/Configuration/LinqToDBSection.cs
Source/Configuration/LinqToDBSection.cs
using System; using System.Configuration; using System.Security; namespace LinqToDB.Configuration { /// <summary> /// Implementation of custom configuration section. /// </summary> public class LinqToDBSection : ConfigurationSection { static readonly ConfigurationPropertyCollection _properties ...
using System; using System.Configuration; using System.Security; namespace LinqToDB.Configuration { /// <summary> /// Implementation of custom configuration section. /// </summary> internal class LinqToDBSection : ConfigurationSection { static readonly ConfigurationPropertyCollection _properties ...
mit
C#
a933b3a794e26c631f6d99dfd4f08317a3ac53bb
Add expected network
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/AddressStringParser.cs
WalletWasabi/Helpers/AddressStringParser.cs
using NBitcoin; using NBitcoin.Payment; using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace WalletWasabi.Helpers { public static class AddressStringParser { public static bool TryParseBitcoinAddress(string text, Network expectedNetwork, out BitcoinUrlBuilder url...
using NBitcoin; using NBitcoin.Payment; using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace WalletWasabi.Helpers { public static class AddressStringParser { public static bool TryParseBitcoinAddress(string text, Network expectedNetwork, out BitcoinUrlBuilder url...
mit
C#
5c2628db64769abd78ff135bd2d9140a5beeefcb
Update Main to print the graph
ilovepi/Compiler,ilovepi/Compiler
compiler/Program/Program.cs
compiler/Program/Program.cs
using System; using compiler.frontend; namespace Program { class Program { //TODO: adjust main to use the parser when it is complete static void Main(string[] args) { // using (Lexer l = new Lexer(@"../../testdata/big.txt")) // { // Token t; // ...
using System; using compiler.frontend; namespace Program { class Program { //TODO: adjust main to use the parser when it is complete static void Main(string[] args) { using (Lexer l = new Lexer(@"../../testdata/big.txt")) { Token t; ...
mit
C#
67df14f7fc9af91118443a4a0eeeb7d7387fe4e7
Fix initialization
lamalex/Banshee,mono-soc-2011/banshee,GNOME/banshee,GNOME/banshee,Carbenium/banshee,ixfalia/banshee,allquixotic/banshee-gst-sharp-work,stsundermann/banshee,allquixotic/banshee-gst-sharp-work,GNOME/banshee,arfbtwn/banshee,mono-soc-2011/banshee,directhex/banshee-hacks,Dynalon/banshee-osx,stsundermann/banshee,ixfalia/bans...
src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedVolumeButton.cs
src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedVolumeButton.cs
// // ConnectedVolumeButton.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, 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 res...
// // ConnectedVolumeButton.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, 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 res...
mit
C#
ba23ad4883182fcb7022da739f4f15a91d113c8f
Sort the attributes before I compare them so they are not order dependant from the reflection. (Updated by TFS to TFS Connector, server: http://1x:8080/, id 6222. )
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Tests/Core/Helpers/AttributeAndFieldValidation.cs
CRP.Tests/Core/Helpers/AttributeAndFieldValidation.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CRP.Tests.Core.Helpers { public static class AttributeAndFieldValidation { /// <summary> /// Validates the fields and attributes....
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CRP.Tests.Core.Helpers { public static class AttributeAndFieldValidation { /// <summary> /// Validates the fields and attributes....
mit
C#
138e65d7a49c0d9df0c5648148bc8e490b40542f
Add missing blank line
peppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,peppy/osu,johnneijzen/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu
osu.Game/Utils/HumanizerUtils.cs
osu.Game/Utils/HumanizerUtils.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 System.Globalization; using Humanizer; namespace osu.Game.Utils { public static class HumanizerUtils { /// <summary> /// Turn...
// 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 System.Globalization; using Humanizer; namespace osu.Game.Utils { public static class HumanizerUtils { /// <summary> /// Turn...
mit
C#
815b7a78de526af8edd188fc6f314929cf4053f3
Update Extensions to add new AddSafe function for Dictionaries
BenVlodgi/VMFParser
VMFParser/Extensions.cs
VMFParser/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace VMFParser { public static class Extensions { /// <summary>Returns a new array from given index with the specified length. </summary> public static T[] SubArray<T>(this T[] data, int index, int length) { ...
using System; using System.Collections.Generic; using System.Linq; namespace VMFParser { public static class Extensions { /// <summary>Returns a new array from given index with the specified length. </summary> public static T[] SubArray<T>(this T[] data, int index, int length) { ...
mit
C#
002e1ecf27d67024e311412bdb56f1316725739c
remove unused method
weltkante/roslyn,KirillOsenkov/roslyn,sharwell/roslyn,gafter/roslyn,wvdd007/roslyn,KevinRansom/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,reaction1989/roslyn,AmadeusW/roslyn,davkean/roslyn,jasonmalinowski/roslyn,brettfo/roslyn,genlu/roslyn,dotnet/roslyn,jmarolf/roslyn,wvdd007/roslyn,jmarolf/roslyn,davkean/roslyn,we...
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/ListPool.cs
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/ListPool.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.Collections.Generic; namespace Microsoft.CodeAnalysis.Formatting { internal static class ListPool...
// 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.Collections.Generic; namespace Microsoft.CodeAnalysis.Formatting { internal static class ListPool...
mit
C#
ec9da167a431596e921cbe11b3eee0f155a4b854
disable parallel tests
IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,xyting/IdentityServer4.EntityFramework,xyting/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework
test/IdentityServer4.EntityFramework.IntegrationTests/Properties/AssemblyInfo.cs
test/IdentityServer4.EntityFramework.IntegrationTests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; // 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: Assem...
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: AssemblyConfigurat...
apache-2.0
C#
7d9fa94e662b8d6c9ad09e9c9a27f025c8d4abaf
cut test user name
jarzynam/rescuer,jarzynam/continuous
src/Compatibility.Tests/Continuous.Test.WindowsService/Continuous.Test.WindowsService/Tests/ChangeAccountTests.cs
src/Compatibility.Tests/Continuous.Test.WindowsService/Continuous.Test.WindowsService/Tests/ChangeAccountTests.cs
using System; using Continuous.Management; using Continuous.Test.WindowsService.Logic; using Continuous.Test.WindowsService.Logic.Installer; using Continuous.Test.WindowsService.TestHelpers; using Continuous.WindowsService; using Continuous.WindowsService.Shell; using FluentAssertions; using NUnit.Framework; namespac...
using System; using Continuous.Management; using Continuous.Test.WindowsService.Logic; using Continuous.Test.WindowsService.Logic.Installer; using Continuous.Test.WindowsService.TestHelpers; using Continuous.WindowsService; using Continuous.WindowsService.Shell; using FluentAssertions; using NUnit.Framework; namespac...
mit
C#
20fe0e9153e6a38a6cd8d7af8a45dfe9813c71c9
Update DupItem.cs
unruledboy/SharpDups
Model/DupItem.cs
Model/DupItem.cs
using System.Collections.Generic; namespace Xnlab.SharpDups.Model { public class DupItem : FileItem { public byte[] Tags { get; set; } public string QuickHash { get; set; } public string FullHash { get; set; } public List<string> HashSections { get; set; } pub...
using System.Collections.Generic; namespace Xnlab.SharpDups.Model { public class DupItem : FileItem { public byte[] Tags { get; set; } public string QuickHash { get; set; } public string FullHash { get; set; } public List<string> HashSections { get; set; } } }
apache-2.0
C#
a1ff4d32c20eb75a1f94548f40e210c55238b788
Add HttpResponseMessage.EnsureSuccess that include response content in the exception.
yufeih/Common
src/HttpHelper.cs
src/HttpHelper.cs
namespace System.Net.Http { using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; static class HttpHelper { public static string ValidatePath(string path) { if (path == null) throw new ArgumentNullExc...
namespace System.Net.Http { using System.Collections.Generic; using System.Diagnostics; using System.Linq; static class HttpHelper { public static string ValidatePath(string path) { if (path == null) throw new ArgumentNullException(nameof(path)); ...
mit
C#
528db7facd8cea49bf4f0bdcdb7487ad0686100d
Increase battery drain rate
sposterkil/eecs290fps,sposterkil/eecs290fps
Assets/PlayerAssets/PlayerManager.cs
Assets/PlayerAssets/PlayerManager.cs
using UnityEngine; using System.Collections; public class PlayerManager : MonoBehaviour { public enum Weapons {Pistol, Submachine, Sword}; public static Weapons wep; public int current; public int health; public float battery; public static int ammo; public Transform pistol; public Transform submachine; pub...
using UnityEngine; using System.Collections; public class PlayerManager : MonoBehaviour { public enum Weapons {Pistol, Submachine, Sword}; public static Weapons wep; public int current; public int health; public float battery; public static int ammo; public Transform pistol; public Transform submachine; pub...
mit
C#
8b457315bf4ab36b18f7282c2609735a213e1760
Add a footer navigation widget.
bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes
Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Migrations/NavigationMigrations.cs
Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Migrations/NavigationMigrations.cs
using System; using System.Collections.Generic; using System.Data; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.MetaData; using Orchard.ContentManagement.MetaData.Builders; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; using Orchard.Environment.Extensions; namespace...
using System; using System.Collections.Generic; using System.Data; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.MetaData; using Orchard.ContentManagement.MetaData.Builders; using Orchard.Core.Contents.Extensions; using Orchard.Data.Migration; using Orchard.Environment.Extensions; namespace...
bsd-3-clause
C#
5c18bab11ec2600feb7cf83c913fc31e84168a9e
Update version number
eWAYPayment/eway-rapid-net
eWAY.Rapid.Tests/Properties/AssemblyInfo.cs
eWAY.Rapid.Tests/Properties/AssemblyInfo.cs
using System.Reflection; 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("eWAY.Rapid.Tests")] [assembly: AssemblyDe...
using System.Reflection; 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("eWAY.Rapid.Tests")] [assembly: AssemblyDe...
mit
C#
190819cd73f902355facb0a8b869bcb20fd67000
Update IQueryRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/IQueryRepository.cs
TIKSN.Core/Data/IQueryRepository.cs
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public interface IQueryRepository<TEntity, TIdentity> where TEntity : IEntity<TIdentity> where TIdentity : IEquatable<TIdentity> { Task<TEntity> GetAsync(TIdentity id, CancellationToken cancellat...
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public interface IQueryRepository<TEntity, TIdentity> where TEntity : IEntity<TIdentity> where TIdentity : IEquatable<TIdentity> { Task<TEntity> GetAsync(TIdentity id, CancellationToken cancellat...
mit
C#
423a2b24a41c6ce83b1fe26f73f0dd951a4a5a45
hide login/password command line params
yar229/WebDavMailRuCloud
WDMRC.Console/CommandLineOptions.cs
WDMRC.Console/CommandLineOptions.cs
using System; using CommandLine; namespace YaR.WebDavMailRu { class CommandLineOptions { [Option('p', "port", Required = true, HelpText = "WebDAV server port")] public int Port { get; set; } [Obsolete] [Option('l', "login", Required = false, HelpText = "Login to Mail.ru Cloud"...
using CommandLine; namespace YaR.WebDavMailRu { class CommandLineOptions { [Option('p', "port", Required = true, HelpText = "WebDAV server port")] public int Port { get; set; } //[Option('l', "login", Required = true, HelpText = "Login to Mail.ru Cloud")] //public string Login...
mit
C#
94798d39b2ca07a3b7dcbd1cca1bc9c25dad4431
Add comments to EmailDto.
harrison314/MapperPerformace
MapperPerformace/Testing/EmailDto.cs
MapperPerformace/Testing/EmailDto.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapperPerformace.Testing { /// <summary> /// Dto class represents <see cref="MapperPerformace.Ef.EmailAddress"/>. /// </summary> public class EmailDto { public int ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapperPerformace.Testing { public class EmailDto { public int EmailAddressID { get; set; } public string EmailAddress {...
mit
C#
2d906ddcc325da720b14ea5aa52b08451253a3dd
Simplify path-format conversions.
tintoy/msbuild-project-tools-vscode,tintoy/msbuild-project-tools-vscode
src/LanguageServer.Engine/Utilities/UriExtensions.cs
src/LanguageServer.Engine/Utilities/UriExtensions.cs
using System; using System.IO; namespace MSBuildProjectTools.LanguageServer.Utilities { /// <summary> /// Helper methods for <see cref="Uri"/>s. /// </summary> static class UriHelper { /// <summary> /// Get the local file-system path for the specified URI. /// </summ...
using System; using System.IO; namespace MSBuildProjectTools.LanguageServer.Utilities { /// <summary> /// Helper methods for <see cref="Uri"/>s. /// </summary> static class UriHelper { /// <summary> /// Get the local file-system path for the specified URI. /// </summ...
mit
C#
9f63c163c50e3dd321984f95887cb8725ef3d6c5
Fix bug in ValueSlotDependencyFinder
terrajobst/nquery-vnext
src/NQuery/Optimization/ValueSlotDependencyFinder.cs
src/NQuery/Optimization/ValueSlotDependencyFinder.cs
using System; using System.Collections.Generic; using System.Linq; using NQuery.Binding; namespace NQuery.Optimization { internal sealed class ValueSlotDependencyFinder : BoundTreeWalker { public ValueSlotDependencyFinder() { ValueSlots = new HashSet<ValueSlot>(); } ...
using System; using System.Collections.Generic; using NQuery.Binding; namespace NQuery.Optimization { internal sealed class ValueSlotDependencyFinder : BoundTreeWalker { public ValueSlotDependencyFinder() { ValueSlots = new HashSet<ValueSlot>(); } public ValueSlot...
mit
C#
ff0e82368ca3598416a126fc502d4d3a366edd1f
Change assembly copyright attribute
UsageStats/UsageStats,objorke/UsageStats
Source/AssemblyInfo.cs
Source/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyProduct("UsageStats")] [assembly: AssemblyCompany("UsageStats")] [assembly: AssemblyCopyright("© UsageStats contributors. Al...
using System.Reflection; using System.Runtime.InteropServices; #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyProduct("UsageStats")] [assembly: AssemblyCompany("objo.net")] [assembly: AssemblyCopyright("© Oystein Bjorke. All rights re...
mit
C#
05393041b3e4f29c21aaacc8edbca104f4e6c80a
Set current directory when running as a service.
VoiDeD/steam-irc-bot
SteamIrcBot/Program.cs
SteamIrcBot/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Reflection; using System.IO; namespace SteamIrcBot { static class Program { /// <summary> /// The main entry point for the application. /// </su...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; namespace SteamIrcBot { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main( string[] a...
mit
C#
abd64947311910fe46732138dd96f2048896534d
Fix all style cop issues
Lunch-box/SimpleOrderRouting
CSharp/SimpleOrderRouting.Journey1/InstructionExecutionContext.cs
CSharp/SimpleOrderRouting.Journey1/InstructionExecutionContext.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InstructionExecutionContext.cs" company="LunchBox corp"> // Copyright 2014 The Lunch-Box mob: // Ozgur DEVELIOGLU (@Zgurrr) // Cyrille DUPUYDAUBY (@Cyrdup...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InstructionExecutionContext.cs" company="LunchBox corp"> // Copyright 2014 The Lunch-Box mob: // Ozgur DEVELIOGLU (@Zgurrr) // Cyrille DUPUYDAUBY (@Cyrdup...
apache-2.0
C#
62784221106be3c126e7bbb77f5a794cf0e7aeb7
Fix default batch posting limit and body size
datalust/clef-tool
src/Datalust.ClefTool/Cli/Features/SeqOutputFeature.cs
src/Datalust.ClefTool/Cli/Features/SeqOutputFeature.cs
// Copyright 2016-2017 Datalust Pty Ltd // // 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 ag...
// Copyright 2016-2017 Datalust Pty Ltd // // 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 ag...
apache-2.0
C#
b4b9191b969fda596115b1c1d981b22de4f1ade9
Revert "Test commit"
kpnlora/LoRaClient
src/Kpn.LoRa.Api.Stub/src/Kpn.LoRa.Api.Stub/Startup.cs
src/Kpn.LoRa.Api.Stub/src/Kpn.LoRa.Api.Stub/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Swashbuckle.Application; ...
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Kpn.LoRa.Api.Stub { public class Startup { public Startup(IHostingEnvironment env) { ...
mit
C#
f080b773b5cec1d90c8f36d91981d548dc0dbb0f
Call Start() only for stream providers that implement IStreamProviderImpl
zhangf911/orleans,hoopsomuah/orleans,dariobottazzi/orleans,modulexcite/orleans,Liversage/orleans,cbredlow/orleans,centur/orleans,zhangf911/orleans,skalpin/orleans,LoveElectronics/orleans,dVakulen/orleans,NaseUkolyCZ/orleans,yevhen/orleans,kucheruk/orleans,ashkan-saeedi-mazdeh/orleans,MikeHardman/orleans,garbervetsky/or...
src/Orleans/Streams/Providers/StreamProviderManager.cs
src/Orleans/Streams/Providers/StreamProviderManager.cs
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License 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, inc...
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License 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, inc...
mit
C#
1ebda5fe9360eb29a143ca13b3526570382049b7
add some basic methods to the manager.
VolatileMindsLLC/openvas-sharp
OpenVASManager.cs
OpenVASManager.cs
using System; using System.Xml; using System.Xml.Linq; namespace openvassharp { public class OpenVASManager : IDisposable { private OpenVASSession _session; public OpenVASManager(OpenVASSession session) { if (session != null) _session = session; } public XDocument GetVersion() { return _session...
using System; using System.Xml; using System.Xml.Linq; namespace openvassharp { public class OpenVASManager : IDisposable { private OpenVASSession _session; public OpenVASManager(OpenVASSession session) { if (session != null) _session = session; } public XDocument GetVersion() { return _session...
bsd-3-clause
C#
df8675fb4ebf656925c0b3c922702b878f4d3eed
Add AssemblyFlags.None enum value
yck1509/dnlib,modulexcite/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,jorik041/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,kiootic/dnlib,picrap/dnlib
dot10/dotNET/Types/AssemblyFlags.cs
dot10/dotNET/Types/AssemblyFlags.cs
using System; namespace dot10.dotNET.Types { /// <summary> /// Assembly flags from Assembly.Flags column. /// </summary> /// <remarks>See CorHdr.h/CorAssemblyFlags</remarks> [Flags] public enum AssemblyFlags : uint { /// <summary> /// No flags set /// </summary> None = 0, /// <summary> /// The asse...
using System; namespace dot10.dotNET.Types { /// <summary> /// Assembly flags from Assembly.Flags column. /// </summary> /// <remarks>See CorHdr.h/CorAssemblyFlags</remarks> [Flags] public enum AssemblyFlags : uint { /// <summary> /// The assembly ref holds the full (unhashed) public key. /// </summary> ...
mit
C#
4f35765bd233763afca72f8487fb02c1adb8fbec
Remove unused namespace.
mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/ma...
examples/HelloWorld/HelloWorld.cs
examples/HelloWorld/HelloWorld.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // 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,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // 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,...
mit
C#
d6e6b43c527d84c76dbd5ddef5a4e8d7d8fad73b
Change name of ParserTest#IsFinished
lury-lang/lury-parser,lury-lang/lury-parser
UnitTest/ParserTest.cs
UnitTest/ParserTest.cs
using System; using Lury.Compiling.Lexer; using Lury.Compiling.Parser; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class ParserTest { [TestMethod] public void IsFinishedTest() { var lexer = new Lexer("", @""); ...
using System; using Lury.Compiling.Lexer; using Lury.Compiling.Parser; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class ParserTest { [TestMethod] public void IsFinished() { var lexer = new Lexer("", @""); lexe...
mit
C#
c8ea9a55c4378029c1f5e1433a2a9bc1b29ba911
increment version
YatoDev/DirectXOverlay
source/Properties/AssemblyInfo.cs
source/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("Gam...
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("Gam...
mit
C#
56177407f0a2ddfe7e2677290c79f38e194accde
update ProgressBar
jpbruyere/Crow,jpbruyere/Crow
src/GraphicObjects/ProgressBar.cs
src/GraphicObjects/ProgressBar.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cairo; using System.Diagnostics; using System.Xml.Serialization; using System.ComponentModel; namespace Crow { [Serializable] public class ProgressBar : NumericControl { #region CTOR public ProgressBar() : base(){} ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cairo; using System.Diagnostics; using System.Xml.Serialization; using System.ComponentModel; namespace Crow { [Serializable] public class ProgressBar : Border { #region CTOR public ProgressBar() : base(){} public ...
mit
C#
c5bc63f9e2a23ee504645cc133ba58130e956bd5
Fix datetime json ext - lost one millisecond
maxkoryukov/MK.Lib,maxkoryukov/MK.WebLib
src/MK.Lib/Ext/DateTimeJsonExt.cs
src/MK.Lib/Ext/DateTimeJsonExt.cs
using System; namespace MK.Ext { /// <summary> /// DateTime Json Extensions /// </summary> public static class DateTimeJsonExt { private static readonly DateTime D1970_01_01 = new DateTime(1970, 1, 1); public static string JsonValue(this DateTime d) { return "( new Date(" + ((d.Ticks - D1970_01_01.Ticks)...
using System; namespace MK.Ext { /// <summary> /// DateTime Json Extensions /// </summary> public static class DateTimeJsonExt { private static readonly DateTime D1970_01_01 = new DateTime(1970, 1, 1); public static string JsonValue(this DateTime d) { return "( new Date(" + System.Convert.ToInt64((d - D1...
mit
C#
dbef30f3c469423194fc90adfb2a97eb206f271f
Bump version to 0.14.0
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
62baee7d0f488ea63a8c6ce42e7f6983e4c07b3e
Change "Policy.maxRetries" default from 2 to 1.
YuvalItzchakov/aerospike-client-csharp
AerospikeClient/Policy/Policy.cs
AerospikeClient/Policy/Policy.cs
/* * Copyright 2012-2014 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
/* * Copyright 2012-2014 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
apache-2.0
C#
5f6a9dfe5078ab11aef4dd367bb978bbc695df3d
Change the page title and h1.
bigfont/sweet-water-revolver
mvcWebApp/Views/Home/Index.cshtml
mvcWebApp/Views/Home/Index.cshtml
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <title>Sweet Water Revolver</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen"> <!-- HTML5 Shim a...
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 101 Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen"> <!-- HTML5 Shim...
mit
C#
b321de76fb49d404aaf842e030e23f526fde45bb
Add mapping for all entities
Marusyk/SmartVillageOnline,Marusyk/SmartVillageOnline
BLL/Mapping/AutomapperProfile.cs
BLL/Mapping/AutomapperProfile.cs
using AutoMapper; using BusinessEntities; using BusinessEntities.Dictionaries; using DataModel; using DataModel.Dictionaries; namespace BLL.Mapping { public class AutomapperProfile : Profile { public AutomapperProfile() { CreateMap<Animal, AnimalEntity>(); CreateMap<Council, CouncilEntity>();...
using AutoMapper; using BusinessEntities; using BusinessEntities.Dictionaries; using DataModel; using DataModel.Dictionaries; namespace BLL.Mapping { public class AutomapperProfile : Profile { public AutomapperProfile() { CreateMap<Animal, AnimalEntity>(); CreateMap<Council, CouncilEntity>();...
mit
C#
60f88c3ddd6ae8df1f804b8f12b1a0b86188fbd7
Add Message if AvgKmL is null
sanarujung/tdd-carfuel,sanarujung/tdd-carfuel,sanarujung/tdd-carfuel
CarFuel/Views/Car/Details.cshtml
CarFuel/Views/Car/Details.cshtml
@using CarFuel.Models @model Car <h2>@Model.Make (@Model.Model)</h2> <div class="well well-sm"> @if (Model.AverageKmL == null) { <div> Not has enough data to calculate consumption rate. Please add more fill up. </div> } Average consumption is <strong>@(Model.Av...
@using CarFuel.Models @model Car <h2>@Model.Make (@Model.Model)</h2> <div class="well well-sm"> Average consumption is <strong>@(Model.AverageKmL?.ToString("n2"))</strong> km/L </div>
mit
C#
8b3ca3afed29ad5218ef0eddfcfd3c2ef487886e
생성된 콘텐츠가 Pressed 일 경우 활성화/비활성화 하지 않도록 수정.
WontakKim/DynamicScroll
Assets/DynamicScroll/Scripts/UIScrollBlinker.cs
Assets/DynamicScroll/Scripts/UIScrollBlinker.cs
using UnityEngine; using System.Collections; public class UIScrollBlinker : MonoBehaviour { public UIScrollView scrollView; private bool firstTime = true; void Start() { if (scrollView == null) scrollView = NGUITools.FindInParents<UIScrollView>(gameObject); if (scrollView != null) { if (scrollVie...
using UnityEngine; using System.Collections; public class UIScrollBlinker : MonoBehaviour { public UIScrollView scrollView; private bool firstTime = true; void Start() { if (scrollView == null) scrollView = NGUITools.FindInParents<UIScrollView>(gameObject); if (scrollView != null) { if (scrollVie...
mit
C#
159e645546856a7ce88bb5b92586ea53a0e9db83
add GetApproximateMessageCount to IMessageQueue<>
halforbit/data-stores
Halforbit.DataStores/Interface/IMessageQueue.cs
Halforbit.DataStores/Interface/IMessageQueue.cs
using Halforbit.DataStores.Model; namespace Halforbit.DataStores.Interface { public interface IMessageQueue<TContent> { Message<TContent> Get(); Message<TContent> Put(TContent content); void Delete(Message<TContent> message); int? GetApproximateMessageCount(); ...
using Halforbit.DataStores.Model; namespace Halforbit.DataStores.Interface { public interface IMessageQueue<TContent> { Message<TContent> Get(); Message<TContent> Put(TContent content); void Delete(Message<TContent> message); } }
mit
C#
a83af69fb1d41322b02a4c883d9ccc981c99fa81
Add logic for creating a pantru for new users
AlinCiocan/PlanEatSave,AlinCiocan/PlanEatSave,AlinCiocan/FoodPlanApp,AlinCiocan/PlanEatSave,AlinCiocan/FoodPlanApp,AlinCiocan/FoodPlanApp
DataAccessLayer/PantryService.cs
DataAccessLayer/PantryService.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using PlanEatSave.Models; using PlanEatSave.Utils; namespace PlanEatSave.DataAceessLayer { public class PantryService { private ApplicationDbContext _context; private IPlanEatSaveLogger _logger; ...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using PlanEatSave.Models; using PlanEatSave.Utils; namespace PlanEatSave.DataAceessLayer { public class PantryService { private ApplicationDbContext _context; private IPlanEatSaveLogger _logger; ...
mit
C#
40f46443515cacb332327a7f9fc2b3eff4b32c81
Change SpritePart to be reference type since it's too big
k-t/SharpHaven
MonoHaven.Client/Graphics/Sprites/SpritePart.cs
MonoHaven.Client/Graphics/Sprites/SpritePart.cs
using System.Drawing; namespace MonoHaven.Graphics.Sprites { public class SpritePart { private readonly int id; private readonly TextureSlice tex; private readonly Point offset; private readonly Size size; private readonly int z; private readonly int subz; public SpritePart(int id, TextureSlice tex, ...
using System.Drawing; namespace MonoHaven.Graphics.Sprites { public struct SpritePart { private readonly int id; private readonly TextureSlice tex; private readonly Point offset; private readonly Size size; private readonly int z; private readonly int subz; public SpritePart(int id, TextureSlice tex,...
mit
C#
88ef95809cb9d86833aacc5a2b347f390b22b323
change node service name
GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp
PDF/src/PDF.Server/Controllers/PDFController.cs
PDF/src/PDF.Server/Controllers/PDFController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using PDF.Models; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Microsoft.Extensions.Logging; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using PDF.Models; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Microsoft.Extensions.Logging; ...
apache-2.0
C#
9714888c599d1e66c32472b9a960546422337098
test assembly info extractor
lAnubisl/byalexblog,lAnubisl/byalexblog,lAnubisl/byalexblog,lAnubisl/byalexblog,lAnubisl/byalexblog,lAnubisl/byalexblog
MvcApplication/Properties/AssemblyInfo.cs
MvcApplication/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: AssemblyTi...
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: AssemblyTi...
mit
C#
16c061f7a7c6974573b78a0f5c6cf030e23a8845
Tweak visual
Simie/PrecisionEngineering
Src/PrecisionEngineering/UI/MeasurementLabel.cs
Src/PrecisionEngineering/UI/MeasurementLabel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ColossalFramework.UI; using UnityEngine; namespace PrecisionEngineering.UI { class MeasurementLabel : UILabel { public void SetValue(string v) { text = string.Format("<color=#87d3ff>{0}</color>", v); } public vo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ColossalFramework.UI; using UnityEngine; namespace PrecisionEngineering.UI { class MeasurementLabel : UILabel { public void SetValue(string v) { text = string.Format("<color=#87d3ff>{0}</color>", v); } public vo...
mit
C#
40b33afe452db138fdfdf850441ea7c6371b870f
Update test
mispy/JSIL,FUSEEProjectTeam/JSIL,dmirmilshteyn/JSIL,TukekeSoft/JSIL,sander-git/JSIL,FUSEEProjectTeam/JSIL,dmirmilshteyn/JSIL,sq/JSIL,Trattpingvin/JSIL,dmirmilshteyn/JSIL,TukekeSoft/JSIL,acourtney2015/JSIL,antiufo/JSIL,volkd/JSIL,Trattpingvin/JSIL,hach-que/JSIL,acourtney2015/JSIL,x335/JSIL,sq/JSIL,iskiselev/JSIL,hach-qu...
Tests/EmscriptenTestCases/PinnedStringBuffer.cs
Tests/EmscriptenTestCases/PinnedStringBuffer.cs
using System; using System.Text; using JSIL.Runtime; using System.Runtime.InteropServices; public static unsafe class Program { [DllImport("common.dll", CallingConvention=CallingConvention.Cdecl)] public static extern int WriteStringIntoBuffer ( byte * dest, int capacity ); public static void...
using System; using System.Text; using JSIL.Runtime; using System.Runtime.InteropServices; public static unsafe class Program { [DllImport("common.dll", CallingConvention=CallingConvention.Cdecl)] public static extern int WriteStringIntoBuffer ( byte * dest, int capacity ); public static void...
mit
C#
deeac84b40bc7e533a93ffa46eb9bad745bea21f
fix encounter rate
poke-project/Unity-poke-project
PokeProject/Assets/Scripts/GameManager.cs
PokeProject/Assets/Scripts/GameManager.cs
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { public static GameManager instance; [HideInInspector] public Game game; [HideInInspector] public PersistentData persistentData; [HideInInspector] public bool inMenu; //[HideInInspector] public...
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { public static GameManager instance; [HideInInspector] public Game game; [HideInInspector] public PersistentData persistentData; [HideInInspector] public bool inMenu; //[HideInInspector] public...
unlicense
C#
158e890d65ac5af7c04e869e62d504c0be09e662
Implement UserFile.HashObject (and add ValidateData)
zr40/kyru-dotnet,zr40/kyru-dotnet
Kyru/Network/Objects/UserFile.cs
Kyru/Network/Objects/UserFile.cs
using System; using System.Collections.Generic; using System.Linq; using Kyru.Utilities; using ProtoBuf; namespace Kyru.Network.Objects { [ProtoContract] internal class UserFile { [ProtoMember(1)] internal byte[] Signature; [ProtoMember(2)] internal ulong FileId; [ProtoMember(3)] internal...
using System; using System.Collections.Generic; using System.Linq; using ProtoBuf; namespace Kyru.Network.Objects { [ProtoContract] internal class UserFile { [ProtoMember(1)] internal byte[] Signature; [ProtoMember(2)] internal ulong FileId; [ProtoMember(3)] internal byte[] EncryptedKey; ...
bsd-3-clause
C#
b5e2b660f775cc283f0fb167829c1edb55c1ea11
Add Image to clipboard data
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.API/Entities/Data.cs
ElectronNET.API/Entities/Data.cs
namespace ElectronNET.API.Entities { /// <summary> /// /// </summary> public class Data { /// <summary> /// Gets or sets the text. /// </summary> /// <value> /// The text. /// </value> public string Text { get; set; } /// <summary> ...
namespace ElectronNET.API.Entities { /// <summary> /// /// </summary> public class Data { /// <summary> /// Gets or sets the text. /// </summary> /// <value> /// The text. /// </value> public string Text { get; set; } /// <summary> ...
mit
C#
8ba929d6e616c66ac4a15ee3a8c6e49f0facc09a
add max length restriction
CVBDL/RALibraryServer
RaLibrary/Models/Book.cs
RaLibrary/Models/Book.cs
using System.ComponentModel.DataAnnotations; namespace RaLibrary.Models { public class Book { public int Id { get; set; } [Required] [MaxLength(50)] public string Code { get; set; } [Required] [MaxLength(200)] public string Title { get; set; } ...
using System.ComponentModel.DataAnnotations; namespace RaLibrary.Models { public class Book { public int Id { get; set; } [Required] public string Code { get; set; } [Required] public string Title { get; set; } public string Borrower { get; set; } } }
mit
C#
67f71e4dc6788de1955cc7e99ff7434290030341
add accept header for organization permissions
thedillonb/octokit.net,TattsGroup/octokit.net,adamralph/octokit.net,alfhenrik/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,shiftkey-tester/octokit.net,rlugojr/octokit.net,devkhan/octokit.net,gdziadkiewicz/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,SmithAndr/octokit.net,khellang/octokit.net,thedillon...
Octokit/Helpers/AcceptHeaders.cs
Octokit/Helpers/AcceptHeaders.cs
namespace Octokit { public static class AcceptHeaders { public const string StableVersion = "application/vnd.github.v3"; public const string StableVersionHtml = "application/vnd.github.html"; public const string RedirectsPreviewThenStableVersionJson = "application/vnd.github.quicksilv...
namespace Octokit { public static class AcceptHeaders { public const string StableVersion = "application/vnd.github.v3"; public const string StableVersionHtml = "application/vnd.github.html"; public const string RedirectsPreviewThenStableVersionJson = "application/vnd.github.quicksilv...
mit
C#
1c10669b29c036abaf1c15691902cb800fb2da02
disable web optimizations
eugenpodaru/resume,eugenpodaru/resume,eugenpodaru/resume
Resume/App_Start/BundleConfig.cs
Resume/App_Start/BundleConfig.cs
namespace Resume { using System.Web.Optimization; public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { // javascript bundles bundles.Add(new ScriptBundle("~/bundles/js") .Include("~/Content/lib/jquery/dist/jquery...
namespace Resume { using System.Web.Optimization; public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { // javascript bundles bundles.Add(new ScriptBundle("~/bundles/js") .Include("~/Content/lib/jquery/dist/jquery...
mit
C#
9ba66499781ac302b8b06f0ce8463871d082a195
Update settings model
OrenTiger/my-personal-blog,OrenTiger/my-personal-blog
MyPersonalBlog/Models/Setting.cs
MyPersonalBlog/Models/Setting.cs
using System.ComponentModel.DataAnnotations; namespace MyPersonalBlog.Models { public class Settings { public int Id { get; set; } [Required] [Range(1, 10, ErrorMessage = "Укажите значение от 1 до 10")] [Display(Name = "Количество постов на страницу")] public int PostL...
using System.ComponentModel.DataAnnotations; namespace MyPersonalBlog.Models { public class Settings { public int Id { get; set; } [Required] [Range(1, 10, ErrorMessage = "Укажите значение от 1 до 10")] [Display(Name = "Количество постов на страницу")] public int PostL...
mit
C#
da439e99466c8e25ca16b2d588528b05c8dc95e0
Update welcomemessages.cs
GTANetworkDev/ExampleResources,GTANetworkDev/ExampleResources,GTANetworkDev/ExampleResources,GTANetworkDev/ExampleResources
welcomemessages/welcomemessages.cs
welcomemessages/welcomemessages.cs
using System; using System.Collections.Generic; using GTANetworkServer; using GTANetworkShared; public class WelcomeMsgs : Script { public WelcomeMsgs() { API.onPlayerConnected += onPlayerConnect; API.onPlayerDisconnected += onPlayerDisconnect; } public void onPlayerConnect(Client play...
using System; using System.Collections.Generic; using GTANetworkServer; using GTANetworkShared; public class WelcomeMsgs : Script { public WelcomeMsgs() { API.onPlayerConnected += onPlayerConnect; API.onPlayerDisconnected += onPlayerDisconnect; } public void onPlayerConnect(Client player) { API.sendNotific...
mit
C#
11102034c66b636926c8c44e41684ea1843ea1eb
add test case
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
test/Cap.Consistency.Test/ConsistencyMessageManagerTest.cs
test/Cap.Consistency.Test/ConsistencyMessageManagerTest.cs
using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Microsoft.Extensions.Logging; using Moq; using System.Threading; namespace Cap.Consistency.Test { public class Consis...
using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Microsoft.Extensions.Logging; using Moq; namespace Cap.Consistency.Test { public class ConsistencyMessageManagerTest ...
mit
C#
86488372ff283cfec28584d533390548496ea3f1
Move the Recenter and Monoscoping Rendering feature to the Oculus Head Controller
xfleckx/BeMoBI,xfleckx/BeMoBI
Assets/Editor/VRSubjectInspector.cs
Assets/Editor/VRSubjectInspector.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; [CustomEditor(typeof(VRSubjectController))] public class VRSubjectInspector : Editor { VRSubjectController instance; public override void OnInspectorGUI() { instance = targe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; [CustomEditor(typeof(VRSubjectController))] public class VRSubjectInspector : Editor { VRSubjectController instance; public override void OnInspectorGUI() { instance = targe...
mit
C#
85d5160782acd1ff6683b744c4b96f0ef7f50598
Add plugin identifier to the object itself
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Plugins/PluginScriptGenerator.cs
Plugins/PluginScriptGenerator.cs
using System.Text; namespace TweetDck.Plugins{ static class PluginScriptGenerator{ public static string GenerateConfig(PluginConfig config){ return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"", config.DisabledPlugins)+"\"];" : string.Empty; } pub...
using System.Text; namespace TweetDck.Plugins{ static class PluginScriptGenerator{ public static string GenerateConfig(PluginConfig config){ return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"", config.DisabledPlugins)+"\"];" : string.Empty; } pub...
mit
C#
08a10b6231218870754f3e9c7b77fe246c004ce1
Remove explicit private set from BulletTexture (#5)
ForNeVeR/TankDriver
TankDriver.App/TextureStorage.cs
TankDriver.App/TextureStorage.cs
using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace TankDriver { /// <summary> /// Class for storeing loaded textures. /// </summary> internal class TextureStorage { /// <summary> /// Tank body texture. /// </summary> public Texture2D TankBodyTexture { get; private se...
using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace TankDriver { /// <summary> /// Class for storeing loaded textures. /// </summary> internal class TextureStorage { /// <summary> /// Tank body texture. /// </summary> public Texture2D TankBodyTexture { get; private se...
mit
C#
824a4c7a98289aedd3474893ab17d0566988229d
Remove signupbox id from register bx since then it can be hidden by the zk.showLoginBox function
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Zk/Views/Account/Register.cshtml
Zk/Views/Account/Register.cshtml
@{ ViewBag.Title = "Registreer je vandaag bij de Oogstplanner"; } <div class="flowtype-area"> <!-- START RESPONSIVE RECTANGLE LAYOUT --> <!-- Top bar --> <div id="top"> </div> <!-- Fixed main screen --> <div id="login" class="bg imglogin"> <div class="row"> <div class="mainbox col-md-12 col-sm-12 col-xs-12...
@{ ViewBag.Title = "Registreer je vandaag bij de Oogstplanner"; } <div class="flowtype-area"> <!-- START RESPONSIVE RECTANGLE LAYOUT --> <!-- Top bar --> <div id="top"> <h1>Registreer je vandaag bij de Oogstplanner</h1> </div> <!-- Fixed main screen --> <div id="login" class="bg imglogin"> <!-- Sig...
mit
C#
8f8aff201fa934ec0083046267de3f623aac7886
Change unity scene type to struct
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/Utils/LiteNetLibScene.cs
Scripts/Utils/LiteNetLibScene.cs
using UnityEngine; namespace LiteNetLibManager { [System.Serializable] public struct LiteNetLibScene { [SerializeField] private Object sceneAsset; [SerializeField] private string sceneName; public string SceneName { get { return sceneName; } ...
using UnityEngine; namespace LiteNetLibManager { [System.Serializable] public class LiteNetLibScene { [SerializeField] private Object sceneAsset; [SerializeField] private string sceneName = string.Empty; public string SceneName { get { return sc...
mit
C#
fa3d5c57a76aa1c01100686bffc7c7fcf1baf460
Move WinApi call into NativeMethods
CindyB/sloth
Sloth/Sloth/Core/WinUtilities.cs
Sloth/Sloth/Core/WinUtilities.cs
using Sloth.Interfaces.Core; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; namespace Sloth.Core { public class WinUtilities : IWinUtilities { private List<IntPtr> m_ChildHandles; public IntPtr FindControlH...
using Sloth.Interfaces.Core; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; namespace Sloth.Core { public class WinUtilities : IWinUtilities { private List<IntPtr> m_ChildHandles; public IntPtr FindControlH...
mit
C#
0ebfa35381aca838fac68c7666b8e84c5784560e
increase threads count
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
src/ApiRunner/Program.cs
src/ApiRunner/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using AzureRepositories; using BitcoinApi; using Core.Settings; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; namespace ApiRunner { public ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using AzureRepositories; using BitcoinApi; using Core.Settings; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; namespace ApiRunner { public ...
mit
C#
37d159c8c3755902453c1c4a124a60609dbad892
Make Names a IReadOnlyList<string>
jcmoyer/Yeena
Yeena/PathOfExile/PoEItemList.cs
Yeena/PathOfExile/PoEItemList.cs
// Copyright 2013 J.C. Moyer // // 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 to ...
// Copyright 2013 J.C. Moyer // // 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 to ...
apache-2.0
C#
61a53a8ecc556f366f611e5cb46fb8bac5a98e17
Use IReadOnlyList instead of IReadOnlyCollection for stash tab items
jcmoyer/Yeena
Yeena/PathOfExile/PoEStashTab.cs
Yeena/PathOfExile/PoEStashTab.cs
// Copyright 2013 J.C. Moyer // // 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 to ...
// Copyright 2013 J.C. Moyer // // 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 to ...
apache-2.0
C#
c67fc8cea0116015e9780a635712d59c319fa1fe
Add WriteLog method.
eternnoir/NLogging
src/NLogging/Logger.cs
src/NLogging/Logger.cs
namespace NLogging { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; public class Logger : ILogger { private string loggerName; private LogLevel logLevel; private List<...
namespace NLogging { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Logger : ILogger { private string loggerName; private LogLevel logLevel; private List<IHandler> handlerList; ...
mit
C#