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
3a654c5df76ef0cb2c8f9b57bea0a42cf0f39d6d
Rework the client class.
0x2aff/WoWCore
Common/Network/Client.cs
Common/Network/Client.cs
/* MIT License * * Copyright (c) 2019 Stanislaw Schlosser <https://github.com/0x2aff> * * 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 limitat...
/* MIT License * * Copyright (c) 2019 Stanislaw Schlosser <https://github.com/0x2aff> * * 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 limitat...
mit
C#
8d010cfb5d9c38263cfb676071674b57d3277ebf
make the log noisy
darvell/Coremero
Coremero/Coremero/Log.cs
Coremero/Coremero/Log.cs
using System; using NLog; namespace Coremero { public static class Log { private static ILogger _logger; private static ILogger Logger { get { if (_logger == null) { _logger = LogManager.GetLogger("Coremero");...
using System; using NLog; namespace Coremero { public static class Log { private static ILogger _logger; private static ILogger Logger { get { if (_logger == null) { _logger = LogManager.GetLogger("Coremero");...
mit
C#
0ecd9d87190852ac7f9b3807887cd176844573d9
Handle empty MONO_PATH
0install/monopath-emulator
monopath-emulator.cs
monopath-emulator.cs
using System; using System.IO; using System.Reflection; using System.Windows.Forms; static class MonoPathEmulator { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static int Main(string[] args) { if (args.LongLength == 0) throw new ArgumentException("Missin...
using System; using System.IO; using System.Reflection; using System.Windows.Forms; static class MonoPathEmulator { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static int Main(string[] args) { if (args.LongLength == 0) throw new ArgumentException("Missin...
mit
C#
6370179e661a095c62f829eb2417c493329f6cc0
Mark Case.Duration and Case.Output as internal.
Duohong/fixie,fixie/fixie,KevM/fixie,bardoloi/fixie,EliotJones/fixie,bardoloi/fixie,JakeGinnivan/fixie
src/Fixie/Case.cs
src/Fixie/Case.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Fixie.Discovery; using Fixie.Execution; namespace Fixie { public class Case : BehaviorContext { readonly List<Exception> exceptions; public Case(MethodInfo caseMethod, params object[] parameters)...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Fixie.Discovery; using Fixie.Execution; namespace Fixie { public class Case : BehaviorContext { readonly List<Exception> exceptions; public Case(MethodInfo caseMethod, params object[] parameters)...
mit
C#
e4d8c3cec2387a953c77b35ff73374bfcb3e9075
Update Program.cs
proguerammer/SyncBot
SyncBotCLI/Program.cs
SyncBotCLI/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SyncBot.Core; namespace SyncBotCLI { class Program { static string user; static string password; static string workspace; static string server; static string path; static void Main(s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SyncBot.Core; namespace SyncBotCLI { class Program { static string user; static string password; static string workspace; static string server; static string path; static void Main(...
mit
C#
40d1d58bfd2ef9720d3cb3ee021d282220413c52
Update AlainAssaf.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/AlainAssaf.cs
src/Firehose.Web/Authors/AlainAssaf.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AlainAssaf : IAmACommunityMember { public string FirstName => "Alain"; public string LastNa...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AlainAssaf : IAmACommunityMember { public string FirstName => "Alain"; public string LastNa...
mit
C#
06bde4b9ab37e335970be5459ba6789687632ae8
Update GoneMobile.cs (#179)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/GoneMobile.cs
src/Firehose.Web/Authors/GoneMobile.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class GoneMobile : IAmACommunityMember { public string FirstName => "Gone"; public string LastName => "Mobile"; public string StateOrRegion => "Internet"; ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class GoneMobile : IAmACommunityMember { public string FirstName => "Gone"; public string LastName => "Mobile"; public string StateOrRegion => "Internet"; ...
mit
C#
f80156f134b6992699ffa19386babbbea1fb43c2
修改 Index View (新增Genere下拉選單).
NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie
src/MvcMovie/Views/Movies/Index.cshtml
src/MvcMovie/Views/Movies/Index.cshtml
@model IEnumerable<MvcMovie.Models.Movie> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <form asp-controller="Movies" asp-action="Index" method="get"> <p> Genre: @Html.DropDownList("movieGenre", "All") Title: <input type="text" name="Sear...
@model IEnumerable<MvcMovie.Models.Movie> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <form asp-controller="Movies" asp-action="Index" method="get"> <p> Title: <input type="text" name="SearchString"> <input type="submit" value="Filter" ...
apache-2.0
C#
30918c049db00a72ea309c2b5a1d6e8b98a76d7f
make static ScrapeHandler
phnx47/Prometheus.Client
src/Prometheus.Client/ScrapeHandler.cs
src/Prometheus.Client/ScrapeHandler.cs
using System.IO; using System.Linq; using Prometheus.Client.Collectors.Abstractions; namespace Prometheus.Client { public static class ScrapeHandler { public static void Process(ICollectorRegistry registry, Stream outputStream) { var collected = registry.CollectAll(); T...
using System.IO; using System.Linq; using Prometheus.Client.Collectors.Abstractions; namespace Prometheus.Client { public class ScrapeHandler { public static void Process(ICollectorRegistry registry, Stream outputStream) { var collected = registry.CollectAll(); TextForm...
mit
C#
45fa2da43337c14a5f6b655b24e4bd3869dd1828
use regex to normalize line endings
mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,dotnet/roslyn-analyzers,mavasani/roslyn-analyzers
src/Test.Utilities/StringExtensions.cs
src/Test.Utilities/StringExtensions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text.RegularExpressions; namespace Test.Utilities { public static class StringExtensions { public static string NormalizeLineEn...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Test.Utilities { public static class StringExtensions { public static string NormalizeLineEndings(this string input) { ...
mit
C#
341c0a84b87cfa804cd8ee73c89af708446962a8
Fix build, this is not allwoed on the method itself
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
bindings/src/Object.cs
bindings/src/Object.cs
// // Urho's Object C# sugar // // Authors: // Miguel de Icaza (miguel@xamarin.com) // // Copyrigh 2015 Xamarin INc // using System; using System.Runtime.InteropServices; namespace Urho { public partial class UrhoObject : RefCounted { // Invoked by the subscribe methods static void ObjectCallback (IntPtr da...
// // Urho's Object C# sugar // // Authors: // Miguel de Icaza (miguel@xamarin.com) // // Copyrigh 2015 Xamarin INc // using System; using System.Runtime.InteropServices; namespace Urho { public partial class UrhoObject : RefCounted { // Invoked by the subscribe methods [UnmanagedFunctionPointer(CallingConv...
mit
C#
2d1aa7397b9f7ec4865295c7262af0ba71cc7cc9
add GetUniqueIndexString()
yasokada/unity-160820-Inventory-UI
Assets/DataBaseManager.cs
Assets/DataBaseManager.cs
using UnityEngine; //using System.Collections; using System.IO; using System.Collections.Generic; using System.Linq; using NS_MyStringUtil; /* * - add GetUniqueIndexString() * v0.5 2016 Aug. 25 * - rename [kIndex_caseNo] to [kIndex_shelfNo] * v0.4 2016 Aug. 25 * - fix typo > [Resouce] to [Resource] * v0....
using UnityEngine; //using System.Collections; using System.IO; using System.Collections.Generic; using System.Linq; using NS_MyStringUtil; /* * - rename [kIndex_caseNo] to [kIndex_shelfNo] * v0.4 2016 Aug. 25 * - fix typo > [Resouce] to [Resource] * v0.3 2016 Aug. 24 * - GetString() takes [itemName] arg ...
mit
C#
a71fd7238a2952737b32ea8080214fff6c87a3fd
Add ToString for ChessPiece
ProgramFOX/Chess.NET
ChessDotNet/ChessPiece.cs
ChessDotNet/ChessPiece.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChessDotNet { public class ChessPiece { public Pieces Piece { get; private set; } public Players Player { g...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChessDotNet { public class ChessPiece { public Pieces Piece { get; private set; } public Players Player { g...
mit
C#
1f897473b7f4ee3532837f6d3c543bd8cf91a4d9
Bump version to 1.0.0.0-rc1
github-for-unity/Unity,github-for-unity/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.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
#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.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
mit
C#
58956a7053e6c6803ef648df062b928236b96342
bump revision
FacturAPI/facturapi-net
facturapi-net/Router/Router.cs
facturapi-net/Router/Router.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using Newtonsoft.Json; namespace Facturapi { internal static partial class Router { private static string UriWithQuery(string path, Dictionary<string, object> quer...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using Newtonsoft.Json; namespace Facturapi { internal static partial class Router { private static string UriWithQuery(string path, Dictionary<string, object> quer...
mit
C#
d1b1f048ed57a39510c5a809f2b8a3610e014dac
Use the new reflection API on .NET 4.5 and .NET Core
Thilas/commandline,anthonylangsworth/commandline,anthonylangsworth/commandline,Thilas/commandline
src/CommandLine/Core/Verb.cs
src/CommandLine/Core/Verb.cs
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using System.Linq; #if !NET40 using System.Reflection; #endif namespace CommandLine.Core { sealed class Verb ...
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using System.Linq; #if PLATFORM_DOTNET using System.Reflection; #endif namespace CommandLine.Core { sealed clas...
mit
C#
b603bbb894f0e4edd7a4b42c9e9a0dd2c8cfa9a2
Add skeleton code to main program
Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates
src/CurrencyRates/Program.cs
src/CurrencyRates/Program.cs
using System; namespace CurrencyRates { class Program { enum Actions { Fetch, Show }; static void Main(string[] args) { try { var action = Actions.Fetch; if (args.Length > 0) { ...
using CurrencyRates.Entity; using System; namespace CurrencyRates { class Program { static void Main(string[] args) { } } }
mit
C#
32bbb6ebe9eb4600ce8154903517e3760bb86f04
update Remove method to execute the request on its own
smartfile/client-csharp
SmartFile/SmartFile.cs
SmartFile/SmartFile.cs
using System; using System.Collections; using System.IO; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Web; using RestSharp; using RestSharp.Extensions; namespace SmartFile { public class Client : RestClient { // Constructor p...
using System; using System.Collections; using System.IO; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Web; using RestSharp; using RestSharp.Extensions; namespace SmartFile { public class Client : RestClient { // Constructor p...
bsd-3-clause
C#
3bf9c42b9472960e6aa93a4ef8fe64a0d38a516c
add generic access to IServiceContext
volak/Aggregates.NET,volak/Aggregates.NET
src/Aggregates.NET/ContextExtensions.cs
src/Aggregates.NET/ContextExtensions.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Aggregates.Contracts; namespace Aggregates { [ExcludeFromCodeCoverage] public static class ContextExtensions { public static TUnitOfWork App<TUnitOfWork>(this IServiceContext context) where TUni...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Aggregates.Contracts; namespace Aggregates { public static class ContextExtensions { public static TUnitOfWork App<TUnitOfWork>(this IServiceContext context) where TUnitOfWork : class, UnitOfWork.IA...
mit
C#
708d12bfd2d551af9053fac0a9fd63950dab57bc
update to dist location
ucdavis/Namster,ucdavis/Namster,ucdavis/Namster
src/Namster/Views/Shared/_Layout.cshtml
src/Namster/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - Namster</title> <link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-blue.min.css"...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - Namster</title> <link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-blue.min.css"...
mit
C#
a597d2d90c9eb44ca22a7c4fb55e636d043037bc
Bump version number to 0.11.1
Deadpikle/NetSparkle,Deadpikle/NetSparkle
AssemblyInfo.cs
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#
d40005b360385ae83eab0956422496bf32707509
Add remove method for cache
Mozu/mozu-dotnet,sanjaymandadi/mozu-dotnet,rocky0904/mozu-dotnet,ezekielthao/mozu-dotnet
SDK/Mozu.Api/Cache/CacheManager.cs
SDK/Mozu.Api/Cache/CacheManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Caching; using System.Text; using System.Threading.Tasks; namespace Mozu.Api.Cache { public class CacheManager { private readonly ObjectCache _cache; private static readonly object _lockObj = new Object(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Caching; using System.Text; using System.Threading.Tasks; namespace Mozu.Api.Cache { public class CacheManager { private readonly ObjectCache _cache; private static readonly object _lockObj = new Object(); ...
mit
C#
b6f6d0691537674ddc12fd2c207ed1470076cf2c
make test locale independent
wallymathieu/XmlUnit,wallymathieu/XmlUnit,wallymathieu/XmlUnit,wallymathieu/XmlUnit,wallymathieu/XmlUnit
xmlunit/tests/csharp/ValidatorTests.cs
xmlunit/tests/csharp/ValidatorTests.cs
namespace XmlUnit.Tests { using System; using System.IO; using System.Xml; using System.Xml.Schema; using NUnit.Framework; using XmlUnit; [TestFixture] public class ValidatorTests { public static readonly string VALID_FILE = ".\\..\\tests\\etc\\BookXsdGenerated.xml"; ...
namespace XmlUnit.Tests { using System; using System.IO; using System.Xml; using System.Xml.Schema; using NUnit.Framework; using XmlUnit; [TestFixture] public class ValidatorTests { public static readonly string VALID_FILE = ".\\..\\tests\\etc\\BookXsdGenerated.xml"; ...
bsd-3-clause
C#
46a4ce33dcbe94ef90d08f850833732c2344ffe8
Update Asset.cs
coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,...
data-api/csharp-rest/CoinAPI.REST.V1/DataModels/Asset.cs
data-api/csharp-rest/CoinAPI.REST.V1/DataModels/Asset.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoinAPI.REST.V1 { public class Asset { public string asset_id { get; set; } public string name { get; set; } public bool type_is_crypto { get; set; } publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoinAPI.REST.V1 { public class Asset { public string asset_id { get; set; } public string name { get; set; } public bool type_is_crypto { get; set; } publ...
mit
C#
0c36ff608221f613213d06e98bb406423f73f8a5
Fix ansi filename decoded as gibberish in zip file
majorsilence/sharpcompress,Gert-Jan/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress,KOLANICH/sharpcompress,adamhathcock/sharpcompress,sepehr1014/sharpcompress,Icenium/sharpcompress,weltkante/sharpcompress,RainsSoft/sharpcompress,ycaihua/sharpcompress,catester/sharpcompress,Wagnerp/sharpcompress,tabl...
SharpCompress/Common/ArchiveEncoding.cs
SharpCompress/Common/ArchiveEncoding.cs
using System.Globalization; using System.Text; namespace SharpCompress.Common { public class ArchiveEncoding { /// <summary> /// Default encoding to use when archive format doesn't specify one. /// </summary> public static Encoding Default; /// <summary> ...
using System.Globalization; using System.Text; namespace SharpCompress.Common { public class ArchiveEncoding { /// <summary> /// Default encoding to use when archive format doesn't specify one. /// </summary> public static Encoding Default; /// <summary> ...
mit
C#
1d5d62cb40b46583454c76d2d8cd2aae8e68c03f
Move Feed widget "Feed" categories to "General"
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/RSSFeed/Settings.cs
DesktopWidgets/Widgets/RSSFeed/Settings.cs
using System; using System.Collections.Generic; using System.ComponentModel; using DesktopWidgets.Classes; using DesktopWidgets.WidgetBase.Settings; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Widgets.RSSFeed { public class Settings : WidgetSettingsBase { public Settings(...
using System; using System.Collections.Generic; using System.ComponentModel; using DesktopWidgets.Classes; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.RSSFeed { public class Settings : WidgetSettingsBase { public Settings() { Style.FontSettings.FontSi...
apache-2.0
C#
d57fd401d850c197201a8576a0de7a43f3a214ce
remove magic numbers
rmterra/NesZord
src/NesZord.Core/Extensions/ByteExtension.cs
src/NesZord.Core/Extensions/ByteExtension.cs
using System; namespace NesZord.Core.Extensions { public static class ByteExtension { public const int HALF_BYTE = 4; public const int BCD_MAXIMUM_VALUE = 9; public static bool GetBitAt(this byte value, int index) { return (value & (1 << index)) != 0; } public static byte ConvertToBcd(this byte va...
using System; namespace NesZord.Core.Extensions { public static class ByteExtension { public static bool GetBitAt(this byte value, int index) { return (value & (1 << index)) != 0; } public static byte ConvertToBcd(this byte value) { var tenColumn = value >> 4; if (tenColumn > 9) { throw new Inva...
apache-2.0
C#
81a9ad997618bd32369244ca50d7f6061a733cea
微调卡牌概率。
Ivony/TableGames
Ivony.TableGame.SimpleGames/SimpleGame.cs
Ivony.TableGame.SimpleGames/SimpleGame.cs
using Ivony.TableGame.Basics; using Ivony.TableGame.SimpleGames.Rules; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ivony.TableGame.SimpleGames { public class SimpleGame : BasicGame<SimpleGamePlayer, SimpleGameCard> { public Si...
using Ivony.TableGame.Basics; using Ivony.TableGame.SimpleGames.Rules; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ivony.TableGame.SimpleGames { public class SimpleGame : BasicGame<SimpleGamePlayer, SimpleGameCard> { public Si...
apache-2.0
C#
9d5e4e966660819efb182f17ac69c9ed523266f0
Make LambdaEqualityHelper.Equals symmetric when exactly one argument is null
sushihangover/libgit2sharp,libgit2/libgit2sharp,jamill/libgit2sharp,rcorre/libgit2sharp,nulltoken/libgit2sharp,whoisj/libgit2sharp,yishaigalatzer/LibGit2SharpCheckOutTests,AMSadek/libgit2sharp,nulltoken/libgit2sharp,jamill/libgit2sharp,jeffhostetler/public_libgit2sharp,shana/libgit2sharp,ethomson/libgit2sharp,OidaTiftl...
LibGit2Sharp/Core/LambdaEqualityHelper.cs
LibGit2Sharp/Core/LambdaEqualityHelper.cs
using System; namespace LibGit2Sharp.Core { internal class LambdaEqualityHelper<T> { private readonly Func<T, object>[] equalityContributorAccessors; public LambdaEqualityHelper(params Func<T, object>[] equalityContributorAccessors) { this.equalityContributorAccessors = eq...
using System; namespace LibGit2Sharp.Core { internal class LambdaEqualityHelper<T> { private readonly Func<T, object>[] equalityContributorAccessors; public LambdaEqualityHelper(params Func<T, object>[] equalityContributorAccessors) { this.equalityContributorAccessors = eq...
mit
C#
f71af96528eadf8cb20488d56f78f7f4fb823137
Check the path (#364)
AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper
NuKeeper/Commands/LocalNuKeeperCommand.cs
NuKeeper/Commands/LocalNuKeeperCommand.cs
using McMaster.Extensions.CommandLineUtils; using NuKeeper.Configuration; using NuKeeper.Inspection.Logging; using System.IO; namespace NuKeeper.Commands { internal abstract class LocalNuKeeperCommand : CommandBase { [Argument(0, Description = "The path to a .sln or .csproj file, or to a directory cont...
using McMaster.Extensions.CommandLineUtils; using NuKeeper.Configuration; using NuKeeper.Inspection.Logging; namespace NuKeeper.Commands { internal abstract class LocalNuKeeperCommand : CommandBase { [Argument(0, Description = "The path to a .sln or .csproj file, or to a directory containing a .NET Cor...
apache-2.0
C#
a7356e59ee935ff356b012b30de1c8a55ae26736
Update IUserConfirmation.cs
tiksn/TIKSN-Framework
TIKSN.Core/Progress/IUserConfirmation.cs
TIKSN.Core/Progress/IUserConfirmation.cs
namespace TIKSN.Progress { public interface IUserConfirmation { bool ShouldContinue(string query, string caption); bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll); bool ShouldProcess(string target); bool ShouldProcess(string target, stri...
namespace TIKSN.Progress { public interface IUserConfirmation { bool ShouldContinue(string query, string caption); bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll); bool ShouldProcess(string target); bool ShouldProcess(string target, stri...
mit
C#
d4ec21640839b4bf9aaf8b3123e354f8e900ca7d
Add default behavior for delimited layout
forcewake/FlatFile
src/FlatFile.Delimited/Implementation/DelimitedLayout.cs
src/FlatFile.Delimited/Implementation/DelimitedLayout.cs
namespace FlatFile.Delimited.Implementation { using System; using System.Linq.Expressions; using FlatFile.Core; using FlatFile.Core.Base; public class DelimitedLayout<TTarget> : LayoutBase<TTarget, DelimitedFieldSettings, IDelimitedFieldSettingsConstructor, IDelimitedLayout<TTarget>>, ...
namespace FlatFile.Delimited.Implementation { using System; using System.Linq.Expressions; using FlatFile.Core; using FlatFile.Core.Base; public class DelimitedLayout<TTarget> : LayoutBase<TTarget, DelimitedFieldSettings, IDelimitedFieldSettingsConstructor, IDelimitedLayout<TTarget>>, ...
mit
C#
adef81632231c29a392cce98cfd0e291d251aa36
Fix get worker filename
henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer
src/HstWbInstaller.Imager.GuiApp/Helpers/WorkerHelper.cs
src/HstWbInstaller.Imager.GuiApp/Helpers/WorkerHelper.cs
namespace HstWbInstaller.Imager.GuiApp.Helpers { using System.IO; using Core.Helpers; public static class WorkerHelper { public static string GetWorkerFileName() { var executingFile = ApplicationDataHelper.GetExecutingFile(); return Path.GetExtension(executingFi...
namespace HstWbInstaller.Imager.GuiApp.Helpers { using System.IO; using Core.Helpers; public static class WorkerHelper { public static string GetWorkerFileName() { var executingFile = ApplicationDataHelper.GetExecutingFile(); return $"{Path.GetFileNameWithoutExt...
mit
C#
c5546c803e5ae56af672f6f937eb745a3fce4847
Update to use UTC instead of local time
Shuttle/shuttle-core-infrastructure,Shuttle/Shuttle.Core.Infrastructure
Shuttle.Core.Infrastructure/ThreadSleep.cs
Shuttle.Core.Infrastructure/ThreadSleep.cs
using System; using System.Threading; namespace Shuttle.Core.Infrastructure { public static class ThreadSleep { public const int MaxStepSize = 1000; public static void While(int ms, IThreadState state) { // step size should be as large as possible, // max step s...
using System; using System.Threading; namespace Shuttle.Core.Infrastructure { public static class ThreadSleep { public const int MaxStepSize = 1000; public static void While(int ms, IThreadState state) { // step size should be as large as possible, // max step s...
bsd-3-clause
C#
3d66527eec00b99774184cf0090056560f78503f
更新 DomTree 演示项目
yonglehou/Jumony,zpzgone/Jumony,yonglehou/Jumony,zpzgone/Jumony,wukaixian/Jumony,wukaixian/Jumony
WebSite/DomTree/App_Code/CacheProvider.cs
WebSite/DomTree/App_Code/CacheProvider.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using Ivony.Html.Web; using Ivony.Html.Web.Mvc; class CacheProvider : IMvcCachePolicyProvider { public CachePolicy CreateCachePolicy( ControllerContext context, ActionDescriptor a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using Ivony.Html.Web; using Ivony.Html.Web.Mvc; class CacheProvider : IMvcCachePolicyProvider { public CachePolicy CreateCachePolicy( ControllerContext context, ActionDescriptor a...
apache-2.0
C#
8dc8727bc307ea3aa610637f91e434598d443f35
Fix instructions screen back button
Nigh7Sh4de/shatterfall,Nigh7Sh4de/shatterfall
shatterfall/Assets/Scripts/selector.cs
shatterfall/Assets/Scripts/selector.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class selector : MonoBehaviour { public static int option; public List<GameObject> uiChoices; private float ready = 0; private float READY_DELAY = 0.2f; public bool selectable; public GameObject howToPlay; public AudioC...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class selector : MonoBehaviour { public static int option; public List<GameObject> uiChoices; private float ready = 0; private float READY_DELAY = 0.2f; public bool selectable; public GameObject howToPlay; public AudioC...
mit
C#
e31b6300eb3fe7c3306379800a7943cb4dbba52c
Rename variable
appharbor/appharbor-cli
src/AppHarbor/CompressionExtensions.cs
src/AppHarbor/CompressionExtensions.cs
using System.Collections.Generic; using System.IO; using System.Linq; using ICSharpCode.SharpZipLib.Tar; namespace AppHarbor { public static class CompressionExtensions { public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames) { var archive = TarArchive.Cr...
using System.Collections.Generic; using System.IO; using System.Linq; using ICSharpCode.SharpZipLib.Tar; namespace AppHarbor { public static class CompressionExtensions { public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames) { var archive = TarArchive.Cr...
mit
C#
580faf26a1041028a8a8585b74cc4a00ddda1a9e
Add bio and github handle for John Miller (#173)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/JohnMiller.cs
src/Firehose.Web/Authors/JohnMiller.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class JohnMiller : IWorkAtXamarinOrMicrosoft { public string FirstName => "John"; public string LastName => "Miller"; public string StateOrRegion => "Pennsylvania, USA"; ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class JohnMiller : IWorkAtXamarinOrMicrosoft { public string FirstName => "John"; public string LastName => "Miller"; public string StateOrRegion => "Pennsylvania, USA";...
mit
C#
94b95041453e636c5d127adc7084348fa157b222
Fix iOS app entry for raw keyboard input (#4780)
peppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,ZLima12/osu,NeoAdonis/osu,2yangk23/osu,Useless...
osu.iOS/Application.cs
osu.iOS/Application.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 UIKit; namespace osu.iOS { public class Application { public static void Main(string[] args) { UIApplication.Main(args, "GameU...
// 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 UIKit; namespace osu.iOS { public class Application { public static void Main(string[] args) { UIApplication.Main(args, null, ...
mit
C#
e9bb78175b804f655d4dafdb3c0f79295fefcebf
load jquery before everything else, not after
ribombee/mothman-dad-city,ribombee/mothman-dad-city,ribombee/mothman-dad-city,ribombee/mothman-dad-city
VLN2-H27/VLN2-H27/Views/Shared/_Layout.cshtml
VLN2-H27/VLN2-H27/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @Scripts.Render("~/bundles/jquery") </head...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
mit
C#
0f94acffbe812a6916e5c9102e0d4a28e04789f9
Change formatting to match C# style
versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla
VersionOne.ServiceHost.Core/Logging/Logger.cs
VersionOne.ServiceHost.Core/Logging/Logger.cs
using System; using System.Xml; using VersionOne.ServiceHost.Core.Configuration; using VersionOne.ServiceHost.Eventing; namespace VersionOne.ServiceHost.Core.Logging { public class Logger : ILogger { private readonly IEventManager eventManager; public Logger(IEventManager eventManager) ...
using System; using System.Xml; using VersionOne.ServiceHost.Core.Configuration; using VersionOne.ServiceHost.Eventing; namespace VersionOne.ServiceHost.Core.Logging { public class Logger : ILogger { private readonly IEventManager eventManager; public Logger(IEventManager eventManager) { ...
bsd-3-clause
C#
0db35ba4466ceb223a8478bc9b1d4f7a2df11b42
support detect lower case web.config
303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb
ZKWeb/ZKWeb.Hosting.AspNetCore/StartupBase.cs
ZKWeb/ZKWeb.Hosting.AspNetCore/StartupBase.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.PlatformAbstractions; using System; using System.IO; using System.Threading; using System.Threading.Tasks; using ZKWebStandard.Ioc; namespace ZKWeb.Hosting.AspNetCore { /// <summary> /// Base startup class ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.PlatformAbstractions; using System; using System.IO; using System.Threading; using System.Threading.Tasks; using ZKWebStandard.Ioc; namespace ZKWeb.Hosting.AspNetCore { /// <summary> /// Base startup class ...
mit
C#
05d5dfa18a30a0dabe49dc254dffef1e467c533f
Return 0xFF for an undefined cartridge read rather than 0x00
eightlittlebits/elbgb
elbgb_core/Memory/NullCartridge.cs
elbgb_core/Memory/NullCartridge.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace elbgb_core.Memory { class NullCartridge : Cartridge { public NullCartridge(CartridgeHeader header, byte[] romData) : base(header, romData) { } public override byte ReadByte(usho...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace elbgb_core.Memory { class NullCartridge : Cartridge { public NullCartridge(CartridgeHeader header, byte[] romData) : base(header, romData) { } public override byte ReadByte(usho...
mit
C#
547b0fac6ffbe8fc3168e3776b932e81b2a995c6
Use GtkWorkarounds to set a link handler
iainx/xwt,mminns/xwt,directhex/xwt,mono/xwt,lytico/xwt,mminns/xwt,residuum/xwt,TheBrainTech/xwt,antmicro/xwt,sevoku/xwt,cra0zy/xwt,hwthomas/xwt,steffenWi/xwt,akrisiun/xwt,hamekoz/xwt
Xwt.Gtk/Xwt.GtkBackend/LinkLabelBackend.cs
Xwt.Gtk/Xwt.GtkBackend/LinkLabelBackend.cs
// // LinkLabelBackend.cs // // Author: // Jérémie Laval <jeremie.laval@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 withou...
// // LinkLabelBackend.cs // // Author: // Jérémie Laval <jeremie.laval@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 withou...
mit
C#
1f1f1ecc042f8129416dca96be5d0aad7b046f6f
Change version to v1.1.3
darkautism/KautismSFOEditor
kautismSFOEditor/Properties/AssemblyInfo.cs
kautismSFOEditor/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 組件的一般資訊是由下列的屬性集控制。 // 變更這些屬性的值即可修改組件的相關 // 資訊。 [assembly: AssemblyTitle("kautismSFOEditor")] [assembly: AssemblyDescription("SFO Editor")] [assembly: AssemblyConfiguration("")] [assembly: A...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 組件的一般資訊是由下列的屬性集控制。 // 變更這些屬性的值即可修改組件的相關 // 資訊。 [assembly: AssemblyTitle("kautismSFOEditor")] [assembly: AssemblyDescription("SFO Editor")] [assembly: AssemblyConfiguration("")] [assembly: A...
mit
C#
6eb35ed750ba3981a55ec8021e4650221bb11859
Change priority of StrokeWatcherScheduler to Highest.
rubyu/CreviceApp,rubyu/CreviceApp
CreviceApp/GM.GestureMachine.cs
CreviceApp/GM.GestureMachine.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Crevice.GestureMachine { using System.Threading; using System.Drawing; using Crevice.Core.FSM; using Crevice.Core.Events; using Crevice.Threading; public class Gesture...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Crevice.GestureMachine { using System.Threading; using System.Drawing; using Crevice.Core.FSM; using Crevice.Core.Events; using Crevice.Threading; public class Gesture...
mit
C#
dbef076684fc3f34ab550a7ec7b35c38dd1cb545
add UpdateDate to DateEntity.
SorenZ/Alamut
src/Alamut.Data/Entity/IDateEntity.cs
src/Alamut.Data/Entity/IDateEntity.cs
using System; namespace Alamut.Data.Entity { public interface IDateEntity { DateTime CreateDate { get; set; } DateTime UpdateDate { get; set; } } /// <summary> /// just for use in mongo query builder /// mondo builder can't get serilization information of an interface ///...
using System; namespace Alamut.Data.Entity { public interface IDateEntity { DateTime CreateDate { get; set; } } /// <summary> /// just for use in mongo query builder /// mondo builder can't get serilization information of an interface /// </summary> public class DateEntity :...
mit
C#
c8ac0ed0e8a958a8cca3752c8b47a82f9c383328
update for sqlite benchmarks
jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad
02-sqlite/Program.cs
02-sqlite/Program.cs
using System; using System.Linq; using System.Collections.Generic; using Microsoft.Data.Entity; namespace ConsoleApp { public class Program { public static void Main() { using (var db = new BloggingContext()) { db.Blogs.RemoveRange(db.Blogs); ...
using System; using System.Linq; namespace ConsoleApp { public class Program { public static void Main() { var random = new Random(); using (var db = new BloggingContext()) { new string[] { "http://blogs.msd...
mit
C#
8e9ac4d674d7edcdd4b9c32b7d12ae9cc9db4ace
Add null/empty check (#5)
Fredi/NetIRC
src/NetIRC/Messages/RplNamReplyMessage.cs
src/NetIRC/Messages/RplNamReplyMessage.cs
using System.Collections.Generic; using System.Linq; namespace NetIRC.Messages { public class RplNamReplyMessage : IRCMessage, IServerMessage { public string Channel { get; } public Dictionary<string, string> Nicks { get; } private static char[] userStatuses = new[] { '@', '+' }; ...
using System.Collections.Generic; using System.Linq; namespace NetIRC.Messages { public class RplNamReplyMessage : IRCMessage, IServerMessage { public string Channel { get; } public Dictionary<string, string> Nicks { get; } private static char[] userStatuses = new[] { '@', '+' }; ...
mit
C#
e7c7917bf841ecd9c86139262b98ee76b0e24a77
Update svn properties.
cdbean/CySim,justinccdev/opensim,justinccdev/opensim,ft-/arribasim-dev-extras,AlexRa/opensim-mods-Alex,ft-/opensim-optimizations-wip-tests,AlexRa/opensim-mods-Alex,TechplexEngineer/Aurora-Sim,TomDataworks/opensim,N3X15/VoxelSim,rryk/omp-server,bravelittlescientist/opensim-performance,AlexRa/opensim-mods-Alex,RavenB/ope...
OpenSim/Framework/ConfigBase.cs
OpenSim/Framework/ConfigBase.cs
using System; using System.Collections.Generic; using System.Text; namespace OpenSim.Framework { public abstract class ConfigBase { protected ConfigurationMember m_configMember; } }
using System; using System.Collections.Generic; using System.Text; namespace OpenSim.Framework { public abstract class ConfigBase { protected ConfigurationMember m_configMember; } }
bsd-3-clause
C#
7fdffb6605b4952eb009cffca2f7f5ef1f50f822
Define private method Game#LetterIsCorrect
12joan/hangman
game.cs
game.cs
using System; using System.Collections.Generic; namespace Hangman { public class Game { public string Word; private List<char> GuessedLetters; public Game(string word) { Word = word; GuessedLetters = new List<char>(); } public string ShownWord() { return Word; } priva...
using System; using System.Collections.Generic; namespace Hangman { public class Game { public string Word; private List<char> GuessedLetters; public Game(string word) { Word = word; GuessedLetters = new List<char>(); } public string ShownWord() { return Word; } priva...
unlicense
C#
8af6a2e74478907a08bcd3aa71cb053061496baa
Make sure the OWIN sample runs
khellang/nancy-bootstrapper-prototype
samples/OwinApp/Program.cs
samples/OwinApp/Program.cs
namespace OwinApp { using System; using Microsoft.Owin.Hosting; using Nancy.Bootstrappers.Autofac; using Owin; using Nancy.Owin; public class Program { public static void Main(string[] args) { const string url = "http://localhost:5000"; using (WebAp...
namespace OwinApp { using System; using Microsoft.Owin.Hosting; using Owin; using Nancy.Owin; public class Program { public static void Main(string[] args) { const string url = "http://localhost:5000"; using (WebApp.Start(url, Configuration)) ...
apache-2.0
C#
5e81b0d0111bea2a38604e04a1c7ebad0f2e5aa5
Mark the GInterface registration delegates CDECL.
sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp
glib/GInterfaceAdapter.cs
glib/GInterfaceAdapter.cs
// GInterfaceAdapter.cs // // Author: Mike Kestner <mkestner@novell.com> // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // //...
// GInterfaceAdapter.cs // // Author: Mike Kestner <mkestner@novell.com> // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // //...
lgpl-2.1
C#
5f1584c4f18267e52424d774b6ec74bb5c6641b2
Add interval_count to the args and make trial_period_days explicit
xamarin/XamarinStripe,haithemaraissia/XamarinStripe
XamarinStripe/StripePlanInfo.cs
XamarinStripe/StripePlanInfo.cs
/* * Copyright 2011 Joe Dluzen * * Author(s): * Joe Dluzen (jdluzen@gmail.com) * * 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/LIC...
/* * Copyright 2011 Joe Dluzen * * Author(s): * Joe Dluzen (jdluzen@gmail.com) * * 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/LIC...
apache-2.0
C#
17041a0f490036d3ba2681cff63d8004c3a49ce0
Initialize LoginCommand with an AccessTokenFetcher rather than AppHarborApi
appharbor/appharbor-cli
src/AppHarbor/Commands/LoginCommand.cs
src/AppHarbor/Commands/LoginCommand.cs
using System; namespace AppHarbor.Commands { public class LoginCommand : ICommand { private readonly AccessTokenFetcher _accessTokenFetcher; private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration; public LoginCommand(AccessTokenFetcher accessTokenFetcher, EnvironmentVariableConfi...
using System; namespace AppHarbor.Commands { public class LoginCommand : ICommand { private readonly AppHarborApi _appHarborApi; private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration; public LoginCommand(AppHarborApi appHarborApi, EnvironmentVariableConfiguration environmentVari...
mit
C#
cb66e7474e0a35b2e625ab266645fdbe875ed1e7
Use count from event stream. Same fix applied in b860265961b414b3840bae8bdea0445015febe42
ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten
src/Marten/Events/EventStore.Append.cs
src/Marten/Events/EventStore.Append.cs
using System; using System.Collections.Generic; using System.Linq; #nullable enable namespace Marten.Events { internal partial class EventStore { public StreamAction Append(Guid stream, IEnumerable<object> events) { //TODO NRT: We're ignoring null here as to not unintentionally cha...
using System; using System.Collections.Generic; using System.Linq; #nullable enable namespace Marten.Events { internal partial class EventStore { public StreamAction Append(Guid stream, IEnumerable<object> events) { //TODO NRT: We're ignoring null here as to not unintentionally cha...
mit
C#
aea75be169ed001ce1c0ec4c0701c40f63a58e63
Use received function parameter rather than closure
moq/moq.proxy
src/Moq.Proxy.Tests/ManualProxyTest.cs
src/Moq.Proxy.Tests/ManualProxyTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Moq.Proxy.Tests { public class ManualProxyTest { } public interface ICalculator { int Add (int x, int y); } public class CalculatorProxy : ICalculator, IPro...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Moq.Proxy.Tests { public class ManualProxyTest { } public interface ICalculator { int Add (int x, int y); } public class CalculatorProxy : ICalculator, IPro...
mit
C#
39b002a5127e7294d6c02d64a29d31c8eebe2f22
Add code documentation to the IPalmValue
haefele/PalmDB
src/PalmDB/Serialization/IPalmValue.cs
src/PalmDB/Serialization/IPalmValue.cs
using System.IO; using System.Threading.Tasks; namespace PalmDB.Serialization { /// <summary> /// Handles reading and writing of the specified <typeparamref name="T"/> in a palm database file. /// </summary> /// <typeparam name="T">The type of value this class can read and write.</typeparam> inter...
using System.IO; using System.Threading.Tasks; namespace PalmDB.Serialization { internal interface IPalmValue<T> { Task<T> ReadValueAsync(AsyncBinaryReader reader); Task WriteValueAsync(AsyncBinaryWriter writer, T value); } }
mit
C#
bdffd7d8ecf87e8573d81a0082aea940dab95096
Change placement of anchors to left
gep13/gep13,gep13/gep13,gep13/gep13,gep13/gep13
input/_Scripts.cshtml
input/_Scripts.cshtml
<script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'gep13'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function () { var s = document.createElement('script'); s...
<script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'gep13'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function () { var s = document.createElement('script'); s...
mit
C#
4a50207b8df0ac9d03d9c464e276835eecbe2b53
Change camera controller
tino113/TowerDefence
Assets/Scripts/Camera/CameraController.cs
Assets/Scripts/Camera/CameraController.cs
using UnityEngine; using System.Collections; public class CameraController : MonoBehaviour { public float startX; public float startZ; public float zoomSpeed = 40f; private float zoomDamping = 6f; private float moveSpeed = 2f; private float moveDamping = 20f; private float minY = 5f; private float maxY = 5...
using UnityEngine; using System.Collections; public class CameraController : MonoBehaviour { public float startX; public float startZ; public float zoomSpeed = 40f; private float zoomDamping = 6f; private float moveSpeed = 2f; private float moveDamping = 20f; private float minY = 5f; private float maxY = 5...
apache-2.0
C#
780cda0faae0142ba86b1f665f928261ce1dc242
Fix minor bug for mix mode.
shenchi/MiniWar
Assets/Scripts/Phases/GP_ResourcePhase.cs
Assets/Scripts/Phases/GP_ResourcePhase.cs
using UnityEngine; using System.Collections; public class GP_ResourcePhase : Phase { /* public override void OnEnter() { base.OnEnter(); var hexes = TowerManager.Instance.GetHexagonsInRange(CurrentPlayer, TowerType.ResourceTower); var vision = RangeUtils.GetPlayerVisionServer(Curr...
using UnityEngine; using System.Collections; public class GP_ResourcePhase : Phase { public override void OnEnter() { base.OnEnter(); var hexes = TowerManager.Instance.GetHexagonsInRange(CurrentPlayer, TowerType.ResourceTower); var vision = RangeUtils.GetPlayerVisionServer(CurrentPla...
mit
C#
f0fc2b0a5fd795dcf5fa7cab4a6dada5b7c5c33e
Initialize ApplicationConfiguration with an IFileSystem
appharbor/appharbor-cli
src/AppHarbor/ApplicationConfiguration.cs
src/AppHarbor/ApplicationConfiguration.cs
namespace AppHarbor { public class ApplicationConfiguration { private readonly IFileSystem _fileSystem; public ApplicationConfiguration(IFileSystem fileSystem) { _fileSystem = fileSystem; } } }
namespace AppHarbor { public class ApplicationConfiguration { } }
mit
C#
0861ee0c8e985bb413681037ab54ea00f1910d82
Make Icon rotate when clicking ShowRepliesButton
smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu
osu.Game/Overlays/Comments/Buttons/ShowRepliesButton.cs
osu.Game/Overlays/Comments/Buttons/ShowRepliesButton.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 Humanizer; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Input.Events; using osuTK; namespace osu.Game.Overlays.Comments.Button...
// 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 Humanizer; namespace osu.Game.Overlays.Comments.Buttons { public class ShowRepliesButton : CommentRepliesButton { private readonly int count; ...
mit
C#
09fb4ad84c563228ef940fd0a072b6dfa593277a
Fix climbing on destroyed blocks
BrianShiau/TeamVelociraptor2
Assets/Scripts/Player.cs
Assets/Scripts/Player.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; public class Player : MonoBehaviour { public float speed = 10.0f; public float climbSpeed = 10f; public bool grounded = false; public bool climbing = false; public bool onCorner = false; public R...
using UnityEngine; using System.Collections; public class Player : MonoBehaviour { public float speed = 10.0f; public float climbSpeed = 10f; public bool grounded = false; public bool climbing = false; public bool onCorner = false; public Rigidbody2D rb; public Collider2D playerBounds; ...
mit
C#
3ef8b625064c776e65d463a065fee5191ac1959f
Update Program.cs
chemadvisor/chemapi_csharp_example
ConsoleClient/Program.cs
ConsoleClient/Program.cs
/* * Copyright (c) 2017 ChemADVISOR, Inc. All rights reserved. * Licensed under The MIT License (MIT) * https://opensource.org/licenses/MIT */ using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace ConsoleClient { internal class Program {...
/* * Copyright (c) 2017 ChemADVISOR, Inc. All rights reserved. * Licensed under The MIT License (MIT) * https://opensource.org/licenses/MIT */ using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace ConsoleClient { internal class Program {...
mit
C#
f16efd65135891534e83010031cc27f8e15fa926
fix version
Fody/Obsolete
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("4.2.4")] [assembly: AssemblyFileVersion("4.2.4")]
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("4.2.3")] [assembly: AssemblyFileVersion("4.2.3")]
mit
C#
479d463a4a21836c5cdcf9180e1de86a0e943d1b
Update Exception message to feature app ID, instead of API Key.
telerik/platform-friends-windowsphone
ConnectionSettings.cs
ConnectionSettings.cs
using System; namespace Telerik.Windows.Controls.Cloud.Sample { /// <summary> /// Contains properties used to initialize the Backend Services and Analytics connections. /// </summary> public static class ConnectionSettings { /// <summary>  /// Input your Backend Services App ID bel...
using System; namespace Telerik.Windows.Controls.Cloud.Sample { /// <summary> /// Contains properties used to initialize the Backend Services and Analytics connections. /// </summary> public static class ConnectionSettings { /// <summary>  /// Input your Backend Services App ID bel...
bsd-2-clause
C#
9f71e18a835a0d333d6aac0d9f73c4da24b9ee6a
Send keystrokes to the console main window
awaescher/RepoZ,awaescher/RepoZ
Grr/ConsoleExtensions.cs
Grr/ConsoleExtensions.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Grr { public static class ConsoleExtensions { [DllImport("User32.dll")] static extern int SetF...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Grr { public static class ConsoleExtensions { [DllImport("User32.dll")] static extern int SetF...
mit
C#
7c5541efc058b3a1375611307aaebf5d897c74e5
Update PageDocumentDock.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/ViewModels/Docking/Docks/PageDocumentDock.cs
src/Core2D/ViewModels/Docking/Docks/PageDocumentDock.cs
using Core2D.ViewModels.Docking.Documents; using Dock.Model.ReactiveUI.Controls; using ReactiveUI; namespace Core2D.ViewModels.Docking.Docks { public class PageDocumentDock : DocumentDock { public PageDocumentDock() { CreateDocument = ReactiveCommand.Create(CreatePage); } ...
using Core2D.ViewModels.Docking.Documents; using Dock.Model.ReactiveUI.Controls; using ReactiveUI; namespace Core2D.ViewModels.Docking.Docks { public class PageDocumentDock : DocumentDock { public PageDocumentDock() { CreateDocument = ReactiveCommand.Create(CreatePage); } ...
mit
C#
cbbaf8596c2e08393fdbca0e9c881cf60976f535
Update TransferRequestDto.cs
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts/Dtos/TransferRequestDto.cs
src/SFA.DAS.EmployerAccounts/Dtos/TransferRequestDto.cs
using SFA.DAS.CommitmentsV2.Types; using System; using SFA.DAS.EmployerAccounts.Models.TransferConnections; namespace SFA.DAS.EmployerAccounts.Dtos { public class TransferRequestDto { public DateTime CreatedDate { get; set; } public AccountDto ReceiverAccount { get; set; } public Accou...
using SFA.DAS.CommitmentsV2.Types; using System; namespace SFA.DAS.EmployerAccounts.Dtos { public class TransferRequestDto { public DateTime CreatedDate { get; set; } public AccountDto ReceiverAccount { get; set; } public AccountDto SenderAccount { get; set; } public TransferAp...
mit
C#
5fefccd21f38401305b9215aab6c5d441523f388
update test data for profiler test
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
test/WeihanLi.Common.Test/ProfilerTest.cs
test/WeihanLi.Common.Test/ProfilerTest.cs
using System.Threading; using Xunit; namespace WeihanLi.Common.Test { public class ProfilerTest { [Theory] [InlineData(500)] [InlineData(1000)] [InlineData(2000)] public void StopWatchProfileTest(int delay) { var profiler = new StopwatchProfiler(); ...
using System.Threading; using Xunit; namespace WeihanLi.Common.Test { public class ProfilerTest { [Theory] [InlineData(200)] [InlineData(500)] [InlineData(1000)] public void StopWatchProfileTest(int delay) { var profiler = new StopwatchProfiler(); ...
mit
C#
b8378647ff2a1f8d6f14aedbf8c0e77251bc9a9b
change Unit.ToString result
acple/ParsecSharp
ParsecSharp/Core/Unit.cs
ParsecSharp/Core/Unit.cs
using System; namespace ParsecSharp { public readonly struct Unit : IComparable<Unit>, IEquatable<Unit> { public static Unit Instance => default; public int CompareTo(Unit other) => 0; public bool Equals(Unit other) => true; public override bool Equals...
using System; namespace ParsecSharp { public readonly struct Unit : IComparable<Unit>, IEquatable<Unit> { public static Unit Instance => default; public int CompareTo(Unit other) => 0; public bool Equals(Unit other) => true; public override bool Equals...
mit
C#
010f7021ba0dff937d6dd92c5bfd851636f1c868
Correct names of test methods
danielwertheim/myinfluxdbclient
src/tests/MyInfluxDbClient.UnitTests/ShowSeriesTests.cs
src/tests/MyInfluxDbClient.UnitTests/ShowSeriesTests.cs
using FluentAssertions; using NUnit.Framework; namespace MyInfluxDbClient.UnitTests { public class ShowSeriesTests : UnitTestsOf<ShowSeries> { [Test] public void Generate_Should_return_show_series_When_constructed_empty() { SUT = new ShowSeries(); SUT.Generate()...
using FluentAssertions; using NUnit.Framework; namespace MyInfluxDbClient.UnitTests { public class ShowSeriesTests : UnitTestsOf<ShowSeries> { [Test] public void Generate_Should_return_drop_series_When_constructed_empty() { SUT = new ShowSeries(); SUT.Generate()...
mit
C#
9ef0e7ff02793c7c795bada42a00859e237d12fc
Fix wrong zone assignment.
Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions
Extensions/Flows/Drivers/AdditionalStylingPartDisplay.cs
Extensions/Flows/Drivers/AdditionalStylingPartDisplay.cs
using Lombiq.HelpfulExtensions.Extensions.Flows.Models; using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.DisplayManagement.ModelBinding; using OrchardCore.DisplayManagement.Views; using System.Threading.Tasks; namespace Lombiq.HelpfulExtensions.E...
using Lombiq.HelpfulExtensions.Extensions.Flows.Models; using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.DisplayManagement.ModelBinding; using OrchardCore.DisplayManagement.Views; using System.Threading.Tasks; namespace Lombiq.HelpfulExtensions.E...
bsd-3-clause
C#
76e6196534f3d41643b074e22650996eeb4617ec
clean code
vostok/core
Vostok.Core.Tests/RetriableCall/ExceptionFinder_Tests.cs
Vostok.Core.Tests/RetriableCall/ExceptionFinder_Tests.cs
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; namespace Vostok.RetriableCall { public class ExceptionFinder_Tests { private static IEnumerable<object[]> GenerateTestCases() { var invalidDataException = new InvalidDataException("invdata"); ...
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; namespace Vostok.RetriableCall { public class ExceptionFinder_Tests { private static IEnumerable<object[]> GenerateTestCases() { var invalidDataException = new InvalidDataException("invdata"); ...
mit
C#
2cf248b139e1cf036a9888d6fb6d2ba819f68d39
Add proptotyping changes to file userAuth.cpl.cs
ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate
userAuth.cpl/userAuth.cpl/userAuth.cpl.cs
userAuth.cpl/userAuth.cpl/userAuth.cpl.cs
using System; using Xamarin.Forms; namespace userAuth.cpl { public class App : Application { public App () { // The root page of your application MainPage = new ContentPage { Content = new StackLayout { VerticalOptions = LayoutOptions.Center, Children = { new Label { XAlign = T...
using System; using Xamarin.Forms; namespace userAuth.cpl { public class App : Application { public App () { // The root page of your application MainPage = new ContentPage { Content = new StackLayout { VerticalOptions = LayoutOptions.Center, Children = { new Label { XAlign = T...
mit
C#
c5986bc8bf0b814e3c046b74b4b8c62d77806408
Create health value field
bartlomiejwolk/Health
HealthComponent/Health.cs
HealthComponent/Health.cs
using UnityEngine; using System.Collections; namespace HealthEx.HealthComponent { public sealed class Health : MonoBehaviour { #region CONSTANTS public const string Version = "v0.1.0"; public const string Extension = "Health"; #endregion #region DELEGATES #endr...
using UnityEngine; using System.Collections; namespace HealthEx.HealthComponent { public sealed class Health : MonoBehaviour { #region CONSTANTS public const string Version = "v0.1.0"; public const string Extension = "Health"; #endregion #region DELEGATES #endr...
mit
C#
ac585cec26a9c55864e091f941256a5e6e3cfda9
Fix attemp for the Flags Issue inside the CountryListBox.
moorehojer/YAFNET,YAFNET/YAFNET,mexxanit/YAFNET,mexxanit/YAFNET,Pathfinder-Fr/YAFNET,moorehojer/YAFNET,moorehojer/YAFNET,Pathfinder-Fr/YAFNET,mexxanit/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET
yafsrc/YAF.Controls/CountryListBox.cs
yafsrc/YAF.Controls/CountryListBox.cs
/* Yet Another Forum.NET * Copyright (C) 2006-2011 Jaben Cargman * http://www.yetanotherforum.net/ * * 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; either version 2 * of the Lice...
/* Yet Another Forum.NET * Copyright (C) 2006-2011 Jaben Cargman * http://www.yetanotherforum.net/ * * 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; either version 2 * of the Lice...
apache-2.0
C#
dc78c68f129ed1413d72f15b7145fd8232fb45bc
Change starting line in script processor to 1 instead of 0 for easier debugging
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Resources/ScriptLoader.cs
Resources/ScriptLoader.cs
using System; using System.IO; using System.Text; using System.Windows.Forms; using CefSharp; using CefSharp.WinForms; namespace TweetDck.Resources{ static class ScriptLoader{ private const string UrlPrefix = "td:"; public static string LoadResource(string name){ try{ ...
using System; using System.IO; using System.Text; using System.Windows.Forms; using CefSharp; using CefSharp.WinForms; namespace TweetDck.Resources{ static class ScriptLoader{ private const string UrlPrefix = "td:"; public static string LoadResource(string name){ try{ ...
mit
C#
3e03a6c98b673c3622e31339ab3d3f9c00ea9489
Fix for segfault on end of Qt test
TobiasKappe/Selene,TobiasKappe/Selene
Selene.Testing/Harness.cs
Selene.Testing/Harness.cs
using System; using NUnit.Framework; using Gtk; using Qyoto; namespace Selene.Testing { [TestFixture] public partial class Harness { [TestFixtureSetUp] public void Setup() { #if GTK string[] Dummy = new string[] { }; Init.Check(ref Dummy); #endif #if QYOTO ...
using System; using NUnit.Framework; using Gtk; using Qyoto; namespace Selene.Testing { [TestFixture] public partial class Harness { [TestFixtureSetUp] public void Setup() { #if GTK string[] Dummy = new string[] { }; Init.Check(ref Dummy); #endif #if QYOTO ...
mit
C#
68911c571c585aeec48ec5074c2bab081571a5d3
Create a hysteresis observable transform.
s-soltys/PoolVR
Assets/PoolVR/Util/GeneratedSignals.cs
Assets/PoolVR/Util/GeneratedSignals.cs
using System; using System.Collections; using System.Collections.Generic; using UniRx; using UnityEngine; public static class GeneratedSignals { public static IObservable<float> CreateTriangleSignal(float period) { return Observable.IntervalFrame(1, FrameCountType.Update) .Scan(0f, (c, _) ...
using System.Collections; using System.Collections.Generic; using UniRx; using UnityEngine; public class GeneratedSignals { public static IObservable<float> CreateTriangleSignal(float period) { return Observable.IntervalFrame(1, FrameCountType.Update) .Scan(0f, (c, _) => c + Time.deltaTime...
mit
C#
aba6968c961e24f0bb1935ed3534502b343a411e
Fix media player allocation error
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/MediaPlayerStore.cs
DesktopWidgets/Classes/MediaPlayerStore.cs
using System.Collections.Generic; using System.IO; using System.Threading; using DesktopWidgets.Properties; using WMPLib; namespace DesktopWidgets.Classes { public static class MediaPlayerStore { private static readonly List<WindowsMediaPlayer> MediaPlayers = new List<WindowsMediaPlayer> { ...
using System.Collections.Generic; using System.IO; using System.Threading; using DesktopWidgets.Properties; using WMPLib; namespace DesktopWidgets.Classes { public static class MediaPlayerStore { private static readonly List<WindowsMediaPlayer> _mediaPlayerList = new List<WindowsMediaPlayer>(); ...
apache-2.0
C#
781556b927ec887aaf2738f557ba4876e25d611d
Archive build task fix Process.Start
hatton/libpalaso,ddaspit/libpalaso,gmartin7/libpalaso,hatton/libpalaso,JohnThomson/libpalaso,JohnThomson/libpalaso,andrew-polk/libpalaso,ddaspit/libpalaso,tombogle/libpalaso,tombogle/libpalaso,marksvc/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,gtr...
Palaso.MSBuildTasks/Archive/Archive.cs
Palaso.MSBuildTasks/Archive/Archive.cs
using System; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks.Archive { public class Archive : Task { [Required] public ITaskItem[] InputFilePaths { get; set; } [Required] public string Command { get;...
using System; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks.Archive { public class Archive : Task { [Required] public ITaskItem[] InputFilePaths { get; set; } [Required] public string Command { get;...
mit
C#
a074aa86869b77500b3e574967e903f102e21cec
Allow broken Organization->Parent link
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Core/Domain/Organization.cs
Purchasing.Core/Domain/Organization.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using FluentNHibernate.Mapping; using UCDArch.Core.DomainModel; namespace Purchasing.Core.Domain { public class Organization : DomainObjectWithTypedId<string> { public Organization() { Accounts = new Lis...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using FluentNHibernate.Mapping; using UCDArch.Core.DomainModel; namespace Purchasing.Core.Domain { public class Organization : DomainObjectWithTypedId<string> { public Organization() { Accounts = new Lis...
mit
C#
6f2cf2d9a55d80f5e42cfabdd8ffd5fa1749cebe
handle paths with non-BMP characters
milleniumbug/Taxonomy
TaxonomyWpf/NativeExplorerInterface.cs
TaxonomyWpf/NativeExplorerInterface.cs
using System; using System.Drawing; using System.Runtime.InteropServices; namespace TaxonomyWpf { public static class NativeExplorerInterface { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] private struct SHFILEINFO { public IntPtr hIcon; public int iIcon; public uint dwAttributes;...
using System; using System.Drawing; using System.Runtime.InteropServices; namespace TaxonomyWpf { public static class NativeExplorerInterface { [StructLayout(LayoutKind.Sequential)] private struct SHFILEINFO { public IntPtr hIcon; public int iIcon; public uint dwAttributes; [MarshalAs(UnmanagedTyp...
mit
C#
b67372a10c2e8362d010d23c7aa901858f5c0db4
Add ability to specify xml root without decorating the target class.
bfriesen/Rock.Messaging,peteraritchie/Rock.Messaging,RockFramework/Rock.Messaging
Rock.Messaging/Routing/XmlMessageParser.cs
Rock.Messaging/Routing/XmlMessageParser.cs
using System; using System.Collections.Concurrent; using System.IO; using System.Text.RegularExpressions; using System.Xml.Serialization; namespace Rock.Messaging.Routing { public class XmlMessageParser : IMessageParser { private readonly ConcurrentDictionary<Type, XmlRootAttribute> _xmlRootAttributes...
using System; using System.IO; using System.Text.RegularExpressions; using System.Xml.Serialization; namespace Rock.Messaging.Routing { public class XmlMessageParser : IMessageParser { public string GetTypeName(Type type) { var xmlRootAttribute = Attribute.GetCustomAttribute(type, ...
mit
C#
c09560332bff3d7343832a199e8957a4472aa551
allow to specify return type for ctor delegate
rolembergfilho/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,linpiero/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,volkanceylan/Serenity,linpiero/Serenity,WasimAhmad/Serenity,dfaruque...
Serenity.Core/Reflection/FastReflection.cs
Serenity.Core/Reflection/FastReflection.cs
using System; using System.Reflection.Emit; namespace Serenity.Reflection { public static class FastReflection { public static Func<object> DelegateForConstructor(Type type) { return DelegateForConstructor<object>(type); } public static Func<TReturn> De...
using System; using System.Reflection.Emit; namespace Serenity.Reflection { public static class FastReflection { public static Func<object> DelegateForConstructor(Type type) { var ctor = type.GetConstructor(Type.EmptyTypes); if (ctor == null) ...
mit
C#
d4b22936af9d406351ce6c54eb16ab333d367bcf
fix net 35
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress,weltkante/sharpcompress
SharpCompress/Writer/IWriter.Extensions.cs
SharpCompress/Writer/IWriter.Extensions.cs
using System; using System.IO; namespace SharpCompress.Writer { public static class IWriterExtensions { public static void Write(this IWriter writer, string entryPath, Stream source) { writer.Write(entryPath, source, null); } #if !DOTNET51 public stati...
using System; using System.IO; namespace SharpCompress.Writer { public static class IWriterExtensions { public static void Write(this IWriter writer, string entryPath, Stream source) { writer.Write(entryPath, source, null); } #if !DOTNET51 public stati...
mit
C#
324bd7b8af72589156b237ec8e8948af131d0f67
remove sc from soracoins aliases bcs its also soundcloud
Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2
SoraBot-v2/SoraBot-v2/Module/CoinModule.cs
SoraBot-v2/SoraBot-v2/Module/CoinModule.cs
using System; using System.Threading.Tasks; using Discord.Commands; using Discord.WebSocket; using Humanizer; using Humanizer.Localisation; using SoraBot_v2.Data; using SoraBot_v2.Services; namespace SoraBot_v2.Module { public class CoinModule : ModuleBase<SocketCommandContext> { private CoinService _...
using System; using System.Threading.Tasks; using Discord.Commands; using Discord.WebSocket; using Humanizer; using Humanizer.Localisation; using SoraBot_v2.Data; using SoraBot_v2.Services; namespace SoraBot_v2.Module { public class CoinModule : ModuleBase<SocketCommandContext> { private CoinService _...
agpl-3.0
C#
2c1d60f22eb45fd8abc0519fe7e414e2c8bce8c8
debug lines and code clean
ivrToolkit/ivrToolkit
ivrToolkit.Core/Util/TenantSingleton.cs
ivrToolkit.Core/Util/TenantSingleton.cs
using System; using System.IO; using NLog; namespace ivrToolkit.Core.Util { public class TenantSingleton { private static TenantSingleton _instance; private readonly string _tenantDirectory; private readonly string _tenant = ""; private static readonly Logger Logger = LogManag...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace ivrToolkit.Core.Util { public class TenantSingleton { private static TenantSingleton instance; private string _tenantDirectory; private string _tenant = ""; private...
apache-2.0
C#
080351e7c47ba8b979b3daacd4ec4310b6e7c5d2
Tidy up indent. EF7 sucks, so I'm putting this project on hold until they get their shit together and implement complex types.
tintoy/version-management-v2,tintoy/version-management-v2
src/version-management/DataAccess/Models/VersionRange.cs
src/version-management/DataAccess/Models/VersionRange.cs
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DD.Cloud.VersionManagement.DataAccess.Models { public class VersionRange { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]...
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DD.Cloud.VersionManagement.DataAccess.Models { public class VersionRange { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]...
mit
C#
0ffc7ace851eda3a1ff02e79e7215815418fe6ba
update version
PxAndy/WpfMultiStyle
WpfMultiStyle/Properties/AssemblyInfo.cs
WpfMultiStyle/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("WpfMultiStyle")] [assembly: AssemblyDescription("Apply multiple styles to one element for WPF.")] [assembly: AssemblyConfiguration("")] [assem...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("WpfMultiStyle")] [assembly: AssemblyDescription("Apply multiple styles to one element for WPF.")] [assembly: AssemblyConfiguration("")] [assem...
mit
C#
25dc603712ef0580061d8ced0f0ef7340eafd0a7
Use GraphicsPath.Clone to get clone
mono/xwt,hamekoz/xwt,TheBrainTech/xwt,sevoku/xwt,akrisiun/xwt,steffenWi/xwt,mminns/xwt,hwthomas/xwt,residuum/xwt,lytico/xwt,iainx/xwt,antmicro/xwt,directhex/xwt,mminns/xwt,cra0zy/xwt
Xwt.WPF/Xwt.WPFBackend/DrawingContext.cs
Xwt.WPF/Xwt.WPFBackend/DrawingContext.cs
// // DrawingContext.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 restr...
// // DrawingContext.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 restr...
mit
C#
255b63592057d634656b74add7636a454247ad6f
Update GlobalAssemblyInfo.cs
joelhulen/Polly,michael-wolfenden/Polly
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyProduct("Polly")] [assembly: AssemblyCompany("App vNext")] [assembly: AssemblyDescription("Polly is a library that allows developers to express transient exception handling policies such as Retry, Retry Forever, Wait and Retry or Circuit Breaker in a fluent manner.")] [assem...
using System.Reflection; [assembly: AssemblyProduct("Polly")] [assembly: AssemblyCompany("Michael Wolfenden")] [assembly: AssemblyDescription("Polly is a library that allows developers to express transient exception handling policies such as Retry, Retry Forever, Wait and Retry or Circuit Breaker in a fluent manner.")...
bsd-3-clause
C#
67b4886ee2c9cdf959fd6cf03d5ac479fe4bc021
Throw exceptions if calling AsXml or Save on the OrphanProject
den-mentiei/omnisharp-vim,nosami/omnisharp-vim,OmniSharp/omnisharp-vim,OmniSharp/omnisharp-vim,AndBicScadMedia/omnisharp-vim,OmniSharp/omnisharp-vim,anurse/omnisharp-vim
server/OmniSharp/Solution/OrphanProject.cs
server/OmniSharp/Solution/OrphanProject.cs
using System; using System.Collections.Generic; using System.Xml.Linq; using ICSharpCode.NRefactory.CSharp; using ICSharpCode.NRefactory.TypeSystem; namespace OmniSharp.Solution { /// <summary> /// Placeholder that can be used for files that don't belong to a project. /// </summary> public class Orpha...
using System.Collections.Generic; using System.Xml.Linq; using ICSharpCode.NRefactory.CSharp; using ICSharpCode.NRefactory.TypeSystem; namespace OmniSharp.Solution { /// <summary> /// Placeholder that can be used for files that don't belong to a project. /// </summary> public class OrphanProject : IPr...
mit
C#
c6a32bea8f4fc4388f0601af3027c37e9f7feddd
fix to normalize virtual paths to match format stored in precompiled lookups
RazorGenerator/RazorGenerator,wizzardmr42/RazorGenerator,RazorGenerator/RazorGenerator
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System; using System.Reflection; [assembly: AssemblyVersion("2.0.0")] [assembly: AssemblyProduct("RazorGenerator")] [assembly: AssemblyCompany("RazorGenerator contributors")] [assembly: AssemblyInformationalVersion("2.3.5")]
using System; using System.Reflection; [assembly: AssemblyVersion("2.0.0")] [assembly: AssemblyProduct("RazorGenerator")] [assembly: AssemblyCompany("RazorGenerator contributors")] [assembly: AssemblyInformationalVersion("2.3.4")]
apache-2.0
C#
bd3a8d8653ee60b07d31859e00cf61ff128a89ae
Use pure in-memory db in development environment
lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge
Services/DbService.cs
Services/DbService.cs
using LiteDB; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace LanfeustBridge.Services { public class DbService { public DbService(DirectoryService directo...
using LiteDB; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace LanfeustBridge.Services { public class DbService { public DbService(DirectoryService directoryService) { var...
mit
C#
d0ae60c3313e35ea84dd8d13d9da9bdd1ebf4eb3
Update ScienceSubject.cs
Anatid/XML-Documentation-for-the-KSP-API
src/ScienceSubject.cs
src/ScienceSubject.cs
using System; /// <summary> /// Class containing information on a specific science result, data stored in the persistent file under the R&D node. /// </summary> [Serializable] public class ScienceSubject : IConfigNode { /// <summary> /// Multiply science value by this dataScale value to determine data amount i...
#region Assembly Assembly-CSharp.dll, v2.0.50727 // C:\Users\David\Documents\Visual Studio 2010\Projects\KSP Science\KSP DEV\Kerbal Space Program\KSP_Data\Managed\Assembly-CSharp.dll #endregion using System; /// <summary> /// Class containing information on a specific science result, data stored in the persistent fi...
unlicense
C#
98bbd57fd8abe621b4ca8839e110c9728d9d2b4b
refactor imports
DarthAffe/CUE.NET
Devices/Keyboard/ColorBrushes/IBrush.cs
Devices/Keyboard/ColorBrushes/IBrush.cs
using System.Drawing; namespace CUE.NET.Devices.Keyboard.ColorBrushes { public interface IBrush { Color getColorAtPoint(Point point); } }
using System.Drawing.Color; using System.Drawing.Point; namespace CUE.NET.Devices.Keyboard.ColorBrushes { public interface IBrush { public Color getColorAtPoint(Point point); } }
lgpl-2.1
C#
df63e7d63f0a1b478916d4028fd3d643e1b698fa
Fix version number string
HelloFax/hellosign-dotnet-sdk
HelloSign/Properties/AssemblyInfo.cs
HelloSign/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("He...
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("He...
mit
C#