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 |
|---|---|---|---|---|---|---|---|---|
e1777dde9d6c53834f6675ceadfd120ec961b144 | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.mvvm/ViewModels/PreferencesViewModel.cs | bstrkr.mobile/bstrkr.mvvm/ViewModels/PreferencesViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using bstrkr.core;
using bstrkr.core.config;
using bstrkr.core.services.location;
using bstrkr.mvvm.messages;
using bstrkr.providers;
using Cirrious.MvvmCross.Plugins.Messenger;
using Cirrious.MvvmCross.ViewModels;
namespace bstrk... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using bstrkr.core;
using bstrkr.core.config;
using bstrkr.core.services.location;
using bstrkr.mvvm.messages;
using bstrkr.providers;
using Cirrious.MvvmCross.Plugins.Messenger;
using Cirrious.MvvmCross.ViewModels;
namespace bstrk... | bsd-2-clause | C# |
0f48d34f4a7a817aa575b4f048165056f5ed394c | implement put better, test responses for accuracy | Pondidum/OctopusStore,Pondidum/OctopusStore | OctopusStore.Tests/Acceptance/ConsulEndpointTests.cs | OctopusStore.Tests/Acceptance/ConsulEndpointTests.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Testing;
using Newtonsoft.Json;
using OctopusStore.Consul;
using Owin;
using Shouldly;
using Xunit;
namespace OctopusStore.Tests
{
public class ConsulEndpointTests : IDisposable
{
p... | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Testing;
using Newtonsoft.Json;
using OctopusStore.Consul;
using Owin;
using Shouldly;
using Xunit;
namespace OctopusStore.Tests
{
public class ConsulEndpointTests : IDisposable
{
p... | lgpl-2.1 | C# |
6b9d9d146f4e4a8b0f4796af06520ddbf3859299 | Enforce SelfCleaningDirectory behavior | mono/libgit2sharp,Skybladev2/libgit2sharp,shana/libgit2sharp,AMSadek/libgit2sharp,vivekpradhanC/libgit2sharp,ethomson/libgit2sharp,Skybladev2/libgit2sharp,dlsteuer/libgit2sharp,red-gate/libgit2sharp,xoofx/libgit2sharp,psawey/libgit2sharp,paulcbetts/libgit2sharp,whoisj/libgit2sharp,mono/libgit2sharp,jeffhostetler/public... | LibGit2Sharp.Tests/TestHelpers/SelfCleaningDirectory.cs | LibGit2Sharp.Tests/TestHelpers/SelfCleaningDirectory.cs | using System;
using System.IO;
namespace LibGit2Sharp.Tests.TestHelpers
{
public class SelfCleaningDirectory : IDisposable
{
private readonly string _path;
public SelfCleaningDirectory(string path)
{
if (Directory.Exists(path))
{
throw new Inval... | using System;
namespace LibGit2Sharp.Tests.TestHelpers
{
public class SelfCleaningDirectory : IDisposable
{
private readonly string path;
public SelfCleaningDirectory(string path)
{
this.path = path;
DirectoryHelper.DeleteIfExists(path);
}
#reg... | mit | C# |
d461f3553c9c7fabc6be465d26318730208f1b8a | Save as consistent filename to make other scripting easier. | ddpruitt/MatterControl,rytz/MatterControl,unlimitedbacon/MatterControl,MatterHackers/MatterControl,mmoening/MatterControl,gregory-diaz/MatterControl,tellingmachine/MatterControl,mmoening/MatterControl,CodeMangler/MatterControl,MatterHackers/MatterControl,mmoening/MatterControl,rytz/MatterControl,larsbrubaker/MatterCont... | Testing/TestingDispatch.cs | Testing/TestingDispatch.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace MatterHackers.MatterControl.Testing
{
public class TestingDispatch
{
string errorLogFileName = null;
public TestingDispatch()
{
errorLo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace MatterHackers.MatterControl.Testing
{
public class TestingDispatch
{
string errorLogFileName = null;
public TestingDispatch()
{
errorLo... | bsd-2-clause | C# |
4ba88483838b56e75f01e67ad6baf37026f0330b | Add notify debug command. | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Client/Commands/DebugCommands.cs | Content.Client/Commands/DebugCommands.cs | using Content.Client.Interfaces;
using Content.Shared.GameObjects.Components.Markers;
using SS14.Client.Interfaces.Console;
using SS14.Client.Interfaces.GameObjects.Components;
using SS14.Shared.GameObjects;
using SS14.Shared.Interfaces.GameObjects;
using SS14.Shared.IoC;
namespace Content.Client.Commands
{
intern... | using Content.Shared.GameObjects.Components.Markers;
using SS14.Client.Interfaces.Console;
using SS14.Client.Interfaces.GameObjects.Components;
using SS14.Shared.GameObjects;
using SS14.Shared.Interfaces.GameObjects;
using SS14.Shared.IoC;
namespace Content.Client.Commands
{
internal sealed class ShowMarkersComman... | mit | C# |
43c22acf8500a6339e46c599064593d123ca9bb0 | Make base class abstract. | peeedge/mobile,eatskolnikov/mobile,peeedge/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile,masterrr/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile | Ross/ViewControllers/BaseTimerTableViewController.cs | Ross/ViewControllers/BaseTimerTableViewController.cs | using System;
using MonoTouch.UIKit;
namespace Toggl.Ross.ViewControllers
{
public abstract class BaseTimerTableViewController : UITableViewController
{
private readonly TimerNavigationController timerController;
protected BaseTimerTableViewController (UITableViewStyle withStyle) : base (with... | using System;
using MonoTouch.UIKit;
namespace Toggl.Ross.ViewControllers
{
public class BaseTimerTableViewController : UITableViewController
{
private readonly TimerNavigationController timerController;
public BaseTimerTableViewController (UITableViewStyle withStyle) : base (withStyle)
... | bsd-3-clause | C# |
eafc2b28531ea9d5fa496f69b4931c6aebacc20e | Mark ConnectionRedirector obsolete; removal soon | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.NetworkClient/Services/ConnectionRedirector.cs | src/Booma.Proxy.Client.Unity.NetworkClient/Services/ConnectionRedirector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GladNet;
using SceneJect.Common;
using UnityEngine;
using Unitysync.Async;
namespace Booma.Proxy
{
/// <summary>
/// Redirects the connection to the connection
/// stored in the connection deta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GladNet;
using SceneJect.Common;
using UnityEngine;
using Unitysync.Async;
namespace Booma.Proxy
{
/// <summary>
/// Redirects the connection to the connection
/// stored in the connection deta... | agpl-3.0 | C# |
254126128e3eca0a611174d54e2cee997afa37ef | Fix readme try better coverage (#169) | mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,quantumagi/StratisBi... | src/Stratis.FederatedPeg.Features.FederationGateway/Interfaces/IBlockTip.cs | src/Stratis.FederatedPeg.Features.FederationGateway/Interfaces/IBlockTip.cs | using NBitcoin;
using Newtonsoft.Json;
using Stratis.Bitcoin.Utilities.JsonConverters;
namespace Stratis.FederatedPeg.Features.FederationGateway.Interfaces
{
public interface IBlockTip
{
[JsonConverter(typeof(UInt256JsonConverter))]
uint256 Hash { get; }
int Height { get; }
}
} | using NBitcoin;
using Newtonsoft.Json;
using Stratis.Bitcoin.Utilities;
using Stratis.Bitcoin.Utilities.JsonConverters;
namespace Stratis.FederatedPeg.Features.FederationGateway.Interfaces
{
public interface IBlockTip
{
[JsonConverter(typeof(UInt256JsonConverter))]
uint256 Hash { get; }
... | mit | C# |
1595a6d6ff517bb29f12d64daff991685a694c2e | Update Program.cs | fboukezzoula/PlaceholdersKit,fboukezzoula/PlaceholdersKit,fboukezzoula/PlaceholdersKit | docker-full-examples/Program.cs | docker-full-examples/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace aspnetapp
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace aspnetapp
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
... | mit | C# |
1d502328bf277c5d2909095f18e2b75d01fcc882 | Add interface INotifyPropertyChanged in the MainPage.xaml.cs | juucustodio/Loading-Xamarin.Forms | Loading/Loading/Loading/MainPage.xaml.cs | Loading/Loading/Loading/MainPage.xaml.cs | using System;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Loading
{
public partial class MainPage : ContentPage, INotifyPropertyChanged
{
public MainPage()
{
InitializeComponent();
IsLoading = false;
BindingCont... | using System;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Loading
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
IsLoading = false;
BindingContext = this;
}
... | mit | C# |
a6fd3989851f759a7c9545959e80bab9a3533b1c | Update libphonenumber version | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/Google.LibPhoneNumber/build.cake | Android/Google.LibPhoneNumber/build.cake | #addin nuget:?package=Cake.Xamarin.Build
#addin nuget:?package=Cake.Xamarin
var TARGET = Argument ("t", Argument ("target", "Default"));
var NUGET_VERSION = "8.9.13";
var JAR_VERSION = "8.9.13";
var JAR_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/googlecode/libphonenumber/libphonenumber/... | #addin nuget:?package=Cake.Xamarin.Build
#addin nuget:?package=Cake.Xamarin
var TARGET = Argument ("t", Argument ("target", "Default"));
var NUGET_VERSION = "8.9.5";
var JAR_VERSION = "8.9.5";
var JAR_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/googlecode/libphonenumber/libphonenumber/{0... | mit | C# |
73424bc7735e4cb0507e99869dd7d638c56db865 | Update program.cs | msgithub8/indywidualne | program.cs | program.cs | int a =2;
int b=2;
| int a =2;
| mit | C# |
a8125d50cb444e3fc1b3d54701eefc34924de4af | Clarify MonoModTargetModule documentation | AngelDE98/MonoMod,0x0ade/MonoMod | MonoMod/Modifiers/MonoModTargetModule.cs | MonoMod/Modifiers/MonoModTargetModule.cs | using System;
namespace MonoMod {
/// <summary>
/// MonoMod target mpdule attribute.
/// Apply it onto a type and it will only be patched in the target module.
/// This allows for one MonoMod mod to be used on multiple assemblies with differing specifics.
/// It doesn't affect any other module tha... | using System;
namespace MonoMod {
/// <summary>
/// MonoMod target mpdule attribute.
/// Apply it onto a type and it will only be patched in the target module.
/// This allows for one MonoMod mod to be used on multiple assemblies with differing specifics.
/// </summary>
public class MonoModTar... | mit | C# |
00656293f04f941356c748a8e0cd49af37434004 | Add null check for coverity | ilovepi/Compiler,ilovepi/Compiler | compiler/NUnit.Tests/MiddleEnd/DominatorNodeTests.cs | compiler/NUnit.Tests/MiddleEnd/DominatorNodeTests.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using compiler.middleend.ir;
namespace NUnit.Tests.MiddleEnd
{
[TestFixture]
public class DominatorNodeTests
{
private DominatorNode _d;
[SetUp]
... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using compiler.middleend.ir;
namespace NUnit.Tests.MiddleEnd
{
[TestFixture]
public class DominatorNodeTests
{
private DominatorNode _d;
[SetUp]
... | mit | C# |
7135e2c06b50f161e531256379eb35ff5c8bcac2 | Fix repository owner | bbtsoftware/TfsUrlParser | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftwareag",
repositoryNa... | mit | C# |
997e831065fad27a72009bd13ba4d9708ed54d17 | Use double instead of float | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | Diagnostics/UnhelpfulDebugger/Program.cs | Diagnostics/UnhelpfulDebugger/Program.cs | using System;
namespace UnhelpfulDebugger
{
class Program
{
static void Main()
{
string awkward1 = "Foo\\Bar";
string awkward2 = "FindElement";
double awkward3 = 4.9999999999999995d;
Console.WriteLine(awkward1);
PrintString(awkward... | using System;
namespace UnhelpfulDebugger
{
class Program
{
static void Main()
{
string awkward1 = "Foo\\Bar";
string awkward2 = "FindElement";
float awkward3 = 4.9999995f;
Console.WriteLine(awkward1);
PrintString(awkward1);
... | apache-2.0 | C# |
1318d6a666b6722c9b3112a1115b8111b5749896 | bump version | Fody/Janitor | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.5.0")]
[assembly: AssemblyFileVersion("1.5.0")]
| using System.Reflection;
[assembly: AssemblyVersion("1.4.1")]
[assembly: AssemblyFileVersion("1.4.1")]
| mit | C# |
4c568796eddc67d865ed5d64e8712657cb8a3105 | Fix label/input binding in attachment form | walty8/trac,jun66j5/trac-ja,jun66j5/trac-ja,walty8/trac,netjunki/trac-Pygit2,netjunki/trac-Pygit2,jun66j5/trac-ja,netjunki/trac-Pygit2,walty8/trac,jun66j5/trac-ja,walty8/trac | templates/attachment.cs | templates/attachment.cs | <?cs include "header.cs" ?>
<?cs include "macros.cs" ?>
<div id="page-content">
<h3>Add Attachment to
<a href="<?cs var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
<div id="main">
<div id="main-content">
<fieldset>
<form action="<?cs var:cgi_location ?>" method="post"
enc... | <?cs include "header.cs" ?>
<?cs include "macros.cs" ?>
<div id="page-content">
<h3>Add Attachment to
<a href="<?cs var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
<div id="main">
<div id="main-content">
<fieldset>
<form action="<?cs var:cgi_location ?>" method="post"
enc... | bsd-3-clause | C# |
e627c94743927a54247a5709629793bb1d2eae04 | fix error when coloring from context menu | PhannGor/unity3d-rainbow-folders | Assets/RainbowFoldersAsset/RainbowFolders/Editor/Menu/FolderColorsStorage.cs | Assets/RainbowFoldersAsset/RainbowFolders/Editor/Menu/FolderColorsStorage.cs | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | apache-2.0 | C# |
b73a2fd54780aea619977dd7a3928cf9e639e9ee | Use empty accessor for unimplemented events. | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework.iOS/Input/IOSTextInput.cs | osu.Framework.iOS/Input/IOSTextInput.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 Foundation;
using osu.Framework.Input;
namespace osu.Framework.iOS.Input
{
public class IOSTextInput : ITextInputSource
{
private re... | // 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 Foundation;
using osu.Framework.Input;
namespace osu.Framework.iOS.Input
{
public class IOSTextInput : ITextInputSource
{
private re... | mit | C# |
c671095e91d2f0d6af25e1f046e526d4842f9e1c | Address review comments. | google/protobuf,google/protobuf,google/protobuf,google/protobuf,Livefyre/protobuf,Livefyre/protobuf,Livefyre/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,google/protobuf,Livefyre/protobuf,google/protobuf | csharp/src/Google.Protobuf/Reflection/IFieldAccessor.cs | csharp/src/Google.Protobuf/Reflection/IFieldAccessor.cs | #region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... | #region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... | bsd-3-clause | C# |
ff6367fa4b113052fd835a05ff776049e3ca818f | Make back button glow when pressing escape | ZLima12/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,2yangk23/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,peppy/osu,ZLima12/osu,UselessToucan/osu,UselessToucan/osu,smoo... | osu.Game/Graphics/UserInterface/BackButton.cs | osu.Game/Graphics/UserInterface/BackButton.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Bindings;
using osu.Game.I... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Bindings;
using osu.Game.I... | mit | C# |
fb12ccd93e4ec389f63eace0c17b19256ea09739 | Change CAT skid sound. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | game/server/base/cats.sfx.cs | game/server/base/cats.sfx.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | lgpl-2.1 | C# |
e1b0f2ee75abed1a74326bfe69429ee86190ad0c | Convert vertical scroll to horizontal when shift is held | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs | osu.Framework/Input/StateChanges/MouseScrollRelativeInput.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 osu.Framework.Input.StateChanges.Events;
using osu.Framework.Input.States;
using osuTK;
namespace osu.Framework.Input.StateChanges
{
/// <summary>
/// Den... | // 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 osu.Framework.Input.StateChanges.Events;
using osu.Framework.Input.States;
using osuTK;
namespace osu.Framework.Input.StateChanges
{
/// <summary>
/// Den... | mit | C# |
aa424165b3790cdccd6d094b7310d68de6a16e6a | Fix broken taiko test | UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu | osu.Game.Rulesets.Taiko.Tests/Skinning/TestSceneInputDrum.cs | osu.Game.Rulesets.Taiko.Tests/Skinning/TestSceneInputDrum.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps.ControlPoints;
using... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps.ControlPoints;
using... | mit | C# |
00aea7748970cb3d29bde9f7a171d6ba5a545480 | Fix potential instability of overlay activation tests | UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneOverlayActivation.cs | osu.Game.Tests/Visual/Gameplay/TestSceneOverlayActivation.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.Linq;
using NUnit.Framework;
using osu.Game.Overlays;
using osu.Game.Rulesets;
namespace osu.Game.Tests.Visual.Gameplay
{
public class TestSceneOverlay... | // 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.Linq;
using NUnit.Framework;
using osu.Game.Overlays;
using osu.Game.Rulesets;
namespace osu.Game.Tests.Visual.Gameplay
{
public class TestSceneOverlay... | mit | C# |
ca12f0367c2cfaae7da6051d76e35343b079806d | Hide or show button in sample application | darbio/auth0-roles-permissions-dashboard-sample,darbio/auth0-roles-permissions-dashboard-sample,auth0/auth0-roles-permissions-dashboard-sample,darbio/auth0-roles-permissions-dashboard-sample,auth0/auth0-roles-permissions-dashboard-sample,auth0/auth0-roles-permissions-dashboard-sample | examples/asp.net-mvc/HR.Web/Views/Employee/Index.cshtml | examples/asp.net-mvc/HR.Web/Views/Employee/Index.cshtml | @using System.Security.Claims
@{
ViewBag.Title = "Employees Overview";
}
<h2>Employees Overview</h2>
You can only see this page if you have the <strong>employee_read</strong> permissions.
<br/>
<br/>
@if (ClaimsPrincipal.Current.HasClaim(ClaimTypes.Role, "employee_create"))
{
<a href="@Url.Action("Create"... |
@{
ViewBag.Title = "Employees Overview";
}
<h2>Employees Overview</h2>
You can only see this page if you have the <strong>employee_read</strong> permissions.
| mit | C# |
201e75da341e8a0b3c026b3bce3a1b7c6ccff900 | Fix non-convex collider warning on selection indicator | subdigital/blades-edge | Assets/Scripts/WorldObjectSelection.cs | Assets/Scripts/WorldObjectSelection.cs | using UnityEngine;
using System.Collections;
public class WorldObjectSelection : MonoBehaviour {
public GameObject selectionIndicatorPrefab;
Player player;
void Start () {
player = GetComponent<Player> ();
}
void Update () {
if (Input.GetMouseButtonDown (0)) {
if (player.hud.IsMouseInHUDBounds ()) {... | using UnityEngine;
using System.Collections;
public class WorldObjectSelection : MonoBehaviour {
public GameObject selectionIndicatorPrefab;
Player player;
void Start () {
player = GetComponent<Player> ();
}
void Update () {
if (Input.GetMouseButtonDown (0)) {
if (player.hud.IsMouseInHUDBounds ()) ... | mit | C# |
d9bcd5c37166f6d82b7c77601f8f6c2182164168 | Update LoginController.cs | NicoKno/BrettPit,NicoKno/BrettPit | BrettPit/Controller/LoginController.cs | BrettPit/Controller/LoginController.cs | using System;
using System.Dynamic;
using BrettPit.BusinessLogic;
using Nancy;
using Nancy.Authentication.Forms;
using Nancy.Extensions;
namespace BrettPit.Controller
{
public class LoginController : NancyModule
{
public LoginController()
{
Get["/login"] = GetLoginView;
... | using System;
using System.Dynamic;
using BrettPit.BusinessLogic;
using Nancy;
using Nancy.Authentication.Forms;
using Nancy.Extensions;
namespace BrettPit.Controller
{
public class LoginController : NancyModule
{
public LoginController()
{
Get["/login"] = GetLoginView;
... | mit | C# |
16a3a5d2c2fe58056e5d7667a3b4d7f38f4cb9ca | Bump to v0.5.2 | dancol90/mi-360 | Source/mi-360/Properties/AssemblyInfo.cs | Source/mi-360/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | bsd-3-clause | C# |
aa0f4dcc646caab0cd5bfa0a7fc79c495649388e | Add explicit default CommandDispatcher constructor | appharbor/appharbor-cli | src/AppHarbor/CommandDispatcher.cs | src/AppHarbor/CommandDispatcher.cs | namespace AppHarbor
{
public class CommandDispatcher
{
public CommandDispatcher()
{
}
}
}
| namespace AppHarbor
{
public class CommandDispatcher
{
}
}
| mit | C# |
f5eea832ab7b97a25b8c504e89fb76ea98028ae3 | change the sp menu button style | Morphan1/Voxalia,Morphan1/Voxalia,Morphan1/Voxalia | Voxalia/ClientGame/ClientMainSystem/SingleplayerMenuScreen.cs | Voxalia/ClientGame/ClientMainSystem/SingleplayerMenuScreen.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Voxalia.ClientGame.UISystem;
using Voxalia.ClientGame.UISystem.MenuSystem;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL4;
using Voxalia.Shared;
namespace Voxalia.ClientGame.ClientMainSystem
{
class Sin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Voxalia.ClientGame.UISystem;
using Voxalia.ClientGame.UISystem.MenuSystem;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL4;
using Voxalia.Shared;
namespace Voxalia.ClientGame.ClientMainSystem
{
class Sin... | mit | C# |
c44d4b21c03d6634acc909e29f69edcef65f0209 | Update Ball.cs | erdenbatuhan/Venture | Assets/Scripts/Ball.cs | Assets/Scripts/Ball.cs | //
// Ball.cs
// Venture
//
// Created by Batuhan Erden.
// Copyright © 2016 Batuhan Erden. All rights reserved.
//
using UnityEngine;
using System.Collections;
public class Ball : MonoBehaviour {
private const int SPEED_FORCE = 10;
private const int JUMP_FORCE = 8;
private int jumpingsLeft;
public GameObj... | //
// Ball.cs
// A Vaila Ball - Computer
//
// Created by Batuhan Erden.
// Copyright © 2016 Batuhan Erden. All rights reserved.
//
using UnityEngine;
using System.Collections;
public class Ball : MonoBehaviour {
private const int SPEED_FORCE = 10;
private const int JUMP_FORCE = 8;
private int jumpingsLeft;... | mit | C# |
57d233683ea5401f44259458e11533bd468f32d8 | Save settings.txt to same folder as the assembly | SteamDatabase/ValveResourceFormat | GUI/Utils/Settings.cs | GUI/Utils/Settings.cs | using System.Collections.Generic;
using System.Drawing;
using System.IO;
using ValveKeyValue;
namespace GUI.Utils
{
internal static class Settings
{
public class AppConfig
{
public List<string> GameSearchPaths { get; set; } = new List<string>();
public string Background... | using System.Collections.Generic;
using System.Drawing;
using System.IO;
using ValveKeyValue;
namespace GUI.Utils
{
internal static class Settings
{
public class AppConfig
{
public List<string> GameSearchPaths { get; set; } = new List<string>();
public string Background... | mit | C# |
35ca42ec84832d58ee590a3d52fcd74aa9b11546 | Add a stopwatch to startup | File-New-Project/EarTrumpet | EarTrumpet/App.xaml.cs | EarTrumpet/App.xaml.cs | using EarTrumpet.DataModel;
using EarTrumpet.Misc;
using EarTrumpet.Services;
using EarTrumpet.ViewModels;
using EarTrumpet.Views;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
namespace EarTrumpet
{
public partial class App
{
private MainViewModel _viewModel;
pri... | using EarTrumpet.DataModel;
using EarTrumpet.Misc;
using EarTrumpet.Services;
using EarTrumpet.ViewModels;
using EarTrumpet.Views;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
namespace EarTrumpet
{
public partial class App
{
private MainViewModel _viewModel;
pri... | mit | C# |
f64d607fd206ca2400534cdbe344c0e479322ca1 | Use FileUtil.JoinPath instead of Path.Combine to support either forward- or backslashes | clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch | csharp/CsSearch/CsSearch/SearchFile.cs | csharp/CsSearch/CsSearch/SearchFile.cs | using System.Collections.Generic;
using System.IO;
using System.Text;
namespace CsSearch
{
public class SearchFile
{
public static string ContainerSeparator = "!";
public IList<string> Containers { get; private set; }
public FileInfo File { get; private set; }
public FileType Type { get; privat... | using System.Collections.Generic;
using System.IO;
using System.Text;
namespace CsSearch
{
public class SearchFile
{
public static string ContainerSeparator = "!";
public IList<string> Containers { get; private set; }
public FileInfo File { get; private set; }
public FileType Type { get; privat... | mit | C# |
6fe50a8ca319429dfd3ea8dd029077ba200c9ccd | Update version number. | ronnymgm/csla-light,rockfordlhotka/csla,JasonBock/csla,BrettJaner/csla,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,MarimerLLC/csla,jonnybee/csla,MarimerLLC/csla,BrettJaner/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,rockfordlhotka/csla,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla | cslacs/Csla/Properties/AssemblyInfo.cs | cslacs/Csla/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("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("CS... | mit | C# |
65276cd235a0026170d4e06b2faffc515b045c06 | Remove whitespace | ZLima12/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ZLima12/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,johnneijzen/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/o... | osu.Game/Rulesets/Mods/ModBlockFail.cs | osu.Game/Rulesets/Mods/ModBlockFail.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 osu.Framework.Bindables;
using osu.Game.Configuration;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModBlockFail : Mod... | // 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 osu.Framework.Bindables;
using osu.Game.Configuration;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModBlockFail : Mod... | mit | C# |
856d282d77f79865096d43553dee5694e6015284 | Fix String.To<T>(). | bcjobs/infrastructure | Infra/StringHelpers.cs | Infra/StringHelpers.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System
{
public static class StringHelpers
{
public static T To<T>(this string text)
{
var type = typeof(T);
if (te... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System
{
public static class StringHelpers
{
public static T To<T>(this string text)
{
if (text == null) {
if (typeof(T).IsNullable())
... | mit | C# |
661c330b121f41a2029774b3118389c29da069d7 | Fix ProxyDrawable improperly being removed when the original drawable is set to not be removed. | EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,default0/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,sm... | osu.Framework/Graphics/ProxyDrawable.cs | osu.Framework/Graphics/ProxyDrawable.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Graphics
{
public class ProxyDrawable : Drawable
{
public ProxyDrawable(Drawable original)
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Graphics
{
public class ProxyDrawable : Drawable
{
public ProxyDrawable(Drawable original)
{
... | mit | C# |
299c7b3c7967a32f15018e7d7a4975b22892cfc9 | Update School.cs | datanets/kask-kiosk,datanets/kask-kiosk | Models/School.cs | Models/School.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class School
{
public int School_ID { get; set; }
public string School_Name { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class School
{
public int school_ID { get; set; }
public string school_Name { get; set; }
}
} | mit | C# |
4585f1b4919e058651efb198fe7845b4f5ed59ca | Update TKEYVALUELIST.cs | AshleyMedway/MailJet.NET | MailJetClient/Request/TKEYVALUELIST.cs | MailJetClient/Request/TKEYVALUELIST.cs | using System.Collections.Generic;
using System.Linq;
namespace MailJet.Client.Request
{
public struct TKEYVALUELIST
{
public string Name { get; set; }
public object Value { get; set; }
public static List<TKEYVALUELIST> FromDictionary(Dictionary<string, object> dictionary)
{
... | using System.Collections.Generic;
using System.Linq;
namespace MailJet.Client.Request
{
public struct TKEYVALUELIST
{
public string Name { get; set; }
public string Value { get; set; }
public static List<TKEYVALUELIST> FromDictionary(Dictionary<string, string> dictionary)
{
... | mit | C# |
e6b65f259481a0f2f89814583938ef46e18d88a8 | fix api-docs build task | mm999/OrigoDB | build.cake | build.cake | using System.Text.RegularExpressions;
var target = Argument("target", "Default");
var config = Argument("config", "Release");
var nunit = Argument("nunit", false);
var output = "./build";
// Parse the version from the assembly info.
var version = ParseAssemblyInfo("./src/SharedAssemblyInfo.cs").AssemblyVersion;
Infor... | using System.Text.RegularExpressions;
var target = Argument("target", "Default");
var config = Argument("config", "Release");
var nunit = Argument("nunit", false);
var output = "./build";
// Parse the version from the assembly info.
var version = ParseAssemblyInfo("./src/SharedAssemblyInfo.cs").AssemblyVersion;
Infor... | mit | C# |
d0b9402fff8f01b71a148b7fa497b0e5c30d2753 | Fix pack criteria | jerriep/auth0.net,auth0/auth0.net,jerriep/auth0.net,jerriep/auth0.net,auth0/auth0.net | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
// GLOBAL VARIABLES
var artifactsDirectory = Directory("./artifacts");
var solutionFile = "./Auth0.Net.sln";
var IsOnAppVeyorAndNotPR = AppVeyor.IsRunningOnAppVeyor && !AppVeyor.Environment.PullRequest.IsPullRequest;
... | var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
// GLOBAL VARIABLES
var artifactsDirectory = Directory("./artifacts");
var solutionFile = "./Auth0.Net.sln";
var IsOnAppVeyorAndNotPR = AppVeyor.IsRunningOnAppVeyor && !AppVeyor.Environment.PullRequest.IsPullRequest;
... | mit | C# |
0208a8e90a48d30e9ef62d0701e01b1042c04f74 | Update Request.cs | xjpeter/Naru | Naru.Agatha/Request.cs | Naru.Agatha/Request.cs | using System.Runtime.Serialization;
namespace Naru.Agatha
{
[DataContract]
public abstract class Request : global::Agatha.Common.Request
{
[DataMember]
public string Id { get; set; }
}
}
| using System.Runtime.Serialization;
namespace Naru.Agatha
{
[DataContract]
public abstract class Request<TResponse> : global::Agatha.Common.Request
where TResponse : global::Agatha.Common.Response
{
[DataMember]
public string Id { get; set; }
}
} | mit | C# |
bf75fadfac64455ef25130458c1abef681d64d4b | Fix logic in home index to go to a slug if provided | bradygaster/downr,bradygaster/downr,spboyer/downr,spboyer/downr,bradygaster/downr | src/Controllers/Home.cs | src/Controllers/Home.cs | using System;
using System.Linq;
using downr.Services;
using Microsoft.AspNetCore.Mvc;
namespace downr.Controllers
{
public class HomeController : Controller
{
IYamlIndexer _indexer;
public HomeController(IYamlIndexer indexer)
{
_indexer = indexer;
}
[Route... | using System;
using System.Linq;
using downr.Services;
using Microsoft.AspNetCore.Mvc;
namespace downr.Controllers
{
public class HomeController : Controller
{
IYamlIndexer _indexer;
public HomeController(IYamlIndexer indexer)
{
_indexer = indexer;
}
[Route... | apache-2.0 | C# |
e7835239adc94a6a99011acfc23e2cc1cacbbbd8 | Update Repl.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Util/Repl.cs | src/Core2D/Util/Repl.cs | #nullable enable
using System.IO;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Core2D.Screenshot;
using Core2D.ViewModels.Editor;
namespace Core2D.Util;
public class Repl
{
public static Application? GetApplication()
{
retu... | #nullable enable
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Core2D.Screenshot;
using Core2D.ViewModels.Editor;
namespace Core2D.Util;
public class Repl
{
public static Application GetApplication()
{
return Application.Cur... | mit | C# |
0404f4939db2ce5a449ce13045d2d5f67541a5ac | fix for the RelationTypes tree namespace | tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,corsjune/Umbraco-CMS,zidad/Umbraco-CMS,gregoriusxu/Umbraco-CMS,aaronpowell/Umbraco-CMS,KevinJump/Umbraco-CMS,romanlytvyn/Umbraco-CMS,mattbrailsford/Umbraco-CMS,Phosworks/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,engern/Umbraco-CMS,romanlytvyn/Umbraco-CMS,hfloyd/Umbraco-CMS,dampee/Um... | umbraco/presentation/umbraco/Trees/RelationTypes/RegisterRelationTypeTree.cs | umbraco/presentation/umbraco/Trees/RelationTypes/RegisterRelationTypeTree.cs | using umbraco.BusinessLogic;
using umbraco.cms.businesslogic;
using umbraco.cms.businesslogic.web;
using umbraco.cms.presentation.Trees; // TreeDefinitionCollection
namespace umbraco.cms.presentation.Trees.RelationTypes
{
/// <summary>
/// This class will dynamically register a tree without having to ... | using umbraco.BusinessLogic;
using umbraco.cms.businesslogic;
using umbraco.cms.businesslogic.web;
using umbraco.cms.presentation.Trees; // TreeDefinitionCollection
namespace umbraco.cms.presentation.Trees.RelationTypes
{
/// <summary>
/// This class will dynamically register a tree without having to ... | mit | C# |
9c5c48c86d1763146f69b09bdc23d50c55a65211 | Update documentation and parameter name | WiRuc/DbUp,DbUp/DbUp,ronnieoverby/DbUp,JakeGinnivan/DbUp,aggieben/DbUp,TicketSolutionsPtyLtd/DbUp,dazinator/DbUp | src/DbUp/Support/SqlServer/SqlObjectParser.cs | src/DbUp/Support/SqlServer/SqlObjectParser.cs | using System;
using System.Linq;
namespace DbUp.Support.SqlServer
{
internal enum ObjectNameOptions
{
/// <summary>
/// No options are set.
/// </summary>
None,
/// <summary>
/// Remove starting and ending white space from the object name.
/// </summary... | using System;
using System.Linq;
namespace DbUp.Support.SqlServer
{
internal enum ObjectNameOptions
{
/// <summary>
/// No options are set.
/// </summary>
None,
/// <summary>
/// Remove starting and ending white space from the object name.
/// </summary... | mit | C# |
9c1bfe2a5bec8f32bd4598fa36dd1b95b3f644fc | Update Export-CurrentContainer-Dxf.csx | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | scripts/Export-CurrentContainer-Dxf.csx | scripts/Export-CurrentContainer-Dxf.csx | #r "Core2D.FileWriter.Dxf"
using System;
using System.IO;
using System.Linq;
using Core2D.FileWriter.Dxf;
var dir = "D:\\";
var page = Editor.Project.CurrentContainer;
var writer = Editor.FileWriters.FirstOrDefault(x => x.GetType() == typeof(DxfWriter));
var path = Path.Combine(dir, page.Name + "." + writer.Extension)... | #r "Core2D.FileWriter.Dxf"
using System;
using System.Linq;
using Core2D.FileWriter.Dxf;
var dir = "D:\\";
var page = Editor.Project.CurrentContainer;
var writer = Editor.FileWriters.FirstOrDefault(x => x.GetType() == typeof(DxfWriter));
var path = dir + page.Name + "." + writer.Extension;
writer.Save(path, page, Edit... | mit | C# |
63eea63cc8b006c7ba1dbe8d860c62cbbaa02feb | Fix code style in CaptureMatch | Moq/moq4,ocoanet/moq4 | src/Moq/CaptureMatch.cs | src/Moq/CaptureMatch.cs | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Linq.Expressions;
namespace Moq
{
/// <summary>
/// Allows creation custom matchers that can be used on setups to capture param... | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Linq.Expressions;
namespace Moq
{
/// <summary>
/// Allows creation custom matchers that can be used on setups to capture param... | bsd-3-clause | C# |
7e20a8ec8f57515dc7e2aa946a68596087286f3d | Fix adding control observers | PowerOfCode/Eto,l8s/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Mac/Forms/MacObject.cs | Source/Eto.Platform.Mac/Forms/MacObject.cs | using System;
using MonoMac.Foundation;
using System.Collections.Generic;
using MonoMac.ObjCRuntime;
namespace Eto.Platform.Mac.Forms
{
public class MacObject<T, W> : MacBase<T, W>
where T: NSObject
where W: InstanceWidget
{
public virtual object EventObject
{
get { return Control; }
}
public new ... | using System;
using MonoMac.Foundation;
using System.Collections.Generic;
using MonoMac.ObjCRuntime;
namespace Eto.Platform.Mac.Forms
{
public class MacObject<T, W> : MacBase<T, W>
where T: NSObject
where W: InstanceWidget
{
public virtual object EventObject
{
get { return Control; }
}
public new ... | bsd-3-clause | C# |
ea2eb1dbdd7897d3737a33d69d8af0d01cf823d9 | Remove ActiveIssue attribute. | linq2db/linq2db,MaceWindu/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db | Tests/Linq/UserTests/Issue1721Tests.cs | Tests/Linq/UserTests/Issue1721Tests.cs | using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1721Tests : TestBase
{
public class I1721Model
{
[Column(DataType = DataType.DateTime2, Precision = 7), NotNull]
public DateTime BadField { get; set; }
}
[Test]
... | using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1721Tests : TestBase
{
public class I1721Model
{
[Column(DataType = DataType.DateTime2, Precision = 7), NotNull]
public DateTime BadField { get; set; }
}
[ActiveIs... | mit | C# |
3565e70777be41ab4fc7f1bbbc5b6c75e3ab3a01 | Fix #194 | charlesw/tesseract,Capibara-/tesseract,nguyenq/tesseract,beni55/tesseract,akorentlab/tesseract,anshul1912/tesseract-1,bing6/tesseract | src/Tesseract/TesseractException.cs | src/Tesseract/TesseractException.cs |
using System;
using System.Runtime.Serialization;
namespace Tesseract
{
/// <summary>
/// Desctiption of TesseractException.
/// </summary>
[Serializable]
public class TesseractException : Exception, ISerializable
{
public TesseractException()
{
}
public TesseractException(string message) : base(mess... |
using System;
using System.Runtime.Serialization;
namespace Tesseract
{
/// <summary>
/// Desctiption of TesseractException.
/// </summary>
public class TesseractException : Exception, ISerializable
{
public TesseractException()
{
}
public TesseractException(string message) : base(message)
{
}
... | apache-2.0 | C# |
c73c6ed6b42bbf0b110d7c6174ce5cb8cb1aeb1f | Change GC Handicapping sticky note | croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-a... | source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml | source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml | <div class="sticky-notes">
<div class="sticky-note">
<i class="pin"></i>
<div class="content green">
<h1>
GC Handicapping System
</h1>
<p>
New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> came into effec... | <div class="sticky-notes">
<div class="sticky-note">
<i class="pin"></i>
<div class="content green">
<h1>
GC Handicapping System
</h1>
<p>
New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> comes into effe... | mit | C# |
153af8082746274ee2c061cf707388634dc9788d | Normalize STM input | PUT-PTM/SuperTrackMayhem,PUT-PTM/SuperTrackMayhem,PUT-PTM/SuperTrackMayhem | UnityProject/Assets/Scripts/STMReceiver.cs | UnityProject/Assets/Scripts/STMReceiver.cs | using UnityEngine;
using System.IO.Ports;
[RequireComponent(typeof(CarController))]
public class STMReceiver : MonoBehaviour
{
private CarController _controller;
private byte val;
public SerialPort Port = new SerialPort("COM5", 112500, Parity.None, 8, StopBits.One);
void Start()
{
//SerialPort Port = new Seri... | using UnityEngine;
using System.IO.Ports;
[RequireComponent(typeof(CarController))]
public class STMReceiver : MonoBehaviour
{
private CarController _controller;
private byte val;
public SerialPort Port = new SerialPort("COM5", 112500, Parity.None, 8, StopBits.One);
void Start()
{
//SerialPort Port = new Seri... | mit | C# |
1847e8c4bfffda121a85d2df7a9def0d9dc0a7a8 | Fix warning. | DotNetAnalyzers/WpfAnalyzers | WpfAnalyzers.Analyzers/AnalyzerCategory.cs | WpfAnalyzers.Analyzers/AnalyzerCategory.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
// ReSharper disable InconsistentNaming
namespace WpfAnalyzers
{
/// <summary>
/// Class defining the analyzer category constants.
... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace WpfAnalyzers
{
/// <summary>
/// Class defining the analyzer category constants.
/// </summary>
internal static c... | mit | C# |
3886290e686b86cdb81199076150c1d433aa0b38 | make stylecop changes | carterjones/pe-analyzer,carterjones/pe-analyzer | PEAnalyzer/Program.cs | PEAnalyzer/Program.cs | namespace PEAnalyzer
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Bunseki;
/// <summary>
/// The main class to be run when the executable is run.
/// </summary>
public cl... | namespace PEAnalyzer
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.IO;
//using Capstone;
using Bunseki;
class Program
{
static void Main(string[] args)
{
str... | bsd-2-clause | C# |
2d3ffdaefb8738e9673d785bc4a7770deae55cda | Update version to 1.7.0 | TheOtherTimDuncan/TOTD-Mailer | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | 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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Other Tim Duncan")]
[assembly: Assem... | 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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Other Tim Duncan")]
[assembly: Asse... | mit | C# |
83af749cc0a858ab92e4b968cfc218b0e2867b9d | update version | DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Resources;
// WARNING this file is shared accross multiple projects
[assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")]
[assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2018")]
[assembly: AssemblyCompany("CodePlex Foundation")]
[assembly: AssemblyVersi... | using System.Reflection;
using System.Resources;
// WARNING this file is shared accross multiple projects
[assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")]
[assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2018")]
[assembly: AssemblyCompany("CodePlex Foundation")]
[assembly: AssemblyVersi... | bsd-3-clause | C# |
4bbe176bacb4b20e4ba754cd2301d99b4d08093d | Duplicate in employerAccounts becasuse EFContext setup through DI is the same as EAS api | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Data/EmployerFinanceDbContext.cs | src/SFA.DAS.EmployerAccounts/Data/EmployerFinanceDbContext.cs | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.EmployerAccounts.Data
{
[DbConfigurationType(typeof(EntityFramework.SqlAzureDbConfigu... | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.EmployerAccounts.Data
{
[DbConfigurationType(typeof(EntityFramework.SqlAzureDbConfigu... | mit | C# |
676e5ba8ec5e8ef2c20c826e85c765929e160840 | Add an additional method for creating a generation | inputfalken/Sharpy | GeneratorAPI/Generator.cs | GeneratorAPI/Generator.cs | using System;
namespace GeneratorAPI {
public static class Generator {
/// <summary>
/// <para>
/// Contains methods for creating Generators with various Providers.
/// </para>
/// </summary>
public static GeneratorFactory Factory { get; } = new Gene... | using System;
namespace GeneratorAPI {
public static class Generator {
/// <summary>
/// <para>
/// Contains methods for creating Generators with various Providers.
/// </para>
/// </summary>
public static GeneratorFactory Factory { get; } = new Gene... | mit | C# |
159e6888803818767878e625b6507311694f7850 | Update tests to pass new required title parameter. | AlekseyTs/roslyn,gafter/roslyn,physhi/roslyn,nguerrera/roslyn,ErikSchierboom/roslyn,dotnet/roslyn,abock/roslyn,tmat/roslyn,genlu/roslyn,mavasani/roslyn,reaction1989/roslyn,wvdd007/roslyn,physhi/roslyn,jmarolf/roslyn,tannergooding/roslyn,diryboy/roslyn,ErikSchierboom/roslyn,nguerrera/roslyn,davkean/roslyn,KevinRansom/ro... | src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.cs | src/VisualStudio/LiveShare/Test/RunCodeActionsHandlerTests.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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.LanguageServer.CustomProtocol;
using Newtonsoft.Json.Linq;
using Roslyn.Test.Ut... | // 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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.LanguageServer.CustomProtocol;
using Newtonsoft.Json.Linq;
using Roslyn.Test.Ut... | mit | C# |
daac8b8dfeb2ae90305558ac0959fd1d32363cd3 | Correct extension definition configuration value | GibraltarSoftware/Loupe.Samples,GibraltarSoftware/Loupe.Samples,GibraltarSoftware/Loupe.Samples | src/AddIn.Export/ExtentionDefinition.cs | src/AddIn.Export/ExtentionDefinition.cs | using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConfigurationDialog),
CommonConfiguration = typeof(Export... | using Loupe.Extensibility;
using Loupe.Extensibility.Client;
namespace Loupe.Extension.Export
{
/// <summary>
/// Top-level class for integrating with the Loupe framework
/// </summary>
[LoupeExtension(ConfigurationEditor = typeof(ExportConfigurationDialog),
MachineConfiguration = typeof(Expor... | apache-2.0 | C# |
14209a38603bad6054dc1403fd1115c478f97057 | revert version number to a 'default' number | JeremyAnsel/helix-toolkit,holance/helix-toolkit,Iluvatar82/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit | Source/AssemblyInfo.cs | Source/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -------------------------------------------------------------... | mit | C# |
8a1314979837e90630d073cf408540411f9156e6 | Update XmlnsDefinitions.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Serializer.Xaml/XmlnsDefinitions.cs | src/Serializer.Xaml/XmlnsDefinitions.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 Portable.Xaml.Markup;
using Serializer.Xaml;
using System.Reflection;
using System.Resources;
[assembly: XmlnsDefinition(CoreXamlSchemaContext.CoreNamespace... | // 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 Portable.Xaml.Markup;
using Serializer.Xaml;
using System.Reflection;
using System.Resources;
[assembly: XmlnsDefinition(CoreXamlSchemaContext.CoreNamespace... | mit | C# |
3d0ac2076408086b1906296cdb7696056cb638ca | Fix string test, add double tests. | wtgodbe/corefx,BrennanConroy/corefx,ravimeda/corefx,Jiayili1/corefx,Jiayili1/corefx,ericstj/corefx,Jiayili1/corefx,Ermiar/corefx,zhenlan/corefx,shimingsg/corefx,shimingsg/corefx,mmitche/corefx,Ermiar/corefx,Jiayili1/corefx,ravimeda/corefx,Ermiar/corefx,ravimeda/corefx,zhenlan/corefx,shimingsg/corefx,mmitche/corefx,Vikt... | src/System.Memory/tests/ReadOnlySpan/BinarySearch.cs | src/System.Memory/tests/ReadOnlySpan/BinarySearch.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 Xunit;
using System.Runtime.CompilerServices;
namespace System.SpanTests
{
public static partial class Re... | // 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 Xunit;
using System.Runtime.CompilerServices;
namespace System.SpanTests
{
public static partial class Re... | mit | C# |
57e4281601feb42d49c851efb5ea93d50c2ef455 | Make HitObjectMasks VisibilityContainers | peppy/osu,naoey/osu,naoey/osu,NeoAdonis/osu,Nabile-Rahmani/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,pe... | osu.Game/Rulesets/Edit/HitObjectMask.cs | osu.Game/Rulesets/Edit/HitObjectMask.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Edit
{
/// <summary>
/// A mask placed... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Edit
{
/// <summary>
/// A mask placed... | mit | C# |
4eecb6eb1e889521376fc31dae3bd927dfdc4df7 | remove error comment | liqipeng/MyDemoCode,liqipeng/MyDemoCode,liqipeng/MyDemoCode,liqipeng/MyDemoCode | 010-NetMQ/ActiveMQ_Demo/ActiveMQ_P2P_Consumer/Program.cs | 010-NetMQ/ActiveMQ_Demo/ActiveMQ_P2P_Consumer/Program.cs | using Apache.NMS;
using Apache.NMS.ActiveMQ;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ActiveMQ_P2P_Consumer
{
class Program
{
static void Main(string[] args)
{
//创建连接工厂
IConnectionFactory factory = new ConnectionFac... | using Apache.NMS;
using Apache.NMS.ActiveMQ;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ActiveMQ_P2P_Consumer
{
class Program
{
static void Main(string[] args)
{
//创建连接工厂
IConnectionFactory factory = new ConnectionFac... | mit | C# |
46d0b51354be02f5daa21b17c2affefa8688d253 | update tests | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.API.Tests/Commands/GetFeatureClassAttributesCommandTests.cs | WebAPI.API.Tests/Commands/GetFeatureClassAttributesCommandTests.cs | using NUnit.Framework;
using WebAPI.API.Commands.Info;
namespace WebAPI.API.Tests.Commands
{
[TestFixture]
public class GetFeatureClassAttributesCommandTests
{
[Test]
public void CanGetAttributesWithSchema()
{
var command = new GetFeatureClassAttributesCommand("COUNTIES... | using NUnit.Framework;
using WebAPI.API.Commands.Info;
namespace WebAPI.API.Tests.Commands
{
[TestFixture]
public class GetFeatureClassAttributesCommandTests
{
[Test]
public void CanGetAttributesWithSchema()
{
var command = new GetFeatureClassAttributesCommand("COUNTIES... | mit | C# |
55d33c52e0113f7695893b04cacc5cf66ffecbac | Update AssemblyInfo.cs | RealSvildr/University-ProcessQueue | processQueue/Properties/AssemblyInfo.cs | processQueue/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("pr... | 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("wp... | mit | C# |
2981c359d036e9d06ba76dc11717d735bfd1e041 | Update UserInfoJson.cs | wanddy/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WxOpen,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WxOpen,ji... | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:UserInfoJson.cs
文件功能描述:获取用户信息返回结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using System;
usi... | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:UserInfoJson.cs
文件功能描述:获取用户信息返回结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using System;
usi... | apache-2.0 | C# |
2da04c695e7a6c54cbeebfc666e94667c6d8ef92 | fix inverting | punker76/simple-music-player | SimpleMusicPlayer/SimpleMusicPlayer/ValueConverters/NullVisibilityConverter.cs | SimpleMusicPlayer/SimpleMusicPlayer/ValueConverters/NullVisibilityConverter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace SimpleMusicPlayer.ValueConverters
{
public class NullVisibilityConverter : IValueConverter
{
public Visibility TRUE { get; set; }
public Visibility FALSE { get; set; }
public bool Inv... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace SimpleMusicPlayer.ValueConverters
{
public class NullVisibilityConverter : IValueConverter
{
public Visibility TRUE { get; set; }
public Visibility FALSE { get; set; }
public bool Inv... | mit | C# |
52e575d579c778f4ca7aba0a29ea5c15df3549c3 | Remove false claim in summary of YoloMigrationRunner | rapidcore/rapidcore,rapidcore/rapidcore | src/postgresql/main/Migration/YoloMigrationRunner.cs | src/postgresql/main/Migration/YoloMigrationRunner.cs | using Microsoft.Extensions.Logging;
using Npgsql;
using RapidCore.DependencyInjection;
using RapidCore.Locking;
using RapidCore.Migration;
using System;
using System.Reflection;
namespace RapidCore.PostgreSql.Migration
{
/// <summary>
/// Simplified <see cref="MigrationRunner"/>, which is meant as a
/// "... | using Microsoft.Extensions.Logging;
using Npgsql;
using RapidCore.DependencyInjection;
using RapidCore.Locking;
using RapidCore.Migration;
using System;
using System.Reflection;
namespace RapidCore.PostgreSql.Migration
{
/// <summary>
/// Simplified <see cref="MigrationRunner"/>, which is meant as a
/// "... | mit | C# |
f72c56f2274c4c4d0f4e69f45722016d9834fa4e | Update sql server version and add 2019 | KankuruSQL/KMO | KVersion.cs | KVersion.cs | namespace KMO
{
public static class KVersion
{
public const int Sp2019 = 1600;
public const int Cu2019 = 1600;
public const int Sp2017 = 1000;
public const int Cu2017 = 3162;
public const int Sp2016 = 5026;
public const int Cu2016 = 5337;
public... | namespace KMO
{
public static class KVersion
{
public const int Sp2017 = 1000;
public const int Cu2017 = 3048;
public const int Sp2016 = 5026;
public const int Cu2016 = 5264;
public const int Sp2014 = 6024;
public const int Cu2014 = 6214;
public... | mit | C# |
14535c4f372cd6c7c1f317b18d42f0df84dd44c4 | Fix test codes to avoid IDE0027 | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/Models/Wrappers/Th155StoryWrapper.cs | ThScoreFileConverterTests/Models/Wrappers/Th155StoryWrapper.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics.CodeAnalysis;
using ThScoreFileConverter.Models;
namespace ThScoreFileConverterTests.Models.Wrappers
{
// NOTE: Setting the accessibility as public causes CS0053.
internal sealed class Th155StoryWrapper
{
pr... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics.CodeAnalysis;
using ThScoreFileConverter.Models;
namespace ThScoreFileConverterTests.Models.Wrappers
{
// NOTE: Setting the accessibility as public causes CS0053.
internal sealed class Th155StoryWrapper
{
pr... | bsd-2-clause | C# |
e209085960e0b6767c5f8f1f494f22e7a0bde9aa | Fix errors in ControlExtensions.InvokeSafe after the previous commit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Controls/ControlExtensions.cs | Core/Controls/ControlExtensions.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace TweetDck.Core.Controls{
static class ControlExtensions{
public static void InvokeSafe(this Control control, Action func){
if (control.InvokeRequired){
control.Invoke(func);
}
else{... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace TweetDck.Core.Controls{
static class ControlExtensions{
public static void InvokeSafe(this Control control, Action func){
if (form.InvokeRequired){
form.Invoke(func);
}
else{
... | mit | C# |
8204bba01d9052a3e4fe2561bba310435cbb4e75 | Use Application class | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D.Wpf/Util/WpfTextClipboard.cs | src/Core2D.Wpf/Util/WpfTextClipboard.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 Core2D.Interfaces;
using System.Threading.Tasks;
using System.Windows;
namespace Core2D.Wpf
{
/// <summary>
/// Wrapper class for <see cref="System.... | // 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 Core2D.Interfaces;
using System.Threading.Tasks;
using System.Windows;
namespace Core2D.Wpf
{
/// <summary>
/// Wrapper class for <see cref="System.... | mit | C# |
070ddaff623a64e90a160943cc806969c588261c | test suboptimal solution for greedy | dgg/nmoneys,dgg/nmoneys | src/NMoneys.Tests/MoneyTester.Change.cs | src/NMoneys.Tests/MoneyTester.Change.cs | using NMoneys.Change;
using NMoneys.Extensions;
using NUnit.Framework;
namespace NMoneys.Tests
{
[TestFixture]
public partial class MoneyTester
{
[Test]
public void MinChange_SameDenominationAsAmount_OneDenominationAndNoRemainder()
{
var fiveX = new Money(5m);
var fiver = new Denomination(5m);
var o... | using NMoneys.Change;
using NMoneys.Extensions;
using NUnit.Framework;
namespace NMoneys.Tests
{
[TestFixture]
public partial class MoneyTester
{
[Test]
public void MinChange_SameDenominationAsAmount_OneDenominationAndNoRemainder()
{
var fiveX = new Money(5m);
var fiver = new Denomination(5m);
var o... | bsd-3-clause | C# |
c54501cfec12bc0b84d5f2fd68b35c61816b5263 | Make method private | dirkrombauts/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,picklesdoc/pickles,picklesdoc/pickles,picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,magicmonty/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,dirkrombauts/pickles,magicmonty/pickles,dirkrombauts/pic... | src/Pickles/Pickles/LanguageServices.cs | src/Pickles/Pickles/LanguageServices.cs | #region License
/*
Copyright [2011] [Jeffrey Cameron]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | #region License
/*
Copyright [2011] [Jeffrey Cameron]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | apache-2.0 | C# |
068dc7afa1ff847d7c524cfc5c05aeb606f20003 | Remove now redundant constructor | default0/osu-framework,Tom94/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Tom94/osu-framework,paparony03/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,naoey... | osu.Framework/Input/UserInputManager.cs | osu.Framework/Input/UserInputManager.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Input.Handlers;
namespace osu.Framework.Input
{
public class UserInputManager : InputManage... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Input.Handlers;
namespace osu.Framework.Input
{
public class UserInputManager : InputManage... | mit | C# |
6cec58c07a13fb3014d420a31c17e257662d5a2a | update for SDK change | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/src/resharper-unity/ShaderLab/Daemon/ContextHighlighters/Rider/RiderShaderLabUsageContextHighlighterAvailability.cs | resharper/src/resharper-unity/ShaderLab/Daemon/ContextHighlighters/Rider/RiderShaderLabUsageContextHighlighterAvailability.cs | #if RIDER
using JetBrains.Application;
using JetBrains.Application.Settings;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CSharp.ContextHighlighters;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Resources.Shell;
namespace JetBrains.ReSharper.Plugins.Unity.ShaderLab.Daemon.ContextHighlig... | #if RIDER
using JetBrains.Annotations;
using JetBrains.Application;
using JetBrains.Platform.RdFramework.Util;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Resources.Shell;
using JetBrains.Rider.Model;
namespace JetBrains.ReSharper.Plugins.Unity.ShaderLab.Daemon.ContextHighlighters
{
[ShellComponent]... | apache-2.0 | C# |
d3d39c855eb795ea5eb2f30b5932ba11901e0062 | 添加GetSignKey()单元测试 | JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/TenPayV3/TenPayV3Test.cs | src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/TenPayV3/TenPayV3Test.cs | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain ... | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain ... | apache-2.0 | C# |
577565137c04be3ce07354116259c59874c82188 | Add tryadd/remove to interface | ryancyq/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,luchaoshuai/aspnetboilerplate,beratcarsi/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerpl... | src/Abp/RealTime/IOnlineClientStore.cs | src/Abp/RealTime/IOnlineClientStore.cs | using System.Collections.Generic;
using Abp.Data;
namespace Abp.RealTime
{
public interface IOnlineClientStore
{
/// <summary>
/// Adds a client.
/// </summary>
/// <param name="client">The client.</param>
void Add(IOnlineClient client);
/// <summary>
/... | using System.Collections.Generic;
using Abp.Data;
namespace Abp.RealTime
{
public interface IOnlineClientStore
{
/// <summary>
/// Adds a client.
/// </summary>
/// <param name="client">The client.</param>
void Add(IOnlineClient client);
/// <summary>
/... | mit | C# |
cece964f85651df0a6435e4a531265af25e8a9b2 | Update to version 1.6. | darrencauthon/AutoMoq,darrencauthon/AutoMoq,darrencauthon/AutoMoq | src/AutoMoq/Properties/AssemblyInfo.cs | src/AutoMoq/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AutoMoq")]
[assembly: AssemblyDes... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AutoMoq")]
[assembly: AssemblyDes... | mit | C# |
9a04ab70b415b13df46de3bf15cde6ec7bf4dbd1 | add headers only if it does not exist | taka-oyama/UniHttp | Assets/UniHttp/Support/Request/RequestPreprocessor.cs | Assets/UniHttp/Support/Request/RequestPreprocessor.cs | using UnityEngine;
using System.Collections.Generic;
using System.Text;
using System;
namespace UniHttp
{
internal sealed class RequestPreprocessor
{
HttpSetting setting;
CookieJar cookieJar;
CacheHandler cacheHandler;
internal RequestPreprocessor(HttpSetting setting, CookieJar cookieJar, CacheHandler cach... | using UnityEngine;
using System.Collections.Generic;
using System.Text;
using System;
namespace UniHttp
{
internal sealed class RequestPreprocessor
{
HttpSetting setting;
CookieJar cookieJar;
CacheHandler cacheHandler;
internal RequestPreprocessor(HttpSetting setting, CookieJar cookieJar, CacheHandler cach... | mit | C# |
98251ac22d59239ae6ed487ad2b9722f4bd6c705 | clean obselete method in base resolver | wangkanai/Detection | src/Detection.Core/src/BaseResolver.cs | src/Detection.Core/src/BaseResolver.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.Services;
namespace Wangkanai.Detection
{
public class BaseResolver : IResolver
{
... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.Services;
namespace Wangkanai.Detection
{
public class BaseResolver : IRes... | apache-2.0 | C# |
b48a1b5b5a5b66180fd22ac2c91f464c1eca5dbb | Update RobGibbens.cs | stvansolano/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin... | src/Firehose.Web/Authors/RobGibbens.cs | src/Firehose.Web/Authors/RobGibbens.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
public class RobGibbens : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Rob";
public string LastName => "Gibbens";
public string Title => "manager and train... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
public class RobGibbens : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Rob";
public string LastName => "Gibbens";
public string Title => "Manager / Trainer... | mit | C# |
19eef2654f3cd4ca6a0c8bf92be661f8c64f1e23 | Remove debug message | zr40/steamgames | SteamGames/ImageCache.cs | SteamGames/ImageCache.cs | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace SteamGames
{
internal interface IImageReceiver
{
void ReceiveImage(Stream stream);
}
internal static class ImageCache
{
internal static readonly string cachePath = Path.Combine(State.BasePath, "cache");
internal stati... | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace SteamGames
{
internal interface IImageReceiver
{
void ReceiveImage(Stream stream);
}
internal static class ImageCache
{
internal static readonly string cachePath = Path.Combine(State.BasePath, "cache");
internal stati... | mit | C# |
d8e1fddccee2eb8fbe664173ffdca43f0eecddae | Fix WF RSImageProducer drawGraphics performance | HelloKitty/317refactor | src/Rs317.Client.WF/RSImageProducer.cs | src/Rs317.Client.WF/RSImageProducer.cs |
using System;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace Rs317.Sharp
{
public sealed class RSImageProducer
{
public int[] pixels;
public int width;
public int height;
private Bitmap image;
private FastPixel fastPixel;
public RSImageProducer(in... |
using System;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace Rs317.Sharp
{
public sealed class RSImageProducer
{
public int[] pixels;
public int width;
public int height;
private Bitmap image;
private FastPixel fastPixel;
public RSImageProducer(in... | mit | C# |
9785999d4c6520dbe443e115f50d1301f107cd7e | Add separate log file for debugging service | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Transport.Stdio/Request/InitializeRequest.cs | src/PowerShellEditorServices.Transport.Stdio/Request/InitializeRequest.cs | using Microsoft.PowerShell.EditorServices.Session;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
using Microsoft.PowerShell.EditorServices.Utility;
using Nito.AsyncE... | using Microsoft.PowerShell.EditorServices.Session;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
using Nito.AsyncEx;
using System.Threading.Tasks;
namespace Microso... | mit | C# |
1253d9b7d778126af195ea9d95ce065823caf037 | Update Cli deploy | WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework | Framework.Cli/Command/CommandDeploy.cs | Framework.Cli/Command/CommandDeploy.cs | namespace Framework.Cli.Command
{
using Framework.Cli.Config;
public class CommandDeploy : CommandBase
{
public CommandDeploy(AppCli appCli)
: base(appCli, "deploy", "Deploy app to Azure git")
{
}
protected internal override void Execute()
{
... | namespace Framework.Cli.Command
{
using Framework.Cli.Config;
public class CommandDeploy : CommandBase
{
public CommandDeploy(AppCli appCli)
: base(appCli, "deploy", "Deploy app to Azure git")
{
}
protected internal override void Execute()
{
... | mit | C# |
2dffe9ca54fb6cfa5c507bf051f2b6897836c80c | Check username for null too. | bigfont/webapi-cors | CORS/Controllers/ValuesController.cs | CORS/Controllers/ValuesController.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | mit | C# |
099382e29a44626d70b732de3bf6737b7289a3c7 | Fix Starting Base Game | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder | PathfinderAPI/Util/StringExtensions.cs | PathfinderAPI/Util/StringExtensions.cs | using System;
using System.IO;
using Hacknet;
using Hacknet.Extensions;
namespace Pathfinder.Util
{
public static class StringExtensions
{
public static bool HasContent(this string s) => !string.IsNullOrWhiteSpace(s);
public static bool ContentFileExists(this string filename) => File.Exists(f... | using System;
using System.IO;
using Hacknet;
using Hacknet.Extensions;
namespace Pathfinder.Util
{
public static class StringExtensions
{
public static bool HasContent(this string s) => !string.IsNullOrWhiteSpace(s);
public static bool ContentFileExists(this string filename) => File.Exists(f... | mit | C# |
065dedaf26a07103f5cecac1901fb0518cc5860b | Move to right namespace | 0culus/ElectronicCash | ElectronicCash/IdentityStringPair.cs | ElectronicCash/IdentityStringPair.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace ElectronicCash
{
[Serializable]
public struct IdentityStringPair<T> : IEnumerable<T>
{
private readonly T _left;
private readonly T _right;
public IdentityStringPair(T left, T right)
{
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace e_cash
{
[Serializable]
public struct IdentityStringPair<T> : IEnumerable<T>
{
private readonly T _left;
private readonly T _right;
public IdentityStringPair(T left, T right)
{
... | mit | C# |
ff710460a605b1aa4e370c36610b93654d47164f | Fix ExtendedBy | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata | src/Atata.WebDriverExtras/ExtendedBy.cs | src/Atata.WebDriverExtras/ExtendedBy.cs | using System.Collections.ObjectModel;
using OpenQA.Selenium;
namespace Atata
{
internal class ExtendedBy : By
{
private readonly By by;
internal ExtendedBy(By by)
{
by.CheckNotNull(nameof(by));
ExtendedBy byAsExtended = by as ExtendedBy;
... | using System.Collections.ObjectModel;
using OpenQA.Selenium;
namespace Atata
{
internal class ExtendedBy : By
{
private readonly By by;
internal ExtendedBy(By by)
{
by.CheckNotNull(nameof(by));
this.by = (by as ExtendedBy)?.by ?? by;
... | apache-2.0 | C# |
1fabeae8d2643464dbd31a3406d26893ddfa1ef6 | Add the writer to the interface. | jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/ma... | src/Manos/Manos.Server/IHttpResponse.cs | src/Manos/Manos.Server/IHttpResponse.cs |
using System;
using System.IO;
using System.Text;
namespace Manos.Server {
public interface IHttpResponse {
IHttpTransaction Transaction {
get;
}
HttpHeaders Headers {
get;
}
HttpResponseStream Stream {
get;
}
StreamWriter Writer {
get;
}
Encoding Encoding {
get;
}
int... |
using System;
using System.Text;
namespace Manos.Server {
public interface IHttpResponse {
IHttpTransaction Transaction {
get;
}
HttpHeaders Headers {
get;
}
HttpResponseStream Stream {
get;
}
Encoding Encoding {
get;
}
int StatusCode {
get;
set;
}
bool WriteStatusLine... | mit | C# |
76416ccc8d8db72681fc626064b143a79b29c84b | Rename Encryptor.Unencrypt to Decrypt | NFig/NFig | NFig/Encryption/ISettingEncryptor.cs | NFig/Encryption/ISettingEncryptor.cs | namespace NFig.Encryption
{
public interface ISettingEncryptor
{
string Encrypt(string value);
string Decrypt(string encryptedValue);
}
} | namespace NFig.Encryption
{
public interface ISettingEncryptor
{
string Encrypt(string value);
string Unencrypt(string encryptedValue);
}
} | mit | C# |
4d7cd58bbe90dda5791a36d52084bef5bd5358b6 | add a debug line to nail this error: YoutubeResolveStrategy | Usage: youtube-dl [OPTIONS] URL [URL...] | shikhir-arora/NadekoBot,Nielk1/NadekoBot,ScarletKuro/NadekoBot,ShadowNoire/NadekoBot,gfrewqpoiu/NadekoBot | NadekoBot.Core/Services/Impl/Ytdl.cs | NadekoBot.Core/Services/Impl/Ytdl.cs | using NLog;
using System.Diagnostics;
using System.Threading.Tasks;
namespace NadekoBot.Core.Services.Impl
{
public class YtdlOperation
{
private readonly Logger _log;
public YtdlOperation()
{
_log = LogManager.GetCurrentClassLogger();
}
public async Task<s... | using NLog;
using System.Diagnostics;
using System.Threading.Tasks;
namespace NadekoBot.Core.Services.Impl
{
public class YtdlOperation
{
private readonly Logger _log;
public YtdlOperation()
{
_log = LogManager.GetCurrentClassLogger();
}
public async Task<s... | mit | C# |
3e31de164409f98849f5030c9ed2756827bc7448 | make repository disposable | albx/CorePatterns | src/CorePatterns/Domain/IRepository.cs | src/CorePatterns/Domain/IRepository.cs | using System;
using System.Threading.Tasks;
namespace CorePatterns.Domain
{
/// <summary>
/// Represents a generic repository
/// </summary>
public interface IRepository : IDisposable
{
/// <summary>
/// Add the specified aggregate
/// </summary>
/// <typeparam name... | using System;
using System.Threading.Tasks;
namespace CorePatterns.Domain
{
/// <summary>
/// Represents a generic repository
/// </summary>
public interface IRepository
{
/// <summary>
/// Add the specified aggregate
/// </summary>
/// <typeparam name="TAggregate">... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.