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
c0062d84fc51ba07392e9146e2dabc115e0aa8e1
Add "There are no commands".
jden123/JustCli
src/core/JustCli/Commands/CommandLineHelpCommand.cs
src/core/JustCli/Commands/CommandLineHelpCommand.cs
namespace JustCli.Commands { public class CommandLineHelpCommand : ICommand { public ICommandRepository CommandRepository { get; set; } public IOutput Output { get; set; } public CommandLineHelpCommand(ICommandRepository commandRepository, IOutput output) { CommandRe...
namespace JustCli.Commands { public class CommandLineHelpCommand : ICommand { public ICommandRepository CommandRepository { get; set; } public IOutput Output { get; set; } public CommandLineHelpCommand(ICommandRepository commandRepository, IOutput output) { CommandRe...
mit
C#
8333148d86c645c60d818edc6a441bd00b3c7194
Update MultibaseCorrelationServiceOptions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Integration/Correlation/MultibaseCorrelationServiceOptions.cs
TIKSN.Core/Integration/Correlation/MultibaseCorrelationServiceOptions.cs
using Multiformats.Base; namespace TIKSN.Integration.Correlation { public class MultibaseCorrelationServiceOptions { public MultibaseCorrelationServiceOptions() { this.ByteLength = 16; this.Encoding = MultibaseEncoding.Base64; } public int ByteLength { ...
using Multiformats.Base; namespace TIKSN.Integration.Correlation { public class MultibaseCorrelationServiceOptions { public MultibaseCorrelationServiceOptions() { ByteLength = 16; Encoding = MultibaseEncoding.Base64; } public int ByteLength { get; set; ...
mit
C#
d0c4c362138bd4bb60cdc0d317236bcf2d54ded5
Update Program.DependencyInjection.cs
fluentmigrator/fluentmigrator,stsrki/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator
samples/FluentMigrator.Example.Migrator/Program.DependencyInjection.cs
samples/FluentMigrator.Example.Migrator/Program.DependencyInjection.cs
#region License // Copyright (c) 2018, FluentMigrator Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
#region License // Copyright (c) 2018, FluentMigrator Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
apache-2.0
C#
4c4cff8bc70b01e17688f922da97b3409698fea7
Add missing context.
danielwertheim/mycouch,danielwertheim/mycouch
source/tests/MyCouch.IntegrationTests.Net45/CoreTests/DatabaseTests.cs
source/tests/MyCouch.IntegrationTests.Net45/CoreTests/DatabaseTests.cs
using System.Net.Http; using MyCouch.Testing; using MyCouch.Testing.TestData; namespace MyCouch.IntegrationTests.CoreTests { public class DatabaseTests : IntegrationTestsOf<IDatabase> { public DatabaseTests() { SUT = DbClient.Database; SUT.PutAsync().Wait(); } ...
using System.Net.Http; using MyCouch.Testing; using MyCouch.Testing.TestData; namespace MyCouch.IntegrationTests.CoreTests { public class DatabaseTests : IntegrationTestsOf<IDatabase> { public DatabaseTests() { SUT = DbClient.Database; SUT.PutAsync().Wait(); } ...
mit
C#
a5f9202d5a95d9f1a1766948a68682dd8897b459
Fix - Included some missing cases for JSON string types.
jdevillard/JmesPath.Net
src/jmespath.net/Utils/JTokens.cs
src/jmespath.net/Utils/JTokens.cs
using System; using Newtonsoft.Json.Linq; namespace DevLab.JmesPath.Utils { public static class JTokens { public static JToken Null = JToken.Parse("null"); public static JToken True = JToken.Parse("true"); public static JToken False = JToken.Parse("false"); public st...
using System; using Newtonsoft.Json.Linq; namespace DevLab.JmesPath.Utils { public static class JTokens { public static JToken Null = JToken.Parse("null"); public static JToken True = JToken.Parse("true"); public static JToken False = JToken.Parse("false"); public st...
apache-2.0
C#
4f40d740e8015c1f656c0755fcb00ae5c05e1ab1
Fix console log exporter extension method summary (#2912)
open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet
src/OpenTelemetry.Exporter.Console/ConsoleExporterLoggingExtensions.cs
src/OpenTelemetry.Exporter.Console/ConsoleExporterLoggingExtensions.cs
// <copyright file="ConsoleExporterLoggingExtensions.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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 // // ...
// <copyright file="ConsoleExporterLoggingExtensions.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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 // // ...
apache-2.0
C#
7d190a1befe14eb848db18dfbbea797c56d3d45a
Return simple object representing the torrent.
yonglehou/hadouken,vktr/hadouken,Robo210/hadouken,vktr/hadouken,yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,Robo210/hadouken,vktr/hadouken,yonglehou/hadouken,Robo210/hadouken
src/Plugins/Torrents/Hadouken.Plugins.Torrents/Rpc/TorrentsServices.cs
src/Plugins/Torrents/Hadouken.Plugins.Torrents/Rpc/TorrentsServices.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hadouken.Framework.Rpc; using Hadouken.Plugins.Torrents.BitTorrent; namespace Hadouken.Plugins.Torrents.Rpc { public class TorrentsServices : IJsonRpcService { private ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hadouken.Framework.Rpc; using Hadouken.Plugins.Torrents.BitTorrent; namespace Hadouken.Plugins.Torrents.Rpc { public class TorrentsServices : IJsonRpcService { private ...
mit
C#
36ca5b0cb4772d8991e71251533f4f57dcc48ea7
Remove platforms code
bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity
build.cake
build.cake
#tool "nuget:?package=NUnit.ConsoleRunner" var target = Argument("target", "Default"); var solution = File("./Bugsnag.Unity.sln"); var configuration = Argument("configuration", "Release"); var outputPath = Argument<string>("output", null); Task("Restore-NuGet-Packages") .Does(() => NuGetRestore(solution)); Task(...
#tool "nuget:?package=NUnit.ConsoleRunner" var target = Argument("target", "Default"); var solution = File("./Bugsnag.Unity.sln"); var configuration = Argument("configuration", "Release"); var outputPath = Argument<string>("output", null); var nativePlatforms = new string[] { "Android" }; Task("Restore-NuGet-Packages...
mit
C#
ec8d81952aad725fab65e126a0c92a25a08a9679
fix for running tests on linux
mrahhal/MR.Augmenter,mrahhal/MR.Augmenter
build.cake
build.cake
#addin "nuget:https://www.nuget.org/api/v2?package=Newtonsoft.Json&version=9.0.1" #load "./build/index.cake" var target = Argument("target", "Default"); var build = BuildParameters.Create(Context); var util = new Util(Context, build); Task("Clean") .Does(() => { if (DirectoryExists("./artifacts")) { DeleteDire...
#addin "nuget:https://www.nuget.org/api/v2?package=Newtonsoft.Json&version=9.0.1" #load "./build/index.cake" var target = Argument("target", "Default"); var build = BuildParameters.Create(Context); var util = new Util(Context, build); Task("Clean") .Does(() => { if (DirectoryExists("./artifacts")) { DeleteDire...
mit
C#
ff956e4e56a73b1012252cd41447b00676ae9ec5
Remove unused method
pythonnet/pythonnet,QuantConnect/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,pythonnet/pythonnet,AlexCatarino/pythonnet,QuantConnect/pythonnet,QuantConnect/pythonnet,pythonnet/pythonnet,AlexCatarino/pythonnet
src/runtime/BorrowedReference.cs
src/runtime/BorrowedReference.cs
namespace Python.Runtime { using System; /// <summary> /// Represents a reference to a Python object, that is being lent, and /// can only be safely used until execution returns to the caller. /// </summary> readonly ref struct BorrowedReference { readonly IntPtr pointer; pub...
namespace Python.Runtime { using System; /// <summary> /// Represents a reference to a Python object, that is being lent, and /// can only be safely used until execution returns to the caller. /// </summary> readonly ref struct BorrowedReference { readonly IntPtr pointer; pub...
mit
C#
bbe10d1a40db4f1535770a4b8385a3208cea294a
remove extra spaces before the icons.
blogifierdotnet/Blogifier.Core,murst/Blogifier.Core,murst/Blogifier.Core,murst/Blogifier.Core,blogifierdotnet/Blogifier.Core
samples/WebApp/Views/Blogifier/Admin/Custom/_Layout/_Settings.cshtml
samples/WebApp/Views/Blogifier/Admin/Custom/_Layout/_Settings.cshtml
@using Blogifier.Core.Common <!DOCTYPE html> <html lang="en"> <head> @Html.Partial("~/Views/Blogifier/Admin/Custom/_Shared/_Head.cshtml") </head> <body> @Html.Partial("~/Views/Blogifier/Admin/Custom/_Shared/_Header.cshtml") <div class="admin-content admin-content-settings container d-md-flex flex-md-column"> ...
@using Blogifier.Core.Common <!DOCTYPE html> <html lang="en"> <head> @Html.Partial("~/Views/Blogifier/Admin/Custom/_Shared/_Head.cshtml") </head> <body> @Html.Partial("~/Views/Blogifier/Admin/Custom/_Shared/_Header.cshtml") <div class="admin-content admin-content-settings container d-md-flex flex-md-column"> ...
mit
C#
27e8f3af0e653e36af7441ee5ad934b39b215ac8
Add more endpoints to csp header
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml
src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml
@using System.Threading.Tasks @using StockportWebapp.FeatureToggling @inject FeatureToggles FeatureToggles @{ var host = Context.Request.Host.Host; } @if (FeatureToggles.SecurityHeaders && (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-"))) { <meta http-...
@using System.Threading.Tasks @using StockportWebapp.FeatureToggling @inject FeatureToggles FeatureToggles @{ var host = Context.Request.Host.Host; } @if (FeatureToggles.SecurityHeaders && (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-"))) { <meta http-...
mit
C#
676f4ff5f240a7a3ff017b6cbae0271039f5effb
Check resource type to parse the resource value
takenet/blip-sdk-csharp
src/Take.Blip.Builder/Actions/ProcessCommand/ProcessCommandAction.cs
src/Take.Blip.Builder/Actions/ProcessCommand/ProcessCommandAction.cs
using Lime.Protocol; using Lime.Protocol.Serialization; using Newtonsoft.Json.Linq; using System; using System.Threading; using System.Threading.Tasks; using Take.Blip.Client; namespace Take.Blip.Builder.Actions.ProcessCommand { public class ProcessCommandAction : IAction { private readonly ISender _s...
using System; using System.Threading; using System.Threading.Tasks; using Lime.Protocol; using Lime.Protocol.Serialization; using Newtonsoft.Json.Linq; using Take.Blip.Client; namespace Take.Blip.Builder.Actions.ProcessCommand { public class ProcessCommandAction : IAction { private readonly ISender _s...
apache-2.0
C#
433697a4862c818ad538c48628920da45bc4d1c5
Change some NetTcp unit tests to check PlatformNotSupportedException
MattGal/wcf,ericstj/wcf,iamjasonp/wcf,ElJerry/wcf,mconnew/wcf,hongdai/wcf,KKhurin/wcf,iamjasonp/wcf,StephenBonikowsky/wcf,imcarolwang/wcf,zhenlan/wcf,ElJerry/wcf,KKhurin/wcf,shmao/wcf,dotnet/wcf,hongdai/wcf,dotnet/wcf,mconnew/wcf,dotnet/wcf,ericstj/wcf,zhenlan/wcf,imcarolwang/wcf,StephenBonikowsky/wcf,mconnew/wcf,imcar...
src/System.ServiceModel.NetTcp/tests/ServiceModel/MessageSecurityOverTcpTest.cs
src/System.ServiceModel.NetTcp/tests/ServiceModel/MessageSecurityOverTcpTest.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ServiceModel; using Xunit; using Infrastructure.Common; public static class MessageSecur...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.ServiceModel; using Xunit; using Infrastructure.Common; public static class MessageSecurityOverTcpTest...
mit
C#
1f58d1afc8dd0b03efbf92bbe4329abdb6ca9ed5
Change WorkbookProtection code to remove warnings about obsolete methods
ClosedXML/ClosedXML,igitur/ClosedXML
ClosedXML.Examples/Misc/WorkbookProtection.cs
ClosedXML.Examples/Misc/WorkbookProtection.cs
using ClosedXML.Excel; using System; namespace ClosedXML.Examples.Misc { public class WorkbookProtection : IXLExample { #region Methods // Public public void Create(String filePath) { using var wb = new XLWorkbook(); wb.Worksheets.Add("Workbook Protecti...
using System; using ClosedXML.Excel; namespace ClosedXML.Examples.Misc { public class WorkbookProtection : IXLExample { #region Methods // Public public void Create(String filePath) { using (var wb = new XLWorkbook()) { var ws = wb.Works...
mit
C#
8cb169164d5725b87d14ad246417454f5b394416
Remove unused usings
appharbor/ConsolR,appharbor/ConsolR
CodeConsole.Web/Controllers/UserController.cs
CodeConsole.Web/Controllers/UserController.cs
using System.Web.Mvc; using Foo.Core.Model; using Foo.Core.Persistence; namespace ConsolR.Web.Controllers { public class UserController : Controller { private readonly Context _context = new Context(); public ActionResult Index() { return View(_context.Users); } public ActionResult Create(User user) ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Foo.Core.Persistence; using Foo.Core.Model; namespace ConsolR.Web.Controllers { public class UserController : Controller { private readonly Context _context = new Context(); public ActionResul...
mit
C#
c2e0a2fb64d7e004c83655e57b8a112833003c44
test if newline is problem of failed tests
ignatandrei/Exporter,ignatandrei/Exporter,ignatandrei/Exporter
Exporter/ExporterTests/HtmlTestConstructor.cs
Exporter/ExporterTests/HtmlTestConstructor.cs
using System; using System.Configuration; using ExportImplementation; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ExporterTests { public partial class HtmlTests { [TestClass] public class TestConstructor { [TestMethod] public voi...
using System; using System.Configuration; using ExportImplementation; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ExporterTests { public partial class HtmlTests { [TestClass] public class TestConstructor { [TestMethod] public void TestConstruc...
apache-2.0
C#
a751a08ac06097e5eb393d92ebae207879eacfee
Change warning collection to be a hashset.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Core/Output/OutputSink.cs
source/Nuke.Core/Output/OutputSink.cs
// Copyright Matthias Koch 2017. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using Nuke.Core.Execution; namespace Nuke.Core.Output { public interface IOutputSink { void Trace (string ...
// Copyright Matthias Koch 2017. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using Nuke.Core.Execution; namespace Nuke.Core.Output { public interface IOutputSink { void Trace (string ...
mit
C#
c209ec004ffce7233601e176eed216234e5ed5c2
fix CallSite.FullName
ttRevan/cecil,saynomoo/cecil,fnajera-rac-de/cecil,furesoft/cecil,jbevain/cecil,kzu/cecil,joj/cecil,gluck/cecil,mono/cecil,SiliconStudio/Mono.Cecil,sailro/cecil,cgourlay/cecil,xen2/cecil
Mono.Cecil/CallSite.cs
Mono.Cecil/CallSite.cs
// // CallSite.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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...
// // CallSite.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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...
mit
C#
4dc0030887ea05283f35b57c323f8a0ad067906f
make navigable map inherit sorted map, as a navigable map must be a sorted map.
yanggujun/commonsfornet,yanggujun/commonsfornet
src/Commons.Collections/Map/INavigableMap.cs
src/Commons.Collections/Map/INavigableMap.cs
// Copyright CommonsForNET. // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // ...
// Copyright CommonsForNET. // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // ...
apache-2.0
C#
793ac211fe2ebed542f570718cc75c89bb7a0c1a
add id to details
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/TestItems/Details.cshtml
Anlab.Mvc/Views/TestItems/Details.cshtml
@model Anlab.Core.Domain.TestItem <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Details</title> </head> <body> <div> <h4>TestItem</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.Id) </dt> ...
@model Anlab.Core.Domain.TestItem <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Details</title> </head> <body> <div> <h4>TestItem</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.Analysis) </dt...
mit
C#
1713f29e6004d44c2d614e6479a5a5b1fc627652
Update IPathShape.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
src/Core2D/Model/Shapes/IPathShape.cs
src/Core2D/Model/Shapes/IPathShape.cs
using Core2D.Path; namespace Core2D.Shapes { /// <summary> /// Defines path shape contract. /// </summary> public interface IPathShape : IBaseShape, IStringExporter { /// <summary> /// Gets or sets path geometry used to draw shape. /// </summary> /// <remarks> ...
using Core2D.Path; namespace Core2D.Shapes { /// <summary> /// Defines path shape contract. /// </summary> public interface IPathShape : IBaseShape { /// <summary> /// Gets or sets path geometry used to draw shape. /// </summary> /// <remarks> /// Path geome...
mit
C#
6da55c910eb966fadc92362736de190a62840491
Update Program.cs
Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Serilog; name...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Serilog; namespace ASPNETCoreAngularJWT { pu...
mit
C#
5f25f99f856c8338c724b89c05722380fa6d8b9d
update to use the admin flag in roles
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Web/Models/WorkgroupDetailModel.cs
Purchasing.Web/Models/WorkgroupDetailModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Purchasing.Core.Domain; using UCDArch.Core.PersistanceSupport; using UCDArch.Core.Utils; namespace Purchasing.Web.Models { public class WorkgroupDetailModel { public Workgroup Workgroup { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Purchasing.Core.Domain; using UCDArch.Core.PersistanceSupport; using UCDArch.Core.Utils; namespace Purchasing.Web.Models { public class WorkgroupDetailModel { public Workgroup Workgroup { get; set; }...
mit
C#
03e012a8360c84a71708436e502018b18808fb01
add summary comment.
dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP/IConsumerClient.cs
src/DotNetCore.CAP/IConsumerClient.cs
using System; using System.Collections.Generic; using System.Threading; namespace DotNetCore.CAP { /// <inheritdoc /> /// <summary> /// Message queue consumer client /// </summary> public interface IConsumerClient : IDisposable { /// <summary> /// Subscribe to a set of topics t...
using System; using System.Collections.Generic; using System.Threading; namespace DotNetCore.CAP { /// <inheritdoc /> /// <summary> /// Message queue consumer client /// </summary> public interface IConsumerClient : IDisposable { void Subscribe(IEnumerable<string> topics); voi...
mit
C#
52127b123c745bb50239809ab61f2128e052ddc5
Make PowerShellScripts class static per review.
mdavid/nuget,mdavid/nuget
src/VisualStudio/PowershellScripts.cs
src/VisualStudio/PowershellScripts.cs
namespace NuGet.VisualStudio { public static class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; } }
namespace NuGet.VisualStudio { public class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; } }
apache-2.0
C#
31dddea9277f1f5ba7f61ab2ba6aa630d140b2ec
Add GetType
simplicbe/Simplic.Dlr,simplicbe/Simplic.Dlr
src/Simplic.Dlr/Import/IDlrImportResolver.cs
src/Simplic.Dlr/Import/IDlrImportResolver.cs
using Microsoft.Scripting.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simplic.Dlr { /// <summary> /// Resolve path /// </summary> public enum ResolvedType { /// <summary> /// Could not detect/find script /// </sum...
using Microsoft.Scripting.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simplic.Dlr { /// <summary> /// Resolver for importing scripts and modules /// </summary> public interface IDlrImportResolver { /// <summary> /// Impor...
mit
C#
6f0e45a2a3d031befcde78c2efdc8fde6bb43338
Update SettingWidthOfAllColumnsInWorksheet.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-sh...
Examples/CSharp/RowsColumns/HeightAndWidth/SettingWidthOfAllColumnsInWorksheet.cs
Examples/CSharp/RowsColumns/HeightAndWidth/SettingWidthOfAllColumnsInWorksheet.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth { public class SettingWidthOfAllColumnsInWorksheet { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir =...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth { public class SettingWidthOfAllColumnsInWorksheet { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.U...
mit
C#
43269b702ceed03a65bb3422d1d1dcbbccbbe3d6
remove unused fields
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Parsing/Messages/S_BOSS_GAGE_INFO.cs
TCC.Core/Parsing/Messages/S_BOSS_GAGE_INFO.cs
using Tera.Game; using Tera.Game.Messages; namespace TCC.Parsing.Messages { public class S_BOSS_GAGE_INFO : ParsedMessage { ulong id, targetId; int templateId, huntingZoneId;//, unk1; float /*hpDiff,*/ currHp, maxHp; byte enrage/*, unk3*/; public ulong EntityId { get =...
using Tera.Game; using Tera.Game.Messages; namespace TCC.Parsing.Messages { public class S_BOSS_GAGE_INFO : ParsedMessage { ulong id, targetId; int templateId, huntingZoneId, unk1; float hpDiff, currHp, maxHp; byte enrage, unk3; public ulong EntityId { get => id; } ...
mit
C#
9c18d822e5c2f35617d1f84f6a5f9ae6bdf50957
update ancient assembly info
AerysBat/slimCat,WreckedAvent/slimCat
slimCat/Properties/AssemblyInfo.cs
slimCat/Properties/AssemblyInfo.cs
#region Copyright // -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright (c) 2013, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // Pleas...
#region Copyright // -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright (c) 2013, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // Pleas...
bsd-2-clause
C#
10e474a8e1533325a8be42735d946cb063a5d5f5
Update IRenderer.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
Test/Core/IRenderer.cs
Test/Core/IRenderer.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. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test.Core { public interface IRe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test.Core { public interface IRenderer { bool DrawPoints { get; set; } void ClearCache(); void Render(object dc, ILayer layer); void Draw(object dc, XLi...
mit
C#
46cad13e4bb6a126c33fa58956c043e4361dae34
Tweak the validation error message slightly.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/Views/Concerts/Create.cshtml
src/CGO.Web/Views/Concerts/Create.cshtml
@using CGO.Web.Helpers @model CGO.Web.ViewModels.ConcertViewModel @{ ViewBag.Title = "Create new Concert"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div class="page-header"> <h1>Create new Concert</h1> </div> @{ Html.EnableClientValidation(); } @using (Html.BeginForm("Create", "Concerts", FormMethod....
@using CGO.Web.Helpers @model CGO.Web.ViewModels.ConcertViewModel @{ ViewBag.Title = "Create new Concert"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div class="page-header"> <h1>Create new Concert</h1> </div> @{ Html.EnableClientValidation(); } @using (Html.BeginForm("Create", "Concerts", FormMethod....
mit
C#
e7471bcc9e8d1e69a13ee51be180241358f11e7f
Add a regionTag for document inclusion.
GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet
1-hello-world/Startup.cs
1-hello-world/Startup.cs
// Copyright(c) 2015 Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writin...
// Copyright(c) 2015 Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writin...
apache-2.0
C#
c0710efc8d2d112ed66994882dc6b964503a2838
Fix xmldoc reference
peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework
osu.Framework/Development/DebugUtils.cs
osu.Framework/Development/DebugUtils.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using NUnit.Framework; using osu.Framework.Configuration; namespace...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using NUnit.Framework; using osu.Framework.Configuration; namespace...
mit
C#
6387a96eeae67b10be517eb1721d2f7ec8bd23cc
Rename CallVisionAPI to CallEmotionAPI
lindydonna/CoderCards,lindydonna/CoderCards,lindydonna/CoderCards
CardGenerator/run.csx
CardGenerator/run.csx
#load "image-lib.csx" using System.Net; using System.Net.Http; using System.Net.Http.Headers; using Newtonsoft.Json; using System.IO; using System.Drawing; using System.Drawing.Imaging; public static async Task Run(byte[] image, string filename, Stream outputBlob, TraceWriter log) { string result = await CallEmot...
#load "image-lib.csx" using System.Net; using System.Net.Http; using System.Net.Http.Headers; using Newtonsoft.Json; using System.IO; using System.Drawing; using System.Drawing.Imaging; public static async Task Run(byte[] image, string filename, Stream outputBlob, TraceWriter log) { string result = await CallVisi...
mit
C#
a39871ba33cb951a4b54352b96da8eb40403ce7e
Fix mod parser getting loaded
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
plugins/ModsHandler/ModParser.cs
plugins/ModsHandler/ModParser.cs
using StreamCompanionTypes; using StreamCompanionTypes.Interfaces; namespace ModsHandler { public class ModParser : CollectionManager.Modules.ModParser.ModParser, IModule, IModParser, ISettingsProvider { private readonly SettingNames _names = SettingNames.Instance; private ISettingsHandler...
using StreamCompanionTypes; using StreamCompanionTypes.Interfaces; namespace ModsHandler { public class ModParser : CollectionManager.Modules.ModParser.ModParser, IPlugin, IModParser, ISettingsProvider { private readonly SettingNames _names = SettingNames.Instance; private ISettingsHandler...
mit
C#
89b7c16df2dd97875a988d8ab41e2d48769b00d5
Make namning convention props virtual
pardahlman/RawRabbit,northspb/RawRabbit
src/RawRabbit/Common/NamingConvetions.cs
src/RawRabbit/Common/NamingConvetions.cs
using System; namespace RawRabbit.Common { public interface INamingConvetions { Func<Type, string> ExchangeNamingConvention { get; set; } Func<Type, string> QueueNamingConvention { get; set; } Func<Type, Type, string> RpcExchangeNamingConvention { get; set; } Func<string> ErrorExchangeNamingConvention { get...
using System; namespace RawRabbit.Common { public interface INamingConvetions { Func<Type, string> ExchangeNamingConvention { get; set; } Func<Type, string> QueueNamingConvention { get; set; } Func<Type, Type, string> RpcExchangeNamingConvention { get; set; } Func<string> ErrorExchangeNamingConvention { get...
mit
C#
16287c1d65711f516d81d403bf516ddc66cdd87b
Update version number for nuGet v2.1 release
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#
bd2d5f068f565f45840bdd655ba5070bd58bcd7f
Bump to version 0.5.0
mgrosperrin/commandlineparser
src/CommonFiles/VersionAssemblyInfo.cs
src/CommonFiles/VersionAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.5.0")] [assembly: AssemblyFileVersion("0.5.0")] [assembly:AssemblyInformationalVersion("0.5.0.")]
using System.Reflection; [assembly: AssemblyVersion("0.5.0.0")] [assembly: AssemblyFileVersion("0.5.0.0")] [assembly:AssemblyInformationalVersion("0.5.0.0-beta1")]
mit
C#
0b43545ae0f4dd71ecfd8c270512bc47634f47d5
Update ReplyAsync Task to return the sent message.
RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net
src/Discord.Net.Commands/ModuleBase.cs
src/Discord.Net.Commands/ModuleBase.cs
using System.Threading.Tasks; namespace Discord.Commands { public abstract class ModuleBase { public CommandContext Context { get; internal set; } protected virtual async Task<IUserMessage> ReplyAsync(string message, bool isTTS = false, RequestOptions options = null) { ret...
using System.Threading.Tasks; namespace Discord.Commands { public abstract class ModuleBase { public CommandContext Context { get; internal set; } protected virtual async Task ReplyAsync(string message, bool isTTS = false, RequestOptions options = null) { await Context.Cha...
mit
C#
7a7309b48b8f929eb5e2e321c01c1515879d041c
Update the level selector input at the bottom of the leaderboard
DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17
Proto/Assets/Scripts/UI/SceneSelector.cs
Proto/Assets/Scripts/UI/SceneSelector.cs
using System; using UnityEngine; using UnityEngine.UI; public class SceneSelector : MonoBehaviour { [SerializeField] private Text _levelName; [SerializeField] private string[] _levels; [SerializeField] private Button _leftArrow; [SerializeField] private Button _rightArrow; private int pos = 0; ...
using UnityEngine; using UnityEngine.UI; public class SceneSelector : MonoBehaviour { [SerializeField] private Text _levelName; [SerializeField] private string[] _levels; [SerializeField] private Button _leftArrow; [SerializeField] private Button _rightArrow; private int pos = 0; private Leade...
mit
C#
2af5f29bc5afc09c7b763aa4e2c487d7772f2119
Update WebClientMessenger.cs
jonasbutt/ReactiveWebApp,jonasbutt/ReactiveWebApp
ReactiveWebApp/Web/WebClientMessenger.cs
ReactiveWebApp/Web/WebClientMessenger.cs
using System.Linq; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; using Reactive.ActorModel; namespace Reactive.Web { public class WebClientMessenger : IWebClientMessenger { private readonly IHubContext messageHubContext; public WebClientMessenger() { ...
using System.Linq; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; using Reactive.ActorModel; namespace Reactive.Web { public class WebClientMessenger : IWebClientMessenger { private readonly IHubContext messageHubContext; public WebClientMessenger() { ...
apache-2.0
C#
7ef157d303a3cc44afb4b8f7b9eb66bb66d2a09b
Update version info.
maraf/Money,maraf/Money,maraf/Money
src/Money.UI.Blazor/Pages/About.cshtml
src/Money.UI.Blazor/Pages/About.cshtml
@page "/about" <h1>Money</h1> <h4>Neptuo</h4> <p class="gray"> v1.2.1 </p> <p> <a target="_blank" href="http://github.com/maraf/Money">Documentation</a> </p> <p> <a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a> </p>
@page "/about" <h1>Money</h1> <h4>Neptuo</h4> <p class="gray"> v1.2.0 </p> <p> <a target="_blank" href="http://github.com/maraf/Money">Documentation</a> </p> <p> <a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a> </p>
apache-2.0
C#
5989a7717458af7f9dd42e31e7f31fc38be3522f
Update DragDropExtensions.cs
punker76/gong-wpf-dragdrop
src/GongSolutions.WPF.DragDrop.Shared/Utilities/DragDropExtensions.cs
src/GongSolutions.WPF.DragDrop.Shared/Utilities/DragDropExtensions.cs
using System.Windows; using System.Windows.Media; namespace GongSolutions.Wpf.DragDrop.Utilities { public static class DragDropExtensions { /// <summary> /// Determines whether the given element is ignored on drag start (<see cref="DragDrop.DragSourceIgnore"/>). /// </summary> /...
using System.Windows; namespace GongSolutions.Wpf.DragDrop.Utilities { public static class DragDropExtensions { /// <summary> /// Determines whether the given element is ignored on drag start (<see cref="DragDrop.DragSourceIgnore"/>). /// </summary> /// <param name="element">Th...
bsd-3-clause
C#
41ff97c3b899b428b648a0be226e7829a0c6dc66
Fix AssociationContracts.BiDirOneToMany and AssociationContracts.BiDirManyToOne.
peopleware/net-ppwcode-vernacular-nhibernate
src/PPWCode.Vernacular.NHibernate.I/Semantics/AssociationContracts.cs
src/PPWCode.Vernacular.NHibernate.I/Semantics/AssociationContracts.cs
// Copyright 2014 by PeopleWare n.v.. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
// Copyright 2014 by PeopleWare n.v.. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
apache-2.0
C#
0eea6ffc39cbe42a21b102a29986ceffc0570dc8
Fix broken 3.5 build
amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis
Sources/AM.Core/AM/ExceptionEventArgs.cs
Sources/AM.Core/AM/ExceptionEventArgs.cs
/* ExceptionEventArgs.cs -- information about exception * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Using directives using System; using System.Diagnostics; using CodeJam; using JetBrains.Annotations; #endregion namespace AM { ...
/* ExceptionEventArgs.cs -- information about exception * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Using directives using System; using System.Diagnostics; using CodeJam; using JetBrains.Annotations; #endregion namespace AM { ...
mit
C#
81e420e5b6e0f7c82949ebcf3caddab4099a53aa
Update SetUpFixture
atata-framework/atata-bootstrap,atata-framework/atata-bootstrap
src/Atata.Bootstrap.Tests/SetUpFixture.cs
src/Atata.Bootstrap.Tests/SetUpFixture.cs
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Threading; using NUnit.Framework; namespace Atata.Bootstrap.Tests { [SetUpFixture] public class SetUpFixture { private Process coreRunProcess; [OneTimeSetUp] public void GlobalSetUp() {...
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Threading; using NUnit.Framework; namespace Atata.Bootstrap.Tests { [SetUpFixture] public class SetUpFixture { private Process coreRunProcess; [OneTimeSetUp] public void GlobalSetUp() {...
apache-2.0
C#
bb0469b163626291a0e4eba880323bb0760ffb84
Update ListRequest with new base class contructor.
DotNetDevs/Synology,DotNetDevs/Synology
Synology.FileStation/List/ListRequest.cs
Synology.FileStation/List/ListRequest.cs
using System; using Synology.Classes; using Synology.Attributes; using Synology.FileStation.List.Parameters; using Synology.FileStation.List.Results; namespace Synology.FileStation.List { [Request("List")] public class ListRequest : FileStationRequest { public ListRequest(SynologyApi api) : base(a...
using System; using Synology.Classes; using Synology.Attributes; using Synology.FileStation.List.Parameters; using Synology.FileStation.List.Results; namespace Synology.FileStation.List { [Request("List")] public class ListRequest : FileStationRequest { public ListRequest(SynologyApi api) : base(a...
apache-2.0
C#
ce5698ef61f57467eeed180662e45ea92e526dde
Update AssemblyInfo.cs to consider compilation agsinst NETSTANDARD1_3 as a friend assembly
aaubry/YamlDotNet,aaubry/YamlDotNet,aaubry/YamlDotNet
YamlDotNet/Properties/AssemblyInfo.cs
YamlDotNet/Properties/AssemblyInfo.cs
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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...
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, inc...
mit
C#
7e7d6b14a6331db71e9e574f480342eb391a10ad
Use official namespace (better for fallback)
FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp
AngleSharp/Foundation/TaskEx.cs
AngleSharp/Foundation/TaskEx.cs
namespace System.Threading.Tasks { using System.Collections.Generic; /// <summary> /// Simple wrapper for static methods of Task, which are missing in older /// versions of the .NET-Framework. /// </summary> static class TaskEx { /// <summary> /// Wrapper for Task.WhenAll, ...
namespace AngleSharp { using System.Collections.Generic; using System.Threading.Tasks; /// <summary> /// Simple wrapper for static methods of Task, which are missing in older /// versions of the .NET-Framework. /// </summary> static class TaskEx { /// <summary> /// Wrap...
mit
C#
ff4be93293956ce9a0705ede35fe41f7d46d880d
Switch default SubMenu back to splash
NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Menu/GameMenu.cs
Assets/Scripts/Menu/GameMenu.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; //Attach to every menu animator public class GameMenu : MonoBehaviour { public static SubMenu subMenu = SubMenu.Splash; //public static SubMenu subMenu = SubMenu.Title; //Debug purposes public static bool shifting; public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; //Attach to every menu animator public class GameMenu : MonoBehaviour { //public static SubMenu subMenu = SubMenu.Splash; public static SubMenu subMenu = SubMenu.Title; //Debug purposes public static bool shifting; public ...
mit
C#
f4c279a59aea128e1e9ee3d277bddb8a3bd769a9
Remove incorrect test case
charvey/CasinoStrats
src/CasinoStrats.Core.Tests/PlayerTest.cs
src/CasinoStrats.Core.Tests/PlayerTest.cs
using System; using Xunit; namespace CasinoStrats.Core.Tests { public class PlayerTest { [Theory] [InlineData(0)] [InlineData(2.5)] [InlineData(5)] public void TryDeduct_EnoughMoney(decimal amount) { var player = new Player(5); var resul...
using Xunit; namespace CasinoStrats.Core.Tests { public class PlayerTest { [Theory] [InlineData(0)] [InlineData(2.5)] [InlineData(5)] public void TryDeduct_EnoughMoney(decimal amount) { var player = new Player(5); var result = player.Try...
mit
C#
24c22f8408ad407065dc09c560a7b5fd9b81a733
Update FrancisSetash.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/FrancisSetash.cs
src/Firehose.Web/Authors/FrancisSetash.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 FrancisSetash : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Francis"; ...
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 FrancisSetash : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Francis"; ...
mit
C#
5b453daa4583924d6420aea35b7ccf974255f861
Use record for PluginFormModel
nikeee/HolzShots
src/HolzShots.Windows/Forms/PluginForm.cs
src/HolzShots.Windows/Forms/PluginForm.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Windows.Forms; using HolzShots.Composition; using HolzShots.IO; using HolzShots.Windows.Forms.Controls; namespace HolzShots.Windows.Forms { public partial class PluginForm : Form { private readonly PluginFormModel _m...
using System.Diagnostics; using HolzShots.Composition; using HolzShots.IO; using HolzShots.Windows.Forms.Controls; namespace HolzShots.Windows.Forms { public partial class PluginForm : Form { private readonly PluginFormModel _model; public PluginForm(PluginFormModel model) { ...
agpl-3.0
C#
3e650595fb511cc81b1a5fe3dc1234196bcee85a
fix system dynamic library reference
Eskat0n/linqtowindows
src/LinqToWindows/Windows/Types/Window.cs
src/LinqToWindows/Windows/Types/Window.cs
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Muyou.LinqToWindows.Extensions; using Muyou.LinqToWindows.Input.Keyboard; using Muyou.LinqToWindows.Menus; using Muyou.LinqToWindows.Windows.NativeTypes; namespace Muyou.LinqToWindows.Windows.Types { public class Window ...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Muyou.LinqToWindows.Extensions; using Muyou.LinqToWindows.Input.Keyboard; using Muyou.LinqToWindows.Menus; using Muyou.LinqToWindows.Windows.NativeTypes; namespace Muyou.LinqToWindows.Windows.Types { public class Window ...
mit
C#
9e3ae540480b4b13ad8d252c3974687d3b79e21c
support doublequotes within generated values.
nortal/AssemblyVersioning
AssemblyVersioning/AssemblyInfoFileCreator.cs
AssemblyVersioning/AssemblyInfoFileCreator.cs
/* Copyright 2013 Imre Pühvel, AS Nortal Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
/* Copyright 2013 Imre Pühvel, AS Nortal Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
apache-2.0
C#
6ab86212e3150cfed1ae1b1a6ffef027ff0c3b09
Remove unit service reference to ignore for reporting
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Services/UnitService.cs
Battery-Commander.Web/Services/UnitService.cs
using BatteryCommander.Web.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Services { public class UnitService { public static async Task<Unit> Get(Database db, int unitId) ...
using BatteryCommander.Web.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Services { public class UnitService { public static async Task<Unit> Get(Database db, int unitId) ...
mit
C#
3836d446f7c112777f2b6a0c24f52463ed3b8f35
remove the un-used collection within Topic
eklavyamirani/DTML.EduBot,eklavyamirani/DTML.EduBot
DTML.EduBot/LessonPlan/Topic.cs
DTML.EduBot/LessonPlan/Topic.cs
namespace DTML.EduBot.LessonPlan { using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using Newtonsoft.Json; [Serializable] public class Topic { private ICollection<string> answerOptions = new List<string>(); ...
namespace DTML.EduBot.LessonPlan { using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using Newtonsoft.Json; [Serializable] public class Topic { private ICollection<string> answerOptions = new List<string>(); ...
mit
C#
fcaeb25d7efbdd512264fe0287753b473f98c68c
remove redundant using
bau-build/bau-nuget,modulexcite/bau-nuget,bau-build/bau-nuget,modulexcite/bau-nuget
src/Bau.NuGet/Plugin.cs
src/Bau.NuGet/Plugin.cs
// <copyright file="Plugin.cs" company="Bau contributors"> // Copyright (c) Bau contributors. (baubuildch@gmail.com) // </copyright> namespace BauNuGet { using BauCore; public static class Plugin { public static ITaskBuilder<Restore> NuGetRestore(this ITaskBuilder builder, string name ...
// <copyright file="Plugin.cs" company="Bau contributors"> // Copyright (c) Bau contributors. (baubuildch@gmail.com) // </copyright> namespace BauNuGet { using System; using BauCore; public static class Plugin { public static ITaskBuilder<Restore> NuGetRestore(this ITaskBuilder bu...
mit
C#
1f7582b57d63e5fcbea2370f25daa2b1bf1869f4
Fix binding validation which disallow publishing to HTTPS addresses.
campersau/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer
PackageExplorer/PublishUrlValidationRule.cs
PackageExplorer/PublishUrlValidationRule.cs
using System; using System.Windows.Controls; namespace PackageExplorer { public class PublishUrlValidationRule : ValidationRule { public override ValidationResult Validate(object value, System.Globalization.CultureInfo cultureInfo) { string stringValue = (string)value; Uri...
using System; using System.Windows.Controls; namespace PackageExplorer { public class PublishUrlValidationRule : ValidationRule { public override ValidationResult Validate(object value, System.Globalization.CultureInfo cultureInfo) { string stringValue = (string)value; Uri...
mit
C#
fab31e6cb3a1a1501f6a38082716e713ddf890b9
Add "Consistency" report tag
Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector
KenticoInspector.Core/Constants/ReportTags.cs
KenticoInspector.Core/Constants/ReportTags.cs
using System; using System.Collections.Generic; using System.Text; namespace KenticoInspector.Core.Constants { public class ReportTags { public const string Database = "Database"; public const string EventLog = "Event Log"; public const string Health = "Health"; public const st...
using System; using System.Collections.Generic; using System.Text; namespace KenticoInspector.Core.Constants { public class ReportTags { public const string Database = "Database"; public const string EventLog = "Event Log"; public const string Health = "Health"; } }
mit
C#
721b8f3e190d353d39f1cb3ec512712d102741cc
increase version
tinohager/Nager.PublicSuffix,tinohager/Nager.PublicSuffix,tinohager/Nager.PublicSuffix
Nager.PublicSuffix/Properties/AssemblyInfo.cs
Nager.PublicSuffix/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...
mit
C#
7a46b2fd1b9622d1886558f878a349b119d9c132
Improve user profile view
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Manage/Index.cshtml
BTCPayServer/Views/Manage/Index.cshtml
@model IndexViewModel @{ ViewData.SetActivePageAndTitle(ManageNavPages.Index, "Profile"); } <partial name="_StatusMessage" /> @if (!this.ViewContext.ModelState.IsValid) { <div class="row"> <div class="col-md-6"> <div asp-validation-summary="All" class="text-danger"></div> </div> ...
@model IndexViewModel @{ ViewData.SetActivePageAndTitle(ManageNavPages.Index, "Profile"); } <partial name="_StatusMessage" /> <div class="row"> <div class="col-md-6"> <div asp-validation-summary="All" class="text-danger"></div> </div> </div> <div class="row"> <div class="col-md-6"> <...
mit
C#
ea1dc13449e2e2b2dd82b17e2712fd76edaa43e2
Add Testing channel to UpdateSettings (#1211)
sillsdev/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso
SIL.Core.Desktop/Settings/UpdateSettings.cs
SIL.Core.Desktop/Settings/UpdateSettings.cs
using System; namespace SIL.Settings { /// <summary> /// Settings for checking for, downloading, and installing updates /// </summary> [Serializable] public class UpdateSettings { public enum Channels { /// <summary> /// Get the latest stable release (recommended for most users) /// </summary> St...
using System; namespace SIL.Settings { /// <summary> /// Settings for checking for, downloading, and installing updates /// </summary> [Serializable] public class UpdateSettings { public enum Channels { /// <summary> /// Get the latest stable release (recommended for most users) /// </summary> St...
mit
C#
3f2a053a9d34ce8aac23b9e075e9115e4ffb6639
Stop using ConcurrentBag
KodamaSakuno/Library
Sakuno.Base/PropertyChangedEventListener.cs
Sakuno.Base/PropertyChangedEventListener.cs
using System; using System.Collections.Concurrent; using System.ComponentModel; namespace Sakuno { public sealed class PropertyChangedEventListener : EventListener<PropertyChangedEventHandler> { static ConcurrentDictionary<INotifyPropertyChanged, PropertyChangedEventListener> r_Listeners = new Concurr...
using System; using System.Collections.Concurrent; using System.ComponentModel; namespace Sakuno { public sealed class PropertyChangedEventListener : EventListener<PropertyChangedEventHandler> { static ConcurrentDictionary<INotifyPropertyChanged, PropertyChangedEventListener> r_Listeners = new Concurr...
mit
C#
85a3f508ede8448066f910f53da47c608db0d976
Remove debug message
knexer/Chinese-Rooms-what-do-they-know-do-they-know-things-lets-find-out
Assets/DraggableVertexMachine.cs
Assets/DraggableVertexMachine.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DraggableVertexMachine : MonoBehaviour { public float distanceThreshold = Mathf.Infinity; private MachineGrid grid; // Use this for initialization void Start() { grid = FindObjectOfType<MachineGri...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DraggableVertexMachine : MonoBehaviour { public float distanceThreshold = Mathf.Infinity; private MachineGrid grid; // Use this for initialization void Start() { grid = FindObjectOfType<MachineGri...
mit
C#
162058580be2faee93db269c60694778bc07e1a2
Backup directory implementation
gniriki/Sync.Net
src/Sync.Net/SyncNet.cs
src/Sync.Net/SyncNet.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sync.Net { public class SyncNet { public void Backup(IFileObject file, IDirectoryObject targetDirectory) { if (!targetDirectory.ContainsFile(file.Name)) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sync.Net { public class SyncNet { public void Backup(IFileObject file, IDirectoryObject targetDirectory) { if (!targetDirectory.ContainsFile(file.Name)) ...
mit
C#
1c9071900690d450f2b3cb1671627561b33d763d
Change default behavior of ToAsyncEnumerable() extension method: 'runSynchronously' is set to True by default
tyrotoxin/AsyncEnumerable
IEnumerableExtensions.cs
IEnumerableExtensions.cs
using System.Collections.Async; using System.Linq; namespace System.Collections { /// <summary> /// Converts generic IEnumerable to IAsyncEnumerable /// </summary> [ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] public static class IEnumerableExtensions { //...
using System.Collections.Async; using System.Linq; namespace System.Collections { /// <summary> /// Converts generic IEnumerable to IAsyncEnumerable /// </summary> [ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] public static class IEnumerableExtensions { //...
mit
C#
9a087192053ef6d7b03d133f0674e2eeacb991e9
Bump version to 1.0.1
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#
d41c738ed23d44d80938abfa03079b548a8410ce
Update IOptions.cs
wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Model/Containers/IOptions.cs
src/Core2D/Model/Containers/IOptions.cs
using Core2D.Path; namespace Core2D.Containers { /// <summary> /// Defines options interface. /// </summary> public interface IOptions : IObservableObject { /// <summary> /// Gets or sets how grid snapping is handled. /// </summary> bool SnapToGrid { get; set; } ...
using Core2D.Path; using Core2D.Shapes; using Core2D.Style; namespace Core2D.Containers { /// <summary> /// Defines options interface. /// </summary> public interface IOptions { /// <summary> /// Gets or sets how grid snapping is handled. /// </summary> bool SnapTo...
mit
C#
5a41f0fb01ca19519fd4f7b48df7e73574d844dc
Fix missing metadata attribute
x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp
src/Libraries/Node/Node.Core/IO/Path.cs
src/Libraries/Node/Node.Core/IO/Path.cs
// Path.cs // Script#/Libraries/Node/Core // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace NodeApi.IO { [ScriptImport] [ScriptIgnoreNamespace] [ScriptDependency("path")] [ScriptName("path")] ...
// Path.cs // Script#/Libraries/Node/Core // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace NodeApi.IO { [ScriptImport] [ScriptIgnoreNamespace] [ScriptDependency("path")] public static class Pat...
apache-2.0
C#
da320859a4c3c67d62de1b4a574fabdf22163073
update version to 5.5.2
chimpinano/WebApi,congysu/WebApi,yonglehou/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,abkmr/WebApi,abkmr/WebApi,yonglehou/WebApi,LianwMS/WebApi,lewischeng-ms/WebApi,congysu/WebApi,LianwMS/WebApi,chimpinano/WebApi,scz2011/WebApi,scz2011/WebApi,lungisam/WebApi
OData/src/CommonAssemblyInfo.cs
OData/src/CommonAssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if !BUILD_GENERATED_VERSION [assembly: AssemblyCompany("...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if !BUILD_GENERATED_VERSION [assembly: AssemblyCompany("...
mit
C#
c434a9587743ed71a9ab76a0f92811df27c3a4f9
Add exception handling to console
andburn/dds-reader
DDSReader/DDSReader.Console/Program.cs
DDSReader/DDSReader.Console/Program.cs
using System; using System.IO; namespace DDSReader.Console { class Program { static void Main(string[] args) { if (args.Length != 2) { System.Console.WriteLine("ERROR: input and output file required\n"); Environment.Exit(1); } var input = args[0]; var output = args[1]; ...
using System; namespace DDSReader.Console { class Program { static void Main(string[] args) { var dds = new DDSImage(args[0]); dds.Save(args[1]); } } }
mit
C#
bc86db596ed53641a204037fd4a071d32e36ec54
Fix primary screen getter
mono/xwt,TheBrainTech/xwt,akrisiun/xwt,mminns/xwt,hamekoz/xwt,iainx/xwt,cra0zy/xwt,sevoku/xwt,antmicro/xwt,mminns/xwt,hwthomas/xwt,steffenWi/xwt,directhex/xwt,lytico/xwt,residuum/xwt
Xwt.Gtk/Xwt.GtkBackend/GtkDesktopBackend.cs
Xwt.Gtk/Xwt.GtkBackend/GtkDesktopBackend.cs
// // GtkDesktopBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restric...
// // GtkDesktopBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restric...
mit
C#
f29a0edc196e9a77e93ba2701b2ddbfc6d80794f
Add ItemId attribute to Account
jcvandan/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net
source/XeroApi/Model/Account.cs
source/XeroApi/Model/Account.cs
using System; namespace XeroApi.Model { public class Account : ModelBase { [ItemId] public Guid AccountID { get; set; } public string Code { get; set; } public string Name { get; set; } public string Status { get; set; } public string Type { get; set; } ...
using System; namespace XeroApi.Model { public class Account : ModelBase { public Guid AccountID { get; set; } public string Code { get; set; } public string Name { get; set; } public string Status { get; set; } public string Type { get; set; } public string...
mit
C#
d0b26057fd749afe709f906877ead3371d879d63
Remove unused IsValid method
Vtek/Bartender
src/Bartender/IMessageValidator.cs
src/Bartender/IMessageValidator.cs
namespace Bartender { /// <summary> /// Define a message validator /// </summary> public interface IMessageValidator<TMessage> where TMessage : IMessage { /// <summary> /// Validate the specified message. /// </summary> /// <param name="message">Message.</param> ...
namespace Bartender { /// <summary> /// Define a message validator /// </summary> public interface IMessageValidator<TMessage> where TMessage : IMessage { /// <summary> /// Validate the specified message. /// </summary> /// <param name="message">Message.</param> ...
mit
C#
71f0078727cfa2d60a6d50a3c83a1c40a97ef5cf
Bump minor version and push to NuGet
pragmatrix/NEventSocket,danbarua/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NEventSocket")] [assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")] [assembly: AssemblyCompany("Dan Barua")] [assembly: AssemblyProduct("NEventSocket")] [assembly: AssemblyCopyright("Copyright (C...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NEventSocket")] [assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")] [assembly: AssemblyCompany("Dan Barua")] [assembly: AssemblyProduct("NEventSocket")] [assembly: AssemblyCopyright("Copyright (C...
mpl-2.0
C#
931acb3197eedde66b8f4db85ef539360e4dafee
Make setters private
Intelliflo/JustSaying,Intelliflo/JustSaying,eric-davis/JustSaying
JustEat.Simples.Messaging/Messages/OrderResolved/OrderResolvedMessage.cs
JustEat.Simples.Messaging/Messages/OrderResolved/OrderResolvedMessage.cs
namespace JustEat.Simples.NotificationStack.Messaging.Messages.OrderResolved { public abstract class OrderResolvedMessage : Message { public int OrderId { get; private set; } public string AuditComment { get; private set; } public bool NotifiyCustomer { get; private set; } pu...
namespace JustEat.Simples.NotificationStack.Messaging.Messages.OrderResolved { public class OrderResolvedMessage : Message { public int OrderId { get; set; } public string AuditComment { get; set; } public bool NotifiyCustomer { get; set; } public OrderResolut...
apache-2.0
C#
c333a6dd2a632cd374234b786b5711ee74e8c62c
Update assembly info
toehead2001/pdn-barcode
Barcode/Properties/AssemblyInfo.cs
Barcode/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Barcode Effect")] [assembly: AssemblyDescription("Barcode Generator")] [assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")] [assembly: AssemblyCompany("toe_head2001")] [assembly: AssemblyProduct("Barcode Effect")] [as...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Barcode Effect")] [assembly: AssemblyDescription("Barcode Generator")] [assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")] [assembly: AssemblyCompany("Sepcot & toe_head2001")] [assembly: AssemblyProduct("Barcode Effe...
mit
C#
9f30d7ec4a633fca63cd9680d62e6b2395c00b5d
add comment to GenerateUtil
peopleware/net-ppwcode-util-oddsandends
src/II/SpreadSheet/GenerateUtil.cs
src/II/SpreadSheet/GenerateUtil.cs
// Copyright 2014 by PeopleWare n.v.. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright 2014 by PeopleWare n.v.. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
394970a1e138139eb78ab8f9494c6649dccdf26d
Use “yield” instead of List for GetTransitions
lou1306/CIV,lou1306/CIV
CIV.Ccs/Processes/PrefixProcess.cs
CIV.Ccs/Processes/PrefixProcess.cs
using System; using System.Collections.Generic; using CIV.Common; namespace CIV.Ccs { class PrefixProcess : CcsProcess { public String Label { get; set; } public CcsProcess Inner { get; set; } protected override IEnumerable<Transition> EnumerateTransitions() { yield return ...
using System; using System.Collections.Generic; using CIV.Common; namespace CIV.Ccs { class PrefixProcess : CcsProcess { public String Label { get; set; } public CcsProcess Inner { get; set; } protected override IEnumerable<Transition> EnumerateTransitions() { return new List<...
mit
C#
f696a842e42df5fd1966d2284496edb707f65550
Add SO link
aloisdg/algo
Algo/CaesarCipher/CaesarCipher.cs
Algo/CaesarCipher/CaesarCipher.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CaesarCipher { public class CaesarCipher { /* * http://en.wikipedia.org/wiki/Caesar_cipher */ public static string Encrypt(string input, int code) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CaesarCipher { public class CaesarCipher { /* * http://en.wikipedia.org/wiki/Caesar_cipher */ public static string Encrypt(string input, int code) ...
bsd-3-clause
C#
7bc59b132aeb3831068a89515745183ab34bfa17
mark method as public
Recognos/CodeChalenges
Challenge2/Challenge2/Solution.cs
Challenge2/Challenge2/Solution.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Challenge2 { class Solution { const int MaxConcurrency = 5; const int TotalNumberOfExecutions = 20; static int currentlyActiveOperations = 0; static int startedOperations = 0; static Semapho...
using System; using System.Threading; using System.Threading.Tasks; namespace Challenge2 { class Solution { const int MaxConcurrency = 5; const int TotalNumberOfExecutions = 20; static int currentlyActiveOperations = 0; static int startedOperations = 0; static Semapho...
apache-2.0
C#
2680454fda31eb6cdc1f105e595775a53331770c
Set UserAgent on HTTP Client.
lewishenson/FluentMetacritic,lewishenson/FluentMetacritic
FluentMetacritic/Net/HttpClientWrapper.cs
FluentMetacritic/Net/HttpClientWrapper.cs
using System.Net.Http; using System.Threading.Tasks; namespace FluentMetacritic.Net { public class HttpClientWrapper : IHttpClient { private static readonly HttpClient Client; static HttpClientWrapper() { Client = new HttpClient(); Client.DefaultRequestHeaders....
using System.Net.Http; using System.Threading.Tasks; namespace FluentMetacritic.Net { public class HttpClientWrapper : IHttpClient { private static readonly HttpClient Client = new HttpClient(); public async Task<string> GetContentAsync(string address) { return await Clien...
mit
C#
80e553b95797e961045fe1f985086e8e41405ffd
Change version to 1.9
Seddryck/NBi,Seddryck/NBi
AssemblyInfo.cs
AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cédric L. Charlier")]...
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cédric L. Charlier")]...
apache-2.0
C#
8779ba86dba68bb960a931104194cff1a88e46d1
Set proper names for CallBase tests
Moq/moq
src/Moq/Moq.Tests/CallBaseTests.cs
src/Moq/Moq.Tests/CallBaseTests.cs
using System; using System.ComponentModel; using Xunit; using Moq.Sdk; using static Moq.Syntax; using Sample; namespace Moq.Tests { public class CallBaseTests { [Fact] public void CallBaseNotCalled() { var mock = Mock.Of<Calculator>(); mock.TurnOn(); ...
using System; using System.ComponentModel; using Xunit; using Moq.Sdk; using static Moq.Syntax; using Sample; namespace Moq.Tests { public class CallBaseTests { [Fact] public void callbase1() { var mock = Mock.Of<Calculator>(); mock.TurnOn(); Asser...
apache-2.0
C#
7837e967d2230870c3baf286877066de57a7a7af
update value
jefking/King.Mapper
King.Mapper/Properties/AssemblyInfo.cs
King.Mapper/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("King.Mapper")] [assembly: AssemblyDescription("High performance model mapping.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("King.Mapper")] [assembly: AssemblyCopyright("Copy...
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("Kin...
mit
C#
d217ca3ffd5d53de7f950617cc6d8b5056a0eb6f
Update ConfigExplorerMiddleware.cs
ctolkien/SodaPop.ConfigExplorer
src/ConfigExplorerMiddleware.cs
src/ConfigExplorerMiddleware.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using RazorLight; using System.Linq; namespace SodaPop.ConfigExplorer { public class ConfigExplorerMiddleware { private readonly IConfigurationRoot _c...
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using RazorLight; using System.Linq; namespace SodaPop.ConfigExplorer { public class ConfigExplorerMiddleware { private readonly IConfigurationRoot _config; ...
mit
C#
148de4f8b28ec158b29146066f99e225d7a7fe69
Fix Text AssemblyInfo
YallaDotNet/syslog
Text/Properties/AssemblyInfo.cs
Text/Properties/AssemblyInfo.cs
using System; using System.Reflection; #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyTitle("SyslogNet.Client.Text")] [assembly: AssemblyDescription("")] [assembly: AssemblyCompany("Xamarin Inc.")] [assembly: AssemblyProduct("SyslogNe...
using System; using System.Reflection; // 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("SyslogNet.Client.Text")] [assembly: AssemblyDescription("")] [ass...
mit
C#
952f6e4834aa796cedd74010a44646ff9876101c
Sort graph descending
jaredpar/Bugs,jaredpar/Bugs,jaredpar/Bugs
TheBugs/Views/Bugs/Graph.cshtml
TheBugs/Views/Bugs/Graph.cshtml
@using TheBugs.Models @using System.Text; @model ListModel @{ ViewBag.Title = "Assigned Graph"; var title = $"Assigned Issues"; var header = $"Developer,Count"; var builder = new StringBuilder(); foreach (var group in Model.Issues.GroupBy(x => x.Assignee).OrderByDescending(g => g.Count())) ...
@using TheBugs.Models @using System.Text; @model ListModel @{ ViewBag.Title = "Assigned Graph"; var title = $"Assigned Issues"; var header = $"Developer,Count"; var builder = new StringBuilder(); foreach (var group in Model.Issues.GroupBy(x => x.Assignee)) { var count = group.Count(...
apache-2.0
C#
7e02f60ae9b7a2c26db9b452d2cc3e98a730439e
Update src/Workspaces/Core/Portable/Storage/LegacyPersistentStorageService.cs
jasonmalinowski/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,sharwell/roslyn,KevinRansom/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,KevinRansom/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,sharwell/roslyn,CyrusNajmabadi/rosly...
src/Workspaces/Core/Portable/Storage/LegacyPersistentStorageService.cs
src/Workspaces/Core/Portable/Storage/LegacyPersistentStorageService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeA...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeA...
mit
C#
14cabbb882983dd6677d6df3a4e499d50a27ef6a
Fix unawaited async call
CollabIP/Tethr.AudioBroker.SDK
src/UploadRecordingSample/Program.cs
src/UploadRecordingSample/Program.cs
using System; using System.Configuration; using System.IO; using Tethr.Api; using Tethr.Api.Model; ////////////////////////////////////////////////////////////////////////////// // The credentials for connecting to the Tethr environment // are stored in the App.config file (UploadRecording.exe.config after build) // ...
using System; using System.Configuration; using System.IO; using Tethr.Api; using Tethr.Api.Model; ////////////////////////////////////////////////////////////////////////////// // The credentials for connecting to the Tethr environment // are stored in the App.config file (UploadRecording.exe.config after build) // ...
mit
C#
6287c685debbb4d3a0790c93b3c5d8e384e0eddf
build 7.1.34.0
agileharbor/channelAdvisorAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
bsd-3-clause
C#
4f74ea78fb4f27b23a2a4eadcad05d3fbe2d76ad
update assembly
agileharbor/shipStationAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
bsd-3-clause
C#
d3e08472069d9126815855e158aa587791f71e76
fix compile error
kheiakiyama/speech-eng-functions
SentenceScraping/run.csx
SentenceScraping/run.csx
#r "System.Configuration" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using LinqToTwitter; public static async Task<...
#r "System.Configuration" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using LinqToTwitter; public static async Task<HttpResponseMessage...
mit
C#
279f0bd4bcc2e23aa82914878bc78e2187de563a
add IFileUsage interface
IUMDPI/IUMediaHelperApps
Common/Models/FileUsages.cs
Common/Models/FileUsages.cs
using System; using System.Collections.Generic; using System.Linq; namespace Common.Models { public interface IFileUsage { string FileUse { get; } string FullFileUse { get; } } public class FileUsages : IFileUsage { private FileUsages(string fileUse, string fullFileUse) ...
using System; using System.Collections.Generic; using System.Linq; namespace Common.Models { public class FileUsages { private FileUsages(string fileUse, string fullFileUse) { FileUse = fileUse; FullFileUse = fullFileUse; } public string FileUse { get; ...
apache-2.0
C#
f0ba7133263224c3dc8d1e5a52d9eaf1170d442c
Add db context constructor
Orationi/Master
Orationi.Master/Model/MasterContext.cs
Orationi.Master/Model/MasterContext.cs
using System.Data.Entity; namespace Orationi.Master.Model { class MasterContext : DbContext { public DbSet<SlaveDescription> Slaves { get; set; } public DbSet<ModuleDescription> Modules { get; set; } public DbSet<ModuleVersion> ModuleVersions { get; set; } public DbSet<SlaveModule> SlaveModules { get; se...
using System.Data.Entity; namespace Orationi.Master.Model { class MasterContext : DbContext { public DbSet<SlaveDescription> Slaves { get; set; } public DbSet<ModuleDescription> Modules { get; set; } public DbSet<ModuleVersion> ModuleVersions { get; set; } public DbSet<SlaveModule> SlaveModules { get; se...
mit
C#
7ae5cdcf43296536b4ca8cf17893a9133ad40376
修复创建匹配器的错误!
huoxudong125/Zongsoft.CoreLibrary,Zongsoft/Zongsoft.CoreLibrary,MetSystem/Zongsoft.CoreLibrary
src/Services/MatcherAttribute.cs
src/Services/MatcherAttribute.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2010-2013 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2010-2013 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
lgpl-2.1
C#
3edcea6e8c5607bd1a4964201f4df60ac8583e61
Revert "Using ternary instead of coalesce in fallback enumerable value selection"
agileobjects/AgileMapper
AgileMapper/ObjectPopulation/ExistingOrDefaultValueDataSourceFactory.cs
AgileMapper/ObjectPopulation/ExistingOrDefaultValueDataSourceFactory.cs
namespace AgileObjects.AgileMapper.ObjectPopulation { using System.Linq.Expressions; using DataSources; using Members; internal class ExistingOrDefaultValueDataSourceFactory : IDataSourceFactory { public static readonly IDataSourceFactory Instance = new ExistingOrDefaultValueDataSourceFacto...
namespace AgileObjects.AgileMapper.ObjectPopulation { using System.Linq.Expressions; using DataSources; using Extensions; using Members; internal class ExistingOrDefaultValueDataSourceFactory : IDataSourceFactory { public static readonly IDataSourceFactory Instance = new ExistingOrDefau...
mit
C#
7feb8bdec4f02eacebe7cfe21104a2b3ee0740d4
Change option page position
Zvirja/ReSharperHelpers
AlexPovar.ReSharperHelpers/Settings/ReSharperHelpersOptionsPage.xaml.cs
AlexPovar.ReSharperHelpers/Settings/ReSharperHelpersOptionsPage.xaml.cs
using JetBrains.Annotations; using JetBrains.DataFlow; using JetBrains.ReSharper.Feature.Services.OptionPages.CodeEditing; using JetBrains.UI.CrossFramework; using JetBrains.UI.Options; using JetBrains.UI.Options.OptionPages.ToolsPages; namespace AlexPovar.ReSharperHelpers.Settings { [OptionsPage(PID, "Alex Povar R...
using JetBrains.Annotations; using JetBrains.DataFlow; using JetBrains.UI.CrossFramework; using JetBrains.UI.Options; using JetBrains.UI.Options.OptionPages.ToolsPages; namespace AlexPovar.ReSharperHelpers.Settings { [OptionsPage(PID, "Alex Povar ReSharper Helpers", typeof(MainThemedIcons.HelpersContextAction), Par...
mit
C#