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
a14d4de941425673bff832640513c965986962ba
Add missing semicolon
carbon/Amazon
src/Amazon.Core/Scheduling/Scheduler.cs
src/Amazon.Core/Scheduling/Scheduler.cs
using System; using System.Threading.Tasks; namespace Amazon.Scheduling { public static class Scheduler { public static async Task<T> ExecuteAsync<T>(this RetryPolicy policy, Func<Task<T>> action) { Exception lastError; int retryCount = 0; do ...
using System; using System.Threading.Tasks; namespace Amazon.Scheduling { public static class Scheduler { public static async Task<T> ExecuteAsync<T>(this RetryPolicy policy, Func<Task<T>> action) { Exception lastError; int retryCount = 0; do ...
mit
C#
2bb3c5457b198c1a70f62e84acb35ce785675f95
Update SlimyYoyo.cs
Minesap/TheMinepack
Items/Weapons/SlimyYoyo.cs
Items/Weapons/SlimyYoyo.cs
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; using Minepack.Items; namespace Minepack.Items.Weapons { public class SlimyYoyo : ModItem { public override void SetDefaults() ...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; namespace TheMinepack.Items.Weapons { public class SlimyYoyo : ModItem { public override bool Autoload(ref string name, ...
mit
C#
803659c292502e4c81e7fc18e46df34f00ebca8e
clean up Event model
dachibox/MeetupApi,soydachi/MeetupApi,soydachi/MeetupApi
src/Meetup.Api/Models/Event.cs
src/Meetup.Api/Models/Event.cs
using System.Collections.Generic; using Newtonsoft.Json; // ReSharper disable once CheckNamespace namespace Meetup.Api { public class Event { [JsonProperty("status")] public string Status { get; set; } [JsonProperty("visibility")] public string Visibility { get; set; } ...
using System.Collections.Generic; using Newtonsoft.Json; // ReSharper disable once CheckNamespace namespace Meetup.Api { public class Event { [JsonProperty("status")] public string Status { get; set; } [JsonProperty("visibility")] public string Visibility { get; set; } ...
mit
C#
5eb13ad65123f7896d9b86e3a8f0b202087aa665
use the display name of the trace switch as the category
n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor
Dataphor/Logging/Logger.cs
Dataphor/Logging/Logger.cs
 using System.Diagnostics; namespace Alphora.Dataphor.Logging { internal class Logger : ILogger { private static TraceSwitch FTraceSwitch; public Logger(string ADisplayName):this(ADisplayName,"TraceSwitch for "+ADisplayName) { } public Log...
 using System.Diagnostics; namespace Alphora.Dataphor.Logging { internal class Logger : ILogger { private static TraceSwitch FTraceSwitch; public Logger(string ADisplayName):this(ADisplayName,"TraceSwitch for "+ADisplayName) { } public Log...
bsd-3-clause
C#
b967d241b3587e51778fe77b7b6a5045ba14c063
mark as CLS compliant
keith-hall/Extensions,keith-hall/Extensions
src/Properties/AssemblyInfo.cs
src/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("Ext...
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("Ext...
apache-2.0
C#
188e198167ce2e79ca0e35a5f3fda7f1977316fc
update version to 10
ezaurum/dapper
Properties/AssemblyInfo.cs
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("da...
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("da...
mit
C#
2a636245b4d4dcffb06800447a06333980c986aa
Remove directives to expose assembly internals to now removed test projects
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using TweetDuck; // 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; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using TweetDuck; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: As...
mit
C#
07121dff9c17c1eae5624c3efb5c9ac0af81eab0
Bump version to 0.6.2
FatturaElettronicaPA/FatturaElettronicaPA
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // 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("FatturaElettronica.NET")] [assembly: AssemblyDescriptio...
using System.Reflection; using System.Resources; // 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("FatturaElettronica.NET")] [assembly: AssemblyDescriptio...
bsd-3-clause
C#
18e5bb5fe5516d4f5938d417fea8b091d0f25518
Add File checks to RequireThat, so you can now say, e.g., RequireThat.File.Exists()
sillsdev/libpalaso,ermshiperete/libpalaso,hatton/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,ddaspit/libpalaso,JohnThomson/libpalaso,hatton/libpalaso,tombogle/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,chrisvire/libpalaso,marksvc/libpalaso,gmartin7/...
Palaso/Code/RequireThat.cs
Palaso/Code/RequireThat.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Palaso.Code { /// <summary> /// Allows statements like: /// RequireThat.Directory(dir).Exists(); /// RequireThat.Directory(dir).DoesNotExist(); /// RequireThat.File(path).DoesNotExist(); /// RequireThat.File(path)....
using System; using System.Collections.Generic; using System.Text; namespace Palaso.Code { public static class RequireThat { public static DirectoryChecker Directory(string directory) { return new DirectoryChecker(directory); } public class DirectoryChecker { private readonly string _directory; ...
mit
C#
efc1d89c04099f70ee29c73d875acb7eea84999f
index breiting bla aaa
haftor2410/temp,hftor/temp,hftor/temp,haftor2410/temp
GitHutTestProject/Views/Home/Index.cshtml
GitHutTestProject/Views/Home/Index.cshtml
@{ ViewBag.Title = "This is the WORLD Home Page"; } <div class="jumbotron"> <h1>LORD Git Hub test project</h1> <p class="lead">BRANCH 1</p> <p><a href="http://asp.net" class="btn btn-primary btn-large">Learn more &raquo;</a></p> </div> <div class="row"> <div class="col-md-4"> <h2>Getting ...
@{ ViewBag.Title = "This is the WORLD Home Page"; } <div class="jumbotron"> <h1>LORD Git Hub test project</h1> <p class="lead">BRANCH 1</p> <p><a href="http://asp.net" class="btn btn-primary btn-large">Learn more &raquo;</a></p> </div> <div class="row"> <div class="col-md-4"> <h2>Getting ...
mit
C#
030814e807b63981ea0624606e0b461b7ff4fe21
update version
taradinoc/trizbort,taradinoc/trizbort
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
/* Copyright (c) 2010-2015 by Genstein and Jason Lautzenheiser. This file is (or was originally) part of Trizbort, the Interactive Fiction Mapper. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
/* Copyright (c) 2010-2015 by Genstein and Jason Lautzenheiser. This file is (or was originally) part of Trizbort, the Interactive Fiction Mapper. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
mit
C#
35654554627d93fbd36cd4fc60114c137c300089
Update AssemblyInfo.cs
fr34kyn01535/Kits
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Kits")] [assembly: AssemblyCompany("fr34kyn01535")] [assembly: AssemblyProduct("Kits")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: ComVisible(false)] [assembly: Guid("69c7...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Votifier")] [assembly: AssemblyCompany("unturned.ROCKS")] [assembly: AssemblyProduct("Votifier")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: ComVisible(false)] [assembly: ...
mit
C#
57bdfb6ba5f010c03fe33fa643aebbfcaf7f4ec3
reset assets to use direct path to 2sxc.js
2sic/app-mobius-forms,2sic/app-mobius-forms,2sic/app-mobius-forms,2sic/app-mobius-forms
staging/shared/_Assets.cshtml
staging/shared/_Assets.cshtml
@{ string Edition = PageData["Edition"]; } <script type="text/javascript" src="/desktopmodules/tosic_sexycontent/js/2sxc.api.min.js" data-enableoptimizations="100" ></script> <script src="@App.Path/node_modules/smokejs/dist/js/smoke.min.js" data-enableoptimizations="100"></script> <script src="@App.Path/@Edition/di...
@{ string Edition = PageData["Edition"]; } @Edit.Enable(api: true, forms: true, context: true, autoToolbar: false) <script src="@App.Path/node_modules/smokejs/dist/js/smoke.min.js" data-enableoptimizations="100"></script> <script src="@App.Path/@Edition/dist/app-bundle.min.js" data-enableoptimizations="true"></scri...
mit
C#
30ac862716dd26b19a1a2d1d61a90957742937c8
Update assembly version.
Si13n7/CoD2MPWindowed
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Call of Duty 2 Multiplayer (Windowed)")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Si13n7 Dev. ®")] [assembly: AssemblyProduct("CoD2MP_w")] [assembly: AssemblyCopyright(...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Call of Duty 2 Multiplayer (Windowed)")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Si13n7 Dev. ®")] [assembly: AssemblyProduct("CoD2MP_w")] [assembly: AssemblyCopyright(...
mit
C#
fabe1a425bbf1349be216543d61ae1599d6a4913
Bump assembly version to 1.3
aeshirey/NameParserSharp
NameParser/NameParser/Properties/AssemblyInfo.cs
NameParser/NameParser/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("Na...
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("Na...
lgpl-2.1
C#
f7053d67dcf0dccc8afd5d47b036fb66967f05b0
fix position error
imba-tjd/CSharp-Code-Repository
单个文件的程序/pingt.cs
单个文件的程序/pingt.cs
using System; using System.Diagnostics; // 对tcping的简单封装,自动使用443 class PingT { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("参数不正确"); Environment.Exit(1); } // 无论输入主机还是网址都能运行,后者会自动提取出主机,;但为了使用Uri,又要当输入前者时加上协议 string ...
using System; using System.Diagnostics; // 对tcping的简单封装,自动使用443 class PingT { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("参数不正确"); Environment.Exit(1); } // 无论输入主机还是网址都能运行,后者会自动提取出主机,;但为了使用Uri,又要当输入前者时加上协议 string ...
mit
C#
229be0d0b238c572078391cdfb1cb7bf1766c65b
Update version number to 1.2.1
Abc-Arbitrage/Zebus.Directory,Abc-Arbitrage/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.1")] [assembly: AssemblyFileVersion("1.2.1")] [assembly: AssemblyInformationalVersion("1.2.1")]
using System.Reflection; [assembly: AssemblyVersion("1.2.0")] [assembly: AssemblyFileVersion("1.2.0")] [assembly: AssemblyInformationalVersion("1.2.0")]
mit
C#
78c0dbdc761f6a3cd1631e1667d79355457cdc47
Switch to version 1.3.2
AtwooTM/Zebus,rbouallou/Zebus,Abc-Arbitrage/Zebus,biarne-a/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.3.2")] [assembly: AssemblyFileVersion("1.3.2")] [assembly: AssemblyInformationalVersion("1.3.2")]
using System.Reflection; [assembly: AssemblyVersion("1.3.1")] [assembly: AssemblyFileVersion("1.3.1")] [assembly: AssemblyInformationalVersion("1.3.1")]
mit
C#
5b4539836d3ddfcfcb4f8026ee0cb56079d7c3ff
Update Demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demos/A_MasterSlave.cs
Src/Asp.Net/SqlServerTest/Demos/A_MasterSlave.cs
using OrmTest.Demo; using OrmTest.Models; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest.Demo { public class MasterSlave : DemoBase { public static void Init() { Console.WriteLine(""); for (int i...
using OrmTest.Demo; using OrmTest.Models; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest.Demo { public class MasterSlave : DemoBase { public static void Init() { Console.WriteLine(""); for (int i...
apache-2.0
C#
1ca8bb934ddcf3a906efdfbefdd8c33b29eddbd1
fix not being able to pick up bike horn
krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation
UnityProject/Assets/Scripts/Items/Others/Horn.cs
UnityProject/Assets/Scripts/Items/Others/Horn.cs
using System.Collections; using UnityEngine; using Mirror; /// <summary> /// Indicates an object that emits sound upon activation (bike horn/air horn...) /// </summary> public class Horn : MonoBehaviour, ICheckedInteractable<HandActivate>, ICheckedInteractable<PositionalHandApply> { public string Sound; public f...
using System.Collections; using UnityEngine; using Mirror; /// <summary> /// Indicates an object that emits sound upon activation (bike horn/air horn...) /// </summary> public class Horn : MonoBehaviour, ICheckedInteractable<HandActivate>, ICheckedInteractable<PositionalHandApply> { public string Sound; public f...
agpl-3.0
C#
0901a15b2b3c16b3e65c04f1fc806a14f96fec5e
Add Travis2 to contact page.
jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox
ZirMed.TrainingSandbox/Views/Home/Contact.cshtml
ZirMed.TrainingSandbox/Views/Home/Contact.cshtml
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
mit
C#
92564ab6a6b9f306499cb5ef5ec6625761de74f6
Update HidingMultipleRowsAndColumns.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,ma...
Examples/CSharp/RowsColumns/Hiding/HidingMultipleRowsAndColumns.cs
Examples/CSharp/RowsColumns/Hiding/HidingMultipleRowsAndColumns.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Hiding { public class HidingMultipleRowsAndColumns { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.E...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Hiding { public class HidingMultipleRowsAndColumns { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir...
mit
C#
56a607c0215bb4bcb0b9793fc590af71474963df
Add some dumy extra commit
michael-reichenauer/GitMind
GitMind/GitModel/Branch.cs
GitMind/GitModel/Branch.cs
using System.Collections.Generic; using System.Linq; namespace GitMind.GitModel { // Some extra Branch internal class Branch { private readonly Repository repository; private readonly string tipCommitId; private readonly string firstCommitId; private readonly string parentCommitId; private readonly IRead...
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace GitMind.GitModel { internal class Branch { private readonly Repository repository; private readonly string tipCommitId; private readonly string firstCommitId; private readonly string parentCommitId; priva...
mit
C#
37f94151cbbd139db86f57442752e496414d0777
Fix Cannot access a disposed object crash in LruCache.SizeOf method
luberda-molinet/FFImageLoading,molinch/FFImageLoading
source/FFImageLoading.Droid/Cache/LRUCache.cs
source/FFImageLoading.Droid/Cache/LRUCache.cs
using System; using FFImageLoading.Drawables; namespace FFImageLoading.Cache { public class LRUCache : Android.Util.LruCache { public LRUCache(int maxSize) : base(maxSize) { } public event EventHandler<EntryRemovedEventArgs<Java.Lang.Object>> OnEntryRemoved; protected...
using System; using FFImageLoading.Drawables; namespace FFImageLoading.Cache { public class LRUCache : Android.Util.LruCache { public LRUCache(int maxSize) : base(maxSize) { } public event EventHandler<EntryRemovedEventArgs<Java.Lang.Object>> OnEntryRemoved; protected...
mit
C#
60c785726f09be1ff90901151f72d2e8bba57485
Change player count with both left shift or right shift + num key
sanderman01/ggj2016
project/Assets/Scripts/Menus.cs
project/Assets/Scripts/Menus.cs
using UnityEngine; using System.Collections; public class Menus : MonoBehaviour { public enum MenuState { Starting = 0, Playing = 1, GameOver = 2 } public GameLoopManager gameLoopManager; public SpriteRenderer titleSprite; public SpriteRenderer gameOverSpr...
using UnityEngine; using System.Collections; public class Menus : MonoBehaviour { public enum MenuState { Starting = 0, Playing = 1, GameOver = 2 } public GameLoopManager gameLoopManager; public SpriteRenderer titleSprite; public SpriteRenderer gameOverSprite...
mit
C#
d0c04844d47f90972b2848b7c7815443ded2d878
remove public set for AssetServerUpdate properties
patriksvensson/Cake.Unity
src/Cake.Unity/Arguments/AssetServerUpdate.cs
src/Cake.Unity/Arguments/AssetServerUpdate.cs
namespace Cake.Unity.Arguments { public class AssetServerUpdate { public string IP { get; } public int? Port { get; } public string ProjectName { get; } public string Username { get; } public string Password { get; } public string Revision { get; } publi...
namespace Cake.Unity.Arguments { public class AssetServerUpdate { public string IP { get; set; } public int? Port { get; set; } public string ProjectName { get; set; } public string Username { get; set; } public string Password { get; set; } public string Revisio...
mit
C#
1b2716207155993d26a5c9669e838903cc46cff9
add copyright
MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4
src/Host/Quickstart/Grants/GrantsViewModel.cs
src/Host/Quickstart/Grants/GrantsViewModel.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; namespace IdentityServer4.Quickstart.UI { public class GrantsViewModel { pub...
using System; using System.Collections.Generic; namespace IdentityServer4.Quickstart.UI { public class GrantsViewModel { public IEnumerable<GrantViewModel> Grants { get; set; } } public class GrantViewModel { public string ClientId { get; set; } public string ClientName { ...
apache-2.0
C#
e1fa4c7c92defc4c0c94ddec6d4e17bd412cd3da
Tweak exit codes
nunit/nunit-console,nunit/nunit-console,nunit/nunit-console
src/NUnitEngine/nunit-agent/AgentExitCodes.cs
src/NUnitEngine/nunit-agent/AgentExitCodes.cs
// *********************************************************************** // Copyright (c) 2017 Charlie Poole, Rob Prouse // // 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 restr...
// *********************************************************************** // Copyright (c) 2017 Charlie Poole, Rob Prouse // // 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 restr...
mit
C#
a0a9933f6b9689555b26a74157ce75964efabc1a
Hide dashboard link if not allowed
harmony7/Orchard,Sylapse/Orchard.HttpAuthSample,sfmskywalker/Orchard,Cphusion/Orchard,Fogolan/OrchardForWork,planetClaire/Orchard-LETS,austinsc/Orchard,mgrowan/Orchard,hbulzy/Orchard,enspiral-dev-academy/Orchard,Codinlab/Orchard,mgrowan/Orchard,enspiral-dev-academy/Orchard,kouweizhong/Orchard,patricmutwiri/Orchard,geer...
src/Orchard.Web/Core/Shapes/Views/User.cshtml
src/Orchard.Web/Core/Shapes/Views/User.cshtml
@using System.Web.Mvc; <div class="user-display"> @if (WorkContext.CurrentUser != null) { <span class="user-actions welcome"> @T("Welcome, <strong>{0}</strong>!", new HtmlString(Html.ActionLink( WorkContext.CurrentUser.UserName, "ChangePassword", new { Controller = "Account", Area = "Orch...
@using System.Web.Mvc; <div class="user-display"> @if (WorkContext.CurrentUser != null) { <span class="user-actions welcome"> @T("Welcome, <strong>{0}</strong>!", new HtmlString(Html.ActionLink( WorkContext.CurrentUser.UserName, "ChangePassword", new { Controller = "Account", Area = "Orch...
bsd-3-clause
C#
47b2bcc65be80bb3949feaa5a300b3cd9bdf84c1
Add documentation to ColoreException.
Sharparam/Colore,WolfspiritM/Colore,CoraleStudios/Colore,danpierce1/Colore
Colore/ColoreException.cs
Colore/ColoreException.cs
// --------------------------------------------------------------------------------------- // <copyright file="ColoreException.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software...
// --------------------------------------------------------------------------------------- // <copyright file="ColoreException.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software...
mit
C#
c97647db0c90c93cde36bff4af880b527ba981c2
Add path.
bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow
AspNetWindowsService/Program.cs
AspNetWindowsService/Program.cs
using System.ServiceProcess; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Hosting.Internal; using Microsoft.AspNet.Http; using System.Linq; using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration.Memory; namespace MyProject { publi...
using System.ServiceProcess; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Hosting.Internal; using Microsoft.AspNet.Http; using System.Linq; using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration.Memory; namespace MyProject { publi...
mit
C#
a6c98c4df58d7a44648e17f1efe558703ed91453
Fix comment
gwvandesteeg/plain-old-pong
Assets/Scripts/BallBehaviour.cs
Assets/Scripts/BallBehaviour.cs
/* * Copyright (c) 2016, Gerwin van de Steeg * All rights reserved. * * This program is free software, distributed under the * BSD 2 Clause license, see the LICENSE file at the * top of the source tree for a full copy of the license. * */ using UnityEngine; using UnityEngine.Assertions; using System.Collectio...
/* * Copyright (c) 2016, Gerwin van de Steeg * All rights reserved. * * This program is free software, distributed under the * BSD 2 Clause license, see the LICENSE file at the * top of the source tree for a full copy of the license. s * */ using UnityEngine; using UnityEngine.Assertions; using System.Collecti...
bsd-2-clause
C#
469d75a9f40585daace2f9fe952f591af94bb6bb
Update the EthernetDevice to have the latest set of functions
juhovh/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,juhovh/tapcfg
src/bindings/EthernetDevice.cs
src/bindings/EthernetDevice.cs
using System; using System.Runtime.InteropServices; namespace TAPCfg { public class EthernetDevice : IDisposable { private const int MTU = 1522; private IntPtr handle; private bool disposed = false; public EthernetDevice() { handle = tapcfg_init(); } public void Start() { tapcfg_start(handle); ...
using System; using System.Runtime.InteropServices; namespace TAPCfg { public class EthernetDevice : IDisposable { private const int MTU = 1522; private IntPtr handle; private bool disposed = false; public EthernetDevice() { handle = tapcfg_init(); } public void Start() { tapcfg_start(handle); ...
lgpl-2.1
C#
8fe517fd1f68507ed88f3e7396614496965f9aae
Implement Summary
jzebedee/lcapi
LCAPI/LCAPI/Api.cs
LCAPI/LCAPI/Api.cs
using System.Threading.Tasks; using LCAPI.JSON; using LCAPI.REST; using LendingClub.Models; namespace LendingClub { public class Api : ApiBase { public string Customer { get; } public string Url => $"{BaseUrl}/accounts/{Customer}"; public IDeserializer JsonDeserializer { get; } ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using LCAPI.JSON; using LCAPI.REST; namespace LendingClub { public class Api : ApiBase { public string Customer { get; } public ...
agpl-3.0
C#
ee784e2de4b30cd112ee371d1825d66218dc194c
Bump version to v1.6.5
Norbyte/lslib,Norbyte/lslib,Norbyte/lslib
LSLib/LS/Common.cs
LSLib/LS/Common.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LSLib.LS { public static class Common { public const int MajorVersion = 1; public const int MinorVersion = 6; public const int PatchVersion = 5; /// <s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LSLib.LS { public static class Common { public const int MajorVersion = 1; public const int MinorVersion = 6; public const int PatchVersion = 4; /// <s...
mit
C#
53fb38e83cf5f79593f45cadd64be593d7f7bfae
Update with LinkTarget.ArmV7s and frameworks.
lipka/MonoTouch.TTTAttributedLabel
binding/libTTTAttributedLabel.linkwith.cs
binding/libTTTAttributedLabel.linkwith.cs
using System; using MonoTouch.ObjCRuntime; [assembly: LinkWith ("libTTTAttributedLabel.a", LinkTarget.Simulator | LinkTarget.ArmV7 | LinkTarget.ArmV7s, Frameworks = "CoreGraphics CoreText QuartzCore", ForceLoad = true)]
using System; using MonoTouch.ObjCRuntime; [assembly: LinkWith ("libTTTAttributedLabel.a", LinkTarget.Simulator | LinkTarget.ArmV7, ForceLoad = true)]
mit
C#
2605beb4d971f6badbf4e9248894888a070c6a35
Allow RhinoMocks to see internals.
CamTechConsultants/CvsntGitImporter
Properties/AssemblyInfo.cs
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#
8b63b0e271a02609d18c7915f319eee24afb68e4
Update version number to 1.3
nikkilocke/AccountServer,nikkilocke/AccountServer
Properties/AssemblyInfo.cs
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("Acc...
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("Ac...
apache-2.0
C#
0008158d3b8cc52cf91749d6ece970227a3ce257
Bump version to 1.3
FatturaElettronicaPA/FatturaElettronicaPA.Forms
Properties/AssemblyInfo.cs
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("FatturaElettronica.Forms")] [assembly: As...
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("FatturaElettronica.Forms")] [assembly: As...
bsd-3-clause
C#
f3c33a5306da88c4c47e2ea70b6a0a65b82e12c9
Clarify that your unit test runner will never speak with you again
Jack109/MahApps.Metro,p76984275/MahApps.Metro,batzen/MahApps.Metro,ye4241/MahApps.Metro,xxMUROxx/MahApps.Metro,MahApps/MahApps.Metro,Danghor/MahApps.Metro,psinl/MahApps.Metro,Evangelink/MahApps.Metro,chuuddo/MahApps.Metro,pfattisc/MahApps.Metro,jumulr/MahApps.Metro
Mahapps.Metro.Tests/TestHost.cs
Mahapps.Metro.Tests/TestHost.cs
using System; using System.Diagnostics; using System.Linq; using System.Threading; using System.Windows; namespace Mahapps.Metro.Tests { /// <summary> /// This class is the ultimate hack to work around that we can't /// create more than one application in the same AppDomain /// /// It is initial...
using System; using System.Diagnostics; using System.Linq; using System.Threading; using System.Windows; namespace Mahapps.Metro.Tests { /// <summary> /// This class is the ultimate hack to work around that we can't /// create more than one application in the same AppDomain /// /// It is once in...
mit
C#
8760d71c1a8da22d84c8f4e6bcc4bb171a895714
Add "sourcePath" to Choice, which tells you where the original ChoicePoint was defined, useful for knowing where in the story you are.
inkle/ink,ivaylo5ev/ink,inkle/ink,ivaylo5ev/ink,ghostpattern/ink,ghostpattern/ink
ink-engine-runtime/Choice.cs
ink-engine-runtime/Choice.cs
 namespace Ink.Runtime { /// <summary> /// A generated Choice from the story. /// A single ChoicePoint in the Story could potentially generate /// different Choices dynamically dependent on state, so they're /// separated. /// </summary> public class Choice : Runtime.Object { /// <sum...
 namespace Ink.Runtime { /// <summary> /// A generated Choice from the story. /// A single ChoicePoint in the Story could potentially generate /// different Choices dynamically dependent on state, so they're /// separated. /// </summary> public class Choice : Runtime.Object { /// <sum...
mit
C#
b8e62b086daadd6dcfce183fce04715f5e8677cf
remove Console logs
Mazyod/PhoenixSharp
Phoenix/MessageSerialization.cs
Phoenix/MessageSerialization.cs
using Newtonsoft.Json.Linq; namespace Phoenix { public sealed class JSONMessageSerializer : IMessageSerializer { public string Serialize(Message message) { return new JArray( message.joinRef, message.@ref, message.topic, message.@event, message.payload == null ? null : JObject.FromOb...
using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace Phoenix { public sealed class JSONMessageSerializer : IMessageSerializer { public string Serialize(Message message) { return new JArray( message.joinRef, message.@ref, message.topic, message.@event, message.payloa...
mit
C#
c305e0fcfcbc63c0dfe3cc0c80b97cac75610671
Remove TransfersMatching flag and use the new one at action level
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance.Web/Controllers/TransfersController.cs
src/SFA.DAS.EmployerFinance.Web/Controllers/TransfersController.cs
using System.Threading.Tasks; using System.Web.Mvc; using SFA.DAS.Authorization.Mvc.Attributes; using SFA.DAS.EmployerFinance.Web.Orchestrators; namespace SFA.DAS.EmployerFinance.Web.Controllers { [RoutePrefix("accounts/{HashedAccountId}")] public class TransfersController : Controller { ...
using System.Threading.Tasks; using System.Web.Mvc; using SFA.DAS.Authorization.Mvc.Attributes; using SFA.DAS.EmployerFinance.Web.Orchestrators; namespace SFA.DAS.EmployerFinance.Web.Controllers { [DasAuthorize("EmployerFeature.TransfersMatching")] [RoutePrefix("accounts/{HashedAccountId}")] pub...
mit
C#
a01b06fc6478803615cf70dda8a3c226ea9cf8cc
fix build after merge
robertjf/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbra...
src/Umbraco.Tests.Integration/Infrastructure/TestGlobalSettings.cs
src/Umbraco.Tests.Integration/Infrastructure/TestGlobalSettings.cs
using Umbraco.Core.Configuration; namespace Umbraco.Tests.Integration.Infrastructure { public class TestGlobalSettings : IGlobalSettings { public string ReservedUrls => throw new System.NotImplementedException(); public string ReservedPaths => throw new System.NotImplementedException(); ...
using Umbraco.Core.Configuration; namespace Umbraco.Tests.Integration.Infrastructure { public class TestGlobalSettings : IGlobalSettings { public string ReservedUrls => throw new System.NotImplementedException(); public string ReservedPaths => throw new System.NotImplementedException(); ...
mit
C#
f2fd58d8c42f5ebdc70a7714b1183fbad7ff095d
Fix the social sample port.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/SocialSample/Program.cs
samples/SocialSample/Program.cs
using System; using System.IO; using System.Net; using System.Reflection; using System.Security.Cryptography.X509Certificates; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.FileProviders; namespace SocialSample { public static class Program { ...
using System; using System.IO; using System.Net; using System.Reflection; using System.Security.Cryptography.X509Certificates; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.FileProviders; namespace SocialSample { public static class Program { ...
apache-2.0
C#
fd800445daa33a9280ce15bb94f3359bffdc05e4
Update version to 2.13.0.
Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite
SolutionVersion.cs
SolutionVersion.cs
using System.Reflection; [assembly: AssemblyVersion("2.13.0.0")] [assembly: AssemblyFileVersion("2.13.0.0")] [assembly: AssemblyInformationalVersion("2.13.0")]
using System.Reflection; [assembly: AssemblyVersion("2.12.3.0")] [assembly: AssemblyFileVersion("2.12.3.0")] [assembly: AssemblyInformationalVersion("2.12.3")]
mit
C#
18a7616242a67e1d84d2d1fb20d489943e0ded78
Call Draw on the output of Build
12joan/hangman
Program.cs
Program.cs
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); string titleText = File.ReadAllText("title.txt"); object[] titleCell = {titleText, Cell.CentreAlign}; object[] titleRow = {titleCell}; ...
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); string titleText = File.ReadAllText("title.txt"); object[] titleCell = {titleText, Cell.CentreAlign}; object[] titleRow = {titleCell}; ...
unlicense
C#
5833b907e10cd95ef60806d209427a944f870136
Fix typo causing StackOverflowException
HerrLoesch/DataInputFrontend
DataInputt/WcfServer/IDataInputService.cs
DataInputt/WcfServer/IDataInputService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace WcfServer { [ServiceContract] public interface IDataInputService { [OperationContract] int CreateUser(User user); [Operati...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace WcfServer { [ServiceContract] public interface IDataInputService { [OperationContract] int CreateUser(User user); [Operati...
mit
C#
4f8e1bd50122914d3b0664cc7b54063d54225838
Move settings update to first line
amweiss/vigilant-cupcake
VigilantCupcake/Program.cs
VigilantCupcake/Program.cs
using System; using System.Windows.Forms; using VigilantCupcake.OperatingSystemUtilities; namespace VigilantCupcake { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private static void Main() { ...
using System; using System.Windows.Forms; using VigilantCupcake.OperatingSystemUtilities; namespace VigilantCupcake { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private static void Main() { ...
mit
C#
ff0807ea41077b6493637e0342a62fc482ab70ce
Fix editorconfig errors
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Crypto/Mac.cs
WalletWasabi/Crypto/Mac.cs
using System; using System.Text; using NBitcoin.Secp256k1; using WalletWasabi.Crypto.Groups; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto { public class MAC : IEquatable<MAC> { private MAC(Scalar t, GroupElement v) { T = CryptoGuard.NotZero(nameof(t), t); V = CryptoGuard.NotNullOrInfinity(name...
using System; using System.Text; using NBitcoin.Secp256k1; using WalletWasabi.Crypto.Groups; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto { public class MAC : IEquatable<MAC> { private MAC(Scalar t, GroupElement V) { this.t = CryptoGuard.NotZero(nameof(t), t); this.V = CryptoGuard.NotNullOrInf...
mit
C#
0a036378564c651ccb839e9cd10dae9a4faa7cba
Add Azure worker command
jonasf/tv-show-reminder
TvShowReminderWorker/Program.cs
TvShowReminderWorker/Program.cs
using System; namespace TvShowReminderWorker { class Program { static void Main(string[] args) { Console.WriteLine("I am the web job, I ran at {0}", DateTime.Now); JobHost host = new JobHost(); host.RunAndBlock(); } } }
using System; namespace TvShowReminderWorker { class Program { static void Main(string[] args) { Console.WriteLine("I am the web job, I ran at {0}", DateTime.Now); } } }
mit
C#
f30524026008c5a0801a19dc2eb2a7bbe1a81e41
Update AssemblyInfo.cs
heinrichelsigan/AwsEC2-DotNet-CSharp-Sample
AwsEC2Sample1/Properties/AssemblyInfo.cs
AwsEC2Sample1/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("Ama...
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("Ama...
apache-2.0
C#
196f919f44d37cd5b628c8767832e25fd5561139
Update StringExtensions.cs
igambin/Experiments,igambin/Experiments
ConversionExtensions/StringExtensions.cs
ConversionExtensions/StringExtensions.cs
using System.Text; namespace IG.Extensions { public static class StringExtensions { public static byte[] ToByteArray(this string str) => new UTF8Encoding().GetBytes(str); public static byte[] ToByteArray<TEncoding>(this string str) where TEncoding : Encoding, new() => new TEncoding().GetBytes...
using System.Text; namespace IG.Extensions { public static class StringExtensions { public static byte[] ToByteArray(this string str) => new UTF8Encoding().GetBytes(str); } }
mit
C#
25d1a9f26f2f38ff2381bc4b54e62e420242ecb8
Change widget setting "ForceOnTop" default value
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/WidgetSettings.cs
DesktopWidgets/Classes/WidgetSettings.cs
using System.Windows; using System.Windows.Media; using DesktopWidgets.Helpers; namespace DesktopWidgets.Classes { public class WidgetSettings { public Thickness Padding { get; set; } = new Thickness(2); //public Point ScreenDpi = new Point(96, 96); public string Name { get; set; } = "...
using System.Windows; using System.Windows.Media; using DesktopWidgets.Helpers; namespace DesktopWidgets.Classes { public class WidgetSettings { public Thickness Padding { get; set; } = new Thickness(2); //public Point ScreenDpi = new Point(96, 96); public string Name { get; set; } = "...
apache-2.0
C#
3404afdf2ea0b0ac330d9c5ac520a0c981609c87
Fix timeout issue waiting for topics to be created.
jsmale/MassTransit
src/MassTransit.Host/Program.cs
src/MassTransit.Host/Program.cs
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // ...
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
apache-2.0
C#
2ecd65cec7ec8791ed717e92e3745c1b43fac9bf
Fix UI thread blocking
k-t/SharpHaven
MonoHaven.Client/Network/LoginService.cs
MonoHaven.Client/Network/LoginService.cs
using System; using System.Threading; using System.Threading.Tasks; namespace MonoHaven.Network { public class LoginService { private readonly LoginSettings settings; public LoginService(LoginSettings settings) { this.settings = settings; } public event EventHandler<LoginStatusEventArgs> StatusChange...
using System; using System.Threading.Tasks; namespace MonoHaven.Network { public class LoginService { private readonly LoginSettings settings; public LoginService(LoginSettings settings) { this.settings = settings; } public event EventHandler<LoginStatusEventArgs> StatusChanged; public async Task<...
mit
C#
c3221af72b34272ee7156e2c3f64094ec0353531
test random lines
leon196/TimeDisplacement,leon196/TimeDisplacement,leon196/TimeDisplacement
Assets/Scripts/TimeDisplacement.cs
Assets/Scripts/TimeDisplacement.cs
using UnityEngine; using System.Collections; public class TimeDisplacement : MonoBehaviour { Webcam webcam; Texture2D texture; Color[][] colorList; int width, height, sliceCount; [HideInInspector] public bool direction; void Start () { webcam = GameObject.FindObjectOfType<Webcam>(); sliceCount = (int)Scre...
using UnityEngine; using System.Collections; public class TimeDisplacement : MonoBehaviour { Webcam webcam; Texture2D texture; Color[][] colorList; int width, height, sliceCount; [HideInInspector] public bool direction; void Start () { webcam = GameObject.FindObjectOfType<Webcam>(); sliceCount = (int)Scre...
cc0-1.0
C#
93393d79797a795f4a80b953b60d2f2441a803ad
Upgrade AssemblyInfo to v2.0
Zeugma440/atldotnet
ATL/Properties/AssemblyInfo.cs
ATL/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; 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: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; 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: Assemb...
mit
C#
dfdd6561444785f3d7a6aa245a383345bf28e331
Remove Environment Path issue.
ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton
src/CK.Glouton.Lucene/LuceneConfiguration.cs
src/CK.Glouton.Lucene/LuceneConfiguration.cs
using System; using System.Text.RegularExpressions; using Lucene.Net.Index; namespace CK.Glouton.Lucene { public class LuceneConfiguration : ILuceneConfiguration { private string _path; private static Regex EnvironmentRegex = new Regex(@"%[A-Za-z0-9\(\)]*%"); public int MaxSearch { g...
using System; using Lucene.Net.Index; namespace CK.Glouton.Lucene { public class LuceneConfiguration : ILuceneConfiguration { public int MaxSearch { get; set; } public string Path { get; set; } public string Directory { get; set; } public OpenMode? OpenMode { get; set; } ...
mit
C#
2878bfaf868c5c6cb2100f68198497b77cf50fa0
Add constructor to Table.cs
Ackara/Daterpillar
src/Daterpillar.Core/Transformation/Table.cs
src/Daterpillar.Core/Transformation/Table.cs
using System.Collections.Generic; using System.Xml.Serialization; namespace Gigobyte.Daterpillar.Transformation { /// <summary>Represents a database table.</summary> public class Table { public Table() { Columns = new List<Column>(); Modifiers = new List<string>(); ...
using System.Collections.Generic; using System.Xml.Serialization; namespace Gigobyte.Daterpillar.Transformation { /// <summary>Represents a database table.</summary> public class Table { /// <summary>Gets or sets the name.</summary> /// <value>The name.</value> [XmlAttribute("name"...
mit
C#
343024c10257ed4fa691c8a56f5f452d56a385fb
Update RobinManuelThiel.cs
beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamar...
src/Firehose.Web/Authors/RobinManuelThiel.cs
src/Firehose.Web/Authors/RobinManuelThiel.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts { public bool Filter(SyndicationItem item) ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts { public bool Filter(SyndicationItem item) ...
mit
C#
3fd74a4dde4f4d378832c83229beebada4549b69
Check regex for only 1 match
Lirusaito/RollGen,DnDGen/RollGen,Lirusaito/RollGen,DnDGen/RollGen
Domain/RandomDice.cs
Domain/RandomDice.cs
using Albatross.Expression; using System; namespace RollGen.Domain { public class RandomDice : Dice { private readonly Random random; public RandomDice(Random random) { this.random = random; } public override PartialRoll Roll(int quantity = 1) { ...
using Albatross.Expression; using System; namespace RollGen.Domain { public class RandomDice : Dice { private readonly Random random; public RandomDice(Random random) { this.random = random; } public override PartialRoll Roll(int quantity = 1) { ...
mit
C#
e0c3192da0731ab182061a3387caaa4c4a61f2f4
Fix bug.
bozoweed/Sanderling,exodus444/Sanderling,Arcitectus/Sanderling
src/Sanderling/Sanderling/ConfigExtension.cs
src/Sanderling/Sanderling/ConfigExtension.cs
namespace Sanderling { static public class ConfigExtension { static public BotEngine.Client.LicenseClientConfig CompletedWithDefault( this BotEngine.Client.LicenseClientConfig config) { config = config ?? ExeConfig.LicenseClientDefault; if (!(0 < config.ApiVersionAddress?.Length)) config.ApiVersion...
namespace Sanderling { static public class ConfigExtension { static public BotEngine.Client.LicenseClientConfig CompletedWithDefault( this BotEngine.Client.LicenseClientConfig config) { config = config ?? ExeConfig.LicenseClientDefault; config.Request = config?.Request ?? ExeConfig.InterfaceLicenseClie...
apache-2.0
C#
7980e81295455dd226efe571c91378a264a41c38
Fix constants.
exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml
Code2Xml.Core/Code2XmlConstants.cs
Code2Xml.Core/Code2XmlConstants.cs
#region License // Copyright (C) 2011-2014 Kazunori Sakamoto // // 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 require...
#region License // Copyright (C) 2011-2014 Kazunori Sakamoto // // 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 require...
apache-2.0
C#
595b62197cddf5cd0c342f89a0c8ff027caa76d7
Update ClipboardImpl.cs
SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia
src/Web/Avalonia.Web.Blazor/ClipboardImpl.cs
src/Web/Avalonia.Web.Blazor/ClipboardImpl.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Avalonia.Input; using Avalonia.Input.Platform; using Microsoft.JSInterop; namespace Avalonia.Web.Blazor { internal class ClipboardImpl : IClipboard { public async Task<string> GetT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Avalonia.Input; using Avalonia.Input.Platform; using Microsoft.JSInterop; namespace Avalonia.Web.Blazor { internal class ClipboardImpl : IClipboard { public async Task<string> GetT...
mit
C#
0d1d33875179b700445594e4b69d55a6681ac8b7
Fix exception with invalid mesh
simontaylor81/Syrup,simontaylor81/Syrup
SRPCommon/Scene/MeshInstancePrimitive.cs
SRPCommon/Scene/MeshInstancePrimitive.cs
using SRPCommon.Util; using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using System.Diagnostics.CodeAnalysis; namespace SRPCommon.Scene { public class MeshInstancePrimitive : Primitive { public override PrimitiveType Type => PrimitiveType.MeshInstance; public SceneMesh ...
using SRPCommon.Util; using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using System.Diagnostics.CodeAnalysis; namespace SRPCommon.Scene { public class MeshInstancePrimitive : Primitive { public override PrimitiveType Type => PrimitiveType.MeshInstance; public SceneMesh ...
mit
C#
04399e02869da865952e1963680c4b32a0813daf
remove unused js
hotjk/dot-rbac,hotjk/grit,hotjk/grit,hotjk/grit,hotjk/dot-rbac
Settings.Web/Views/Shared/Message.cshtml
Settings.Web/Views/Shared/Message.cshtml
<div class="row"> <div class="text-center"> <div id="panel_message"></div> @if (TempData["Info"] != null) { <div class="alert alert-success" style="display:none;"> @TempData["Info"] </div> } @if (ViewData.ModelState[string.Empty] != nu...
<div class="row"> <div class="text-center"> <div id="panel_message"></div> @if (TempData["Info"] != null) { <div class="alert alert-success" style="display:none;"> @TempData["Info"] </div> } @if (ViewData.ModelState[string.Empty] != nu...
apache-2.0
C#
19f2139479a598c1da4137043d55ba34ae5c4f21
Add a regex pattern in class 'RegexConstants'
lury-lang/lury-lexer
lury-lexer/RegexConstants.cs
lury-lexer/RegexConstants.cs
// // RegexConstants.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
// // RegexConstants.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
mit
C#
fda7e3f3301aeb33b29045a0a9adc55daeef7330
Verify that application is setup locally after creation
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/CreateCommandTest.cs
src/AppHarbor.Tests/Commands/CreateCommandTest.cs
using System; using System.IO; using System.Linq; using AppHarbor.Commands; using AppHarbor.Model; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class CreateCommandTest { [Theory, AutoCommandData] public void ShouldThrowWhenNoArguments...
using System; using System.IO; using System.Linq; using AppHarbor.Commands; using AppHarbor.Model; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class CreateCommandTest { [Theory, AutoCommandData] public void ShouldThrowWhenNoArguments...
mit
C#
d997741cb2fcc9983b1dce6503c0fa9ea1dd17eb
Make DefaultServiceResolver expose IPackageAuthenticationService
NuGet/NuGet.Server
src/NuGet.Server/Core/DefaultServiceResolver.cs
src/NuGet.Server/Core/DefaultServiceResolver.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using NuGet.Server.Infrastructure; using NuGet.Server.Logging; using NuGet.Server.Publishing; namespace NuGet.Server { public class...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using NuGet.Server.Infrastructure; using NuGet.Server.Logging; using NuGet.Server.Publishing; namespace NuGet.Server { public class...
apache-2.0
C#
d64febc929c3c629d8087daeabadaf2e76ca3f6a
Remove excessive dictionary lookups.
infinity8/StructuredXmlEditor
StructuredXmlEditor/Util/Future.cs
StructuredXmlEditor/Util/Future.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace StructuredXmlEditor { public static class Future { private static object m_locker = new object(); private static Dictionary<object, FutureDa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace StructuredXmlEditor { public static class Future { private static object m_locker = new object(); private static Dictionary<object, FutureDa...
apache-2.0
C#
08392ef108fd826a5d05108db622920400cdfb36
Build and publish release candidate package
RockFramework/Rock.Encryption
Rock.Encryption/Properties/AssemblyInfo.cs
Rock.Encryption/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
mit
C#
30d247d31e6756bb4881e1483aaddb90d6dffb22
add guard against a division by zero.
chtoucas/Narvalo.NET,chtoucas/Narvalo.NET
src/Narvalo.Finance/Numerics/DecimalCalculator.cs
src/Narvalo.Finance/Numerics/DecimalCalculator.cs
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance.Numerics { using System; using System.Collections.Generic; public enum BiasAllocation { First, Last, Lowest, Highest, Pseud...
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance.Numerics { using System; using System.Collections.Generic; public enum BiasAllocation { First, Last, Lowest, Highest, Pseud...
bsd-2-clause
C#
cf6f7aa4c0f7239d2c7176dae11b8e200c365987
Add version and environment to completed/failed work item
mattgwagner/CertiPay.Common
CertiPay.Common/WorkQueue/CompletedWorkItem.cs
CertiPay.Common/WorkQueue/CompletedWorkItem.cs
using System; namespace CertiPay.Common.WorkQueue { public class CompletedWorkItem<T> { public T WorkItem { get; set; } public String Server { get; set; } public DateTime CompletedAt { get; set; } public String Version { get; set; } public EnvUtil.Environment Enviro...
using System; namespace CertiPay.Common.WorkQueue { public class CompletedWorkItem<T> { public T WorkItem { get; set; } public String Server { get; set; } public DateTime CompletedAt { get; set; } // TODO Version? public CompletedWorkItem() { thi...
mit
C#
ef3396984c31d1c25228ac7b660b51de600ed536
Fix Denver theme to point CSS to configured skin location
DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API
CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml
CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml
@using CkanDotNet.Web.Models.Helpers @using System.Configuration <!--v Denvergov:1of3(head) v--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="Stylesheet" type="text/css" href="@Url.Content(ConfigurationManager.AppSettings["Catalog.SkinLocatio...
@using CkanDotNet.Web.Models.Helpers @using System.Configuration <!--v Denvergov:1of3(head) v--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="Stylesheet" type="text/css" href="http://dgqa.denvergov.org/dgskin1/Scripts/Denvergov.style.skin.css...
apache-2.0
C#
563370f10b65cfb50c09e77a3899537bf1a8d9ed
Remove unnecessary unit test
qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,lances101/Wox,lances101/Wox,qianlifeng/Wox,Wox-launcher/Wox
Wox.Test/Plugins/PluginInitTest.cs
Wox.Test/Plugins/PluginInitTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Moq; using NUnit.Framework; using Wox.Core.Exception; using Wox.Core.Plugin; using Wox.Plugin; namespace Wox.Test.Plugins { [TestFixture] public class PluginInitTest { [Test] public void PublicAPII...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Moq; using NUnit.Framework; using Wox.Core.Exception; using Wox.Core.Plugin; using Wox.Plugin; namespace Wox.Test.Plugins { [TestFixture] public class PluginInitTest { [Test] public void CouldNotFi...
mit
C#
86eef7a07fa1ef47ea379903418eddb5f1ebb5d5
remove default button title
steffenWi/xwt,mono/xwt,mminns/xwt,cra0zy/xwt,directhex/xwt,lytico/xwt,iainx/xwt,hamekoz/xwt,mminns/xwt,hwthomas/xwt,TheBrainTech/xwt,residuum/xwt,sevoku/xwt,akrisiun/xwt,antmicro/xwt
Xwt.Mac/Xwt.Mac/CheckBoxBackend.cs
Xwt.Mac/Xwt.Mac/CheckBoxBackend.cs
// // CheckBoxBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 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 restr...
// // CheckBoxBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 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 restr...
mit
C#
14c0705d6c2daa2e38b34951186a4920de53e055
Fix file label
mono/xwt,antmicro/xwt,residuum/xwt,hwthomas/xwt,iainx/xwt,steffenWi/xwt,mminns/xwt,sevoku/xwt,lytico/xwt,mminns/xwt,akrisiun/xwt,directhex/xwt,TheBrainTech/xwt,hamekoz/xwt,cra0zy/xwt
Xwt.WPF/Xwt.WPFBackend/ExCanvas.cs
Xwt.WPF/Xwt.WPFBackend/ExCanvas.cs
// // ExCanvas.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, inc...
// // CanvasBackend.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction...
mit
C#
9ef04e9be8faff651ca4e860ce7a1412e1f755c2
Add Authorize attributes to verify sample
ritterim/stuntman
samples/UsageSampleMvc.AspNetCore/Controllers/HomeController.cs
samples/UsageSampleMvc.AspNetCore/Controllers/HomeController.cs
using System.Diagnostics; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using UsageSampleMvc.AspNetCore.Models; namespace UsageSampleMvc.AspNetCore.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using UsageSampleMvc.AspNetCore.Models; namespace UsageSampleMvc.AspNetCore.Controllers { public class HomeController : Controller { public IAction...
mit
C#
03a9e44c4ec17779003efd792d60030e7fc61761
Update IProgress.cs
wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter
WavFile/IProgress.cs
WavFile/IProgress.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace WavFile { #region References using System; #endregion #region IProgress /// <summary> /// Interface used to report backgroun...
/* * WavFile * Copyright © Wiesław Šoltés 2010-2012. All Rights Reserved */ namespace WavFile { #region References using System; #endregion #region IProgress /// <summary> /// Interface used to report background task progress to UI /// </summary> public interface IProgress {...
mit
C#
4b015ed521900351f3aee8924173ec48086e24e5
Put unhandled exception logging in to custom handler class.
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.Api/App_Start/CustomExceptionHandler.cs
src/SFA.DAS.Commitments.Api/App_Start/CustomExceptionHandler.cs
using System.Net; using System.Net.Http; using System.Web.Http.ExceptionHandling; using FluentValidation; using NLog; using SFA.DAS.Commitments.Application.Exceptions; namespace SFA.DAS.Commitments.Api { public class CustomExceptionHandler : ExceptionHandler { private static readonly ILogger _logger =...
using System.Net; using System.Net.Http; using System.Web.Http.ExceptionHandling; using FluentValidation; using NLog; using SFA.DAS.Commitments.Application.Exceptions; namespace SFA.DAS.Commitments.Api { public class CustomExceptionHandler : ExceptionHandler { private static readonly ILogger Logger = ...
mit
C#
21b015d63afffa9b0acdb0027f37d0b228614698
Remove explicit public
peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu
osu.Game/Rulesets/UI/IPooledHitObjectProvider.cs
osu.Game/Rulesets/UI/IPooledHitObjectProvider.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 JetBrains.Annotations; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Drawables; namespace osu.Game.Rulesets.UI { internal interface IPooledH...
// 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 JetBrains.Annotations; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Drawables; namespace osu.Game.Rulesets.UI { internal interface IPooledH...
mit
C#
12fd9491265a3e9f8721050498982ee4ef8e3fcd
Disable AssemblyName_With_Non_ASCII_Should_Load_Avares test
AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia
tests/Avalonia.Base.UnitTests/AssetLoaderTests.cs
tests/Avalonia.Base.UnitTests/AssetLoaderTests.cs
using System; using System.Reflection; using Avalonia.Platform; using Avalonia.Platform.Internal; using Moq; using Xunit; namespace Avalonia.Base.UnitTests; public class AssetLoaderTests { public class MockAssembly : Assembly {} private const string AssemblyNameWithWhitespace = "Awesome Library"; privat...
using System; using System.Reflection; using Avalonia.Platform; using Avalonia.Platform.Internal; using Moq; using Xunit; namespace Avalonia.Base.UnitTests; public class AssetLoaderTests { public class MockAssembly : Assembly {} private const string AssemblyNameWithWhitespace = "Awesome Library"; privat...
mit
C#
60a596bd82ebb387da5047f647e1388d3afb0b85
add another test for tooltip
akrisiun/Perspex,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia...
tests/Avalonia.Controls.UnitTests/ToolTipTests.cs
tests/Avalonia.Controls.UnitTests/ToolTipTests.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Reactive.Disposables; using Avalonia.Platform; using Avalonia.Threading; using Avalonia.UnitTests; using Avalonia.VisualTree; u...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Reactive.Disposables; using Avalonia.Platform; using Avalonia.Threading; using Avalonia.UnitTests; using Avalonia.VisualTree; u...
mit
C#
748f3d819311d432b96d2b7aa2ee575ea596fc6d
Remove unnecessary allocations in MissingPropertyAttributeCodeFix
felipebz/ndapi-analyzers
NdapiAnalyzers/NdapiAnalyzers/MissingPropertyAttributeCodeFix.cs
NdapiAnalyzers/NdapiAnalyzers/MissingPropertyAttributeCodeFix.cs
using System.Collections.Immutable; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp...
using System.Collections.Immutable; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp...
mit
C#
6684aa2e931a37175f31ea2ac8fa12a3eb07ccee
Adjust column width on url part on the create household page
johanhelsing/vaskelista,johanhelsing/vaskelista
Vaskelista/Views/Household/Create.cshtml
Vaskelista/Views/Household/Create.cshtml
@model Vaskelista.Models.Household @{ ViewBag.Title = "Create"; } <h2>Velkommen til vaskelista</h2> <p>Her kan du velge hva vaskelisten din skal hete:</p> <div class="form-horizontal"> <div class="form-group"> <div class="col-md-4"><label>@Request.Url.ToString()</label></div> ...
@model Vaskelista.Models.Household @{ ViewBag.Title = "Create"; } <h2>Velkommen til vaskelista</h2> <p>Her kan du velge hva vaskelisten din skal hete:</p> <div class="form-horizontal"> <div class="form-group"> <div class="col-md-2"><label>@Request.Url.ToString()</label></div> ...
mit
C#
dff3ae8b0a10141948ffc8cb336790b7f6c97998
Add CreatePartDoc with a disposable yielder
Weingartner/SolidworksAddinFramework
XUnit.Solidworks.Addin/SolidWorksSpec.cs
XUnit.Solidworks.Addin/SolidWorksSpec.cs
using System; using System.Reactive.Disposables; using System.Threading.Tasks; using SolidworksAddinFramework; using SolidWorks.Interop.sldworks; using SolidWorks.Interop.swconst; using XUnitRemote.Local; namespace XUnit.Solidworks.Addin { public abstract class SolidWorksSpec { private static Composit...
using System; using System.Reactive.Disposables; using System.Threading.Tasks; using SolidworksAddinFramework; using SolidWorks.Interop.sldworks; using SolidWorks.Interop.swconst; using XUnitRemote.Local; namespace XUnit.Solidworks.Addin { public abstract class SolidWorksSpec { private static Composit...
mit
C#
530274bc5eac91636810b6482a1d0d376083d311
Update ModelManager.cs
wangyaron/VRProject
TestGit/Assets/ModelManager.cs
TestGit/Assets/ModelManager.cs
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 2; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, T...
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 3; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, T...
apache-2.0
C#
7f920d1b0592bc8422f9ccfc1259943a48168b39
add [System.Serializable] to support JSON parsing.
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/ABFetcher/ABSetupInfo.cs
Unity/ABFetcher/ABSetupInfo.cs
/** MIT License Copyright (c) 2017 - 2018 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
/** MIT License Copyright (c) 2017 - 2018 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
mit
C#
a3b72ccfee4a83658ad95df40440e10d8a502699
Add autocomplition to rental.
Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly
Vidly/Views/Rentals/New.cshtml
Vidly/Views/Rentals/New.cshtml
 @{ ViewBag.Title = "New Rental Form"; } <h2>New Rental Form</h2> <form> <div class="form-group"> <label>Customer</label> <input id="customer" type="text" value="" class="form-control" /> </div> <div class="form-group"> <label>Movie</label> <input id="movie" type=...
 @{ ViewBag.Title = "New Rental Form"; } <h2>New Rental Form</h2> <form> <div class="form-group"> <label>Customer</label> <input type="text" value="" class="form-control" /> </div> <div class="form-group"> <label>Movie</label> <input type="text" value="" class="fo...
mit
C#
d597c712a1d571f1da058deadf68e72f24765172
Move IAssertReady from Imageflow -> Imageflow.Bindings namespaceg
imazen/imageflow-dotnet
src/Imageflow/Bindings/IAssertReady.cs
src/Imageflow/Bindings/IAssertReady.cs
namespace Imageflow.Bindings { internal interface IAssertReady { void AssertReady(); } }
namespace Imageflow { internal interface IAssertReady { void AssertReady(); } }
agpl-3.0
C#
8eb0f4127a21bf4da4bb783334c2ee0f3c80941b
Save up to two value lookups when applying layout constraints.
AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jko...
src/Avalonia.Layout/LayoutHelper.cs
src/Avalonia.Layout/LayoutHelper.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; namespace Avalonia.Layout { /// <summary> /// Provides helper methods needed for layout. /// </summary> public static class...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; namespace Avalonia.Layout { /// <summary> /// Provides helper methods needed for layout. /// </summary> public static class...
mit
C#
5f3df822632eab908522897be92d08f48d004792
Mark internal query builder non-browsable
NRules/NRules,prashanthr/NRules
src/NRules/NRules.Fluent/Dsl/IQuery.cs
src/NRules/NRules.Fluent/Dsl/IQuery.cs
using System.ComponentModel; namespace NRules.Fluent.Dsl { /// <summary> /// Root of the query method chain. /// </summary> public interface IQuery { /// <summary> /// Internal query builder. /// This method is intended for framework use only. /// </summary> ...
namespace NRules.Fluent.Dsl { /// <summary> /// Root of the query method chain. /// </summary> public interface IQuery { /// <summary> /// Internal query builder. /// This method is intended for framework use only. /// </summary> IQueryBuilder Builder { get; ...
mit
C#
66580d9b3b4fbcce216499609444053c18285fde
Mark TestObject as sealed
TheEadie/LazyStorage,TheEadie/LazyStorage,TheEadie/LazyLibrary
src/LazyStorage.Tests/TestObject.cs
src/LazyStorage.Tests/TestObject.cs
using System; using System.Collections.Generic; using LazyStorage.Interfaces; namespace LazyStorage.Tests { public sealed class TestObject : IStorable<TestObject> { public int Id { get; set; } public string Name { get; set; } private DateTime _startDate; private DateTime _endDa...
using System; using System.Collections.Generic; using LazyStorage.Interfaces; namespace LazyStorage.Tests { public class TestObject : IStorable<TestObject> { public int Id { get; set; } public string Name { get; set; } private DateTime _startDate; private DateTime _endDate; ...
mit
C#
25b6169bcfba5e850bc556355db57ffde1c9acee
Add code documents to the ByteArrayPalmValue
haefele/PalmDB
src/PalmDB/Serialization/ByteArrayPalmValue.cs
src/PalmDB/Serialization/ByteArrayPalmValue.cs
using System; using System.Threading.Tasks; namespace PalmDB.Serialization { /// <summary> /// Represents a <see cref="T:byte[]"/> value inside a palm database. /// </summary> internal class ByteArrayPalmValue : IPalmValue<byte[]> { /// <summary> /// Gets the length of this byte bl...
using System; using System.Threading.Tasks; namespace PalmDB.Serialization { internal class ByteArrayPalmValue : IPalmValue<byte[]> { public int Length { get; } public ByteArrayPalmValue(int length) { Guard.NotNegative(length, nameof(length)); this.Length = le...
mit
C#
566564de7710cfa5cb8043609e568feb0c978a03
change instance method to extension method to gracefully cater for null args.
meebey/ServiceStack.Text,mono/ServiceStack.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text
src/ServiceStack.Text/JsonObject.cs
src/ServiceStack.Text/JsonObject.cs
using System; using System.Collections.Generic; namespace ServiceStack.Text { public static class JsonExtensions { public static T JsonTo<T>(this Dictionary<string, string> map, string key) { return Get<T>(map, key); } public static T Get<T>(this Dictionary<string, string> map, string key) ...
using System; using System.Collections.Generic; namespace ServiceStack.Text { public static class JsonExtensions { public static T JsonTo<T>(this Dictionary<string, string> map, string key) { return Get<T>(map, key); } public static T Get<T>(this Dictionary<string, string> map, string key) ...
bsd-3-clause
C#
8a3fb47ef057c7448b81d7adfd39dc42ef195735
remove redundant null check
ssg/TurkishId
src/TurkishId/TurkishIdAttribute.cs
src/TurkishId/TurkishIdAttribute.cs
// <copyright file="TurkishIdAttribute.cs" company="Sedat Kapanoglu"> // Copyright 2014 Sedat Kapanoglu // // 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://...
// <copyright file="TurkishIdAttribute.cs" company="Sedat Kapanoglu"> // Copyright 2014 Sedat Kapanoglu // // 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://...
apache-2.0
C#
2dd62ba5e70d34d5c05d89b7e2944a67597267ff
Set DefaultRunMode to Sync
LassieME/Discord.Net,RogueException/Discord.Net,AntiTcb/Discord.Net,Confruggy/Discord.Net
src/Discord.Net.Commands/CommandServiceConfig.cs
src/Discord.Net.Commands/CommandServiceConfig.cs
namespace Discord.Commands { public class CommandServiceConfig { /// <summary> The default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary> public RunMode DefaultRunMode { get; set; } = RunMode.Sync; /// <summary> Should commands be c...
namespace Discord.Commands { public class CommandServiceConfig { /// <summary> The default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary> public RunMode DefaultRunMode { get; set; } = RunMode.Mixed; /// <summary> Should commands be ...
mit
C#
2f581197d5740deccf1810965eb6016b626dafa7
change auth attribute to take in type
jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,nirvana-framework/Nirvana
src/Nirvana.Web/Security/NirvanaAuthAttribute.cs
src/Nirvana.Web/Security/NirvanaAuthAttribute.cs
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Claims; using System.Web.Http; using System.Web.Http.Controllers; using Nirvana.Security; namespace Nirvana.Web.Security { public class NirvanaAuthAttribute : AuthorizeAttribute { public NirvanaAuthAttribut...
using System.Linq; using System.Net; using System.Net.Http; using System.Security.Claims; using System.Web.Http; using System.Web.Http.Controllers; using Nirvana.Security; namespace Nirvana.Web.Security { public class NirvanaAuthAttribute : AuthorizeAttribute { public NirvanaAuthAttribute(AccessType? ...
apache-2.0
C#
48f39712953401c262cec372029421be03ce46e7
swap code
LayoutFarm/PixelFarm
src/Tests/Test_BasicPixelFarm/0_Start/Program.cs
src/Tests/Test_BasicPixelFarm/0_Start/Program.cs
//Apache2, 2014-present, WinterDev using System; namespace TestGraphicPackage2 { static class Program { [STAThread] static void Main(string[] args) { PixelFarm.Platforms.StorageService.RegisterProvider(new YourImplementation.LocalFileStorageProvider()); ...
//Apache2, 2014-present, WinterDev using System; namespace TestGraphicPackage2 { static class Program { [STAThread] static void Main(string[] args) { YourImplementation.TestBedStartup.Setup(); PixelFarm.Platforms.StorageService.RegisterProvider(new YourImplemen...
bsd-2-clause
C#