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
e3e00374a13e685ad7084317253cd45272a00c97
Fix SelectViewDupcliateOption namespace
amcgoey/Synthetic
Synthetic.Pulldowns/SelectViewDuplicateOption.cs
Synthetic.Pulldowns/SelectViewDuplicateOption.cs
using System; using CoreNodeModels; using Dynamo.Graph.Nodes; using Dynamo.Utilities; using ProtoCore.AST.AssociativeAST; using revitDB = Autodesk.Revit.DB; using Synthetic.Pulldowns; namespace Synthetic.Revit.View { /// <summary> /// /// </summary> [NodeName("ViewDuplicateOption")] [NodeDescr...
using System; using CoreNodeModels; using Dynamo.Graph.Nodes; using Dynamo.Utilities; using ProtoCore.AST.AssociativeAST; using revitDB = Autodesk.Revit.DB; using Synthetic.Pulldowns; namespace Synthetic.Revit.CollectorFilterRulesSelect { /// <summary> /// /// </summary> [NodeName("View.ViewDuplic...
mit
C#
ed4a437619a24fff164419c79095e59a7d3d5dec
Update IOperationProgressFactory.cs
tiksn/TIKSN-Framework
TIKSN.Core/Progress/IOperationProgressFactory.cs
TIKSN.Core/Progress/IOperationProgressFactory.cs
namespace TIKSN.Progress { public interface IOperationProgressFactory { DisposableProgress<OperationProgressReport> Create(string activity, string statusDescription); } }
namespace TIKSN.Progress { public interface IOperationProgressFactory { DisposableProgress<OperationProgressReport> Create(string activity, string statusDescription); } }
mit
C#
5d35cb9e8ec79d97123476c0eae4f09387720016
Change InitModel from public to protected
Vorlias/Andromeda
Entities/Components/Behaviours/Controller.cs
Entities/Components/Behaviours/Controller.cs
using Andromeda2D.Entities; using Andromeda2D.Entities.Components; using Andromeda2D.Entities.Components.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Andromeda.Entities.Components { /// <summary> /// A controller for a...
using Andromeda2D.Entities; using Andromeda2D.Entities.Components; using Andromeda2D.Entities.Components.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Andromeda.Entities.Components { /// <summary> /// A controller for a...
mit
C#
2e5e3be5c79219004c7e716fb694fc2bced883aa
Update ShowOptionsCommand.cs
DarkIrata/WinCommandPalette
WinCommandPalette/Commands/ShowOptionsCommand.cs
WinCommandPalette/Commands/ShowOptionsCommand.cs
using System; using WinCommandPalette.PluginSystem; namespace WinCommandPalette.Commands { internal class ShowOptionsCommand : ICommand { public string Name => "Options"; public string Description => "Show WinCommand Palette options"; private Config config; publ...
using System; using WinCommandPalette.PluginSystem; namespace WinCommandPalette.Commands { internal class ShowOptionsCommand : ICommand { public string Name => "Options"; public string Description => "Show WinCommand Palette options"; private Config config; publ...
mit
C#
52d2fa6c523d1caa0cf7a786cd51b0d0907dbfca
move subsprite test fix
jauseg/DepthSprite
UnitTests/CommandMoveSubSpriteTests.cs
UnitTests/CommandMoveSubSpriteTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using IsoPixel; using System.Drawing; using IsoPixel.Commands; namespace UnitTests { [TestClass] public class CommandMoveSubSpriteTests { [TestMethod] public void TestCommandMoveSubSprite() { DepthContain...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using IsoPixel; using System.Drawing; using IsoPixel.Commands; namespace UnitTests { [TestClass] public class CommandMoveSubSpriteTests { [TestMethod] public void TestCommandMoveSubSprite() { DepthContain...
mit
C#
3a8b6d9d8877f639b9abe4c2e7661da83c19f520
update version
Weingartner/XUnitRemote
XUnitRemote/Properties/AssemblyInfo.cs
XUnitRemote/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("XU...
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("XU...
mit
C#
69ab9f73f3f247cdc4cbc2219f796d41b11b9032
Update MsBuild AssemblyInfo.cs for new package version
RazorGenerator/RazorGenerator,wizzardmr42/RazorGenerator,RazorGenerator/RazorGenerator
RazorGenerator.MsBuild/Properties/AssemblyInfo.cs
RazorGenerator.MsBuild/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...
apache-2.0
C#
3ac49ffe827080d6b31e185c90291b081b078668
Simplify SerializationLaws
sharper-library/Sharper.C.Testing
Sharper.C.Testing/Testing/Laws/SerializingLaws.cs
Sharper.C.Testing/Testing/Laws/SerializingLaws.cs
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using FsCheck; namespace Sharper.C.Testing.Laws { using static Properties.FunctionPropertiesModule; public static class SerializingLaws { public static Invariant For<A, S> ( Func<A, S> serialize , Func<S, A> deserial...
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using FsCheck; namespace Sharper.C.Testing.Laws { using static Properties.FunctionPropertiesModule; public static class SerializingLaws { public static Invariant For<A> ( Action<A, Stream> serialize , Func<Stream, A>...
mit
C#
e373527905210cabe9f050eebdf8bd9961a0caab
Refactor a bit the BuildedProjectsCollection
nagits/BuildVision
Source/Tool/Building/BuildedProjectsCollection.cs
Source/Tool/Building/BuildedProjectsCollection.cs
using System.Collections.Generic; using System.Linq; using AlekseyNagovitsyn.BuildVision.Tool.Models; namespace AlekseyNagovitsyn.BuildVision.Tool.Building { // TODO: thread-safety. public class BuildedProjectsCollection : List<BuildedProject> { public int BuildSuccessCount { g...
using System.Collections.Generic; using System.Linq; using AlekseyNagovitsyn.BuildVision.Tool.Models; namespace AlekseyNagovitsyn.BuildVision.Tool.Building { public class BuildedProjectsCollection : List<BuildedProject> { public int BuildSuccessCount { get { return this.Count(p => ...
mit
C#
5c7b0314069bf363dc810fb5864d39cec442e78e
Fix a null ref error
nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Remoting.Server/RemotingServer.cs
MultiMiner.Remoting.Server/RemotingServer.cs
using System; using System.ServiceModel; namespace MultiMiner.Remoting.Server { public class RemotingServer { private bool serviceStarted = false; private ServiceHost myServiceHost = null; public void Startup() { Uri baseAddress = new Uri("net.tcp://localho...
using System; using System.ServiceModel; namespace MultiMiner.Remoting.Server { public class RemotingServer { private bool serviceStarted = false; private ServiceHost myServiceHost = null; public void Startup() { Uri baseAddress = new Uri("net.tcp://localho...
mit
C#
b83fccef771fbef7d606e5bb12dfb5ba936e4af1
check empty lines in accbenefitdb
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Data/Databases/AccountBenefitDatabase.cs
TCC.Core/Data/Databases/AccountBenefitDatabase.cs
using System; using System.Collections.Generic; using System.IO; namespace TCC.Data.Databases { public class AccountBenefitDatabase { public Dictionary<uint, string> Benefits; public AccountBenefitDatabase(string lang) { Load(lang); } public void Load(strin...
using System; using System.Collections.Generic; using System.IO; namespace TCC.Data.Databases { public class AccountBenefitDatabase { public Dictionary<uint, string> Benefits; public AccountBenefitDatabase(string lang) { Load(lang); } public void Load(strin...
mit
C#
5aecc31f2cd8ddadb82615dd36483fafb875c6a7
Make program maximized on start
Lakon/VideoAggregator
VideoAggregator/Program.cs
VideoAggregator/Program.cs
using System; using Gtk; namespace VideoAggregator { class MainClass { public static void Main (string[] args) { Application.Init (); MainWindow win = new MainWindow (); win.Maximize (); win.Show (); Application.Run (); } } }
using System; using Gtk; namespace VideoAggregator { class MainClass { public static void Main (string[] args) { Application.Init (); MainWindow win = new MainWindow (); win.Show (); Application.Run (); } } }
mit
C#
8b518d98693b55035860287b7263071320bea65d
increase version to 0.0.6 stable
rvignesh89/web-starter
web.starter/Properties/AssemblyInfo.cs
web.starter/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("web.starter")] [assembly: AssemblyDescrip...
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("web.starter")] [assembly: AssemblyDescrip...
apache-2.0
C#
c123eb4ae03fffa5c20f1f5a6bd12c5454172122
Create output directory if needed for jpg slicing.
PyriteServer/PyriteCli,PyriteServer/PyriteCli,PyriteServer/PyriteCli
CuberLib/ImageTile.cs
CuberLib/ImageTile.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CuberLib { public class ImageTile { private Image image; private Size size; public ImageTi...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CuberLib { public class ImageTile { private Image image; private Size size; public ImageTi...
mit
C#
2d7a05996fd5cd87bbec147346bf9adda1b6fae2
Reorder methods.
jamiehumphries/FakeItEasy.Auto,jamiehumphries/FakeItEasy.Auto
FakeItEasy.Auto/An.cs
FakeItEasy.Auto/An.cs
namespace FakeItEasy.Auto { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; public static class An { private static readonly MethodInfo FakeMethod = typeof(A).GetMethod("Fake", new Type[0]); public static T AutoFaked<T>() ...
namespace FakeItEasy.Auto { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; public static class An { private static readonly MethodInfo FakeMethod = typeof(A).GetMethod("Fake", new Type[0]); public static T AutoFaked<T>() ...
mit
C#
840be12d1df8a5821c9fa67965ef782bf253728d
Fix SonarQuebe message
steven-r/Oberon0Compiler
oberon0/Types/BaseType.cs
oberon0/Types/BaseType.cs
using System; namespace Oberon0.Compiler.Types { /// <summary> /// Standard types /// </summary> [Flags] public enum BaseType { /// <summary> /// Standard integer /// </summary> IntType = SimpleType + 1, /// <summary> /// The string type - Not in...
using System; namespace Oberon0.Compiler.Types { /// <summary> /// Standard types /// </summary> [Flags] public enum BaseType { /// <summary> /// If set, the given instance is failing /// </summary> ErrorType, /// <summary> /// Standard integer ...
mit
C#
976f68f5fa44772f1c1963954bb5eda6e896b813
Update library properties
speceasy/speceasy,articulate/speceasy,rockhymas/speceasy,appakz/speceasy,dpbackes/speceasy,trackabout/speceasy
SpecEasy/Properties/AssemblyInfo.cs
SpecEasy/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("SpecEasy")] [assembly: AssemblyDes...
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("SpecEasy")] [assembly: AssemblyDes...
mit
C#
383b285f6ef77e09e0452e3286e7f1ee794bacbd
Format result string on the server
vendettamit/compilify,appharbor/ConsolR,vendettamit/compilify,jrusbatch/compilify,appharbor/ConsolR,jrusbatch/compilify
Web/Services/JobDoneMessageRelay.cs
Web/Services/JobDoneMessageRelay.cs
using System; using BookSleeve; using Compilify.Models; using Compilify.Web.EndPoints; using SignalR; namespace Compilify.Web.Services { /// <summary> /// Processes messages sent by workers over Redis and forwards them to the client /// that originally initiated the request.</summary> publi...
using System; using System.Text; using BookSleeve; using Compilify.Models; using Compilify.Web.EndPoints; using Newtonsoft.Json; using SignalR; namespace Compilify.Web.Services { /// <summary> /// Processes messages sent by workers over Redis and forwards them to the client /// that originally ...
mit
C#
608c5d3dc675b324a24c6f0be658e52a6aa72d93
Reformat Blinker
yeonghoey/dotge
Assets/Scripts/Blinker.cs
Assets/Scripts/Blinker.cs
using UnityEngine; using UnityEngine.UI; public class Blinker : MonoBehaviour { public float speed; private Text text; private string message; void Start() { text = GetComponent<Text>(); message = text.text; } void Update() { float v = Mathf.PingPong(Time.time * speed, 1.0f); bool show = Mathf.Ro...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Blinker : MonoBehaviour { public float speed; private Text text; private string message; void Start () { text = GetComponent<Text> (); message = text.text; } void Update () { float v = Mat...
mit
C#
3d6007073bd9b55af87cf22b3d5ccdeabdd73410
fix merge error
feedhenry-templates/blank-xamarin,feedhenry-templates/blank-xamarin
blank-xamarin-ios/ViewController.cs
blank-xamarin-ios/ViewController.cs
using System; using UIKit; using FHSDK; namespace blank_xamarin_ios { public partial class ViewController : UIViewController { public ViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad () { base.ViewDidLoad (); var initTask = FHClient.Init(); initTask.ContinueW...
using System; using UIKit; using FHSDK; namespace blank_xamarin_ios { public partial class ViewController : UIViewController { public ViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad () { base.ViewDidLoad (); var initTask = FHClient.Init(); initTask.ContinueW...
apache-2.0
C#
aa89f7e2d0fd2f5ba9c8db79c7e2d802e30f3037
Update ReverseString.cs
michaeljwebb/Algorithm-Practice
LeetCode/ReverseString.cs
LeetCode/ReverseString.cs
//Write a function that inputs a string and returns the string in reverse. using System; using System.Collections.Generic; using System.Linq; using System.Text; public class ReverseString { public string Reverse_String(string s) { char[] sArray = s.ToCharArray(); string ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class ReverseString { public string Reverse_String(string s) { char[] sArray = s.ToCharArray(); string result = ""; for (int i = sArray.Length - 1; i >= 0; i--) ...
mit
C#
7c6f7351203770a25a29456c59a9c8af6e961452
Update "Book"
DRFP/Personal-Library
_Build/PersonalLibrary/Library/Model/Book.cs
_Build/PersonalLibrary/Library/Model/Book.cs
using SQLite; namespace Library.Model { [Table("Books")] public class Book { [PrimaryKey, AutoIncrement] public int booID { get; set; } public int slfID { get; set; } public string booTitle { get; set; } public string booDescription { get; set; } public string b...
using SQLite; using System; namespace Library.Model { [Table("Books")] public class Book { [PrimaryKey, AutoIncrement] public int booID { get; set; } public int slfID { get; set; } public string booTitle { get; set; } public string booDescription { get; set; } p...
mit
C#
e3f0110442cef68a933528a50a9d586249b0557e
Add texture support.
EusthEnoptEron/mdlanim
mdlanim/Program.cs
mdlanim/Program.cs
using System; using System.Collections.Generic; using System.Text; using BrawlLib.Modeling; using System.Linq; using BrawlLib.SSBB.ResourceNodes; using System.IO; namespace mdlanim { class Program { static void Main(string[] args) { if (args.Length == 1 && Directory.Exists(args[0...
using System; using System.Collections.Generic; using System.Text; using BrawlLib.Modeling; using System.Linq; using BrawlLib.SSBB.ResourceNodes; using System.IO; namespace mdlanim { class Program { static void Main(string[] args) { if (args.Length == 1 && Directory.Exists(args[0...
mit
C#
0367c885906e99d9e1358a48c4138746b378b7e8
Make properties in PactUriOptions public
SEEK-Jobs/pact-net,SEEK-Jobs/pact-net,SEEK-Jobs/pact-net
PactNet/PactUriOptions.cs
PactNet/PactUriOptions.cs
using System; using System.Text; namespace PactNet { public class PactUriOptions { private const string AuthScheme = "Basic"; public string Username { get; } public string Password { get; } public string AuthorizationScheme => AuthScheme; public string Auth...
using System; using System.Text; namespace PactNet { public class PactUriOptions { private const string AuthScheme = "Basic"; internal string Username { get; } internal string Password { get; } internal string AuthorizationScheme => AuthScheme; internal str...
mit
C#
5b32943aa88b657f98fe84669a48f366dac7d751
Increase max string length
Facepunch/Facepunch.Steamworks,Facepunch/Facepunch.Steamworks,Facepunch/Facepunch.Steamworks
Facepunch.Steamworks/Utility/Helpers.cs
Facepunch.Steamworks/Utility/Helpers.cs
using System; using System.Runtime.InteropServices; using System.Text; using System.Collections.Generic; namespace Steamworks { internal static class Helpers { private static StringBuilder[] StringBuilderPool; private static int StringBuilderPoolIndex; /// <summary> /// Returns a Str...
using System; using System.Runtime.InteropServices; using System.Text; using System.Collections.Generic; namespace Steamworks { internal static class Helpers { private static StringBuilder[] StringBuilderPool; private static int StringBuilderPoolIndex; /// <summary> /// Returns a Str...
mit
C#
1818e84b2e1cb5f051576b489eda980f435ea045
update Example GetHandler<T>
minhdu/UIMan
Assets/Example/Example6/TestExample6.cs
Assets/Example/Example6/TestExample6.cs
using UnityEngine; using System.Collections; using UnuGames; public class TestExample6 : MonoBehaviour { // Use this for initialization void Start () { UIMan.Instance.RegisterOnShowUI (OnAnyUIShow); } void OnAnyUIShow (UIManBase handler, object[] args) { Debug.Log (handler.UIType + " is show!!!!"); } pub...
using UnityEngine; using System.Collections; using UnuGames; public class TestExample6 : MonoBehaviour { // Use this for initialization void Start () { UIMan.Instance.RegisterOnShowUI (OnAnyUIShow); } void OnAnyUIShow (UIManBase handler, object[] args) { Debug.Log (handler.UIType + " is show!!!!"); } pub...
mit
C#
3a4a220908b087ed8e6852d0623ce5c997916da4
Resolve As in ApplierContext so that implementers don't have to
mrahhal/MR.AttributeDI
src/MR.AttributeDI.Abstractions/ApplierContext.cs
src/MR.AttributeDI.Abstractions/ApplierContext.cs
using System; namespace MR.AttributeDI { public class ApplierContext { public ApplierContext(Type service, AddToServicesAttribute attribute) { Service = service; Lifetime = attribute.Lifetime; As = attribute.As ?? service; } public Type Service { get; set; } public Lifetime Lifetime { get; } ...
using System; namespace MR.AttributeDI { public class ApplierContext { public ApplierContext(Type service, AddToServicesAttribute attribute) { Service = service; Lifetime = attribute.Lifetime; As = attribute.As; } public Type Service { get; set; } public Lifetime Lifetime { get; } public Type...
mit
C#
3c912162801af8345ec6fe029c61b0d6e3c9287b
Add note about things to add for vehicles
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/Vehicle.cs
Battery-Commander.Web/Models/Vehicle.cs
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BatteryCommander.Web.Models { public class Vehicle { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Required] publi...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BatteryCommander.Web.Models { public class Vehicle { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Required] publi...
mit
C#
6ccc72a7c5f977e661aff7d4e25aef0ddcf3183b
Add type information to dot code completion.
chrisber/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin,mrward/typescript-addin
src/TypeScriptBinding/TypeScriptCompletionItem.cs
src/TypeScriptBinding/TypeScriptCompletionItem.cs
// // TypeScriptCompletionItem.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (C) 2013 Matthew Ward // // 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 r...
// // TypeScriptCompletionItem.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (C) 2013 Matthew Ward // // 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 r...
mit
C#
5121b9c2275dd9bb0edbac252d1a45c147646260
fix BlackJack 21 gain
gogus4/BlackJacker
BlackJacker/BlackJacker/Model/Joueur.cs
BlackJacker/BlackJacker/Model/Joueur.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlackJacker.Model { public class Joueur : Personne { public double jeton { get; set; } public List<Carte> listSplit { get; set; } public Boolean isSplit { get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlackJacker.Model { public class Joueur : Personne { public double jeton { get; set; } public List<Carte> listSplit { get; set; } public Boolean isSplit { get...
apache-2.0
C#
957bcababb51ca7bd68e2ce0a5d5750591c885a9
Add IsKeyboardPresent property to CCDevice
mono/CocosSharp,mono/CocosSharp
src/Platform/CCDevice.cs
src/Platform/CCDevice.cs
using Microsoft.Xna.Framework; #if ANDROID using Android.App; using Android.Util; #endif #if NETFX_CORE using Windows.Devices; using Windows.Graphics.Display; #endif #if WINDOWS || WINDOWSGL #endif namespace CocosSharp { public static class CCDevice { public static float DPI { get { ...
using Microsoft.Xna.Framework; #if ANDROID using Android.App; using Android.Util; #endif #if NETFX_CORE using Windows.Devices; #endif #if WINDOWS || WINDOWSGL #endif namespace CocosSharp { public static class CCDevice { public static float DPI { get { float dpi; #if ANDROID v...
mit
C#
2e311eb06516deade1acec0abbe6166c4171b8c9
Switch version to 1.2.10
AtwooTM/Zebus,rbouallou/Zebus,biarne-a/Zebus,Abc-Arbitrage/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.10")] [assembly: AssemblyFileVersion("1.2.10")] [assembly: AssemblyInformationalVersion("1.2.10")]
using System.Reflection; [assembly: AssemblyVersion("1.2.9")] [assembly: AssemblyFileVersion("1.2.9")] [assembly: AssemblyInformationalVersion("1.2.9")]
mit
C#
01ae5dce9bdfda37e42e12b94a01fba855fd1489
Fix unable to bind custom CancellationTokens
Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Host/Bindings/Cancellation/CancellationTokenBinding.cs
src/Microsoft.Azure.WebJobs.Host/Bindings/Cancellation/CancellationTokenBinding.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Protocols; namespace Mic...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Protocols; namespace Mic...
mit
C#
041c9ed99a1e8ede1041227542354ff0b8451dbd
remove failing globalization test on Linux
rjxby/corefx,parjong/corefx,krytarowski/corefx,dhoehna/corefx,andyhebear/corefx,ellismg/corefx,benjamin-bader/corefx,seanshpark/corefx,YoupHulsebos/corefx,mafiya69/corefx,nchikanov/corefx,MaggieTsang/corefx,alexperovich/corefx,Ermiar/corefx,krk/corefx,akivafr123/corefx,PatrickMcDonald/corefx,elijah6/corefx,ericstj/core...
src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetInstance.cs
src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetInstance.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using Xunit; namespace System.Globalization.Tests { public class TestIFormatProviderClass : IFormatProvider { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using Xunit; namespace System.Globalization.Tests { public class TestIFormatProviderClass : IFormatProvider { ...
mit
C#
68620b30ba8da302119607ac8e819a1852231585
Fix broken test
KevM/Reactive.Config
src/Reactive.Config.Tests/Namespace_Keypath_Provider.cs
src/Reactive.Config.Tests/Namespace_Keypath_Provider.cs
using FluentAssertions; using NUnit.Framework; namespace Reactive.Config.Tests { public class Namespace_Keypath_Provider { [TestFixture] public class Get_Key_Path { private NamespaceKeyPathProvider _cut; [SetUp] public void beforeAll() {...
using FluentAssertions; using NUnit.Framework; namespace Reactive.Config.Tests { public class Namespace_Keypath_Provider { [TestFixture] public class Get_Key_Path { private NamespaceKeyPathProvider _cut; [SetUp] public void beforeAll() {...
mit
C#
b28cd5db5bc4f0083fc0ebc77f7d5ae1ac366481
update the code when a blank line is passed as a command
brandonprry/gray_hat_csharp_code
ch5_connect_back/connect_back/Main.cs
ch5_connect_back/connect_back/Main.cs
using System; using System.Net.Sockets; using System.IO; using System.Diagnostics; using System.Text; using System.Linq; namespace connect_back { class MainClass { public static void Main (string[] args) { using (TcpClient client = new TcpClient (args [0], int.Parse (args [1]))) { using (Stream stream = c...
using System; using System.Net.Sockets; using System.IO; using System.Diagnostics; using System.Text; using System.Linq; namespace connect_back { class MainClass { public static void Main (string[] args) { using (TcpClient client = new TcpClient (args [0], int.Parse (args [1]))) { using (Stream stream = c...
bsd-3-clause
C#
3bb8e371121b69e16349e0b5e20fb07343313b73
Add configuration
GuiOttoni/ProjetoEDP
EDP.Api.Core/Configuration/MyOptions.cs
EDP.Api.Core/Configuration/MyOptions.cs
using System; using System.Collections.Generic; using System.Text; namespace EDP.Api.Core.Configuration { public class MyOptions { public string ConnectionString { get; set; } = ""; } }
using System; using System.Collections.Generic; using System.Text; namespace EDP.Api.Core.Configuration { public class MyOptions { } }
mit
C#
8267ed420b0a3dad334cfe951030655df122ec1c
change property from enum to object
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IAddressManagementService.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IAddressManagementService.cs
using PS.Mothership.Core.Common.Dto; using PS.Mothership.Core.Common.Dto.Contact; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Template.Gen; using System; using System.Collections.Generic; using System.ServiceModel; namespace PS.Mothership.Core.Common.Contracts { [ServiceCon...
using PS.Mothership.Core.Common.Dto; using PS.Mothership.Core.Common.Dto.Contact; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Template.Gen; using System; using System.Collections.Generic; using System.ServiceModel; namespace PS.Mothership.Core.Common.Contracts { [ServiceCon...
mit
C#
9bdaf750faca9482bfa18af10e9ea4123e8eef0f
add scary warning
leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Views/GameField/Settings.cshtml
Joinrpg/Views/GameField/Settings.cshtml
@using JoinRpg.Web.Models.FieldSetup @using JoinRpg.Web.App_Code @model FieldSettingsViewModel @{ ViewBag.Title = "Настройки полей"; } @Html.Partial("_FieldNavigation", Model.Navigation) <div class="alert alert-warning"> По умолчанию в этом разделе все настроено оптимальным образом согласно выбору при созда...
@using JoinRpg.Web.Models.FieldSetup @using JoinRpg.Web.App_Code @model FieldSettingsViewModel @{ ViewBag.Title = "Настройки полей"; } @Html.Partial("_FieldNavigation", Model.Navigation) @if (Model.LegacyModelEnabled) { @Html.Partial("_SwitchFromLegacyMode", Model) } @using (Html.BeginForm()) { @Html.A...
mit
C#
a59b65d366fc79126522cb9680e8a2b88b0bfed3
Set ListExpand to false by default. Fixes #1232
PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core
core/Piranha/Extend/RegionAttribute.cs
core/Piranha/Extend/RegionAttribute.cs
/* * Copyright (c) .NET Foundation and Contributors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using Piranha.Models; namespace Piranha.Extend { ...
/* * Copyright (c) .NET Foundation and Contributors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using Piranha.Models; namespace Piranha.Extend { ...
mit
C#
899cba49f3d55f098ae7a9adff4f885240ff45c8
Update GameManager.cs
afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game
Real_Game/Assets/Scripts/GameManager.cs
Real_Game/Assets/Scripts/GameManager.cs
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { // Score based stuff public float highScore = 0f; //Level based stuff public int currentLevel = 0; public int unlockedLevels; public int LevelGradingID = 6; // Things that deal with GUI or whatever public Rect stopwatc...
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { // Score based stuff public float highScore = 0f; //Level based stuff public int currentLevel = 0; public int unlockedLevels; public int LevelGradingID = 6; // Things that deal with GUI or whatever public Rect stopwatc...
mit
C#
462637192d244dd5ae9a04c976d7e9c1437fcc3c
Update hospital address API to use HTTP PUT
dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk
SnapMD.ConnectedCare.Sdk/HospitalApi.cs
SnapMD.ConnectedCare.Sdk/HospitalApi.cs
// Copyright 2015 SnapMD, Inc. // 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 2015 SnapMD, Inc. // 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#
56308d1b0b58227b37fdae46f4cb0ea75136171c
Add a second contact to initial sample data
VictorNicollet/SocialToolBox
SocialToolBox.Sample.Web/InitialData.cs
SocialToolBox.Sample.Web/InitialData.cs
using System; using SocialToolBox.Core.Database; using SocialToolBox.Crm.Contact.Event; namespace SocialToolBox.Sample.Web { /// <summary> /// Data initially available in the system. /// </summary> public static class InitialData { public static readonly Id UserVictorNicollet = Id.Parse("a...
using System; using SocialToolBox.Core.Database; using SocialToolBox.Core.Database.Serialization; using SocialToolBox.Crm.Contact.Event; namespace SocialToolBox.Sample.Web { /// <summary> /// Data initially available in the system. /// </summary> public static class InitialData { public st...
mit
C#
626f20424d6a408e823d8cf6dc847ed3cfeeb7ca
Add rest of write-only TIA registers.
Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600
VCSFramework/Registers.cs
VCSFramework/Registers.cs
using System; using System.Collections.Generic; using System.Text; namespace VCSFramework { public static class Registers { public static byte A { [IgnoreImplementation][OverrideWithLoadToRegister("A")] set { } } public static byte X { [IgnoreImplementation][OverrideWithLoadToRegister("X")] set { } } public s...
using System; using System.Collections.Generic; using System.Text; namespace VCSFramework { public static class Registers { public static byte A { [IgnoreImplementation][OverrideWithLoadToRegister("A")] set { } } public static byte X { [IgnoreImplementation][OverrideWithLoadToRegister("X")] set { } } pu...
mit
C#
decddb27a1ae5978bf1fcc118c7723afb771f5da
Fix issue where internals failed on Unit Tests.
babelshift/SteamWebAPI2
SteamWebAPI2/Properties/AssemblyInfo.cs
SteamWebAPI2/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("St...
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("St...
mit
C#
0abd0d87842d5e9f43372dd49dd6485e64911912
revert entrypoint to master
space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content
Content.Shared/EntryPoint.cs
Content.Shared/EntryPoint.cs
using System; using System.Collections.Generic; using Content.Shared.Maps; using Robust.Shared.ContentPack; using Robust.Shared.Interfaces.Map; using Robust.Shared.IoC; using Robust.Shared.Prototypes; namespace Content.Shared { public class EntryPoint : GameShared { #pragma warning disable 649 ...
using System; using System.Collections.Generic; using Content.Shared.Maps; using Robust.Shared.ContentPack; using Robust.Shared.Interfaces.Map; using Robust.Shared.IoC; using Robust.Shared.Prototypes; namespace Content.Shared { public class EntryPoint : GameShared { #pragma warning disable 649 ...
mit
C#
27185024a6dd9602ea89827ff4e97ee64b339eeb
fix RdnRmnOd Handler
PipatPosawad/nChronic
src/Chronic/Handlers/RdnRmnOdHandler.cs
src/Chronic/Handlers/RdnRmnOdHandler.cs
using System; using Chronic.Tags.Repeaters; using System.Linq; namespace Chronic.Handlers { public class RdnRmnOdHandler : IHandler { public Span Handle(System.Collections.Generic.IList<Token> tokens, Options options) { var month = tokens[1].Get...
using System; using Chronic.Tags.Repeaters; namespace Chronic.Handlers { public class RdnRmnOdHandler : IHandler { public Span Handle(System.Collections.Generic.IList<Token> tokens, Options options) { var month = tokens[1].GetTag<RepeaterMonthNam...
mit
C#
b8b0e9b8eb2c2958d2c780b31798702b07157ff3
Remove no longer required `#nullable enable`
peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework/Graphics/Textures/ITextureStore.cs
osu.Framework/Graphics/Textures/ITextureStore.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.Threading; using System.Threading.Tasks; using osu.Framework.Graphics.OpenGL.Textures; using osu.Framework.IO.Stores; namespace osu.Framework.Graphics.Textu...
// 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. #nullable enable using System.Threading; using System.Threading.Tasks; using osu.Framework.Graphics.OpenGL.Textures; using osu.Framework.IO.Stores; namespace osu.Framew...
mit
C#
9addfd4715aa71fa959eff9edee26a236c10c2a4
Move member to appropriate place in file
magicmonty/pickles,magicmonty/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,picklesdoc/pickles,dirkrombauts/pickles,magicmonty/pickles,picklesdoc/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,dirkrombauts/p...
src/Pickles/Pickles/LanguageServices.cs
src/Pickles/Pickles/LanguageServices.cs
#region License /* Copyright [2011] [Jeffrey Cameron] 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 applica...
#region License /* Copyright [2011] [Jeffrey Cameron] 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 applica...
apache-2.0
C#
68337df64377032faa9b86538164dacb30551fcf
Fix tests by creating a score processor
ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu
osu.Game/Tests/Gameplay/TestGameplayState.cs
osu.Game/Tests/Gameplay/TestGameplayState.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. #nullable enable using System.Collections.Generic; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; using osu.Game.Scoring; using osu.Game.Screens.Play; using osu....
// 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. #nullable enable using System.Collections.Generic; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; using osu.Game.Scoring; using osu.Game.Screens.Play; using osu....
mit
C#
eb9dfec2cc38f926cb06994b0d848d50c66d49e5
change cache file path for layer support
brnkhy/MapzenGo,brnkhy/MapzenGo
Assets/MapzenGo/Models/CachedDynamicTileManager.cs
Assets/MapzenGo/Models/CachedDynamicTileManager.cs
using System.IO; using System.Text; using MapzenGo.Helpers; using UniRx; using UnityEngine; namespace MapzenGo.Models { public class CachedDynamicTileManager : DynamicTileManager { public string RelativeCachePath = "../CachedTileData/{0}/"; protected string CacheFolderPath; public ove...
using System.IO; using System.Text; using MapzenGo.Helpers; using UniRx; using UnityEngine; namespace MapzenGo.Models { public class CachedDynamicTileManager : DynamicTileManager { public string RelativeCachePath = "../CachedTileData/{0}/"; protected string CacheFolderPath; public ove...
mit
C#
1b8a95cc13d0a70af80fa745c825e0f88ef59c17
update version
IskraNikolova/ForumSystem,IskraNikolova/ForumSystem,IskraNikolova/ForumSystem
Source/Web/ForumSystem.Web/Views/Questions/Delete.cshtml
Source/Web/ForumSystem.Web/Views/Questions/Delete.cshtml
@model ForumSystem.Models.Post @{ Layout = null; } <!DOCTYPE html> <html> <head> <title>title</title> </head> <body> <div> </div> </body> </html>
@model ForumSystem.Models.Post <h3> <p class="text-success">Are you sure you want to delete this?</p> </h3> @using (Html.BeginForm("Delete", "Questions", FormMethod.Post)) { @Html.AntiForgeryToken() @Html.ValidationSummary("", new { @class = "text-danger" }) <div> @Html.Raw(Model.Content) ...
mit
C#
7fcf54df8e24069d77c105933106425723f5a6a6
Remove unneeded usings
BobAtParticular/Case00029751
Server/Program.cs
Server/Program.cs
using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Logging; using NServiceBus.Persistence; class Program { static async Task Main() { Console.Title = "Case00029751.Server"; var endpointConfiguration = new EndpointConfiguration("Case00029751.Server"); var ...
using System; using System.Threading.Tasks; using NHibernate.Cfg; using NHibernate.Linq; using NServiceBus; using NServiceBus.Logging; using NServiceBus.Persistence; class Program { static async Task Main() { Console.Title = "Case00029751.Server"; var endpointConfiguration = new EndpointConfi...
mit
C#
b4a2d49f149670a8af3a35a4a6029877385575a1
build expected string dynamically since I'm using git core.autocrlf and that breaks on CI
akatakritos/SassSharp
SassSharp.Tests/AstDumpTest.cs
SassSharp.Tests/AstDumpTest.cs
using NUnit.Framework; using SassSharp.Ast; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp.Tests { [TestFixture] public class AstDumpTest { [Test] public void TestDumpAnAsciiTree() { ...
using NUnit.Framework; using SassSharp.Ast; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp.Tests { [TestFixture] public class AstDumpTest { [Test] public void TestDumpAnAsciiTree() { ...
mit
C#
22485b1948b802b86a7a1368d27fc603ea80f0fc
Update src/Fractions/Fraction.Extensions.cs
danm-de/Fractions,danm-de/Fractions
src/Fractions/Fraction.Extensions.cs
src/Fractions/Fraction.Extensions.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Numerics; using System.Text; namespace Fractions { public static class FractionExtensions { /// <summary> /// Returns the square root of a fraction. Use <paramref name="numberOFDecimalPlaceAccuracy"/> to se...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Numerics; using System.Text; namespace Fractions { public static class FractionExtensions { /// <summary> /// Returns the square root of a fraction. Use <paramref name="numberOFDecimalPlaceAccuracy"/> to se...
bsd-2-clause
C#
670f367b2f44839adf47e7ae8f11e2134b13f8d7
Change string[] to IEnumerable<string>
addsb/ShopifySharp,clement911/ShopifySharp,nozzlegear/ShopifySharp
ShopifySharp/Entities/Event.cs
ShopifySharp/Entities/Event.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace ShopifySharp { /// <summary> /// An object representing a Shopify event. /// </summary> public class Event : ShopifyObject { /// <summary> /// Refers to a certain event and its resources. /// </...
using Newtonsoft.Json; using System; namespace ShopifySharp { /// <summary> /// An object representing a Shopify event. /// </summary> public class Event : ShopifyObject { /// <summary> /// Refers to a certain event and its resources. /// </summary> [JsonProperty...
mit
C#
173931d9463cb2eae2718508c3def8f9c67c0bd1
Exclude Root From Swagger
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Samples/OrderSagaSample/Program.cs
src/Samples/OrderSagaSample/Program.cs
using Jasper; using Jasper.Persistence.Marten; using Marten; using Oakton; using Oakton.Resources; using OrderSagaSample; var builder = WebApplication.CreateBuilder(args); // Not 100% necessary, but enables some extra command line diagnostics builder.Host.ApplyOaktonExtensions(); // Adding Marten builder.Services.Ad...
using Jasper; using Jasper.Persistence.Marten; using Marten; using Oakton; using Oakton.Resources; using OrderSagaSample; var builder = WebApplication.CreateBuilder(args); // Not 100% necessary, but enables some extra command line diagnostics builder.Host.ApplyOaktonExtensions(); // Adding Marten builder.Services.Ad...
mit
C#
0fc76080896695e1f0569b3188f2489532a886a2
Fix for slow high score loading
vlesierse/codebreaker,vlesierse/codebreaker,vlesierse/codebreaker
src/CodeBreaker.WebApp/Storage/ScoreStore.cs
src/CodeBreaker.WebApp/Storage/ScoreStore.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CodeBreaker.Core; using CodeBreaker.Core.Storage; using Microsoft.EntityFrameworkCore; namespace CodeBreaker.WebApp.Storage { public class ScoreStore : IScoreStore { private readonly CodeBreakerDbCont...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CodeBreaker.Core; using CodeBreaker.Core.Storage; using Microsoft.EntityFrameworkCore; namespace CodeBreaker.WebApp.Storage { public class ScoreStore : IScoreStore { private readonly CodeBreakerDbCont...
mit
C#
e6d3bda079b5d9fe28c4c53500a782f07270fd74
Add default RequestRuntime to service registration
pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,p...
src/Glimpse.Web.Common/GlimpseWebServices.cs
src/Glimpse.Web.Common/GlimpseWebServices.cs
using System; using System.Collections.Generic; using Glimpse.Web; using Microsoft.Framework.DependencyInjection; namespace Glimpse { public class GlimpseWebServices { public static IServiceCollection GetDefaultServices() { var services = new ServiceCollection(); ...
using System; using System.Collections.Generic; using Glimpse.Web; using Microsoft.Framework.DependencyInjection; namespace Glimpse { public class GlimpseWebServices { public static IServiceCollection GetDefaultServices() { var services = new ServiceCollection(); ...
mit
C#
328ff9a42ff84035e5d4e63aaf1f11f3c576c39f
Fix InputMessageValue constructors
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Input/InputMessageValue.cs
src/OpenSage.Game/Input/InputMessageValue.cs
using System.Runtime.InteropServices; using OpenSage.Mathematics; using Veldrid; namespace OpenSage.Input { [StructLayout(LayoutKind.Explicit)] public readonly struct InputMessageValue { [FieldOffset(0)] public readonly Key Key; [FieldOffset(0)] public readonly Point2D Mou...
using System.Numerics; using System.Runtime.InteropServices; using OpenSage.Mathematics; using Veldrid; namespace OpenSage.Input { [StructLayout(LayoutKind.Explicit)] public readonly struct InputMessageValue { [FieldOffset(0)] public readonly Key Key; [FieldOffset(0)] publ...
mit
C#
d9f21957325b35d0a689565aaa1c1de501d6d7ed
Fix closing doc tag.
zaccharles/nodatime,zaccharles/nodatime,nodatime/nodatime,jskeet/nodatime,zaccharles/nodatime,nodatime/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime
src/NodaTime/Calendars/IslamicLeapYearPattern.cs
src/NodaTime/Calendars/IslamicLeapYearPattern.cs
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // h...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // h...
apache-2.0
C#
e8b3e776b7fb1ce39add2ae6e93821fcfd79bf32
Add AssemblyDescription to SIM.Telemetry project
Sitecore/Sitecore-Instance-Manager
src/SIM.Telemetry/Properties/AssemblyInfo.cs
src/SIM.Telemetry/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("SIM...
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("SIM...
mit
C#
88df3a9983fc66ff2840147c1031d314a4791646
support the default appsettings file
kerryjiang/SuperSocket,kerryjiang/SuperSocket
src/SuperSocket.Server/SuperSocketHostBuilder.cs
src/SuperSocket.Server/SuperSocketHostBuilder.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Hosting; using SuperSocket; using SuperSocket.P...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Hosting; using SuperSocket; using SuperSocket.ProtoBase; using SuperSocket.Server; names...
apache-2.0
C#
08261caa7170103b8fb948daee3d19d9d7d5960f
Increase version to v1.1
fredatgithub/GitAutoUpdate
GitAutoUpdateGUI/Properties/AssemblyInfo.cs
GitAutoUpdateGUI/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("GitAutoUpdateGUI")] [assembly:...
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("GitAutoUpdateGUI")] [assembly:...
mit
C#
1c0b159da44a7f8e82ee987d962280fd75f205c3
Update to v0.10.0
koliva8245/HeroesParserData,koliva8245/HeroesMatchTracker
HeroesParserData/Properties/AssemblyInfo.cs
HeroesParserData/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("HeroesParserData")]...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("HeroesParserData")]...
mit
C#
ba440bb3b39e697fccdbcb618040213fde57cd71
add example to read from database
jgraber/MicroORM_examples,jgraber/MicroORM_examples,jgraber/MicroORM_examples
MicroORM_Dapper/MicroORM_Massive/Program.cs
MicroORM_Dapper/MicroORM_Massive/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MicroORM_Massive.Massive; namespace MicroORM_Massive { class Program { static void Main(string[] args) { ReadData(); } private static void Read...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MicroORM_Massive.Massive; namespace MicroORM_Massive { class Program { static void Main(string[] args) { dynamic books = new Book().All(); foreach (...
apache-2.0
C#
9aab763d5afb84afcf75769a2f0fb887952a7a02
Improve BetterLabel transparency
chrisvire/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,tombogle/libpalaso,JohnThomson/libpalaso,sillsdev/libpalaso,marksvc/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,darcywong00/libpalaso,marksvc/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,...
PalasoUIWindowsForms/Widgets/BetterLabel.cs
PalasoUIWindowsForms/Widgets/BetterLabel.cs
using System; using System.Drawing; using System.Windows.Forms; namespace Palaso.UI.WindowsForms.Widgets { /// <summary> /// Labels are fairly limitted even in .net, but on mono so far, multi-line /// labels are trouble. This class uses TextBox to essentially be a better /// cross-platform label. /// </summary>...
using System; using System.Drawing; using System.Windows.Forms; namespace Palaso.UI.WindowsForms.Widgets { /// <summary> /// Labels are fairly limitted even in .net, but on mono so far, multi-line /// labels are trouble. This class uses TextBox to essentially be a better /// cross-platform label. /// </summary>...
mit
C#
346eba581ea558da2a27ce7e59104f616063c788
Bump version to 0.16
github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
ccfa1b798e710b2b044117e11fa5c0110284bdd2
Change life raft scripted rotation to physics
liferaftsim/development
Unity/LifeRaftSim/Assets/_Game/Scripts/LifeRaft.cs
Unity/LifeRaftSim/Assets/_Game/Scripts/LifeRaft.cs
using UnityEngine; namespace Game { /// <summary> /// Behaviour script for life raft. /// </summary> [RequireComponent(typeof(Rigidbody))] public class LifeRaft : MonoBehaviour { /// <summary> /// The direction and speed of the raft. /// </summary> public Vector...
using UnityEngine; namespace Game { /// <summary> /// Behaviour script for life raft. /// </summary> [RequireComponent(typeof(Rigidbody))] public class LifeRaft : MonoBehaviour { /// <summary> /// The minimum amount of random rotation. /// A negative amount will make it...
unlicense
C#
85d3c0919a06a730b64df61de3eebc39d83e8b0a
Update constants
jamesmontemagno/Hanselman.Forms,jamesmontemagno/Hanselman.Forms,jamesmontemagno/Hanselman.Forms
src/Hanselman.Admin/Auth/Constants.cs
src/Hanselman.Admin/Auth/Constants.cs
namespace Hanselman.Admin.Auth { public static class Constants { #if DEBUG public static string BlazorWebsiteURL => "https://6a7046f0.ngrok.io"; #else public static string BlazorWebsiteURL => "https://hanselmanadmin.z21.web.core.windows.net/"; #endif public static string AzureFunctio...
namespace Hanselman.Admin.Auth { public static class Constants { #if DEBUG public static string BlazorWebsiteURL => "https://6a7046f0.ngrok.io"; #else public static string BlazorWebsiteURL => "https://127.0.0.1:5001"; #endif public static string AzureFunctionAuthURL => "https://hanse...
mit
C#
2f8fc2c3d533db8ccda31546d1921e385f81eede
Rename vars in BuildChain.AddBuildWithDependencies()
ComputerWorkware/TeamCityApi
src/TeamCityApi/Helpers/BuildChain.cs
src/TeamCityApi/Helpers/BuildChain.cs
using System.Collections.Generic; using TeamCityApi.Clients; using TeamCityApi.Domain; using TeamCityApi.Helpers.Graphs; namespace TeamCityApi.Helpers { public class BuildChain : Graph<Build> { private readonly IBuildClient _buildClient; public BuildChain(IBuildClient buildClient, Build rootB...
using TeamCityApi.Clients; using TeamCityApi.Domain; using TeamCityApi.Helpers.Graphs; namespace TeamCityApi.Helpers { public class BuildChain : Graph<Build> { private readonly IBuildClient _buildClient; public BuildChain(IBuildClient buildClient, Build rootBuild) { _build...
mit
C#
1e1aeb7650d6b33933f021320d8bbcbff3d68d46
Make projected query internal
gurmitteotia/EFDataAccess
GenRepo/ProjectedQuery.cs
GenRepo/ProjectedQuery.cs
// /Copyright (c) Gurmit Teotia. Please see the LICENSE file in the project root folder for license information. using System; using System.Linq; using System.Linq.Expressions; namespace GenRepo { internal class ProjectedQuery<TIn,TOut> : IQuery<TIn, TOut> { private readonly IQuery<TIn,TIn> _query; ...
// /Copyright (c) Gurmit Teotia. Please see the LICENSE file in the project root folder for license information. using System; using System.Linq; using System.Linq.Expressions; namespace GenRepo { public class ProjectedQuery<TIn,TOut> : IQuery<TIn, TOut> { private readonly IQuery<TIn,TIn> _query; ...
apache-2.0
C#
b148552968693605615c9d23e5ea2cbed0d74f72
add tooltip
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Utilities/RectTransformCubeScaler.cs
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Utilities/RectTransformCubeScaler.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// RectTransforms do not scale 3d objects (such as unit cubes) to fit...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// RectTransforms do not scale 3d objects (such as unit cubes) to fit...
mit
C#
508e450998839b603d3638d0d091297f341195c4
Improve error handling
davidebbo/OrganizePhotos
OrganizePhotos/Program.cs
OrganizePhotos/Program.cs
using System; using System.IO; using ExifLib; namespace OrganizePhotos { class Program { static void Main(string[] args) { string folder = args.Length == 0 ? "." : args[0]; foreach (string file in Directory.EnumerateFiles(folder, "*.jpg")) { ...
using System; using System.IO; using ExifLib; namespace OrganizePhotos { class Program { static void Main(string[] args) { string folder = args.Length == 0 ? "." : args[0]; foreach (string file in Directory.EnumerateFiles(folder, "*.jpg")) { ...
apache-2.0
C#
91619531f291e8de0f6a3d936eb6dc390cd486e6
move version to footer
kreeben/resin,kreeben/resin
src/Sir.HttpServer/Views/_Layout.cshtml
src/Sir.HttpServer/Views/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title &#484;&#485;</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="/css/theme.css"> </head> <body> <a href="/" title="Did you &#484;&#485;?"><h1 class="logo">&#484;&#485;<...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title &#484;&#485;</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="/css/theme.css"> </head> <body> <a href="/" title="dYGG v0.3a"><h1 class="logo">&#484;&#485;<span style=...
mit
C#
726cc21e006428e9ff7dd66b27c9be61056f30b8
Use deep equality rather than string comparison.
CSGOpenSource/elasticsearch-net,geofeedia/elasticsearch-net,UdiBen/elasticsearch-net,LeoYao/elasticsearch-net,robertlyson/elasticsearch-net,abibell/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,junlapong/elasticsearch-net,robrich/elasticsearch-net,UdiBen/elasticsearch-net,adam-mccoy/elasti...
src/Tests/Nest.Tests.Unit/Extensions.cs
src/Tests/Nest.Tests.Unit/Extensions.cs
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; namespace Nest.Tests.Unit { public static class JsonExtensions { internal static bool JsonEquals(this string json, string otherjson) { var nJson = JObject.Parse(json); var nOtherJson = JObject.Parse(otherjson); ...
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; namespace Nest.Tests.Unit { public static class JsonExtensions { internal static bool JsonEquals(this string json, string otherjson) { var nJson = JObject.Parse(json).ToString(); var nOtherJson = JObject.Parse(o...
apache-2.0
C#
36a0952e729154aa541e0e1dff6b8f9577e3fe66
fix style
icarus-consulting/Yaapii.Atoms
src/Yaapii.Atoms/Enumerable/LengthOf.cs
src/Yaapii.Atoms/Enumerable/LengthOf.cs
// MIT License // // Copyright(c) 2019 ICARUS Consulting GmbH // // 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, co...
// MIT License // // Copyright(c) 2019 ICARUS Consulting GmbH // // 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, co...
mit
C#
890e6beda1c14e2af3ac416be7e735d617bf943d
Add missing copyright region
rfgamaral/SlackUI
SlackUI/Forms/BaseForm.cs
SlackUI/Forms/BaseForm.cs
#region Copyright © 2014-2015 Ricardo Amaral /* * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. */ #endregion using System; using System.Windows.Forms; namespace SlackUI { [System.ComponentModel.DesignerCategory("Code")] public class BaseForm : Form {...
using System; using System.Windows.Forms; namespace SlackUI { [System.ComponentModel.DesignerCategory("Code")] public class BaseForm : Form { #region Public Constructors /* * Create an empty base form with custom icon and native fonts applied. */ public BaseForm() ...
mit
C#
54c4b8833369efce0e06228c365b115b07dece7c
Replace integer error code with enum
messagebird/csharp-rest-api
MessageBird/Objects/Error.cs
MessageBird/Objects/Error.cs
using System.Runtime.Serialization; using Newtonsoft.Json; namespace MessageBird.Objects { public enum ErrorCode { RequestNotAllowed = 2, MissingParameters = 9, InvalidParameters = 10, NotFound = 20, NotEnoughBalance = 25, ApiNotFound = 98, InternalError...
using Newtonsoft.Json; namespace MessageBird.Objects { public class Error { [JsonProperty("code")] public int Code { get; set; } [JsonProperty("description")] public string Description { get; set; } [JsonProperty("parameter")] public string Parameter { get; se...
isc
C#
403058ea3cd9c501cfd2c534225f7bdf6ddf9f44
Fix the override.
izrik/NDeproxy
UnbufferedStreamReader.cs
UnbufferedStreamReader.cs
using System; using System.Collections.Generic; using System.IO; namespace NDeproxy { public class UnbufferedStreamReader : TextReader { Stream _stream; public UnbufferedStreamReader(Stream stream) { _stream = stream; } public override int Read() { ...
using System; using System.Collections.Generic; using System.IO; namespace NDeproxy { public class UnbufferedStreamReader : TextReader { Stream _stream; public UnbufferedStreamReader(Stream stream) { _stream = stream; } int read() { int...
mit
C#
8af6cf94330cb42b4f43c337f9a79be70c516a69
Update sample to get current page id, instead of just the first one
OneNoteDev/VanillaAddIn
VanillaConsole/Program.cs
VanillaConsole/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.OneNote; using System.Xml.Linq; namespace VanillaConsole { class Program { static void Main(string[] args) { // skipping error checking...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.OneNote; using System.Xml.Linq; namespace VanillaConsole { class Program { static void Main(string[] args) { // skipping error checking...
mit
C#
2a5edf483f5cd93d29cc9a9a237c9f267ca86a28
add get free space implementation
g0rdan/g0rdan.MvvmCross.Plugins
source/Windows/DiskInfo/g0rdan.MvvmCross.Plugin.DiskInfo.WindowsCommon/DiskInfoPlugin.cs
source/Windows/DiskInfo/g0rdan.MvvmCross.Plugin.DiskInfo.WindowsCommon/DiskInfoPlugin.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; namespace g0rdan.MvvmCross.Plugin.DiskInfo.WindowsCommon { public class DiskInfoPlugin : IDiskInfoPlugin { public decimal GetFreeSpace(DeviceType deviceType = Devi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace g0rdan.MvvmCross.Plugin.DiskInfo.WindowsCommon { public class DiskInfoPlugin : IDiskInfoPlugin { public decimal GetFreeSpace(DeviceType deviceType = DeviceType.Inner, MemorySiz...
mit
C#
c72017a7db4ad00ba2b63d976fca20c5ea9ac583
Remove "hide during breaks" option
UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu
osu.Game/Configuration/HUDVisibilityMode.cs
osu.Game/Configuration/HUDVisibilityMode.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.ComponentModel; namespace osu.Game.Configuration { public enum HUDVisibilityMode { Never, [Description("Hide during gameplay")] ...
// 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.ComponentModel; namespace osu.Game.Configuration { public enum HUDVisibilityMode { Never, [Description("Hide during gameplay")] ...
mit
C#
9f5628c65d5e95e7e278bfdf63b291b97c3a72a9
Remove redundant code
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle003.cs
src/ProjectEuler/Puzzles/Puzzle003.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; using System.Globalization; /// <summary> /// A class representin...
// 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; using System.Globalization; /// <summary> /// A class representin...
apache-2.0
C#
ef1632d89422bb9b9856349cdbf8dc0f0fae77c3
Use //r7_University prefix for edu. form cache key
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Data/EduFormInfo.cs
R7.University/Data/EduFormInfo.cs
// // EduFormInfo.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015-2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation,...
// // EduFormInfo.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015-2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation,...
agpl-3.0
C#
df43dc98f3f41f4cae1e5e75b91dc5982ecd6508
update version number
rdelhommer/MainPower.Com0com.Redirector
src/Com0Com.CSharp/Properties/AssemblyInfo.cs
src/Com0Com.CSharp/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Com0Com.CSharp")] [assembly: AssemblyDescription("C# wrapper for the com0com null-modem emulator...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Com0Com.CSharp")] [assembly: AssemblyDescription("C# wrapper for the com0com null-modem emulator...
mit
C#
381675344616d11c6a90270667a5f9140de44f6c
delete removeunusedvariables from diagnosticids
eriawan/code-cracker,jwooley/code-cracker,giggio/code-cracker,dmgandini/code-cracker,ElemarJR/code-cracker,baks/code-cracker,jhancock93/code-cracker,akamud/code-cracker,gerryaobrien/code-cracker,code-cracker/code-cracker,thomaslevesque/code-cracker,carloscds/code-cracker,GuilhermeSa/code-cracker,caioadz/code-cracker,ad...
src/Common/CodeCracker.Common/DiagnosticId.cs
src/Common/CodeCracker.Common/DiagnosticId.cs
namespace CodeCracker { public enum DiagnosticId { None = 0, AlwaysUseVar = 1, ArgumentException = 2, CatchEmpty = 3, EmptyCatchBlock = 4, EmptyObjectInitializer = 5, ForInArray = 6, IfReturnTrue = 7, ObjectInitializer_LocalDeclaration = 8...
namespace CodeCracker { public enum DiagnosticId { None = 0, AlwaysUseVar = 1, ArgumentException = 2, CatchEmpty = 3, EmptyCatchBlock = 4, EmptyObjectInitializer = 5, ForInArray = 6, IfReturnTrue = 7, ObjectInitializer_LocalDeclaration = 8...
apache-2.0
C#
4728f0a0484a0127dac9f1dde4a9d1239c41bc81
Fix host cleaner.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
src/Squidex/Pipeline/CleanupHostMiddleware.cs
src/Squidex/Pipeline/CleanupHostMiddleware.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
01684606ec9f0e4c86ee3616c4d83a443f7e2f98
Tweak asteroid bounding sphere
iridinite/shiftdrive
Client/Asteroid.cs
Client/Asteroid.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="GameObject"/> representing a single asteroid. /// </summary> internal sealed class Asteroid : GameObject { public Asteroid() { type =...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="GameObject"/> representing a single asteroid. /// </summary> internal sealed class Asteroid : GameObject { public Asteroid() { type =...
bsd-3-clause
C#
831af7bf65cf0343ab5f7a0326edf1575a2c0e5c
Update WorksheetToImage.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-....
Examples/CSharp/Files/Utility/WorksheetToImage.cs
Examples/CSharp/Files/Utility/WorksheetToImage.cs
using System.IO; using System.Drawing; using Aspose.Cells; using Aspose.Cells.Rendering; namespace Aspose.Cells.Examples.Files.Utility { public class WorksheetToImage { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. ...
using System.IO; using System.Drawing; using Aspose.Cells; using Aspose.Cells.Rendering; namespace Aspose.Cells.Examples.Files.Utility { public class WorksheetToImage { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Asp...
mit
C#
958e804f4e6f5fb88f7818916a1a56f9c0c82aa8
Rename variable to make it read better
amammay/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,amammay/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,amammay/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET
Fitbit.Portable/JsonDotNetSerializerExtensions.cs
Fitbit.Portable/JsonDotNetSerializerExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using Fitbit.Models; using Newtonsoft.Json.Linq; namespace Fitbit.Api.Portable { internal static class JsonDotNetSerializerExtensions { /// <summary> /// GetFriends has to do some custom manipulation with the returned represent...
using System; using System.Collections.Generic; using System.Linq; using Fitbit.Models; using Newtonsoft.Json.Linq; namespace Fitbit.Api.Portable { internal static class JsonDotNetSerializerExtensions { /// <summary> /// GetFriends has to do some custom manipulation with the returned represent...
mit
C#
4102def3126062c8326888041a88a7e7681711ab
add max and min methods
pashchuk/Numerical-methods,pashchuk/Numerical-methods
CSharp/lab1/Matrix.cs
CSharp/lab1/Matrix.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace lab1 { public class Matrix<T> where T : struct { #region Fields private T[,] _matrix; #endregion #region Properties public T this[int row...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace lab1 { public class Matrix<T> where T : struct { #region Fields private T[,] _matrix; #endregion #region Properties public T this[int row, int column] { get { return _mat...
mit
C#
80a63762076446e39aaef1146ef322301bc8ae26
Undo version number bump from personal build
baylesj/OkayCloudSearch,baylesj/OkayCloudSearch
AmazingCloudSearch/Properties/AssemblyInfo.cs
AmazingCloudSearch/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("CloudSearch")] [assembly: Assemb...
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("CloudSearch")] [assembly: Assemb...
mit
C#
283de43d99063d7ca5cae212a613b485f13bc987
Set default for EntityCommandWriter cancellation token
TurnerSoftware/MongoFramework
src/MongoFramework/Infrastructure/EntityCommandWriter.cs
src/MongoFramework/Infrastructure/EntityCommandWriter.cs
using MongoDB.Driver; using MongoFramework.Infrastructure.Commands; using MongoFramework.Infrastructure.Diagnostics; using MongoFramework.Infrastructure.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace MongoFramework.Infrastruc...
using MongoDB.Driver; using MongoFramework.Infrastructure.Commands; using MongoFramework.Infrastructure.Diagnostics; using MongoFramework.Infrastructure.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace MongoFramework.Infrastruc...
mit
C#
1905fdec04152e1fd63e26ebf7707a1d11a4d0f3
Add BanAsync extension to IGuildUser
AntiTcb/Discord.Net,RogueException/Discord.Net
src/Discord.Net.Core/Extensions/UserExtensions.cs
src/Discord.Net.Core/Extensions/UserExtensions.cs
using System.Threading.Tasks; using System.IO; namespace Discord { public static class UserExtensions { /// <summary> /// Sends a message to the user via DM. /// </summary> public static async Task<IUserMessage> SendMessageAsync(this IUser user, string text, ...
using System.Threading.Tasks; using System.IO; namespace Discord { public static class UserExtensions { /// <summary> /// Sends a message to the user via DM. /// </summary> public static async Task<IUserMessage> SendMessageAsync(this IUser user, string text, ...
mit
C#
870dded727db23d6bdc9468d0ddcc91810dc728a
Add Copyright notice
chrisdunelm/google-api-dotnet-client,joesoc/google-api-dotnet-client,rburgstaler/google-api-dotnet-client,Senthilvera/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,ajmal744/google-api-dotnet-client,amnsinghl/google-api-dotnet-client,hoangduit/google-api-dotnet-client,ajaypradeep/google-api-dotnet-client...
Src/GoogleApis.Tests/Apis/Requests/MockService.cs
Src/GoogleApis.Tests/Apis/Requests/MockService.cs
/* Copyright 2010 Google Inc 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 in writing, soft...
using System; using System.Collections.Generic; using Google.Apis.Discovery; using Google.Apis.Requests; namespace Google.Apis.Tests.Apis.Requests { public class MockService : IService { public const string DefaultBaseUrl = "https://testexample.google.com"; public const string Defau...
apache-2.0
C#
4adecb8a2e581e339ecb84cba2b4ba13a909c5c7
bump version
kappy/DateTimeExtensions,cuongtranba/DateTimeExtensions,cuongtranba/DateTimeExtensions,cuongtranba/DateTimeExtensions
DateTimeExtensions/Properties/AssemblyInfo.cs
DateTimeExtensions/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // 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: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // 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: Ass...
apache-2.0
C#
e348b26688db6e63e19e51fa7bcffb843e612366
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/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("storybrew editor")] [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("storybrew editor")] [assembly: AssemblyDe...
mit
C#
014fc2ff23055dbc2327d4ef1a0e11e740d8de29
Implement ToString on Maybe
beardgame/utilities
src/Core/Maybe.cs
src/Core/Maybe.cs
using System; using System.Collections.Generic; namespace Bearded.Utilities { public struct Maybe<T> : IEquatable<Maybe<T>> { private readonly bool hasValue; private readonly T value; private Maybe(T value) { hasValue = true; this.value = value; ...
using System; using System.Collections.Generic; namespace Bearded.Utilities { public struct Maybe<T> : IEquatable<Maybe<T>> { private readonly bool hasValue; private readonly T value; private Maybe(T value) { hasValue = true; this.value = value; ...
mit
C#
9288a468d586e88533ebd380ba0eabe71e90a254
Fix use of obsolete API
archrival/taglib-sharp,hwahrmann/taglib-sharp,archrival/taglib-sharp,punker76/taglib-sharp,mono/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,hwahrmann/taglib-sharp,Clancey/taglib-sharp,CamargoR/taglib-sharp
examples/SetPictures.cs
examples/SetPictures.cs
using System; using TagLib; public class SetPictures { public static void Main(string [] args) { if(args.Length < 2) { Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]"); return; } TagLib.File file = TagLib.File.C...
using System; using TagLib; public class SetPictures { public static void Main(string [] args) { if(args.Length < 2) { Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]"); return; } TagLib.File file = TagLib.File.C...
lgpl-2.1
C#