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 |
|---|---|---|---|---|---|---|---|---|
a1f2926cda5893eb787680823ce5141f6b7a2d69 | Update SyntaxEpsilon.cs | b3b00/csly | sly/parser/syntax/tree/SyntaxEpsilon.cs | sly/parser/syntax/tree/SyntaxEpsilon.cs | using sly.lexer;
namespace sly.parser.syntax.tree
{
public class SyntaxEpsilon<IN> : ISyntaxNode<IN> where IN : struct
{
public bool Discarded { get; } = false;
public string Name => "Epsilon";
public bool HasByPassNodes { get; set; } = false;
[ExcludeFromCodeCoverage]
... | using sly.lexer;
namespace sly.parser.syntax.tree
{
public class SyntaxEpsilon<IN> : ISyntaxNode<IN> where IN : struct
{
public bool Discarded { get; } = false;
public string Name => "Epsilon";
public bool HasByPassNodes { get; set; } = false;
public string Dump(string tab)
... | mit | C# |
585893c60de5fa129a6bdcf170580644a7cfa975 | Bump version | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/ExposureNotification/build.cake | Android/ExposureNotification/build.cake | var TARGET = Argument ("t", Argument ("target", "ci"));
var NUGET_VERSION = "18.0.2-eap.5";
var AAR_URL = "https://github.com/google/exposure-notifications-android/raw/174cf0dab62d0c7c5d2c5d1abe5bef595d0d4942/app/libs/play-services-nearby-18.0.2-eap.aar";
Task ("externals")
.Does (() =>
{
EnsureDirectoryExists ("./... | var TARGET = Argument ("t", Argument ("target", "ci"));
var NUGET_VERSION = "18.0.2-eap.4";
var AAR_URL = "https://github.com/google/exposure-notifications-android/raw/174cf0dab62d0c7c5d2c5d1abe5bef595d0d4942/app/libs/play-services-nearby-18.0.2-eap.aar";
Task ("externals")
.Does (() =>
{
EnsureDirectoryExists ("./... | mit | C# |
9f7c6adb5849777f77de6ba48c129bf8b53fd130 | Fix test failures due to logger pollution | peppy/osu-new,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu | osu.Game/Tests/CleanRunHeadlessGameHost.cs | osu.Game/Tests/CleanRunHeadlessGameHost.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.Runtime.CompilerServices;
using osu.Framework.Platform;
namespace osu.Game.Tests
{
/// <summary>
/// A headless host which cleans up before running... | // 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.Runtime.CompilerServices;
using osu.Framework.Platform;
namespace osu.Game.Tests
{
/// <summary>
/// A headless host which cleans up before running... | mit | C# |
0d330630ad1e957607df097e2bd2e6eeef5e4088 | Remove superfluous call to ToImmutableArray | terrajobst/apiporter | src/ApiPorter.Patterns/PatternSearch.cs | src/ApiPorter.Patterns/PatternSearch.cs | using System;
using System.Collections.Immutable;
namespace ApiPorter.Patterns
{
public sealed partial class PatternSearch
{
private PatternSearch(string text, ImmutableArray<PatternVariable> variables)
{
Text = text;
Variables = variables;
}
public sta... | using System;
using System.Collections.Immutable;
namespace ApiPorter.Patterns
{
public sealed partial class PatternSearch
{
private PatternSearch(string text, ImmutableArray<PatternVariable> variables)
{
Text = text;
Variables = variables;
}
public sta... | mit | C# |
89fe8b09f63d953b036db80f23f9808996217dee | Handle inconclusive results in teamcity versions less than 6 | refractalize/bounce,socialdotcom/bounce,refractalize/bounce,sreal/bounce,sreal/bounce,socialdotcom/bounce,socialdotcom/bounce,sreal/bounce,socialdotcom/bounce,refractalize/bounce | Bounce.Framework/TeamCityNUnitLogger.cs | Bounce.Framework/TeamCityNUnitLogger.cs | using System;
using System.IO;
using System.Text.RegularExpressions;
namespace Bounce.Framework {
public class TeamCityNUnitLogger : ICommandLog {
private readonly TextWriter Output;
private readonly ICommandLog Log;
private readonly TeamCityFormatter TeamCityFormatter;
pr... | using System;
using System.IO;
namespace Bounce.Framework {
public class TeamCityNUnitLogger : ICommandLog {
private readonly TextWriter Output;
private readonly ICommandLog Log;
private TeamCityFormatter TeamCityFormatter;
public TeamCityNUnitLogger(string args, TextWrit... | bsd-2-clause | C# |
fac0e04989cd61e16775d837750e9e4cd8ad2ffb | Fix invalid scissor rectangle | zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui | src/ImGui/Rendering/GeometryRenderer.cs | src/ImGui/Rendering/GeometryRenderer.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace ImGui.Rendering.Composition
{
internal abstract class GeometryRenderer : RecordReader
{
protected Stack<Rect> ClipRectStack { get; } = new Stack<Rect>(new[] { Rect.Big });
public void PushClipRect(Rect rect)
... | using System;
using System.Collections.Generic;
namespace ImGui.Rendering.Composition
{
internal abstract class GeometryRenderer : RecordReader
{
protected Stack<Rect> ClipRectStack { get; } = new Stack<Rect>(new[] { Rect.Big });
public void PushClipRect(Rect rect)
{
if (r... | agpl-3.0 | C# |
01be25f9fa3d0cf46c31b92655f3cf7c20b1785a | Update AssemblyInfo.cs | NConsole/NConsole | src/NConsole/Properties/AssemblyInfo.cs | src/NConsole/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("NConsole")]
[assembly: AssemblyDescription("NConsole is a .NET library to parse command line arguments and execute commands.")]
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NConsole")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("NConsole")]
[assembly: AssemblyDescription("NConsole is a .NET library to parse command line arguments and execute commands.")]
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NConsole")]
[assembly: Assembl... | mit | C# |
b48f484b8d693a58abf651eec6ea547e24f3cb77 | load config | ucdavis/Namster,ucdavis/Namster,ucdavis/Namster | src/Namster.Jobs.ElasticSync/Program.cs | src/Namster.Jobs.ElasticSync/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Namster.Jobs.ElasticSync
{
public class Program
{
private static IConfigurationRoot _configuration;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Namster.Jobs.ElasticSync
{
public class Program
{
private static IConfigurationRoot _configuration;
... | mit | C# |
64d4e807c3fca4c0471e7019aae8884eff829c55 | Add the search for user api to the Site. | AlexGhiondea/SmugMug.NET | src/SmugMugModel.v2/Types/SiteEntity.cs | src/SmugMugModel.v2/Types/SiteEntity.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.v2.Authentication;
using System.Threading.Tasks;
namespace SmugMug.v2.Types
{
public class SiteEntity : SmugMugEntity
{
public SiteE... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.v2.Authentication;
using System.Threading.Tasks;
namespace SmugMug.v2.Types
{
public class SiteEntity : SmugMugEntity
{
public SiteE... | mit | C# |
e20aadd3dd1c50b020a0ef59ae2594a7b1e5ec63 | Revert "islr-17: test" | StockSharp/StockSharp | Algo/Storages/DefaultCredentialsProvider.cs | Algo/Storages/DefaultCredentialsProvider.cs | namespace StockSharp.Algo.Storages
{
using System;
using System.IO;
using Ecng.Common;
using Ecng.ComponentModel;
using Ecng.Serialization;
using StockSharp.Configuration;
using StockSharp.Logging;
/// <summary>
/// Default implementation of <see cref="ICredentialsProvider"/>.
/// </summary>
public class... | namespace StockSharp.Algo.Storages
{
using System;
using System.IO;
using Ecng.Common;
using Ecng.ComponentModel;
using Ecng.Serialization;
using StockSharp.Configuration;
using StockSharp.Logging;
/// <summary>
/// Default implementation of <see cref="ICredentialsProvider"/>.
/// </summary>
public class... | apache-2.0 | C# |
d7322c8ebd1c4139eb05bed63d7c936f3305cb67 | Change "Note" default size / minimum size | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/Note/Settings.cs | DesktopWidgets/Widgets/Note/Settings.cs | using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Note
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.MinWidth = 160;
Style.MinHeight = 132;
}
[DisplayName("Saved Text")]
... | using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Note
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 160;
Style.Height = 132;
}
[DisplayName("Saved Text")]
... | apache-2.0 | C# |
2e06a0ec0011ed6cc29ed0818df3d5acb2de241d | Handle exceptions during authentication | k-t/SharpHaven | MonoHaven.Client/Network/AsyncAuthClient.cs | MonoHaven.Client/Network/AsyncAuthClient.cs | using System;
using System.Threading.Tasks;
namespace MonoHaven.Network
{
public class AsyncAuthClient
{
private readonly string host;
private readonly int port;
private readonly CallbackDispatcher dispatcher;
public AsyncAuthClient(string host, int port, CallbackDispatcher dispatcher)
{
this.host = h... | using System;
using System.Threading.Tasks;
namespace MonoHaven.Network
{
public class AsyncAuthClient
{
private readonly string host;
private readonly int port;
private readonly CallbackDispatcher dispatcher;
public AsyncAuthClient(string host, int port, CallbackDispatcher dispatcher)
{
this.host = h... | mit | C# |
0b78f719b25e3074f892db31b0193ffe680348df | Update VisitProbe.cs | predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus | Sensus.Shared/Probes/Location/VisitProbe.cs | Sensus.Shared/Probes/Location/VisitProbe.cs | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | apache-2.0 | C# |
5705cf448f7fe77903f6671078f44d2a36ef12fb | Add PointLoadProperty to NodeProperty for remembering point load at node | ReiiYuki/KU-Structure | Assets/Scripts/Beam/NodeProperty.cs | Assets/Scripts/Beam/NodeProperty.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NodeProperty : MonoBehaviour {
public int number;
public float m, dy;
public PointLoadProperty pointLoad;
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NodeProperty : MonoBehaviour {
public int number;
public float m, dy;
}
| mit | C# |
aad51f2cb06b33521f525b885dc993ebc87168a6 | Move method up. | fffej/BobTheBuilder,alastairs/BobTheBuilder | BobTheBuilder/DynamicBuilderBase.cs | BobTheBuilder/DynamicBuilderBase.cs | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public abstract class DynamicBuilderBase<T> : DynamicObject, IDynamicBuilder<T> where T : class
{
protected internal readonly IArgumentStore argumentStore;
protected DynamicBuilderBase(IArgumentStore argumentStore)
{
... | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public abstract class DynamicBuilderBase<T> : DynamicObject, IDynamicBuilder<T> where T : class
{
protected internal readonly IArgumentStore argumentStore;
protected DynamicBuilderBase(IArgumentStore argumentStore)
{
... | apache-2.0 | C# |
5151a36c22dab3aae0d8a81c73f5f8f700637f0b | fix "private", remove underscores from variable name | Shaddix/FormsPlayer,Shaddix/FormsPlayer | src/FormsPlayer/App.cs | src/FormsPlayer/App.cs | using System;
using System.ComponentModel;
using System.IO;
using System.Xml;
using System.Reflection;
using Xamarin.Forms;
namespace Xamarin.Forms.Player
{
/// <summary>
/// Main player app, to be used from the main entry point for your
/// Xamarin.Forms application.
/// </summary>
public class App : Applicati... | using System;
using System.ComponentModel;
using System.IO;
using System.Xml;
using System.Reflection;
using Xamarin.Forms;
namespace Xamarin.Forms.Player
{
/// <summary>
/// Main player app, to be used from the main entry point for your
/// Xamarin.Forms application.
/// </summary>
public class App : Applicati... | mit | C# |
76e92d1bd2764e38802ebacc23b4965c041524b3 | Fix the repositories having each others names | jakeclawson/Pinta,Fenex/Pinta,PintaProject/Pinta,PintaProject/Pinta,Mailaender/Pinta,Mailaender/Pinta,Fenex/Pinta,jakeclawson/Pinta,PintaProject/Pinta | Pinta/AddinSetupService.cs | Pinta/AddinSetupService.cs | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | mit | C# |
e6665bc0f5467a4f7a45994a16ff97e3c880ba31 | Update AssemblyInfo.cs in preparation for NuGet package deploy. | ItzWarty/ItzWarty.Proxies.Api,the-dargon-project/ItzWarty.Proxies.Api | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("li... | 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("co... | bsd-2-clause | C# |
89ea189f994174698cb4d4d7dcc920cfd0bffcae | Bump version | o11c/WebMConverter,Yuisbean/WebMConverter,nixxquality/WebMConverter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | 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("We... | mit | C# |
1384674052b5608e76a37ac98828bac0dc630c4d | Add missing ConfigIO tests | fwinkelbauer/Bumpy | Source/Bumpy.Tests/Config/ConfigIOTests.cs | Source/Bumpy.Tests/Config/ConfigIOTests.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Bumpy.Config;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bumpy.Tests.Config
{
[TestClass]
public class ConfigIOTests
{
[TestMethod]
public void ReadConfigFile_ParseDefaultConfig()
{
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Bumpy.Config;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bumpy.Tests.Config
{
[TestClass]
public class ConfigIOTests
{
[TestMethod]
public void ReadConfigFile_CanDeserializeConfig()
{
... | mit | C# |
e926cec386ca369d5de34f57d5423a4d2a298a8d | Remove unused using | JamieMagee/GovUK-Pulse,JamieMagee/GovUK-Pulse,JamieMagee/GovUK-Pulse | SslScanner/Program.cs | SslScanner/Program.cs | using System;
using System.Collections.Generic;
using Microsoft.WindowsAzure.Storage;
using Newtonsoft.Json;
namespace SslScanner
{
internal static class Program
{
private static void Main()
{
const string readFile =
@"https://www.gov.uk/government/uploads/system/up... | using System;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.WindowsAzure.Storage;
using Newtonsoft.Json;
namespace SslScanner
{
internal static class Program
{
private static void Main()
{
const string readFile =
@"https://www.gov.uk/... | mit | C# |
8a488c353bf28e368a1706e90964bb905b314736 | Allow only one instance of application | akorb/SteamShutdown | SteamShutdown/Program.cs | SteamShutdown/Program.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace SteamShutdown
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | using System;
using System.IO;
using System.Windows.Forms;
namespace SteamShutdown
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
AppDomain.CurrentDom... | mit | C# |
4b51eb4932c6d000ec9e73daedcf13317a193ef5 | add DebugID tag | Alexx999/SwfSharp | SwfSharp/Tags/TagType.cs | SwfSharp/Tags/TagType.cs | namespace SwfSharp.Tags
{
public enum TagType
{
End = 0,
ShowFrame = 1,
DefineShape = 2,
PlaceObject = 4,
RemoveObject = 5,
DefineBits = 6,
DefineButton = 7,
JPEGTables = 8,
SetBackgroundColor = 9,
DefineFont = 10,
DefineTe... | namespace SwfSharp.Tags
{
public enum TagType
{
End = 0,
ShowFrame = 1,
DefineShape = 2,
PlaceObject = 4,
RemoveObject = 5,
DefineBits = 6,
DefineButton = 7,
JPEGTables = 8,
SetBackgroundColor = 9,
DefineFont = 10,
DefineTe... | mit | C# |
a06b4d90f7202b3f49817783143633cde8135cab | Fix NPCTalk message decoding. | DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod | Terraria_Server/Messages/NPCTalkMessage.cs | Terraria_Server/Messages/NPCTalkMessage.cs | using System;
namespace Terraria_Server.Messages
{
public class NPCTalkMessage : IMessage
{
public Packet GetPacket()
{
return Packet.NPC_TALK;
}
public void Process(int start, int length, int num, int whoAmI, byte[] readBuffer, byte bufferData)
{
... | using System;
namespace Terraria_Server.Messages
{
public class NPCTalkMessage : IMessage
{
public Packet GetPacket()
{
return Packet.NPC_TALK;
}
public void Process(int start, int length, int num, int whoAmI, byte[] readBuffer, byte bufferData)
{
... | mit | C# |
7da000fb99175164b49beed1221baa43bdd117ce | Fix test again | corstijank/blog-dotnet-jenkins,corstijank/blog-dotnet-jenkins | TodoApi.Test/Models/TodoRepositoryTests.cs | TodoApi.Test/Models/TodoRepositoryTests.cs | using Xunit;
namespace TodoApi.Models
{
public class TodoRepositoryTests
{
private ITodoRepository _repository;
public TodoRepositoryTests()
{
_repository = new TodoRepository();
}
[Fact]
public void CanFindANewlyAddedTodoItem()
{
... | using Xunit;
namespace TodoApi.Models
{
public class TodoRepositoryTests
{
private ITodoRepository _repository;
public TodoRepositoryTests()
{
_repository = new TodoRepository();
}
[Fact]
public void CanFindANewlyAddedTodoItem()
{
... | apache-2.0 | C# |
7e5f70d3e8429455c77cde0486e7df633cd06ec6 | Swap arguments order | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Backend/Models/FilterModel.cs | WalletWasabi/Backend/Models/FilterModel.cs | using NBitcoin;
using NBitcoin.DataEncoders;
using System;
using System.Text;
using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Helpers;
namespace WalletWasabi.Backend.Models
{
public class FilterModel
{
public FilterModel(SmartHeader header, GolombRiceFilter filter)
{
Header = Guard.NotNull(nameof(hea... | using NBitcoin;
using NBitcoin.DataEncoders;
using System;
using System.Text;
using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Helpers;
namespace WalletWasabi.Backend.Models
{
public class FilterModel
{
public FilterModel(SmartHeader header, GolombRiceFilter filter)
{
Header = Guard.NotNull(nameof(hea... | mit | C# |
a8c692187ec9e05778495a99bd94b4aba1159c2a | Allow InitialFocusIndex to be specified for Window. | eylvisaker/AgateLib | AgateLib/UserInterface/Widgets/Window.cs | AgateLib/UserInterface/Widgets/Window.cs | //
// Copyright (c) 2006-2018 Erik Ylvisaker
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy... | //
// Copyright (c) 2006-2018 Erik Ylvisaker
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy... | mit | C# |
e07cf3b018af42ee869ef219e73f0ff306e150a4 | Fix "Options" window "OK"/"Cancel" button error | danielchalmers/DesktopWidgets | DesktopWidgets/Windows/Options.xaml.cs | DesktopWidgets/Windows/Options.xaml.cs | #region
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Navigation;
using DesktopWidgets.OptionsPages;
using DesktopWidgets.Properties;
#endregion
namespace DesktopWidgets.Windows
{
/// <summary>
/// ... | #region
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Navigation;
using DesktopWidgets.OptionsPages;
using DesktopWidgets.Properties;
#endregion
namespace DesktopWidgets.Windows
{
/// <summary>
/// ... | apache-2.0 | C# |
423b75fad31455b1aeb80d51c30107871f62b211 | Make CouchRepository constructor public | tekbird/LoveSeat | LoveSeat.Repository/CouchRepository.cs | LoveSeat.Repository/CouchRepository.cs | using System;
using LoveSeat.Repository;
namespace LoveSeat.Repositories
{
public class CouchRepository<T> : IRepository<T> where T : IBaseObject
{
protected readonly CouchDatabase db = null;
public CouchRepository(CouchDatabase db)
{
this.db = db;
}
publi... | using System;
using LoveSeat.Repository;
namespace LoveSeat.Repositories
{
public class CouchRepository<T> : IRepository<T> where T : IBaseObject
{
protected readonly CouchDatabase db = null;
protected CouchRepository(CouchDatabase db)
{
this.db = db;
}
pub... | mit | C# |
9c9bfff6ff305fc2fbea4770c89d0052a4d5ccc4 | Allow topics to schedule at multiple times of day | bwatts/Totem,bwatts/Totem | Source/Totem/Runtime/Timeline/Topic.cs | Source/Totem/Runtime/Timeline/Topic.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Totem.Runtime.Map.Timeline;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// A timeline presence that makes decisions
/// </summary>
public abstract class Topic : Flow
{
[Transient] public new TopicType Type => (TopicType) base.Ty... | using System;
using System.Collections.Generic;
using System.Linq;
using Totem.Runtime.Map.Timeline;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// A timeline presence that makes decisions
/// </summary>
public abstract class Topic : Flow
{
[Transient] public new TopicType Type => (TopicType) base.Ty... | mit | C# |
ec2c2781456c7da601f383d48af8ca707363438b | Use ticks instead of milliseconds for time calculation | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/GameTimer.cs | src/OpenSage.Game/GameTimer.cs | using System;
using System.Diagnostics;
namespace OpenSage
{
public sealed class GameTimer : IDisposable
{
private readonly Stopwatch _stopwatch;
private long _startTime;
private long _lastUpdate;
public GameTime CurrentGameTime { get; private set; }
public GameTimer(... | using System;
using System.Diagnostics;
namespace OpenSage
{
public sealed class GameTimer : IDisposable
{
private readonly Stopwatch _stopwatch;
private double _startTime;
private double _lastUpdate;
public GameTime CurrentGameTime { get; private set; }
public GameTi... | mit | C# |
fd4218ae0ef0badf9864714d6f268a3fab4b7883 | Add comment for desc. | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection | src/Cash-Flow-Projection/Models/Entry.cs | src/Cash-Flow-Projection/Models/Entry.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace Cash_Flow_Projection.Models
{
public class Entry
{
/// <summary>
/// A unique identifer generated for the entry
/// </summary>
public String id { get; set; } = Guid.NewGuid().ToString();
/// <summary>... | using System;
using System.ComponentModel.DataAnnotations;
namespace Cash_Flow_Projection.Models
{
public class Entry
{
/// <summary>
/// A unique identifer generated for the entry
/// </summary>
public String id { get; set; } = Guid.NewGuid().ToString();
/// <summary>... | mit | C# |
4720b9ee3decbb081f34c6ead716bf7d5102d6b5 | Simplify the goto test | jonathanvdc/ecsc | tests/cs/goto/Goto.cs | tests/cs/goto/Goto.cs | // This test was adapted from a code sample from the C# language reference:
// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/goto
using System;
public static class Program
{
public static void Main()
{
int x = 200;
int count = 0;
string[] array = new string... | // This test was adapted from a code sample from the C# language reference:
// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/goto
using System;
public static class Program
{
public static void Main()
{
int x = 200, y = 4;
int count = 0;
string[] array = new... | mit | C# |
4cc1bc28da9c90b3ff830c1c9320db225042c26a | Switch to text area | mattgwagner/alert-roster | alert-roster.web/Views/Home/New.cshtml | alert-roster.web/Views/Home/New.cshtml | @model alert_roster.web.Models.Message
@{
ViewBag.Title = "Create New Message";
}
<h2>@ViewBag.Title</h2>
<div>
@Html.ActionLink("Back to List", "Index")
</div>
@using (Html.BeginForm("New", "Home", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Message</h4... | @model alert_roster.web.Models.Message
@{
ViewBag.Title = "Create New Message";
}
<h2>@ViewBag.Title</h2>
<div>
@Html.ActionLink("Back to List", "Index")
</div>
@using (Html.BeginForm("New", "Home", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Message</h4... | mit | C# |
c9a943c75d4ba8f9b429fd261fc410c8dfe75b78 | 添加对物理文件路由判断! | XujinquanGitHub/SipmleMvc,XujinquanGitHub/SipmleMvc | src/SipmleMvc.Routing/RouteDictionary.cs | src/SipmleMvc.Routing/RouteDictionary.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace SipmleMvc.Routing
{
public class RouteDictionary : Dictionary<string, Route>
{
/// <summary>
/// 对现有文件应用路由
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace SipmleMvc.Routing
{
public class RouteDictionary : Dictionary<string, Route>
{
public RouteData GetRouteData(HttpContext context)
{
foreac... | mit | C# |
70585a279dc3be236f617ebb70b20407a76cdeaa | Comment out unused variables for now | EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,Damnae/osu,peppy/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,DrabWeb/osu,Nabile-Rahmani/osu,NeoAdonis/osu,naoey/osu,2yangk23/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,peppy/o... | osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapConverter.cs | osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapConverter.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.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
using System.Collections.Generic;
using System;
using osu.Game.Rulesets.Objects.Types;
using osu... | // 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.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
using System.Collections.Generic;
using System;
using osu.Game.Rulesets.Objects.Types;
using osu... | mit | C# |
3a269ecd71ff7816decd62cc743cd5c039638e82 | Update to non-obsolete API | ErikEJ/EntityFramework7.SqlServerCompact,ErikEJ/EntityFramework.SqlServerCompact | src/Provider40/Scaffolding/Internal/SqlCeCodeGenerator.cs | src/Provider40/Scaffolding/Internal/SqlCeCodeGenerator.cs | using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Scaffolding;
namespace EFCore.SqlCe.Scaffolding.Internal
{
public class SqlCeCodeGenerator : ProviderCodeGenerator
{
public SqlCeCodeGenerator([NotNull] Pro... | using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Scaffolding;
namespace EFCore.SqlCe.Scaffolding.Internal
{
public class SqlCeCodeGenerator : ProviderCodeGenerator
{
public SqlCeCodeGenerator([NotNull] Pro... | apache-2.0 | C# |
6c78f9488a8fcaa10692cee480aa0deaf9328815 | Update copyright to 2019 | Azure/azure-storage-net-data-movement | tools/AssemblyInfo/SharedAssemblyInfo.cs | tools/AssemblyInfo/SharedAssemblyInfo.cs | //------------------------------------------------------------------------------
// <copyright file="SharedAssemblyInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
// <summary>
// Assembly global configuration.
// </summary>
//------------------------------------------------... | //------------------------------------------------------------------------------
// <copyright file="SharedAssemblyInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
// <summary>
// Assembly global configuration.
// </summary>
//------------------------------------------------... | mit | C# |
f48df96725e6946a141ba67a6fe1fd2f951fb8f7 | Add metadata loading to abstract report class | Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector | KenticoInspector.Core/AbstractReport.cs | KenticoInspector.Core/AbstractReport.cs | using KenticoInspector.Core.Models;
using KenticoInspector.Core.Services.Interfaces;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Core
{
public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new()
{
protected readonly IReportMetadataService reportM... | using KenticoInspector.Core.Models;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Core
{
public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new()
{
public string Codename => GetCodename(this.GetType());
public static string GetCodename(T... | mit | C# |
e03f765270018cece9af64c1ad86f6a6db6ae832 | add unobtrusive to bundle | ojraqueno/vstemplates,ojraqueno/vstemplates,ojraqueno/vstemplates | MVC5_R/MVC5_R/App_Start/BundleConfig.cs | MVC5_R/MVC5_R/App_Start/BundleConfig.cs | using MVC5_R.Infrastructure.Bundling;
using System.Web.Optimization;
namespace MVC5_R
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
AddCoreBundles(bundles);
}
private static void AddCoreBundles(BundleCollection bundles... | using MVC5_R.Infrastructure.Bundling;
using System.Web.Optimization;
namespace MVC5_R
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
AddCoreBundles(bundles);
}
private static void AddCoreBundles(BundleCollection bundles... | mit | C# |
99f1ae9fe748b2b279ac40b2919b0b40fc10e484 | Update Documentation | David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium | Neutronium.Core/Utils/CJsonConverter.cs | Neutronium.Core/Utils/CJsonConverter.cs | using Neutronium.Core.Binding;
using Neutronium.Core.Binding.GlueBuilder;
using Neutronium.Core.Extension;
using Neutronium.Core.Infra.VM;
using Neutronium.Core.Log;
namespace Neutronium.Core.Utils
{
/// <summary>
/// Helper class to export C# object into cjson format (circular json).
/// This format is c... | using Neutronium.Core.Binding;
using Neutronium.Core.Binding.GlueBuilder;
using Neutronium.Core.Extension;
using Neutronium.Core.Infra.VM;
using Neutronium.Core.Log;
namespace Neutronium.Core.Utils
{
/// <summary>
/// Helper class to export C# object into cjson format (circular json).
/// This format is c... | mit | C# |
9718e476c7e4ea6eadc2547b4143243bd2f16b52 | Add license header | johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,DrabWeb/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,peppy/osu,ppy/osu,2yangk23/osu,UselessTou... | osu.Game/Rulesets/Mods/IMod.cs | osu.Game/Rulesets/Mods/IMod.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mods
{
public interface IMod
{
/// <summary>
/// The shortened name of this mod.
/// </summary>
stri... | namespace osu.Game.Rulesets.Mods
{
public interface IMod
{
/// <summary>
/// The shortened name of this mod.
/// </summary>
string Acronym { get; }
}
}
| mit | C# |
f2518e948005faab2097fd9b4497cc4230184f80 | throw if cancelled | jchannon/Nancy.Demo.Async,jchannon/Nancy.Demo.Async | Nancy.Demo.Async/Modules/IndexModule.cs | Nancy.Demo.Async/Modules/IndexModule.cs | namespace Nancy.Demo.Async.Modules
{
using System.Net.Http;
using ServiceStack.Text;
using System.Threading.Tasks;
using System.Threading;
public class IndexModule : NancyModule
{
public IndexModule()
{
Get["/"] = parameters => View["Index"];
... | namespace Nancy.Demo.Async.Modules
{
using System.Net.Http;
using ServiceStack.Text;
using System.Threading.Tasks;
using System.Threading;
public class IndexModule : NancyModule
{
public IndexModule()
{
Get["/"] = parameters => View["Index"];
... | mit | C# |
9407bcd32c9209ec81815d33b3ca2b4850127de9 | Bump to v2.0.3 | clement911/ShopifySharp,addsb/ShopifySharp,nozzlegear/ShopifySharp,Yitzchok/ShopifySharp | ShopifySharp/Properties/AssemblyInfo.cs | ShopifySharp/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("Sh... | 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("Sh... | mit | C# |
b1a6eaae8cd7140455580c5094fe3e32089b3114 | Add progress example to command line program | christophediericx/ArduinoSketchUploader | Source/ArduinoSketchUploader/Program.cs | Source/ArduinoSketchUploader/Program.cs | using System;
using ArduinoUploader;
using NLog;
namespace ArduinoSketchUploader
{
/// <summary>
/// The ArduinoSketchUploader can upload a compiled (Intel) HEX file directly to an attached Arduino.
/// </summary>
internal class Program
{
private static readonly Logger logger = LogManager.... | using System;
using ArduinoUploader;
namespace ArduinoSketchUploader
{
/// <summary>
/// The ArduinoSketchUploader can upload a compiled (Intel) HEX file directly to an attached Arduino.
/// </summary>
internal class Program
{
private enum StatusCodes
{
Success,
... | mit | C# |
ad9dfcf04e2ca3af8218357e441c21e342d85a58 | Add more user friendly message. Fixes #68 | OrleansContrib/Orleankka,yevhen/Orleankka,mhertis/Orleankka,pkese/Orleankka,mhertis/Orleankka,yevhen/Orleankka,llytvynenko/Orleankka,AntyaDev/Orleankka,AntyaDev/Orleankka,pkese/Orleankka,llytvynenko/Orleankka,OrleansContrib/Orleankka | Source/Orleankka/Core/ActorActivator.cs | Source/Orleankka/Core/ActorActivator.cs | using System;
namespace Orleankka.Core
{
public interface IActorActivator
{
void Init(object properties);
Actor Activate(Type type, string id, IActorRuntime runtime);
}
public abstract class ActorActivator<TProperties> : IActorActivator
{
void IActorActivator... | using System;
namespace Orleankka.Core
{
public interface IActorActivator
{
void Init(object properties);
Actor Activate(Type type, string id, IActorRuntime runtime);
}
public abstract class ActorActivator<TProperties> : IActorActivator
{
void IActorActivator... | apache-2.0 | C# |
1cb5a464e964efa5816d8afac54ceb2bd5a6180a | Bump version | criteo/RabbitMQHare | RabbitMQHare/Properties/AssemblyInfo.cs | RabbitMQHare/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
9dd7098f1d3a1f3adcd606709819376e2bc7dde9 | index of | lianzhao/netfx | src/LianZhao.NetFx/Linq/Enumerable.IndexOf.cs | src/LianZhao.NetFx/Linq/Enumerable.IndexOf.cs | using System.Collections.Generic;
namespace LianZhao.Linq
{
public static partial class Enumerable
{
public static int IndexOf<T>(this IEnumerable<T> source, T item, IEqualityComparer<T> comparer = null)
{
if (comparer == null)
{
var list = source as ILi... | using System.Collections.Generic;
namespace LianZhao.Linq
{
public static partial class Enumerable
{
public static int IndexOf<T>(this IEnumerable<T> source, T item, IEqualityComparer<T> comparer = null)
{
comparer = comparer ?? EqualityComparer<T>.Default;
using (var i... | mit | C# |
fc28e6e254409100f29ab07fd0ef87ebd20af814 | Update "App" | DRFP/Personal-Library | _Build/PersonalLibrary/Base/App.xaml.cs | _Build/PersonalLibrary/Base/App.xaml.cs | using System.IO;
using System.Windows;
using static Library.Configuration;
using static Library.SQLiteManager;
namespace Base {
public partial class App : Application {
public App() { Configure(); }
private async void Configure() {
if (!File.Exists(DatabaseName)) await CreateDatabase(... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Base {
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application {
}
}
| mit | C# |
590462eb007f957d83ae1d8cc610a885d6c32ae1 | Update OpeningTabDelimitedFiles.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as... | Examples/CSharp/Files/Handling/OpeningTabDelimitedFiles.cs | Examples/CSharp/Files/Handling/OpeningTabDelimitedFiles.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFiles
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFiles
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | mit | C# |
9c07a8705b69e595882d655e45fc81755f47487c | fix test | qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox | Wox.Test/PluginProgramTest.cs | Wox.Test/PluginProgramTest.cs | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wox.Core.Configuration;
using Wox.Core.Plugin;
using Wox.Image;
using Wox.Infrastructure;
using Wox.Infrastructure.UserSettings;
using Wox.Plugin;
using Wox.ViewModel;
namespace Wox.Test
{
[TestFixture]
class PluginProgramTest
... | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wox.Core.Configuration;
using Wox.Core.Plugin;
using Wox.Image;
using Wox.Infrastructure;
using Wox.Infrastructure.UserSettings;
using Wox.Plugin;
using Wox.ViewModel;
namespace Wox.Test
{
[TestFixture]
class PluginProgramTest
... | mit | C# |
c7f686922da3c8e7eeff012a08e3788d3a198d34 | Fix namespace for CommandInterpreterTest.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/GUI/CommandInterpreterTest.cs | WalletWasabi.Tests/UnitTests/GUI/CommandInterpreterTest.cs | using Mono.Options;
using System.IO;
using WalletWasabi.Gui.CommandLine;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.GUI
{
public class CommandInterpreterTest
{
[Fact]
public async void CommandInterpreterShowsHelpAsync()
{
var textWriter = new StringWriter();
var c = new CommandInterpreter(textWr... | using Mono.Options;
using System.IO;
using WalletWasabi.Gui.CommandLine;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class CommandInterpreterTest
{
[Fact]
public async void CommandInterpreterShowsHelpAsync()
{
var textWriter = new StringWriter();
var c = new CommandInterpreter(textWriter... | mit | C# |
44ac3ef4c391fff22cf3ccd30dfcc88d26a6585e | Add ObjC flag to LinkWith file | MarcBruins/FSCalendar-Xamarin-iOS | FSCalendar/LinkWith.cs | FSCalendar/LinkWith.cs | using ObjCRuntime;
[assembly: LinkWith("libFSCalendar.a", LinkTarget.i386 | LinkTarget.x86_64 | LinkTarget.Arm64 | LinkTarget.ArmV7 | LinkTarget.Simulator, SmartLink = true, ForceLoad = true, Frameworks = "NotificationCenter UIKit Foundation CoreGraphics", LinkerFlags = "-ObjC")] | using ObjCRuntime;
[assembly: LinkWith("libFSCalendar.a", LinkTarget.i386 | LinkTarget.x86_64 | LinkTarget.Arm64 | LinkTarget.ArmV7 | LinkTarget.Simulator, SmartLink = true, ForceLoad = true, Frameworks = "NotificationCenter UIKit Foundation CoreGraphics")] | mit | C# |
634967d08c4e625d3d5c1e119bfb6cafb922e2e7 | Add Dequeue<T>(int count) for dequeue specified items in Queue<T> by count when enumberate | witoong623/TirkxDownloader,witoong623/TirkxDownloader | Framework/Extension.cs | Framework/Extension.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework
{
public static class Extension
{
public static async Task<HttpWebResponse> GetResponseAsync(this HttpWebRequest request, CancellationToken ct)
... | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework
{
public static class Extension
{
public static async Task<HttpWebResponse> GetResponseAsync(this HttpWebRequest request, CancellationToken ct)
... | mit | C# |
b333c4e66da543e27283eb251006d0b5028e2997 | remove prevention of resetting the prototype and expose HasOwnProperty to support HyperJS | quameleon/hypercore,heupel/hypercore | HyperCore/HyperHypo.cs | HyperCore/HyperHypo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TonyHeupel.HyperCore
{
public class HyperHypo : HyperDynamo
{
public HyperHypo() : this(null) { }
public HyperHypo(HyperHypo prototype)
{
this.MemberProvider = new HyperDictiona... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TonyHeupel.HyperCore
{
public class HyperHypo : HyperDynamo
{
public HyperHypo() : this(null) { }
public HyperHypo(HyperHypo prototype)
{
this.MemberProvider = new HyperDictiona... | mit | C# |
27dda6209fd5ce60683067344e47939df68959f8 | update sample values | thewizster/hanc,thewizster/hanc | AspNetAPI/Controllers/ValuesController.cs | AspNetAPI/Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Webextant.Security.Cryptography;
using Microsoft.Extensions.Options;
namespace Hanc.AspNetAPI.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Control... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Webextant.Security.Cryptography;
using Microsoft.Extensions.Options;
namespace Hanc.AspNetAPI.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Control... | mit | C# |
13fdcbe1bbc9292443c530c6e5b5a94bd1b8f962 | Add Single Query Filter | masoud-bahrami/Chakad.Pipeline4Monolith | Chakad/Pipeline/Core/Query/ChakadQuery.cs | Chakad/Pipeline/Core/Query/ChakadQuery.cs | using Chakad.Pipeline.Core.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Chakad.Pipeline.Core.Query
{
public interface IChakadQuery<TOut> : IBusinessQuery<TOut>
{
string SearchText { get; set; }
ICollection<SortInfo> OrderBy { get; set... | using Chakad.Pipeline.Core.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Chakad.Pipeline.Core.Query
{
public interface IChakadQuery<TOut> : IBusinessQuery<TOut>
{
string SearchText { get; set; }
ICollection<SortInfo> OrderBy { get; set... | apache-2.0 | C# |
ee0f55b0efec5a7d6c5018a9111dbfcb5da871b1 | Fix HidesHair (#12219) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Clothing/ClothingSystem.cs | Content.Server/Clothing/ClothingSystem.cs | using Content.Server.Humanoid;
using Content.Shared.Clothing.Components;
using Content.Shared.Clothing.EntitySystems;
using Content.Shared.Humanoid;
using Content.Shared.Inventory.Events;
using Content.Shared.Tag;
namespace Content.Server.Clothing;
public sealed class ServerClothingSystem : ClothingSystem
{
[Depe... | using Content.Server.Humanoid;
using Content.Shared.Clothing.Components;
using Content.Shared.Clothing.EntitySystems;
using Content.Shared.Humanoid;
using Content.Shared.Inventory.Events;
using Content.Shared.Tag;
namespace Content.Server.Clothing;
public sealed class ServerClothingSystem : ClothingSystem
{
[Depe... | mit | C# |
71d99f8e09765df21d424a7fd9feae2bd087396c | Improve documentation of ConditionalClickWidget behavior | mmoening/MatterControl,MatterHackers/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,tellingmachine/MatterControl,tellingmachine/MatterControl,larsbrubaker/MatterControl,MatterHackers/MatterControl,larsbrubaker/MatterControl,rytz/MatterControl,un... | ControlElements/ConditionalClickWidget.cs | ControlElements/ConditionalClickWidget.cs | using System;
namespace MatterHackers.MatterControl
{
public class ConditionalClickWidget : ClickWidget
{
private Func<bool> enabledCallback;
public ConditionalClickWidget(Func<bool> enabledCallback)
{
this.enabledCallback = enabledCallback;
}
// The Condi... | using System;
namespace MatterHackers.MatterControl
{
public class ConditionalClickWidget : ClickWidget
{
private Func<bool> enabledCallback;
public ConditionalClickWidget(Func<bool> enabledCallback)
{
this.enabledCallback = enabledCallback;
}
public overr... | bsd-2-clause | C# |
3209b987c879a9373ad3ed3fb4c3a0406a01ff8c | Fix UIAccessFlags | MYOB-Technology/AccountRight_Live_API_.Net_SDK | MYOB.API.SDK/SDK/Contracts/CompanyFile.cs | MYOB.API.SDK/SDK/Contracts/CompanyFile.cs | using System;
using System.Runtime.Serialization;
namespace MYOB.AccountRight.SDK.Contracts
{
/// <summary>
/// CompanyFile
/// </summary>
public class CompanyFile
{
/// <summary>
/// The CompanyFile Identifier
/// </summary>
public Guid Id { get; set; }
... | using System;
using System.Runtime.Serialization;
namespace MYOB.AccountRight.SDK.Contracts
{
/// <summary>
/// CompanyFile
/// </summary>
public class CompanyFile
{
/// <summary>
/// The CompanyFile Identifier
/// </summary>
public Guid Id { get; set; }
... | mit | C# |
e1908f7ae7a0403d41eb4c68e23e68384cb79325 | Fix names | alfhenrik/octokit.net,shana/octokit.net,hahmed/octokit.net,dampir/octokit.net,kolbasov/octokit.net,naveensrinivasan/octokit.net,forki/octokit.net,gdziadkiewicz/octokit.net,brramos/octokit.net,SmithAndr/octokit.net,chunkychode/octokit.net,thedillonb/octokit.net,eriawan/octokit.net,shiftkey-tester-org-blah-blah/octokit.n... | Octokit.Tests/Clients/FeedsClientTests.cs | Octokit.Tests/Clients/FeedsClientTests.cs | using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri. No need to fake up the response. All *tho... | using System;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri. No need to fake up the response. All *tho... | mit | C# |
ad402db44122aaee7fb390995c614fa623f70d1f | Update author | markantill/PropertyCopier | PropertyCopier/Properties/AssemblyInfo.cs | PropertyCopier/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("Pr... | apache-2.0 | C# |
f4d27ec52337c5886ab1d6d20a60107cbb9cc00f | Add subresource integrity for jQuery library | gitattributes/gitattributes.io,gitattributes/gitattributes.io,gitattributes/gitattributes.io | src/Views/Shared/_Layout.cshtml | src/Views/Shared/_Layout.cshtml | @using Microsoft.Extensions.Options
@inject IOptions<AppSettings> AppSettings
@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@AppSe... | @using Microsoft.Extensions.Options
@inject IOptions<AppSettings> AppSettings
@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@AppSe... | mit | C# |
490eab1442c4c84c7edf12313e59a39276adc63a | Make non-nullable fields nullable | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | apache-2.0 | C# |
2439bc17bacba2a7a96571d93d6c33be506caedd | Update IMongoRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/IMongoRepository.cs | TIKSN.Core/Data/Mongo/IMongoRepository.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.Mongo
{
public interface IMongoRepository<TDocument, TIdentity> : IRepository<TDocument>,
IQueryRepository<TDocument, TIdentity>,
IStreamRepository<TDocument> where TDocument : IEntity<TIdentity> where TIdenti... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.Mongo
{
public interface IMongoRepository<TDocument, TIdentity> : IRepository<TDocument>, IQueryRepository<TDocument, TIdentity>, IStreamRepository<TDocument> where TDocument : IEntity<TIdentity> where TIdentity : IEquatable<... | mit | C# |
87f361d1004046f647c80aee5d1bba4fcf886e22 | Fix building ios tests | realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet | Tests/IntegrationTests.XamarinIOS/Main.cs | Tests/IntegrationTests.XamarinIOS/Main.cs | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/l... | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/l... | apache-2.0 | C# |
498baf77870f272ed199238084ba1c5d72469ecd | Make internals visible to Moq | xen2/il-repack,timotei/il-repack,emanuelvarga/il-repack,RomainHautefeuille/il-repack,SiliconStudio/il-repack,mzboray/il-repack,lovewitty/il-repack,ermshiperete/il-repack,MainMa/il-repack,gluck/il-repack,huoxudong125/il-repack,devitalio/il-repack,AColmant/il-repack | ILRepack/Properties/AssemblyInfo.cs | ILRepack/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("ILR... | 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("IL... | apache-2.0 | C# |
af93ca66aaa8389474bb0398862414b24562d160 | add comment 2 | toannvqo/dnn_publish | Components/ProductController.cs | Components/ProductController.cs | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | mit | C# |
099085b085992d50ce39fb620eafcda12ed2a455 | Update InsertionSort.cs | BBoldenow/Introduction-to-Algorithms,BBoldenow/Algorithms,BBoldenow/Algorithms,BBoldenow/Introduction-to-Algorithms,BBoldenow/Introduction-to-Algorithms,BBoldenow/Algorithms | Insertion-Sort/InsertionSort.cs | Insertion-Sort/InsertionSort.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
class InsertionSort
{
public static void InsertSort(ref List<int> arr)
{
for (int i = 0; i < arr.Count; ++i)
{
int c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
class InsertionSort
{
public static void InsertSort(ref List<int> arr)
{
for (int i = 0; i < arr.Count; ++i)
{
int c... | mit | C# |
35ac1d356f7b6c14182373a71aa50bc4244a3c61 | Fix callsite | NLog/NLog.Owin.Logging,pysco68/Pysco68.Owin.Logging.NLogAdapter | NLog.Owin.Logging/Extensions.cs | NLog.Owin.Logging/Extensions.cs | namespace NLog.Owin.Logging
{
using global::Owin;
using Microsoft.Owin.Logging;
using NLog;
using System;
using System.Diagnostics;
/// <summary>
/// Extension class
/// </summary>
public static class NlogFactoryExtensions
{
/// <summary>
/// Set the logger fact... | namespace NLog.Owin.Logging
{
using global::Owin;
using Microsoft.Owin.Logging;
using NLog;
using System;
using System.Diagnostics;
/// <summary>
/// Extension class
/// </summary>
public static class NlogFactoryExtensions
{
/// <summary>
/// Set the logger fact... | mit | C# |
b88029f33e9754e317d4e502df0d764e4802c011 | Add spacer line for readability | EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils | ValueUtilsTest/GetAllFieldTheory.cs | ValueUtilsTest/GetAllFieldTheory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using ValueUtils;
using Xunit;
namespace ValueUtilsTest
{
public class GetAllFieldTheory
{
[Fact]
public void SampleStructHasFourFields()... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using ValueUtils;
using Xunit;
namespace ValueUtilsTest
{
public class GetAllFieldTheory
{
[Fact]
public void SampleStructHasFourFields()... | apache-2.0 | C# |
aaf2fbe251ea4efa70b87bf398d8d1f32f708ab8 | Change LogEventData.Properties to IDictionary | vostok/core | Vostok.Core/Logging/LogEventData.cs | Vostok.Core/Logging/LogEventData.cs | using System;
using System.Collections.Generic;
namespace Vostok.Logging
{
public sealed class LogEventData
{
public DateTimeOffset Timestamp { get; set; }
public string LogLevel { get; set; }
public string MessageTemplate { get; set; }
public string Exception { get; set; }
... | using System;
using System.Collections.Generic;
namespace Vostok.Logging
{
public sealed class LogEventData
{
public DateTimeOffset Timestamp { get; set; }
public string LogLevel { get; set; }
public string MessageTemplate { get; set; }
public string Exception { get; set; }
... | mit | C# |
733326b329a42ec38b416c27aab0d40855280860 | Revert accidental removal of interface methods | Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox | Wox.Core/Configuration/IPortable.cs | Wox.Core/Configuration/IPortable.cs |
namespace Wox.Core.Configuration
{
public interface IPortable
{
void EnablePortableMode();
void DisablePortableMode();
void RemoveShortcuts();
void RemoveUninstallerEntry();
void CreateShortcuts();
void CreateUninstallerEntry();
void MoveUserDataFolder(s... |
namespace Wox.Core.Configuration
{
public interface IPortable
{
void RemoveShortcuts();
void RemoveUninstallerEntry();
void CreateShortcuts();
void CreateUninstallerEntry();
void MoveUserDataFolder(string fromLocation, string toLocation);
void VerifyUserDataAfte... | mit | C# |
924e02243b64fe8d654e069927b0e813dd1ea1c4 | Bump to v0.10.0 | danielwertheim/mynatsclient,danielwertheim/mynatsclient | buildconfig.cake | buildconfig.cake | public class BuildConfig
{
private const string Version = "0.10.0";
private const bool IsPreRelease = false;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
p... | public class BuildConfig
{
private const string Version = "0.9.2";
private const bool IsPreRelease = false;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
pu... | mit | C# |
dafcc5520aa5b0cd4021fe8d1ffc49fc5364a158 | Bump to v0.7.0 | danielwertheim/mynatsclient,danielwertheim/mynatsclient | buildconfig.cake | buildconfig.cake | public class BuildConfig
{
private const string Version = "0.7.0";
private const bool IsPreRelease = false;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
pu... | public class BuildConfig
{
private const string Version = "0.6.0";
private const bool IsPreRelease = false;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
pu... | mit | C# |
d6e2addf8e6900c628e77806844c5f9681e224ce | Add DataBar | MonoCross/MonoCross,MonoCross/MonoCross,MonoCross/MonoCross | Utilities/Scanning/Symbology.cs | Utilities/Scanning/Symbology.cs | namespace MonoCross.Utilities.Barcode
{
// enumaration of 1 Dimensional barcode symbologies
public enum Symbology
{
UNKNOWN, // for scanners that don't report the scanned barcode output type
UPCA, // redlaser?, linea-pro, koamtec 300i
UPCE, // ... | namespace MonoCross.Utilities.Barcode
{
// enumaration of 1 Dimensional barcode symbologies
public enum Symbology
{
UNKNOWN, // for scanners that don't report the scanned barcode output type
UPCA, // redlaser?, linea-pro, koamtec 300i
UPCE, // ... | mit | C# |
d0e1d8dbd57c43864eaa9bcdc94276c20f73775f | Update TextChangedEventArgs.cs | hwthomas/xwt,lytico/xwt,cra0zy/xwt,antmicro/xwt,TheBrainTech/xwt,hamekoz/xwt,mono/xwt | Xwt/Xwt/TextChangedEventArgs.cs | Xwt/Xwt/TextChangedEventArgs.cs | //
// TextChangedEventArgs.cs
//
// Author:
// Marius Ungureanu <maungu@microsoft.com>
//
// Copyright (c) 2017 Microsoft Corporation
//
// 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 Softw... | //
// TextChangedEventArgs.cs
//
// Author:
// therzok <>
//
// Copyright (c) 2017 ${CopyrightHolder}
//
// 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, includi... | mit | C# |
b43af4de745fd7a2ed271260de620848d77171e8 | Write tests for RollbarPerson | Valetude/Valetude.Rollbar | Rollbar.Net.Test/RollbarPersonFixture.cs | Rollbar.Net.Test/RollbarPersonFixture.cs | using Newtonsoft.Json;
using Xunit;
namespace Rollbar.Test {
public class RollbarPersonFixture {
[Fact]
public void Person_id_rendered_correctly() {
var rp = new RollbarPerson("person_id");
Assert.Equal("{\"id\":\"person_id\"}", JsonConvert.SerializeObject(rp));
}
... | namespace Rollbar.Test {
public class RollbarPersonFixture {
}
}
| mit | C# |
693a4ff474ea957bd1d8bc4276b3d75616904278 | Add change handling for effects section | ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu | osu.Game/Screens/Edit/Timing/EffectSection.cs | osu.Game/Screens/Edit/Timing/EffectSection.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.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Screens... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Screens... | mit | C# |
e03770972143d0579d397722e0f35526604eee32 | Bump version to 3.0.1 | Brightspace/D2L.Security.OAuth2 | D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs | D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Nuget: Title
[assembly: AssemblyTitle( "D2L Security For Web API" )]
// Nuget: Description
[assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )]
// Nuget: Author
[assembly: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
// Nuget: Title
[assembly: AssemblyTitle( "D2L Security For Web API" )]
// Nuget: Description
[assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )]
// Nuget: Author
[assembly: Assem... | apache-2.0 | C# |
30ac73af67e42633511ccda1c73b5f4a6c267f6a | Reduce border significance | jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterC... | MatterControlLib/PartPreviewWindow/ItemColorButton.cs | MatterControlLib/PartPreviewWindow/ItemColorButton.cs | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | bsd-2-clause | C# |
92a574ca0dcfb6c9b511ec9e33cd7e32de10ba80 | Refactor some usings | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Web/Controllers/HomeController.cs | PhotoLife/PhotoLife.Web/Controllers/HomeController.cs | using System.Web.Mvc;
namespace PhotoLife.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
{
ViewBag.Message = "Your application description page.";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PhotoLife.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | mit | C# |
06ccae0c667e2c8b667005429f835f8ca1ec6c8e | Bump package version | kjac/FormEditor,kjac/FormEditor,kjac/FormEditor | Source/Solution/FormEditor/Properties/AssemblyInfo.cs | Source/Solution/FormEditor/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("Fo... | 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("Fo... | mit | C# |
4b903be3fb1bc3bbd02464773fc7e865e7b576c7 | Update BaseCommand.cs | easymorph/server-cmd | src/BusinessLogic/Commands/BaseCommand.cs | src/BusinessLogic/Commands/BaseCommand.cs | using Morph.Server.Sdk.Client;
using Morph.Server.Sdk.Model;
using MorphCmd.Interfaces;
using MorphCmd.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MorphCmd.BusinessLogic.Commands
{
internal abstract c... | using Morph.Server.Sdk.Client;
using Morph.Server.Sdk.Model;
using MorphCmd.Interfaces;
using MorphCmd.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MorphCmd.BusinessLogic.Commands
{
internal abstract c... | mit | C# |
d8218b088f4a7c00ae42f552266215571686eee7 | Use canned document service by default. | kentcb/WorkoutWotch | Src/WorkoutWotch.UI.Android/AndroidCompositionRoot.cs | Src/WorkoutWotch.UI.Android/AndroidCompositionRoot.cs | namespace WorkoutWotch.UI.Android
{
using Services.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Audio;
using WorkoutWotch.Services.Contracts.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Speech;
using WorkoutWotch.Services.Android.Audio;
using WorkoutWotch.Services.Android.... | namespace WorkoutWotch.UI.Android
{
using Services.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Audio;
using WorkoutWotch.Services.Contracts.ExerciseDocument;
using WorkoutWotch.Services.Contracts.Speech;
using WorkoutWotch.Services.Android.Audio;
using WorkoutWotch.Services.Android.... | mit | C# |
84378aaf049c9b38b3cf56be686d98c7e3d4c9b4 | Update CompositeCrossCurrencyConverter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/CompositeCrossCurrencyConverter.cs | TIKSN.Core/Finance/CompositeCrossCurrencyConverter.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance
{
public class CompositeCrossCurrencyConverter : CompositeCurrencyConverter
{
public CompositeCrossCurrencyConverter(ICurrencyConversionCompositionStrategy compositionStrategy)
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance
{
public class CompositeCrossCurrencyConverter : CompositeCurrencyConverter
{
public CompositeCrossCurrencyConverter(ICurrencyConversionCompositionStrategy compositionStrategy)
... | mit | C# |
b5bc552f14cd885f09cfca0d697c8bd8b925ccf6 | remove sessions again | Drawaes/Leto | src/Leto.Windows/WindowsSecurePipeListener.cs | src/Leto.Windows/WindowsSecurePipeListener.cs | using System;
using System.Collections.Generic;
using System.Text;
using Leto.Certificates;
using Leto.ConnectionStates.SecretSchedules;
using Leto.Handshake.Extensions;
using System.Threading.Tasks;
using System.IO.Pipelines;
using Leto.Sessions;
namespace Leto.Windows
{
public sealed class WindowsSecurePipeList... | using System;
using System.Collections.Generic;
using System.Text;
using Leto.Certificates;
using Leto.ConnectionStates.SecretSchedules;
using Leto.Handshake.Extensions;
using System.Threading.Tasks;
using System.IO.Pipelines;
using Leto.Sessions;
namespace Leto.Windows
{
public sealed class WindowsSecurePipeList... | mit | C# |
d840e223d9a048e2cec711b30f57fb376220917d | set version to 0.0.0.0, it will be versioned through appveyor | angrifel/mdlgen,angrifel/genmdl | src/ModelGenerator/Properties/AssemblyInfo.cs | src/ModelGenerator/Properties/AssemblyInfo.cs | // This file is part of mdlgen - A Source code generator for model definitions.
// Copyright (c) angrifel
// 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, includ... | // This file is part of mdlgen - A Source code generator for model definitions.
// Copyright (c) angrifel
// 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, includ... | mit | C# |
a991391afa716ec2daaff1ce7c0d4d39bbded918 | add northwoods to assembly info | northwoodspd/UIA.Extensions,northwoodspd/UIA.Extensions | src/UIA.Fluent/Properties/AssemblyInfo.cs | src/UIA.Fluent/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("UIA.Fluent")]
[assembly: AssemblyDescript... | 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("UIA.Fluent")]
[assembly: AssemblyDescript... | mit | C# |
a474038c38a20f048d1b7b52612d0d455f04b928 | use sqlId as returned sql | sdcb/sdmap | sdmap/test/sdmap.ext.test/SmokeTest.cs | sdmap/test/sdmap.ext.test/SmokeTest.cs | using sdmap.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.ext.test
{
public class SmokeTest
{
private class SimpleSqlEmiter : ISqlEmiter
{
... | using sdmap.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.ext.test
{
public class SmokeTest
{
private class SimpleSqlEmiter : ISqlEmiter
{
... | mit | C# |
07fbb4392cd57a8ba771d2e5c3279a15d5ffbeae | remove IsDirectory, closes #104 | richardschneider/net-ipfs-core | src/IFileSystemLink.cs | src/IFileSystemLink.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Ipfs
{
/// <summary>
/// A link to another file system node in IPFS.
/// </summary>
public interface IFileSystemLink : IMerkleLink
{
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace Ipfs
{
/// <summary>
/// A link to another file system node in IPFS.
/// </summary>
public interface IFileSystemLink : IMerkleLink
{
/// <summary>
/// Determines if the link is a directory ... | mit | C# |
e49f618c3f0e829f0f70397e74e816e4099e39b5 | Move TokenEnvironmentVariable to constant string | appharbor/appharbor-cli | src/AppHarbor/Commands/LoginCommand.cs | src/AppHarbor/Commands/LoginCommand.cs | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private const string TokenEnvironmentVariable = "AppHarborToken";
private readonly AccessTokenFetcher _accessTokenFetcher;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCom... | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private readonly AccessTokenFetcher _accessTokenFetcher;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCommand(AccessTokenFetcher accessTokenFetcher, EnvironmentVariableConfi... | mit | C# |
4488abbfbce1e840c36d507766997737a9db602c | Add FindNextFile test | fearthecowboy/pinvoke,vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke | src/PInvoke.Kernel32.Tests/Kernel32.cs | src/PInvoke.Kernel32.Tests/Kernel32.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.IO;
using PInvoke;
using Xunit;
using static PInvoke.Kernel32;
pub... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using PInvoke;
using Xunit;
using static PInvoke.Kernel32;
public class Kernel3... | mit | C# |
e09ceb751f0f3f5304ef735e7911d5ba30266f02 | add UseSoapEndpoint overloads to allow type to be specified at runtime | DigDes/SoapCore | src/SoapCore/SoapEndpointExtensions.cs | src/SoapCore/SoapEndpointExtensions.cs | using System;
using System.ServiceModel.Channels;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace SoapCore
{
public static class SoapEndpointExtensions
{
public static IApplicationBuilder UseSoapEndpoint<T>(thi... | using System;
using System.ServiceModel.Channels;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace SoapCore
{
public static class SoapEndpointExtensions
{
public static IApplicationBuilder UseSoapEndpoint<T>(thi... | mit | C# |
2e0d5e59beb602affd5c738135e514ec6663ceb3 | test method with param | andrewdavey/witness,andrewdavey/witness,andrewdavey/witness | src/Witness.Tests/DotnetContextTest.cs | src/Witness.Tests/DotnetContextTest.cs | using System;
using System.Linq;
using System.Text;
using Xunit;
namespace Witness.Tests
{
public class ExecutingAuthenticateHeader : ExecutableHeadersTest
{
public ExecutingAuthenticateHeader()
{
HeaderSet("x-witness-onauthenticate");
}
[Fact]
... | using System;
using System.Linq;
using System.Text;
using Xunit;
namespace Witness.Tests
{
public class ExecutingAuthenticateHeader : ExecutableHeadersTest
{
public ExecutingAuthenticateHeader()
{
HeaderSet("x-witness-onauthenticate");
}
[Fact]
... | bsd-2-clause | C# |
8a0e1416372adc0c923d95364d9393d473e2185c | Fix error in build | jadarnel27/nunit,Suremaker/nunit,akoeplinger/nunit,OmicronPersei/nunit,danielmarbach/nunit,jadarnel27/nunit,akoeplinger/nunit,elbaloo/nunit,Therzok/nunit,passaro/nunit,agray/nunit,jhamm/nunit,mjedrzejek/nunit,Green-Bug/nunit,michal-franc/nunit,zmaruo/nunit,michal-franc/nunit,dicko2/nunit,JustinRChou/nunit,michal-franc/... | src/direct-runner/TestEventListener.cs | src/direct-runner/TestEventListener.cs | // ***********************************************************************
// Copyright (c) 2009 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... | // ***********************************************************************
// Copyright (c) 2009 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... | mit | C# |
cac6410763ddd6dde3cd5a52a539d2563f6f6e79 | Add a reference to System.Linq to the script template. | Damnae/storybrew | editor/Resources/scripttemplate.csx | editor/Resources/scripttemplate.csx | using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Collections.Generic;
using System.Linq;
namespace S... | using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Collections.Generic;
namespace StorybrewScripts
{
... | mit | C# |
9c7b0f240a7faa6b77e70eb1aa8bb5ab8010b4ef | Add more tests to TestSuite | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Core/TestSuiteTest.cs | src/Arkivverket.Arkade.Test/Core/TestSuiteTest.cs | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class TestSuiteTest
{
private readonly TestResult _testResultWithError = new TestResult(ResultType.Error, new Location(""), "feil");
private readon... | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class TestSuiteTest
{
[Fact]
public void ShouldReturnOneError()
{
var testSuite = new TestSuite();
var testRun = n... | agpl-3.0 | C# |
e69ec91c072c7f4edac21eb944307a1999c8c485 | Add xmldoc for `CurrentRotation` | peppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu | osu.Game/Rulesets/Mods/ModBarrelRoll.cs | osu.Game/Rulesets/Mods/ModBarrelRoll.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;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Game.Configuration;
using osu.Game.Rulesets.Objects;... | // 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;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Game.Configuration;
using osu.Game.Rulesets.Objects;... | mit | C# |
39efa2d173de774cf130dded0bf4f5febdbb4666 | Fix possible cross-thread config cache access | EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,smoogipooo/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,peppy/osu,smoogipoo/o... | osu.Game/Rulesets/RulesetConfigCache.cs | osu.Game/Rulesets/RulesetConfigCache.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.Concurrent;
using osu.Framework.Graphics;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
namespace osu.Game... | // 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.Configuration;
using osu.Game.Rulesets.Configuration;
namespace osu.Game.Ru... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.