commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
9e6994166c0eef43cb63b6d1d34e70e0cb324634 | osu.Game/Screens/OnlinePlay/OngoingOperationTracker.cs | osu.Game/Screens/OnlinePlay/OngoingOperationTracker.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.Bindables;
namespace osu.Game.Screens.OnlinePlay
{
/// <summary>
/// Utility class to track ongoing online operations' progress... | Add helper to track ongoing operations in UI | Add helper to track ongoing operations in UI
| C# | mit | ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu | |
75083967298e41fe876621ef4c527dca50500d30 | NUnitConsole/src/nunit.engine/Services/InternalTraceService.cs | NUnitConsole/src/nunit.engine/Services/InternalTraceService.cs | // ***********************************************************************
// Copyright (c) 2012 Charlie Poole
//
// 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, incl... | Add missing file to repository | Add missing file to repository
--HG--
extra : convert_revision : charlie%40nunit.org-20120414020227-k6uj3zg1mj7p5xbm
| C# | mit | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | |
c1977b650b56b5ed8c9b5c5dc9d7013b8da47747 | Alexa.NET/Request/SkillRequestUtility.cs | Alexa.NET/Request/SkillRequestUtility.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Alexa.NET.Request.Type;
namespace Alexa.NET.Request
{
public static class SkillRequestUtility
{
public static string GetIntentName(this SkillRequest request)
{
return request.Request is Inte... | Add utility class (mapped from Java SDK) | Add utility class (mapped from Java SDK)
| C# | mit | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet | |
db9ee60647f08ddb7b2a83bd1f7c52e5c34cb0aa | src/Microsoft.AspNet.Session/Properties/AssemblyInfo.cs | src/Microsoft.AspNet.Session/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
[assembly: AssemblyMetadata("Serviceable", "True")] | Add serviceable attribute to projects. | Add serviceable attribute to projects.
aspnet/DNX#1600
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | |
17d923b1f173a2b13293bfacf56399a3ea9453e7 | ReceptionKiosk/Services/APISettingsService.cs | ReceptionKiosk/Services/APISettingsService.cs | using System;
using System.Threading.Tasks;
using ReceptionKiosk.Helpers;
using Windows.Storage;
using Windows.UI.Xaml;
namespace ReceptionKiosk.Services
{
public class APISettingsService
{
private string faceAPI;
private string bingAPI;
public APISettingsService()
{
... | Add API service to handle save and load of API keys | Add API service to handle save and load of API keys
| C# | mit | n01d/Welcome-Kiosk | |
34532b96828cdc5f9c26913d79f4ace0507ede57 | Model/partsdb.cs | Model/partsdb.cs | using System;
using System.Data;
using System.Collections.Generic;
public delegate void ErrorHandler(string message, Exception exception);
public delegate void PartTypesHandler(List<PartType> partTypes);
public delegate void PartsHandler(PartCollection part);
public delegate void PartHandler(Part part);
public abstr... | Add missing PartsDb base class | Add missing PartsDb base class
| C# | apache-2.0 | jnwatts/cs320_project2_group11,jnwatts/cs320_project2_group11 | |
f2b624018b36c286a1e992f3cbfc70fe8f1170c4 | CommEngrTest/CommBlockTests.cs | CommEngrTest/CommBlockTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using KSPCommEngr;
namespace CommEngrTest
{
[TestClass]
public class CommBlockTests
{
[TestMethod]
public void UpdateGraphOnDragStop()
{
Graph graph = new Graph(new int[,] {
{... | Test for async graph updates from gui block/connector | Test for async graph updates from gui block/connector
| C# | mit | Skoth/KSPCommEngr | |
a765f2502daa9760786e9c20baf688ddcb8a4a27 | osu.Game.Tests/Visual/Online/TestCaseFullscreenOverlay.cs | osu.Game.Tests/Visual/Online/TestCaseFullscreenOverlay.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.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Overlays;
using osuTK.Graphics;
namespace osu.Game.Tests.Visual.... | Add simple test case for FullscreenOverlay | Add simple test case for FullscreenOverlay
| C# | mit | smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,ZLima12/osu,peppy/osu,2yangk23/osu,ZLima12/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu... | |
8bc5ff07d215dfdd54a3ba00af6f960a8111568c | test/GitHub.VisualStudio.UnitTests/GitHubAssemblyTests.cs | test/GitHub.VisualStudio.UnitTests/GitHubAssemblyTests.cs | using System.IO;
using System.Reflection;
using NUnit.Framework;
public class GitHubAssemblyTests
{
[Theory]
public void GitHub_Assembly_Should_Not_Reference_DesignTime_Assembly(string assemblyFile)
{
var asm = Assembly.LoadFrom(assemblyFile);
foreach (var referencedAssembly in asm.GetRefe... | Check we don't reference DesignTime assemblies | Check we don't reference DesignTime assemblies
Check that no GitHub assemblies reference any assembly that ends with
DesignTime. Types from DesignTime assemblies should be embedded not
referenced.
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio | |
d5d1fbcf00d79683efcd14a96c9a896c8039b8bb | Source/AsteroidScience.cs | Source/AsteroidScience.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace DMModuleScienceAnimateGeneric
{
public class AsteroidScience
{
protected DMModuleScienceAnimateGeneric ModSci = FlightGlobals.ActiveVessel.FindPartModulesImplementing<DMModuleScienceAnima... | Create new CelestialBody from asteroid data | Create new CelestialBody from asteroid data
| C# | bsd-2-clause | DMagic1/DMModuleScienceAnimateGeneric | |
ead0062e0985c432ffc7b57a15c3508c26226c72 | UnitTest/AlgorithmsTests/BinarySearcherTest.cs | UnitTest/AlgorithmsTests/BinarySearcherTest.cs | using System.Collections.Generic;
using Xunit;
using Algorithms.Search;
namespace UnitTest.AlgorithmsTests
{
public static class BinarySearcherTest
{
[Fact]
public static void MergeSortTest()
{
//a list of int
IList<int> list = new List<int> {9, 3, 7, 1, 6, 10... | Add test for BinarySearcher class | Add test for BinarySearcher class
| C# | mit | aalhour/C-Sharp-Algorithms | |
0ecbc5945f3a93914756d42baf459bc2a9cd14c9 | osu.Game/Graphics/Containers/ShakeContainer.cs | osu.Game/Graphics/Containers/ShakeContainer.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;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Graphics.Containers
{
public class ShakeContainer : Container
{
... | // 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;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Graphics.Containers
{
public class ShakeContainer : Container
{
... | Adjust transform to look better | Adjust transform to look better
| C# | mit | ZLima12/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,peppy/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,2yangk... |
08bb5cbcbff6e1b42fa1715224aa989cd308b073 | osu.Game.Tournament/Models/StableInfo.cs | osu.Game.Tournament/Models/StableInfo.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.Bindables;
namespace osu.Game.Tournament.Models
{
/// <summary>
/// Holds the complete data required to operate the tournament ... | Introduce model to store path of stable osu! | Introduce model to store path of stable osu!
| C# | mit | UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu | |
77361347482de79a9a65a64bb7ecf1ec86c8556e | SCPI/AUTOSCALE.cs | SCPI/AUTOSCALE.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SCPI
{
public class AUTOSCALE : ICommand
{
public string Description => "The oscilloscope will automatically adjust the vertical scale, horizontal timebase, and trigger mode according to the input signal to realize optimum wa... | Add the support for autoscale SCPI command | Add the support for autoscale SCPI command
| C# | mit | tparviainen/oscilloscope | |
cbf86f107db4bcdf61159abbb305a22834c0271a | src/Nest/Domain/Property.cs | src/Nest/Domain/Property.cs | using System;
using System.Linq.Expressions;
namespace Nest.Resolvers
{
public static class Property
{
/// <summary>
/// Create a strongly typed string representation of the path to a property
/// <para>i.e p => p.Arrary.First().SubProperty.Field will return 'array.subProperty.field'</para>
/// </summary>
... | using System;
using System.Linq.Expressions;
namespace Nest.Resolvers
{
public static class Property
{
/// <summary>
/// Create a strongly typed string representation of the path to a property
/// <para>i.e p => p.Array.First().SubProperty.Field will return 'array.subProperty.field'</para>
/// </summary>
/... | Fix typo: Arrary --> Array | Fix typo: Arrary --> Array
| C# | apache-2.0 | joehmchan/elasticsearch-net,gayancc/elasticsearch-net,gayancc/elasticsearch-net,robrich/elasticsearch-net,robrich/elasticsearch-net,wawrzyn/elasticsearch-net,gayancc/elasticsearch-net,robertlyson/elasticsearch-net,robertlyson/elasticsearch-net,wawrzyn/elasticsearch-net,joehmchan/elasticsearch-net,robertlyson/elasticsea... |
ef613b322efb9263f7b806bf3ebbd2917d5b9dd8 | src/QuartzNET-DynamoDB.Tests/Integration/JobStore/JobStoreIntegrationTest.cs | src/QuartzNET-DynamoDB.Tests/Integration/JobStore/JobStoreIntegrationTest.cs | using System;
namespace Quartz.DynamoDB.Tests.Integration.JobStore
{
/// <summary>
/// Abstract class that provides common dynamo db cleanup for JobStore integration testing.
/// </summary>
public abstract class JobStoreIntegrationTest : IDisposable
{
protected DynamoDB.JobStore _sut;
... | Move JobStore cleanup to abstract class. | Move JobStore cleanup to abstract class.
| C# | apache-2.0 | lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb | |
2495272ba0d9f1221da4fc91da9d0e3fd63205b4 | KLibrary4/Linq/Linq/Comparison.cs | KLibrary4/Linq/Linq/Comparison.cs | using System;
using System.Collections.Generic;
namespace KLibrary.Linq
{
public static class Comparison
{
public static IComparer<T> CreateComparer<T>(Func<T, T, int> compare)
{
return new DelegateComparer<T>(compare);
}
public static IEqualityComparer... | Copy source code from KLibrary-Labs | Copy source code from KLibrary-Labs
| C# | mit | sakapon/KLibrary.Linq | |
34fc740e1f72e6ec4b8f5865d0e2f008d2973a02 | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.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;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi.Match.Components;
namespace osu.G... | Implement testcase for room settings | Implement testcase for room settings
| C# | mit | ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,peppy/osu,peppy/osu-new,naoey/osu,ppy/osu,ppy/osu,DrabWeb/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,naoey/osu,ppy/osu,NeoAdonis/osu,N... | |
77874f7cb81eefb599e4ad5ee8ce29d685da1fcc | src/Glimpse.Server.Web/Broker/LocalBrokerPublisher.cs | src/Glimpse.Server.Web/Broker/LocalBrokerPublisher.cs | using System;
namespace Glimpse.Server
{
public class LocalBrokerPublisher : IBrokerPublisher
{
public void PublishMessage(IMessage message)
{
// TODO: push straight to the bus
}
}
} | Add stub implementation of local | Add stub implementation of local
| C# | mit | mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Gli... | |
81f1e2ca207ed2c5fd4673dc640c2b4f711fcd8b | StandaloneUtility/Editor/ExitPlayModeOnCompile.cs | StandaloneUtility/Editor/ExitPlayModeOnCompile.cs | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace Expanse
{
/// <summary>
/// Exits play mode automatically when Unity performs code compilation.
/// </summary>
[InitializeOnLoad]
public class ExitPlayModeOnCompile
{
private static ExitPlayModeOnCompile instance... | Add auto exit play mode on compile | Add auto exit play mode on compile
| C# | mit | LemonLube/Expanse,AikenParker/Expanse | |
384734e8fb60203a1fff27c1591d3031e68e1a1d | src/Experimental/CryptographicUtilities.cs | src/Experimental/CryptographicUtilities.cs | using System;
using System.Runtime.CompilerServices;
namespace NSec.Experimental
{
public static class CryptographicUtilities
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void FillRandomBytes(Span<byte> data)
{
System.Security.Cryptography.RandomNumberG... | Add constant time functions and functions for generating random bytes | Add constant time functions and functions for generating random bytes
Contributes to #58
| C# | mit | ektrah/nsec | |
7898ba4ad8bf6ffdd23a5f359f5ea49d9dc4338a | Examples/TestHttpCompositionConsoleApp/ConfigurationSources/ServiceContainerConfigurationSource.cs | Examples/TestHttpCompositionConsoleApp/ConfigurationSources/ServiceContainerConfigurationSource.cs | namespace TestHttpCompositionConsoleApp.ConfigurationSources
{
using System;
using Newtonsoft.Json;
using Serviceable.Objects.Composition.Graph;
using Serviceable.Objects.Composition.Graph.Stages.Configuration;
using Serviceable.Objects.Composition.Service;
using Serviceable.Objects.IO.NamedPip... | Add new configuration for ServiceContainer | Add new configuration for ServiceContainer
| C# | mit | phaetto/serviceable-objects | |
b2adc82a0549fb0e677b5e85311f12b10bb2c2a8 | ISAAR.MSolve.Analyzers/Optimization/Commons/VectorOperations.cs | ISAAR.MSolve.Analyzers/Optimization/Commons/VectorOperations.cs | using System;
namespace ISAAR.MSolve.Analyzers.Optimization.Commons
{
public static class VectorOperations
{
public static double[] Add(double[] v1, double[] v2)
{
CheckDimensions(v1, v2);
double[] result = new double[v1.Length];
for (int i = 0; i < v1.Le... | Add a class to perform basic vector operations (addition, subtraction, scaling) for the optimization needs. | Add a class to perform basic vector operations (addition, subtraction, scaling) for the optimization needs.
Signed-off-by: Manolis Georgioudakis <456a0d25592ed010f911d8d9039f21c89b888768@mail.ntua.gr>
| C# | apache-2.0 | geoem/MSolve,geoem/MSolve | |
601a0a4b2822cd877129b835af594a49ada2ba0d | food_tracker/IListItems.cs | food_tracker/IListItems.cs | namespace food_tracker {
public interface IListItems {
double calories { get; set; }
double amount { get; set; }
double fats { get; set; }
double saturatedFat { get; set; }
double carbohydrates { get; set; }
double sugar { get; set; }
double protein { get; se... | Add interface for common properties | Add interface for common properties
| C# | mit | lukecahill/NutritionTracker | |
457766740dc15c67a800fb143b8bb377f3b5894f | MediaManager/Platforms/Ios/Media/MPMediaItemExtensions.cs | MediaManager/Platforms/Ios/Media/MPMediaItemExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CoreGraphics;
using MediaManager.Library;
using MediaPlayer;
namespace MediaManager.Platforms.Ios.Media
{
public static class MPMediaItemExtensions
{
public static IMediaItem ToMediaItem(this MPMediaItem item)
{
... | Add extension to handle MPMediaItem | Add extension to handle MPMediaItem
| C# | mit | mike-rowley/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,martijn00/XamarinMediaManager | |
56b017a4ba0044ee549e195856fd73211a976fbe | Source/FakeItEasy/Core/FakeManager.AutoFakePropertyRule.cs | Source/FakeItEasy/Core/FakeManager.AutoFakePropertyRule.cs | namespace FakeItEasy.Core
{
using System;
using System.Linq;
using FakeItEasy.Creation;
/// <content>Auto fake property rule.</content>
public partial class FakeManager
{
[Serializable]
private class AutoFakePropertyRule
: IFakeObjectCallRule
{
... | namespace FakeItEasy.Core
{
using System;
using System.Linq;
/// <content>Auto fake property rule.</content>
public partial class FakeManager
{
[Serializable]
private class AutoFakePropertyRule
: IFakeObjectCallRule
{
public FakeManager F... | Return Dummy from unconfigured property getter | Return Dummy from unconfigured property getter
| C# | mit | thomaslevesque/FakeItEasy,adamralph/FakeItEasy,thomaslevesque/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,blairconrad/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy |
954b76415dd9c061defd72500e5615fea3636fef | src/Snowflake.Support.GraphQLFrameworkQueries/Queries/Debug/EchoQueries.cs | src/Snowflake.Support.GraphQLFrameworkQueries/Queries/Debug/EchoQueries.cs | using HotChocolate.Types;
using System;
using System.Collections.Generic;
using System.Text;
namespace Snowflake.Support.GraphQLFrameworkQueries.Queries.Debug
{
public class EchoQueries
: ObjectTypeExtension
{
protected override void Configure(IObjectTypeDescriptor descriptor)
{
... | Add a simple debug query | HotChocolate: Add a simple debug query
| C# | mpl-2.0 | RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake | |
50173754c5de997e3a71cdec268faccebe9df89a | Kip/PrintSchemaKeywordsV11.cs | Kip/PrintSchemaKeywordsV11.cs | using System.Xml.Linq;
namespace Kip
{
public static class Pskv11
{
public static readonly XNamespace Namespace = "http://schemas.microsoft.com/windows/2013/05/printing/printschemakeywordsv11";
public static readonly XName JobPasscode = Namespace + "JobPasscode";
public static readonl... | Add keywords of the Print Schema Keywords v1.1 | Add keywords of the Print Schema Keywords v1.1
| C# | mit | kei10in/KipSharp | |
8a42830bfc73f703d6c79d153a47ea11e9cbed0e | src/Com/ComBytes.cs | src/Com/ComBytes.cs | using System.IO;
using System.Runtime.InteropServices;
namespace Diadoc.Api.Com
{
[ComVisible(true)]
[Guid("AC96A3DD-E099-44CC-ABD5-11C303307159")]
public interface IComBytes
{
byte[] Bytes { get; set; }
void ReadFromFile(string path);
void SaveToFile(string path);
}
[ComVisible(true)]
[ProgId("Diadoc.... | Add class to avoid byte[] creation | Add class to avoid byte[] creation
| C# | mit | diadoc/diadocsdk-csharp,halex2005/diadocsdk-csharp,halex2005/diadocsdk-csharp,diadoc/diadocsdk-csharp | |
a33c1096a79e6787c68e0bde67393f93cc68acd5 | FTAnalyser/Mapping/GoogleAPIKey.cs | FTAnalyser/Mapping/GoogleAPIKey.cs | using FTAnalyzer.Utilities;
using System;
namespace FTAnalyzer.Mapping
{
static class GoogleAPIKey
{
static string APIkeyValue = string.Empty;
public static string KeyValue
{
get
{
if (string.IsNullOrEmpty(APIkeyValue))
{
... | Add generation of KML file to maps menu | Add generation of KML file to maps menu
| C# | apache-2.0 | ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer | |
8f4d4cb23f76e717c6356823c7ac58631f2be3d7 | src/Umbraco.Abstractions/Composing/Current.cs | src/Umbraco.Abstractions/Composing/Current.cs | using System;
using Umbraco.Core.Logging;
namespace Umbraco.Core.Composing
{
/// <summary>
/// Provides a static service locator for most singletons.
/// </summary>
/// <remarks>
/// <para>This class is initialized with the container in UmbracoApplicationBase,
/// right after the container is ... | Move a small part of current | Move a small part of current
| C# | mit | arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umb... | |
de0a076eb6ce9835810a13977319413c4e41ac1f | osu.Game/Rulesets/Mods/ModPreset.cs | osu.Game/Rulesets/Mods/ModPreset.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.Collections.Generic;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// A mod preset is a named collection of configured mods.
/... | Add model class for mod presets | Add model class for mod presets
| C# | mit | peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu | |
2f7b51978f174236bc61ec09b2cac94dbada9820 | Colore/Razer/NativeCallException.cs | Colore/Razer/NativeCallException.cs | // ---------------------------------------------------------------------------------------
// <copyright file="NativeCallException.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software ... | Add exception type for native call failures. | Add exception type for native call failures.
| C# | mit | CoraleStudios/Colore,danpierce1/Colore,Sharparam/Colore,WolfspiritM/Colore | |
6c628342ea8bb67157cc4bc6afa4041f64fcf340 | KenticoInspector.Core/Helpers/VersionHelper.cs | KenticoInspector.Core/Helpers/VersionHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace KenticoInspector.Core.Helpers
{
public class VersionHelper
{
public static IList<Version> GetVersionList(params string[] versions)
{
return versions.Select(x => GetVersionFromShortString(x)).ToList();
... | Add version helper to simplify creating a version list | Add version helper to simplify creating a version list
| C# | mit | Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector | |
27264d1793380fed98fe9014513228cf99f7597f | Zbu.ModelsBuilder/TypeExtensions.cs | Zbu.ModelsBuilder/TypeExtensions.cs | using System;
namespace Zbu.ModelsBuilder
{
public static class TypeExtensions
{
/// <summary>
/// Creates a generic instance of a generic type with the proper actual type of an object.
/// </summary>
/// <param name="genericType">A generic type such as <c>Something{}</c></para... | Add CreateGenericInstance Type extension method to help building models | Add CreateGenericInstance Type extension method to help building models
| C# | mit | zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,danlister/Zbu.ModelsBuilder | |
675eee944fb2c19e6b62c2340d4bd145289f386b | src/My.AspNetCore.WebForms/Controls/Control.cs | src/My.AspNetCore.WebForms/Controls/Control.cs | namespace My.AspNetCore.WebForms.Controls
{
public abstract class Control
{
public string Id { get; set; }
public string InnerHtml { get; protected set; }
public abstract void Render();
}
}
| Add a base for web forms controls | Add a base for web forms controls
| C# | mit | hishamco/WebForms,hishamco/WebForms | |
6846d469bb3a6e7056068c1e224f9e6fdd87f854 | src/Glimpse.Common/Broker/IMessageBus.cs | src/Glimpse.Common/Broker/IMessageBus.cs | using System;
namespace Glimpse.Broker
{
public interface IMessageBus
{
IObservable<T> Listen<T>();
IObservable<T> ListenIncludeLatest<T>();
bool IsRegistered(Type type);
}
} | Add initial contract for message bus | Add initial contract for message bus
Ya observables!!
| C# | mit | mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimp... | |
1d7e4ebed4261dca0c93e4654373534769c01163 | src/THNETII.Security.JOSE/JsonWebSignatureAlgorithm.cs | src/THNETII.Security.JOSE/JsonWebSignatureAlgorithm.cs | using System.Runtime.Serialization;
namespace THNETII.Security.JOSE
{
/// <summary>
/// Defines the set of <c>"alg"</c> (algorithm) Header Parameter
/// values defined by this specification for use with JWS.
/// <para>Specified in <a href="https://tools.ietf.org/html/rfc7518#section-3.1">RFC 7518 - JS... | Add JWA enumeration for JWS Algorithms | Add JWA enumeration for JWS Algorithms
| C# | mit | thnetii/dotnet-common | |
5cf2db9f666021410bb0b486d1cc7f1c678e9386 | VariousArtists/print_a_trie.cs | VariousArtists/print_a_trie.cs | // Print a trie
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
class Node
{
private Dictionary<char, Node> Next = new Dictionary<char, Node>();
private bool IsWord;
public static Node Read(List<String> items)
{
return items
.Aggregate(
... | Read and write a Trie | Read and write a Trie
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | |
17f56ccbdc5e2fa9493f2ccf7597b6cd1f26a72d | Programs/examples/TestClient/Commands/Agent/GenericMessageCommand.cs | Programs/examples/TestClient/Commands/Agent/GenericMessageCommand.cs | using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
using OpenMetaverse.Packets;
namespace OpenMetaverse.TestClient
{
/// <summary>
/// Sends a packet of type GenericMessage to the simulator.
/// </summary>
public class GenericMessageCommand : Command
{
p... | Add sendgeneric command to TestClient to allow one to send arbitrary GenericMessagePackets to the simulator for testing purposes | Add sendgeneric command to TestClient to allow one to send arbitrary GenericMessagePackets to the simulator for testing purposes
| C# | bsd-3-clause | radegastdev/libopenmetaverse,radegastdev/libopenmetaverse,radegastdev/libopenmetaverse,radegastdev/libopenmetaverse | |
295e5a7e5f7f2645b67092384be76cf551c5b9fb | Modix/Modules/MoveMessageModule.cs | Modix/Modules/MoveMessageModule.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Modix.Services.CommandHelp;
namespace Modix.Modules
{
[Name("Move Message"), RequireUserPermission(GuildPermission.ManageMessages), HiddenFromHelp]
public class MoveMessageModule : ModuleBase
{
... | Add move message module. First iteration before refactor | Add move message module. First iteration before refactor
| C# | mit | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | |
86906080011567d6751e62be29b83205d3e5afd6 | test/EntryPointTests/EnumArguments.cs | test/EntryPointTests/EnumArguments.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint;
using Xunit;
namespace EntryPointTests {
public class EnumArguments {
[Fact]
public void Enums_Int() {
string[] args = new string[] {
"--opt-1", "3"
... | Add failing tests for mapping of enum values | Add failing tests for mapping of enum values
| C# | mit | Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint | |
c4a727d7e4fa9ff948c932523a5f2115345b98c2 | Opserver/Views/Exceptions/Exceptions.Similar.cshtml | Opserver/Views/Exceptions/Exceptions.Similar.cshtml | @model StackExchange.Opserver.Views.Exceptions.ExceptionsModel
@{
var e = Model.Exception;
var log = Model.SelectedLog;
var exceptions = Model.Errors;
this.SetPageTitle(Model.Title);
}
@section head {
<script>
$(function () { Status.Exceptions.init({ log: '@log', id: '@e.GUID', enablePrevi... | @model StackExchange.Opserver.Views.Exceptions.ExceptionsModel
@{
var e = Model.Exception;
var log = Model.SelectedLog;
var exceptions = Model.Errors;
this.SetPageTitle(Model.Title);
}
@section head {
<script>
$(function () { Status.Exceptions.init({ log: '@log', id: '@e.GUID', enablePrevi... | Remove duplicate exception clear similar link | Remove duplicate exception clear similar link
| C# | mit | jeddytier4/Opserver,a9261/Opserver,GABeech/Opserver,mqbk/Opserver,IDisposable/Opserver,wuanunet/Opserver,baflynn/Opserver,manesiotise/Opserver,maurobennici/Opserver,michaelholzheimer/Opserver,jeddytier4/Opserver,VictoriaD/Opserver,18098924759/Opserver,manesiotise/Opserver,volkd/Opserver,vebin/Opserver,baflynn/Opserver,... |
01afc7e74bac2aea4ecc1df4a6278f88e2c47ac0 | src/NodaTime.Demo/PeriodDemo.cs | src/NodaTime.Demo/PeriodDemo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NodaTime.Demo
{
class PeriodDemo
{
}
}
| Add class to hold snippets for the Period type | Add class to hold snippets for the Period type
| C# | apache-2.0 | jskeet/nodatime,nodatime/nodatime,nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,jskeet/nodatime | |
fcf2e28921f79891083888c19d647dede2915ffc | src/backend/SO115App.Models/Classi/Soccorso/AttivitaUtente.cs | src/backend/SO115App.Models/Classi/Soccorso/AttivitaUtente.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Models.Classi.Soccorso
{
public class AttivitaUtente
{
public string Nominativo { get; set; }
public DateTime DataInizioAttivita { get; set; }
}
}
| Add - Attività Utente per la gestrione degli stati "InLavorazione" e "Prenotato" | Add - Attività Utente per la gestrione degli stati "InLavorazione" e "Prenotato"
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | |
669a940cecc30a2af18f8abae5f288d458e9530c | A2BBAPI/Controllers/PingController.cs | A2BBAPI/Controllers/PingController.cs | using A2BBAPI.Data;
using A2BBAPI.Models;
using A2BBCommon;
using A2BBCommon.DTO;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using static A2BBAPI.Models.InOut;
namespace A2BBAPI.Controllers
{
/// <summary>
/// C... | Add simple ping controller to check functionality. | Add simple ping controller to check functionality.
| C# | apache-2.0 | marcuson/A2BBServer,marcuson/A2BBServer,marcuson/A2BBServer | |
373395e21fbb9a0ed9f4e1d61322632b93bead6f | PSql/_Data/SqlClientVersion.cs | PSql/_Data/SqlClientVersion.cs | /*
Copyright 2021 Jeffrey Sharp
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A... | Add enumeration of supported SqlClient versions. | Add enumeration of supported SqlClient versions.
| C# | isc | sharpjs/PSql,sharpjs/PSql | |
0a7cc9d4140c9d924ef97aafe04dbe7474261413 | tools/Google.Cloud.Tools.ReleaseManager/PopulateApiCatalogCommand.cs | tools/Google.Cloud.Tools.ReleaseManager/PopulateApiCatalogCommand.cs | // Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Introduce a new ReleaseManager tool (populate-api-catalog) | tools: Introduce a new ReleaseManager tool (populate-api-catalog)
This is used when we need to copy a new field from the API Index into the API Catalog.
In this particular case we're using it for ServiceConfigFile, but it's equally applicable to other new code.
| C# | apache-2.0 | googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | |
9b09361cc9a5b3ef1fb9cecf34e28f6401ae9def | osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs | osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.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.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Utils;
using osu.Game.Online;
using osu.Game.Online.Spectator;
using osu.Game.Replays... | Add testable spectator streaming client | Add testable spectator streaming client
| C# | mit | peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | |
fc2d487ac7fdd6bb459cb2f2be8b9f39e71fb4f6 | osu.Framework.Tests/Visual/Containers/TestSceneEdgeSnappingContainer.cs | osu.Framework.Tests/Visual/Containers/TestSceneEdgeSnappingContainer.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.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK;
u... | Add visual test for EdgeSnappingContainer | Add visual test for EdgeSnappingContainer
| C# | mit | EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework | |
00f684d6720341c36d3fda15128871e17f921488 | src/Arkivverket.Arkade.CoreTests/Util/TestIdTests.cs | src/Arkivverket.Arkade.CoreTests/Util/TestIdTests.cs | using System.Collections.Generic;
using System.Linq;
using Arkivverket.Arkade.Core.Util;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.CoreTests.Util
{
public class TestIdTests
{
[Fact]
public void ToStringTest()
{
var testId = new TestId(TestId.TestKind... | Add unit tests for TestId | Add unit tests for TestId
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | |
502376f17e370e668acf52f751f9b6ef2f9b2b6d | src/framework/Api/ISetRunState.cs | src/framework/Api/ISetRunState.cs | // ***********************************************************************
// Copyright (c) 2010 Charlie Poole
//
// 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, incl... | Add missing file to repository | Add missing file to repository
--HG--
extra : convert_revision : charlie%40nunit.com-20100102164936-7cyzxrg2bwrq85pl
| C# | mit | Therzok/nunit,Therzok/nunit,NikolayPianikov/nunit,jeremymeng/nunit,ArsenShnurkov/nunit,nunit/nunit,dicko2/nunit,ChrisMaddock/nunit,akoeplinger/nunit,akoeplinger/nunit,Suremaker/nunit,elbaloo/nunit,mikkelbu/nunit,passaro/nunit,Green-Bug/nunit,OmicronPersei/nunit,zmaruo/nunit,acco32/nunit,cPetru/nunit-params,jhamm/nunit,... | |
76bcfbc81987a5502797528e7080f283ba24bd02 | Print/PrintSizeMode.cs | Print/PrintSizeMode.cs | namespace Patagames.Pdf.Net.Controls.Wpf
{
/// <summary>
/// Represents the scaling options of the page for printing
/// </summary>
public enum PrintSizeMode
{
/// <summary>
/// Fit page
/// </summary>
Fit,
/// <summary>
/// Actual size
/// <... | Fix missing files for release 3.7.4.2704 | Fix missing files for release 3.7.4.2704
| C# | apache-2.0 | Patagames/Pdf.Wpf | |
701aa6478663a5e0460d15791a53991a2d68fd32 | src/Marten.Testing/AssemblyInfo.cs | src/Marten.Testing/AssemblyInfo.cs | using Xunit;
// 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: CollectionBehavior(DisableTestParallelization = true)]
| Disable test parallelization in Marten.Testing | Disable test parallelization in Marten.Testing
| C# | mit | JasperFx/Marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,ericgreenmix/marten,mysticmind/marten,ericgreenmix/marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten,mysticmind/marten | |
53c7d3e5b035f6e6cd394e6d36f39a6034ed6a48 | WalletWasabi/Models/CoinsRegistry.cs | WalletWasabi/Models/CoinsRegistry.cs | using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using NBitcoin;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Models
{
public class CoinsRegistry
{
private HashSet<SmartCoin> _coins;
private object _lock;
public event NotifyCollectionChangedEventHandler Collec... | Optimize coins management with CoinRegistry | Optimize coins management with CoinRegistry
This new class is going to replace the `ObservableConcurrentHashSet`.
This one raises events in a smarter way (less events) by avoiding the
use of recursive coins traversal.
Also, it simplifies the API because it changes the `TryRemove` method
by `Remove`.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | |
5541de5f95b5b6bf4a1906c48256488d8847228f | src/NUnitFramework/tests/Internal/TestSuiteCopyTests.cs | src/NUnitFramework/tests/Internal/TestSuiteCopyTests.cs | using NUnit.Framework.Api;
using NUnit.TestData.OneTimeSetUpTearDownData;
using NUnit.TestData.TestFixtureSourceData;
using NUnit.TestUtilities;
namespace NUnit.Framework.Internal
{
// Tests that Copy is properly overridden for all types extending TestSuite - #3171
public class TestSuiteCopyTests
{
... | Add tests to cover TestSuite.Copy | Add tests to cover TestSuite.Copy
| C# | mit | mjedrzejek/nunit,nunit/nunit,mjedrzejek/nunit,nunit/nunit | |
fdc9bc9a01fe5657e6b06c348c8f41097cdeedda | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/RepositoryQueryTests.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/RepositoryQueryTests.cs | using System.Collections.Generic;
using System.Linq;
using Dapper;
using FakeItEasy;
using NUnit.Framework;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.ExampleTests
{
... | Create Test that dapper works wil Session | Create Test that dapper works wil Session
| C# | mit | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | |
27b3e643c9d7636039689f7d8589a052ce56031d | Articulate/Components/ForegroundProcess.cs | Articulate/Components/ForegroundProcess.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Articulate
{
/// <summary>
/// Gets information about the currently active window
/// </summary>
public sta... | Add Win32 functionality to get foreground process | Add Win32 functionality to get foreground process
| C# | mit | BrunoBrux/ArticulateDVS,Mpstark/articulate | |
6cdae29a3b218948db1127678355ccc84ceed106 | Respawn.DatabaseTests/SkipOnAppVeyorAttribute.cs | Respawn.DatabaseTests/SkipOnAppVeyorAttribute.cs | namespace Respawn.DatabaseTests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
using Xunit.Sdk;
public class SkipOnAppVeyorTestDiscoverer : IXunitTestCaseDiscoverer
{
private readonly IMessageSink _diagnosticMessageSi... | Add an xUnit test discoverer that ignores tests when run on AppVeyor | Add an xUnit test discoverer that ignores tests when run on AppVeyor
| C# | apache-2.0 | jbogard/Respawn,jbogard/Respawn | |
1c066719c16f9dc9031413f33b466262b59f6395 | components/DropDownRadioButton.cs | components/DropDownRadioButton.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Gtk;
namespace Moscrif.IDE.Components
{
class DropDownRadioButton: DropDownButton
{
public DropDownRadioButton()
{
}
protected override void OnPressed ()
{
//base.OnPressed ();
Gtk.Menu menu = new Gtk.Menu... | Change DropDownButton, Change Sepparotor name on Menu, Logout if unsuccessful ping Part VII | Change DropDownButton, Change Sepparotor name on Menu, Logout if unsuccessful ping Part VII
| C# | bsd-3-clause | moscrif/ide,moscrif/ide | |
aea2f7b45accfceb8e518f7c2ddb3cf7560706b6 | src/Dotnet.Script.Core/ScriptDownloader.cs | src/Dotnet.Script.Core/ScriptDownloader.cs | using System;
using System.IO;
using System.Net.Http;
using System.Net.Mime;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
const string plainTextMediaType = "text/plain";
usi... | using System;
using System.IO;
using System.IO.Compression;
using System.Net.Http;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
using (HttpClient client = new HttpClient())
... | Allow running gzip-ped script from URL | Allow running gzip-ped script from URL
| C# | mit | filipw/dotnet-script,filipw/dotnet-script |
5bf8363dd5b709c8e6cbc3b6688a4d37b655811d | src/System.Diagnostics.Process/tests/ProcessTest_ConsoleApp/ProcessTest_ConsoleApp.cs | src/System.Diagnostics.Process/tests/ProcessTest_ConsoleApp/ProcessTest_ConsoleApp.cs | using System;
using System.Threading;
namespace ProcessTest_ConsoleApp
{
class Program
{
static int Main(string[] args)
{
try
{
if (args.Length > 0)
{
if (args[0].Equals("infinite"))
{
... | using System;
using System.Threading;
namespace ProcessTest_ConsoleApp
{
class Program
{
static int Main(string[] args)
{
try
{
if (args.Length > 0)
{
if (args[0].Equals("infinite"))
{
... | Add missed paren in comment. | Add missed paren in comment.
(cherry picked master -> v1.0 from commit aefbbad423132dfa26c0264c4491acbd79c61a70)
| C# | mit | nbarbettini/corefx,gabrielPeart/corefx,parjong/corefx,larsbj1988/corefx,anjumrizwi/corefx,lggomez/corefx,comdiv/corefx,mafiya69/corefx,gabrielPeart/corefx,Alcaro/corefx,billwert/corefx,vrassouli/corefx,JosephTremoulet/corefx,zmaruo/corefx,destinyclown/corefx,rubo/corefx,richlander/corefx,Petermarcu/corefx,s0ne0me/coref... |
ae83f9d1f3a9aa50191c3cf9d3ef951d196e8999 | Tiles/TileSystemManager.cs | Tiles/TileSystemManager.cs | using UnityEngine;
using UnityEngine.Assertions;
public class TileSystemManager : BaseBehaviour
{
private Shader shader;
void Start()
{
shader = Shader.Find("Sprites/Diffuse");
Assert.IsNotNull(shader);
SetChunksToStatic();
DisableShadows();
}
void SetChunksToStatic()
{
foreach (Transform child in t... | Set specs on all tiles at Awake() | Set specs on all tiles at Awake()
| C# | mit | jguarShark/Unity2D-Components,cmilr/Unity2D-Components | |
fc7ed3a9cd570d6829991f2e812dbe2bd4f64471 | src/Microsoft.AspNet.Http.Interfaces/ITlsTokenBindingFeature.cs | src/Microsoft.AspNet.Http.Interfaces/ITlsTokenBindingFeature.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
/// <summary>
/// Provides infor... | Add TLS token binding feature | Add TLS token binding feature
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | |
74d6e2e115d120f9f0972e0d503b05984b05f11a | food_tracker/NutritionItem.cs | food_tracker/NutritionItem.cs | namespace food_tracker {
public class NutritionItem {
public string name { get; set; }
public double calories { get; set; }
public double carbohydrates { get; set; }
public double sugars { get; set; }
public double fats { get; set; }
public double saturatedFats { get... | Add items for database persistence | Add items for database persistence
| C# | mit | lukecahill/NutritionTracker | |
afde405bb98bfa5630ca6a5f745b9f579a3d144b | Common/Network/Server.cs | Common/Network/Server.cs | /*
* WoWCore - World of Warcraft 1.12 Server
* Copyright (C) 2017 exceptionptr
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... | Add a abstract server class. Watch out for the todos. | Add a abstract server class.
Watch out for the todos.
| C# | mit | 0x2aff/WoWCore | |
7dfac2fd787f081986f7e9865323dcd85a0ef60a | src/Microsoft.Owin.Security.Cookies.Interop/Properties/AssemblyInfo.cs | src/Microsoft.Owin.Security.Cookies.Interop/Properties/AssemblyInfo.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: NeutralResourcesLanguage("en-us")] | Add assembly info for new project | Add assembly info for new project
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | |
698f80a964c65d423505cc6c9237d68f9fa9bb2c | WJStore.Domain/Entities/Specifications/CartSpecs/CartCountShouldBeGreaterThanZeroSpec.cs | WJStore.Domain/Entities/Specifications/CartSpecs/CartCountShouldBeGreaterThanZeroSpec.cs | using WJStore.Domain.Interfaces.Validation;
namespace WJStore.Domain.Entities.Specifications.CartSpecs
{
public class CartCountShouldBeGreaterThanZeroSpec : ISpecification<Cart>
{
public bool IsSatisfiedBy(Cart cart)
{
return cart.Count > 0;
}
}
}
| Implement CartSpecs to Control Specification | Implement CartSpecs to Control Specification
| C# | mit | MrWooJ/WJStore | |
86bde4b6b253e87fd92ae8026878a4a5128f35cf | osu.Game/Overlays/Toolbar/ToolbarDirectButton.cs | osu.Game/Overlays/Toolbar/ToolbarDirectButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Graphics;
namespace osu.Game.Overlays.Toolbar
{
internal class ToolbarDirectButton : ToolbarOverlayToggleButt... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Graphics;
namespace osu.Game.Overlays.Toolbar
{
internal class ToolbarDirectButton : ToolbarOverlayToggleButt... | Use the correct icon for osu!direct in the toolbar | Use the correct icon for osu!direct in the toolbar
| C# | mit | ZLima12/osu,peppy/osu,johnneijzen/osu,Drezi126/osu,NeoAdonis/osu,NeoAdonis/osu,johnneijzen/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,Frontear/osuKyzer,smoogipoo/osu,Nabile-Rahmani/osu,ppy/osu,Damnae/osu,UselessToucan/osu,naoey/osu,smoogipooo/osu,pp... |
fdb5608581b538c9d16c0801b7b16600645d0516 | ElectronicCash.Tests/SecretSplittingTests.cs | ElectronicCash.Tests/SecretSplittingTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace ElectronicCash.Tests
{
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] _message = Helpers.GetBytes("Supersecretmessage");
... | Add test fixture for secret splitting | Add test fixture for secret splitting
| C# | mit | 0culus/ElectronicCash | |
f5ead292ce9310ee2c21bba29b3adf6753462338 | DebugEffect.cs | DebugEffect.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SmokeScreen
{
[EffectDefinition("DEBUG_EFFECT")]
class DebugEffect : EffectBehaviour
{
public override void OnEvent()
{
Print(effectName.PadRight(16) + "OnEvent single --------------... | Add a logging effect to debug | Add a logging effect to debug
| C# | bsd-2-clause | Kerbas-ad-astra/SmokeScreen,sarbian/SmokeScreen | |
59b62753ad40dd0fbce520f89b07c3a09f9f09e0 | test/ActionLibraryTest/Actions/ClientLoginTest.cs | test/ActionLibraryTest/Actions/ClientLoginTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moegirlpedia.MediaWikiInterop.Actions;
using Moegirlpedia.MediaWikiInterop.Actions.Models;
using Moegirlpedia.MediaWikiInterop.Actions.QueryProviders;
using Moegirlpedia.MediaWikiInterop.Primitives.DependencyInjection;
using System;
using System.Threading.Tasks... | Implement test for client login. | Implement test for client login.
| C# | mit | moegirlwiki/Kaleidoscope | |
217e32eeeb41e078b200f76e341fdc742065d0dd | src/CK.Glouton.Lucene/CompositeIndexer.cs | src/CK.Glouton.Lucene/CompositeIndexer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CK.Monitoring;
namespace CK.Glouton.Lucene
{
class CompositeIndexer : IIndexer
{
private List<IIndexer> _indexers;
public CompositeIndexer ()
{
_indexe... | Add Composite implementation for Indexers | Add Composite implementation for Indexers
| C# | mit | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | |
903e3ea1991d77bc6494281458b9fdc96b33a949 | Profiles/Quester/IsTankScript.cs | Profiles/Quester/IsTankScript.cs | switch (ObjectManager.Me.WowSpecialization())
{
case WoWSpecialization.PaladinProtection:
case WoWSpecialization.WarriorProtection:
case WoWSpecialization.MonkBrewmaster:
case WoWSpecialization.DruidGuardian:
case WoWSpecialization.DeathknightBlood:
return true;
default:
return false;
}
// Usage: <ScriptCond... | Add a script for check if we are a tank. | Add a script for check if we are a tank.
| C# | mit | TheNoobCompany/WorldQuestTNB | |
7ac0da49140c3c723fe17c072f9eca8f02630af5 | src/CSharpViaTest.OtherBCLs/HandleDates/PassingDateTimeBetweenDifferentCultures.cs | src/CSharpViaTest.OtherBCLs/HandleDates/PassingDateTimeBetweenDifferentCultures.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using Xunit;
namespace CSharpViaTest.OtherBCLs.HandleDates
{
/*
* Description
* ===========
*
* This test will try passing date time between the boundary (e.g. via HTTP).
* And the culture information at each si... | Add date time passing practices. | [liuxia] Add date time passing practices.
| C# | mit | AxeDotNet/AxePractice.CSharpViaTest | |
fb78e2b5fdb4ed78c1930cc1b729cde43615145d | Level/LevelData.cs | Level/LevelData.cs | using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System;
using UnityEngine;
public class LevelData : BaseBehaviour
{
public int HP { get; set; }
public int AC { get; set; }
public int Damage { get; set; }
public void Save()
{
var bf = new BinaryFormatter();
FileStream file... | Add script for serializing level data | Add script for serializing level data
| C# | mit | jguarShark/Unity2D-Components,cmilr/Unity2D-Components | |
478cfc0b87ac3a6062e5948fe8df496df0fac991 | osu.Game/Overlays/Mods/ModState.cs | osu.Game/Overlays/Mods/ModState.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.Rulesets.Mods;
namespace osu.Game.Overlays.Mods
{
/// <summary>
/// Wrapper class used to store the current state o... | Split model class for mod state | Split model class for mod state
| C# | mit | NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu | |
9c6dd28e7d3cc2a24a7a5154d1f4604fd0920c7d | GeneralUseClasses/Services/IProvideExpenditureData.cs | GeneralUseClasses/Services/IProvideExpenditureData.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GeneralUseClasses.Contracts;
namespace GeneralUseClasses.Services
{
public interface IProvideExpenditureData
{
IEnumerable<string> GetDominantTags();
IEnumerable<string> ... | Add IProvideExpenditure class to support data provision | Add IProvideExpenditure class to support data provision
| C# | apache-2.0 | xyon1/Expenditure-App | |
4c7ba3d93c8e30b9fe81e3d092cf87d2040e993f | src/Mvc/Dinamico/Dinamico/Themes/Default/Views/ContentPages/News.cshtml | src/Mvc/Dinamico/Dinamico/Themes/Default/Views/ContentPages/News.cshtml | @model Dinamico.Models.ContentPage
@{
Content.Define(re =>
{
re.Title = "News page";
re.IconUrl = "{IconsUrl}/newspaper.png";
re.DefaultValue("Visible", false);
re.RestrictParents("Container");
re.Sort(N2.Definitions.SortBy.PublishedDescending);
});
}
@Html.Partial("LayoutPartials/BlogCont... | @model Dinamico.Models.ContentPage
@{
Content.Define(re =>
{
re.Title = "News page";
re.IconUrl = "{IconsUrl}/newspaper.png";
re.DefaultValue("Visible", false);
re.RestrictParents("Container");
re.Sort(N2.Definitions.SortBy.PublishedDescending);
re.Tags("Tags");
});
}
@Html.Partial("Lay... | Add tagging capability to Dinamico news page | Add tagging capability to Dinamico news page
| C# | lgpl-2.1 | nimore/n2cms,EzyWebwerkstaden/n2cms,nimore/n2cms,SntsDev/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,n2cms/n2cms,nicklv/n2cms,bussemac/n2cms,nicklv/n2cms,nimore/n2cms,nicklv/n2cms,nicklv/n2cms,n2cms/n2cms,bussemac/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,EzyWebwerkstaden/n2cms,D... |
123dc6474cf96f2ab90a02df615f0598c810c22e | src/Mvc/MvcTemplates/N2/Top.master.cs | src/Mvc/MvcTemplates/N2/Top.master.cs |
namespace N2.Management
{
public partial class Top : System.Web.UI.MasterPage
{
}
}
| using System.Configuration;
using System.Web.Configuration;
namespace N2.Management
{
public partial class Top : System.Web.UI.MasterPage
{
protected override void OnLoad(System.EventArgs e)
{
base.OnLoad(e);
try
{
var section = (AuthenticationSection)ConfigurationManager.GetSection("... | Hide logout when not using forms auth | Hide logout when not using forms auth
| C# | lgpl-2.1 | nimore/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,bussemac/n2cms,n2cms/n2cms,nimore/n2cms,n2cms/n2cms,SntsDev/n2cms,EzyWebwerkstaden/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,VoidPointerAB/n2cms,DejanMilicic/n2cms,nicklv/n2cms,nimore/n2cms,nicklv/n2cms,nimore/n2cms,bussemac/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,busse... |
2de560d6644a7f73aa6e5b35cd5e0254d02c05db | src/Pather.CSharp/PathElements/PropertyFactory.cs | src/Pather.CSharp/PathElements/PropertyFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class PropertyFactory : IPathElementFactory
{
public IPathElement Create(string pathElement)
{
return... | Add a factory for Property path element | Add a factory for Property path element
| C# | mit | Domysee/Pather.CSharp | |
e75263bf6ca89563550cf7f32548905bd2203bd4 | neon2d/neon2d/Physics.cs | neon2d/neon2d/Physics.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using neon2d.Math;
namespace neon2d.Physics
{
public class Rect
{
public float x, y;
public float width, height;
public Rect(int x, int y, int width, int height)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using neon2d.Math;
namespace neon2d.Physics
{
public class Rect
{
public float x, y;
public float width, height;
public Rect(int x, int y, int width, int height)
... | Add Rect <-> Vector2i collisions | Add Rect <-> Vector2i collisions
| C# | mit | neon2d/neonGL,neon2d/neon2d,DontBelieveMe/neon2d |
c1ae775c7ce1cbe5ec86da87be8a8c7b92c3a051 | osu.Framework/Graphics/DrawableExtensions.cs | osu.Framework/Graphics/DrawableExtensions.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;
namespace osu.Framework.Graphics
{
/// <summary>
/// Holds extension methods for <see cref="Drawable"/>.
/// </summary>
public static class... | Add extension method to provide drawable adjustments | Add extension method to provide drawable adjustments
| C# | mit | ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | |
e5260f5758c53df202e44d3aaca5ec4724c838d6 | test/GitHub.Exports.UnitTests/GlobalSuppressions.cs | test/GitHub.Exports.UnitTests/GlobalSuppressions.cs |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", ... | Fix warnings in unit tests flagged by MSBuild Log | Fix warnings in unit tests flagged by MSBuild Log
Suppressed:
CA1707:Identifiers should not contain underscores
CA1034:Nested types should not be visible
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio | |
cc7d4598664b8119a820406722962f9f03f5332b | OSVR-Unity/Assets/scripts/HandleButtonPress.cs | OSVR-Unity/Assets/scripts/HandleButtonPress.cs | using UnityEngine;
using System.Collections;
public class HandleButtonPress : MonoBehaviour {
public OSVR.Unity.OSVRClientKit clientKit;
public OSVR.Unity.InterfaceCallbacks cb;
public void Start() {
GetComponent<OSVR.Unity.InterfaceCallbacks> ().RegisterCallback (handleButton);
}
public void handleButton(... | Add a button press example | Add a button press example
| C# | apache-2.0 | DuFF14/OSVR-Unity,grobm/OSVR-Unity,grobm/OSVR-Unity,JeroMiya/OSVR-Unity,OSVR/OSVR-Unity | |
ad885f3d367e95a5c9f41e510bdfe51980cee7b5 | UaClient.UnitTests/UnitTests/UaApplicationOptionsTests.cs | UaClient.UnitTests/UnitTests/UaApplicationOptionsTests.cs | using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using Workstation.ServiceModel.Ua;
using Xunit;
namespace Workstation.UaClient.UnitTests
{
public class UaApplicationOptionsTests
{
[Fact]
public void UaTcpTransportChannelOptionsDefaults()
{
... | Add unit tests for UaTcpChannelOptions | Add unit tests for UaTcpChannelOptions
| C# | mit | convertersystems/opc-ua-client | |
cadf2e6cf3167f86372843622d5220ce5e96fbbe | src/platform/toolkit/restQL/QueryProcessor.cs | src/platform/toolkit/restQL/QueryProcessor.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Nohros.Toolkit.RestQL
{
/// <summary>
/// A class used to process a restQL query.
/// </summary>
public class QueryProcessor
{
QueryInfo query_;
string query_key_;
#region .ctor
/// <summary>
//... | Create a class that is used to process the restQL queries. | Create a class that is used to process the restQL queries.
| C# | mit | nohros/must,nohros/must,nohros/must | |
e6fb7880440e7d2655d1d19c2a7d67304a766be4 | Lama/UI/Win/AjouterVolontaire.xaml.cs | Lama/UI/Win/AjouterVolontaire.xaml.cs | using MahApps.Metro.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using... | using MahApps.Metro.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using... | Fix d'un bug qui faisait en sorte que le showDialog ne fonctionnait pas | Fix d'un bug qui faisait en sorte que le showDialog ne fonctionnait pas
| C# | mit | Lan-Manager/lama,Tri125/lama |
5e14cc4b7d4d15996421ac283d0eff7b23463c91 | source/ZocMonLib/Framework/Constant.cs | source/ZocMonLib/Framework/Constant.cs | using System;
namespace ZocMonLib
{
public class Constant
{
public static readonly DateTime MinDbDateTime = new DateTime(1753, 1, 1);
public const long TicksInMillisecond = 10000;
public const long MinResolutionForDbWrites = 60 * 1000;
public const long MsPerDay = 24... | using System;
using System.Data.SqlTypes;
namespace ZocMonLib
{
public class Constant
{
public static readonly DateTime MinDbDateTime = SqlDateTime.MinValue.Value;
public const long TicksInMillisecond = TimeSpan.TicksPerMillisecond;
public const long MinResolutionForDbWrite... | Change how constants are defined | Change how constants are defined
| C# | apache-2.0 | ZocDoc/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon |
5e396ec68e5ad7cb8c023f803368b80594a979c7 | src/MonoTorrent/MonoTorrent.Client/Modes/PausedMode.cs | src/MonoTorrent/MonoTorrent.Client/Modes/PausedMode.cs | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.Common;
namespace MonoTorrent.Client
{
class PausedMode : Mode
{
public override TorrentState State
{
get { return TorrentState.Paused; }
}
public PausedMode(TorrentManager manager)
: base(manage... | Add a new Paused mode. | Add a new Paused mode.
svn path=/trunk/bitsharp/; revision=140026
| C# | mit | dipeshc/BTDeploy | |
db87c10949908d1b6fdc5b45d61751d5e7732ab0 | microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs | microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs | //
// Copyright 2012 Microsoft Corporation
//
// 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 o... | //
// Copyright 2012 Microsoft Corporation
//
// 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 o... | Change the MSI version to 1.8 | Change the MSI version to 1.8
| C# | mit | jtlibing/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,makhdumi/azure-sdk-for-net,tonytang-microsoft-com/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,samtoubia/azure-sdk-for-net,btasdoven/azure-sdk-for-net,yoreddy/azure-sdk-for-net,jasper-schneider/azure-sdk-for-net,relmer/azure-sdk-... |
ec5c967e71343396224e9769ef21126b91d581fa | osu.Game.Tests/Visual/UserInterface/TestSceneSettingsCheckbox.cs | osu.Game.Tests/Visual/UserInterface/TestSceneSettingsCheckbox.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.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.G... | Add test coverage of `SettingsCheckbox` | Add test coverage of `SettingsCheckbox`
| C# | mit | NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu | |
be83d17dcf1ffb7316df47e77099c34984fb2b83 | src/Api.Test/Controllers/UsersControllerTests.cs | src/Api.Test/Controllers/UsersControllerTests.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Moq;
using Xunit;
using ISTS.Api.Controllers;
using ISTS.Api.Helpers;
using ISTS.Application.Users;
namespace ISTS.Api.Test.Controllers
{
public class UsersControllerTests
{
private M... | Add unit tests for Users API controller | Add unit tests for Users API controller
| C# | mit | meutley/ISTS | |
b06f59ffdcf99454bb4447b7e4efb936ebb0f399 | osu.Game.Tests/Visual/Gameplay/TestSceneComboCounter.cs | osu.Game.Tests/Visual/Gameplay/TestSceneComboCounter.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu.G... | Split out test for combo counter specifically | Split out test for combo counter specifically
| C# | mit | ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu | |
de6a8ae01f32ae6827d05272f2eb48ad17d785d7 | Tiver.Fowl.Drivers.Tests/DownloadersParallel.cs | Tiver.Fowl.Drivers.Tests/DownloadersParallel.cs | using System.IO;
using Microsoft.Extensions.Configuration;
using NUnit.Framework;
using Tiver.Fowl.Drivers.Configuration;
using Tiver.Fowl.Drivers.DriverBinaries;
using Tiver.Fowl.Drivers.DriverDownloaders;
namespace Tiver.Fowl.Drivers.Tests
{
[TestFixture]
public class DownloadersParallel
{
priva... | Add test for racecondition issue | Add test for racecondition issue
| C# | mit | MrHant/tiver-fowl.Drivers,MrHant/tiver-fowl.Drivers | |
b163b7d8b2fadf33747ed0aacd8ae4a40007c57e | Examples/CSharp/Rendering-Printing/SetHorizontalAndVerticalImageResolution.cs | Examples/CSharp/Rendering-Printing/SetHorizontalAndVerticalImageResolution.cs | using Aspose.Words.Saving;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aspose.Words.Examples.CSharp.Rendering_Printing
{
class SetHorizontalAndVerticalImageResolution
{
public static void Run()
{
// The path to the documents direc... | Set Horizontal And Vertical Image Resolution | Set Horizontal And Vertical Image Resolution
| C# | mit | asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET | |
14ddf6e7ec8df8ef3ead81f90890d05751dfb67c | src/Porthor/ContentValidation/IContentValidator.cs | src/Porthor/ContentValidation/IContentValidator.cs | using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace Porthor.ContentValidation
{
public interface IContentValidator
{
Task<bool> Validate(HttpRequest request);
}
}
| Add interface for content validation | Add interface for content validation
| C# | apache-2.0 | NicatorBa/Porthor | |
08de81004adda619d84d0a5b18c9f91905b4cc5e | UI/ASPNetCore/ViewModels/UserViewModel.cs | UI/ASPNetCore/ViewModels/UserViewModel.cs | namespace DevelopmentInProgress.AuthorisationManager.ASP.Net.Core.ViewModels
{
public class UserViewModel
{
public string Id { get; set; }
public string Name { get; set; }
public string DisplayName { get; set; }
}
}
| Create view model for user | Create view model for user
Create view model for user
| C# | apache-2.0 | grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager | |
e574aa0e94ee16366a7c4086f2eb80042edb494f | osu.Game.Tests/Visual/UserInterface/TestSceneToggleMenuItem.cs | osu.Game.Tests/Visual/UserInterface/TestSceneToggleMenuItem.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.Collections.Generic;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Tests.Visual.UserInterface
{
... | Add toggle menu item test | Add toggle menu item test
| C# | mit | 2yangk23/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,smoogipooo/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu | |
95456b26fbf03635091ef55ec8cc71ea0ed8b593 | resharper/resharper-yaml/test/src/Psi/Parsing/ParserTestBase.cs | resharper/resharper-yaml/test/src/Psi/Parsing/ParserTestBase.cs | using System;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.Application.Components;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Files;
using JetBrains.ReSharper... | Add new parser test base | Add new parser test base
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.