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 |
|---|---|---|---|---|---|---|---|---|
1399f98293d1e977ceb75d98922f1874ecc921db | Update ValuesOperator.cs | Flepper/flepper,Flepper/flepper | Flepper.QueryBuilder/Operators/Values/ValuesOperator.cs | Flepper.QueryBuilder/Operators/Values/ValuesOperator.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
using Flepper.QueryBuilder.Base;
namespace Flepper.QueryBuilder
{
internal class ValuesOperator : BaseQueryBuilder, IValuesOperator
{
public ValuesOperator(StringBuilder command, IDictionary<string, object> parameters) : base(comm... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using Flepper.QueryBuilder.Base;
namespace Flepper.QueryBuilder
{
internal class ValuesOperator : BaseQueryBuilder, IValuesOperator
{
public ValuesOperator(StringBuilder command, IDictionary<string, object> parameters) : base(comm... | mit | C# |
199108106cc98e67216e1282a9f9852db5dc14c5 | Fix warning during compile (#1848) | HTBox/allReady,HTBox/allReady,gitChuckD/allReady,gitChuckD/allReady,VishalMadhvani/allReady,c0g1t8/allReady,jonatwabash/allReady,VishalMadhvani/allReady,anobleperson/allReady,jonatwabash/allReady,arst/allReady,c0g1t8/allReady,dpaquette/allReady,c0g1t8/allReady,bcbeatty/allReady,stevejgordon/allReady,stevejgordon/allRea... | AllReadyApp/Web-App/AllReady/Providers/ExternalUserInformationProviders/Providers/TwitterExternalUserInformationProvider.cs | AllReadyApp/Web-App/AllReady/Providers/ExternalUserInformationProviders/Providers/TwitterExternalUserInformationProvider.cs | using System.Security.Claims;
using System.Threading.Tasks;
using AllReady.Services.Twitter;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
namespace AllReady.Providers.ExternalUserInformationProviders.Providers
{
public class TwitterExternalUserInformationProvider : IProvideExternalUserI... | using System.Security.Claims;
using System.Threading.Tasks;
using AllReady.Services.Twitter;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
namespace AllReady.Providers.ExternalUserInformationProviders.Providers
{
public class TwitterExternalUserInformationProvider : IProvideExternalUserI... | mit | C# |
a619d1407f5edd91b1c44102df053ac900d5ff9b | Update CompactBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/CompactBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/CompactBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new CompactBinaryWrit... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal(object obj)
{
var output = new OutputBuffer();
var writer = new CompactBinaryWr... | mit | C# |
4b49c8da8722d95490f4359af8a6b24e705e3806 | Update code | sakapon/Samples-2016,sakapon/Samples-2016 | MathSample/MontyHallConsole/Program.cs | MathSample/MontyHallConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Blaze.Randomization;
namespace MontyHallConsole
{
class Program
{
static void Main(string[] args)
{
var loops = 10;
var trials = 10000;
for (var i = 0; i < loops; i++)
... | using System;
using System.Collections.Generic;
using System.Linq;
using Blaze.Randomization;
namespace MontyHallConsole
{
class Program
{
static void Main(string[] args)
{
var count = 1000;
var wins = Enumerable.Range(0, count)
.Count(i => ... | mit | C# |
10aae75ec6bac0932109b3820fee9e05fee6b39f | Return IHtmlString instead of MvcHtmlString from GetBlockListHtml | leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abryukhov/Umbraco-CMS,mattbrailsford/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,... | src/Umbraco.Web/BlockListTemplateExtensions.cs | src/Umbraco.Web/BlockListTemplateExtensions.cs | using System;
using System.Linq;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Umbraco.Core.Models.Blocks;
using Umbraco.Core.Models.PublishedContent;
using System.Web;
namespace Umbraco.Web
{
public static class BlockListTemplateExtensions
{
public const string DefaultFolder = "BlockList/";
... | using System;
using System.Linq;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Umbraco.Core.Models.Blocks;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Web
{
public static class BlockListTemplateExtensions
{
public const string DefaultFolder = "BlockList/";
public con... | mit | C# |
1a5dad9e9ae1bd8a4b65181e9039bf2af49ea865 | move method to top | tinohager/Nager.TemplateBuilder | Nager.TemplateBuilder/MessageFilter.cs | Nager.TemplateBuilder/MessageFilter.cs | using System;
using System.Runtime.InteropServices;
namespace Nager.TemplateBuilder
{
public class MessageFilter : IOleMessageFilter
{
// Class containing the IOleMessageFilter
// thread error-handling functions.
// Implement the IOleMessageFilter interface.
[DllImport("Ole32.... | using System;
using System.Runtime.InteropServices;
namespace Nager.TemplateBuilder
{
public class MessageFilter : IOleMessageFilter
{
// Class containing the IOleMessageFilter
// thread error-handling functions.
// Start the filter.
public static void Register()
{
... | mit | C# |
6764644f231ff4b6e6a19f10fb1d65945597f24b | Fix wind Degree not using the right name for the json file | vb2ae/OpenWeatherMap.Standard,vb2ae/OpenWeatherMap.Standard,vb2ae/OpenWeatherMap.Standard | OpenWeatherMap.Standard/Models/Wind.cs | OpenWeatherMap.Standard/Models/Wind.cs | using Newtonsoft.Json;
using System;
namespace OpenWeatherMap.Standard.Models
{
/// <summary>
/// wind model
/// </summary>
[Serializable]
public class Wind : BaseModel
{
private float speed, gust;
private int deg;
/// <summary>
/// wind speed
/// </sum... | using System;
namespace OpenWeatherMap.Standard.Models
{
/// <summary>
/// wind model
/// </summary>
[Serializable]
public class Wind : BaseModel
{
private float speed, gust;
private int deg;
/// <summary>
/// wind speed
/// </summary>
public fl... | mit | C# |
ac79803f1bf3a9bf6b0a3094fb6b3875e9d862c0 | Update setting description summary | qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox | Plugins/Wox.Plugin.Program/Settings.cs | Plugins/Wox.Plugin.Program/Settings.cs | using System.Collections.Generic;
using System.IO;
using Wox.Plugin.Program.Programs;
namespace Wox.Plugin.Program
{
public class Settings
{
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
public List<DisabledProgramSource> DisabledProgramSources { get; set... | using System.Collections.Generic;
using System.IO;
using Wox.Plugin.Program.Programs;
namespace Wox.Plugin.Program
{
public class Settings
{
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
public List<DisabledProgramSource> DisabledProgramSources { get; set... | mit | C# |
05fbaacb272d81182ee0444b79fce29ba202745f | Use the user profile as scan entry point instead of drives like in Windows | awaescher/RepoZ,awaescher/RepoZ | RepoZ.Api.Mac/IO/MacDriveEnumerator.cs | RepoZ.Api.Mac/IO/MacDriveEnumerator.cs | using RepoZ.Api.IO;
using System;
using System.Linq;
namespace RepoZ.Api.Mac.IO
{
public class MacDriveEnumerator : IPathProvider
{
public string[] GetPaths()
{
return new string[] { Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) };
}
}
} | using RepoZ.Api.IO;
using System;
using System.Linq;
namespace RepoZ.Api.Mac.IO
{
public class MacDriveEnumerator : IPathProvider
{
public string[] GetPaths()
{
return System.IO.DriveInfo.GetDrives()
.Where(d => d.DriveType == System.IO.DriveType.Fixed)
... | mit | C# |
2ad7e0d33b825551157d7fab0ce829fb40df224a | Bump version to 11.4.0.25252 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
53c8345feee4e9b468c013d3dfbcdff2ef8b46fc | Set the default parser to the Penguin Parser as it has better error reporting and is faster | GoeGaming/KVLib,RoyAwesome/KVLib | KVLib/KVParser.cs | KVLib/KVParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sprache;
using System.Text.RegularExpressions;
using KVLib.KeyValues;
namespace KVLib
{
/// <summary>
/// Parser entry point for reading Key Value strings
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sprache;
using System.Text.RegularExpressions;
using KVLib.KeyValues;
namespace KVLib
{
/// <summary>
/// Parser entry point for reading Key Value strings
/// </summary>
... | mit | C# |
ea9834fe7e5bb269c27e7daf22ab15ae1c522a00 | Add more GetByUsername tests | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetByUsername_Should.cs | PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetByUsername_Should.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
namespace PhotoLife.Services.Tests.UserServiceTests
{
[TestFixture]
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
namespace PhotoLife.Services.Tests.UserServiceTests
{
[TestFixture]
publi... | mit | C# |
ddc30c8b75faa4ef306bfce6313cd4124db5058a | Fix new post page | 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 = "Post New Message";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm("New", "Home", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<hr />
@Html.ValidationSummary(true)
<div class="form-group">... | @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# |
5a54195cacf559c79f1255444a029be6b23ea881 | Add code to help with screenshot debugging | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Notification/Screenshot/TweetScreenshotManager.cs | Core/Notification/Screenshot/TweetScreenshotManager.cs | // Uncomment to keep screenshot windows visible for debugging
// #define NO_HIDE_SCREENSHOTS
using System;
using System.Windows.Forms;
using TweetDck.Core.Controls;
namespace TweetDck.Core.Notification.Screenshot{
sealed class TweetScreenshotManager : IDisposable{
private readonly Form owner;
pri... | using System;
using System.Windows.Forms;
using TweetDck.Core.Controls;
namespace TweetDck.Core.Notification.Screenshot{
sealed class TweetScreenshotManager : IDisposable{
private readonly Form owner;
private readonly Timer timeout;
private readonly Timer disposer;
private... | mit | C# |
812498a15c77ae7467086667c87677a0cf554bed | Update index.cshtml | KovalNikita/apmathcloud | SITE/index.cshtml | SITE/index.cshtml | @{
var txt = DateTime.Now; // C#
int m = 1;
int b = 1;
double t_0 = 1;
double t_end = 100;
double z_0 = 0;
double z_d = 10;
double t1 = t_0;
double t2 = t_end;
double h = 0.1;
double width = 0.05;
var amplitudeRequest = Request.Params["amplitude"];
var amplitudeValue = 1;
var clear = int.TryParse(amplitudeReques... | @{
var txt = DateTime.Now; // C#
int m = 1;
int b = 1;
double t_0 = 1;
double t_end = 100;
double z_0 = 0;
double z_d = 10;
double t1 = t_0;
double t2 = t_end;
double h = 0.1;
double width = 0.05;
}
<html>
<head>
<script type="text/javascript"
src="https://www.google.com/jsapi?autoload={
... | mit | C# |
7a5b2aa5f6fcac4b77adb0392097f22f8592aa80 | Fix nested list item space before to 2 characters GH-14 | mysticmind/reversemarkdown-net | src/ReverseMarkdown/Converters/Li.cs | src/ReverseMarkdown/Converters/Li.cs |
using System;
using System.Linq;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Li
: ConverterBase
{
public Li(Converter converter)
: base(converter)
{
this.Converter.Register("li", this);
}
public override string Convert(HtmlNode node)
{
string content = this.Tre... |
using System;
using System.Linq;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Li
: ConverterBase
{
public Li(Converter converter)
: base(converter)
{
this.Converter.Register("li", this);
}
public override string Convert(HtmlNode node)
{
string content = this.Tre... | mit | C# |
e900dc710b686f333678f8eb5aa0f7ca4c44ec33 | handle upper case text | martinlindhe/Punku | punku/Strings/Shift.cs | punku/Strings/Shift.cs | using System;
// FIXME: vad är skillnaden mellan Rot13? är det metoden...?
namespace Punku.Strings
{
/**
* Transform english text to a shifted form (a = a + shift)
*/
public class Shift
{
public char[] Table = new char[char.MaxValue];
public Shift (int shift)
{
for (int i = 0; i < char.MaxValue; i++)... | using System;
// TODO: upper case!
// TODO: unit test for non-2-shifts
// FIXME: vad är skillnaden mellan Rot13? är det metoden...?
namespace Punku.Strings
{
/**
* Transform english text to a shifted form (a = a + shift)
*/
public class Shift
{
public char[] Table = new char[char.MaxValue];
public Shift (... | mit | C# |
5b56eb108791de0a6cffc23662362d2102d945ba | Change map to satellite | Davidp809/PolymerDemo,Davidp809/PolymerDemo,Davidp809/PolymerDemo | PolymerDemo/Views/Home/Index.cshtml | PolymerDemo/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Google Maps</h1>
<!-- Use element -->
<style>
google-map {
height: 600px;
}
</style>
<google-map latitude="41.2780" longitude="-81.3287" zoom="18" maptype="satellite">
<google-map-marker latitude... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Google Maps</h1>
<!-- Use element -->
<style>
google-map {
height: 600px;
}
</style>
<google-map latitude="41.2780" longitude="-81.3287" zoom="18">
<google-map-marker latitude="41.278" longitude=... | mit | C# |
ccfa7f13eaab15e8ae98dc816f4a2f1280c43364 | Clean up | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Program.cs | src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace GrpcService_CSharp
{
public class Program
{
public static void Main(string[] args)
{
Cr... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace GrpcService_CSharp
{
public class Program
{
public static void Main(string[] args)
{
Cr... | apache-2.0 | C# |
5c33bbc6fb5d6e1e0cfdfa3804a0cfd5dbd0e205 | Fix bug in DictionaryMemoryCache | rasmus/EventFlow | Source/EventFlow/Core/Caching/DictionaryMemoryCache.cs | Source/EventFlow/Core/Caching/DictionaryMemoryCache.cs | // The MIT License (MIT)
//
// Copyright (c) 2015-2018 Rasmus Mikkelsen
// Copyright (c) 2015-2018 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | // The MIT License (MIT)
//
// Copyright (c) 2015-2018 Rasmus Mikkelsen
// Copyright (c) 2015-2018 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | mit | C# |
60d7c2c1aa0bfc3ce0aca5984272419136edbe42 | fix set favorite | NCTU-Isolated-Island/Isolated-Island-Game | IsolatedIslandGame/IsolatedIslandGame.Library/CommunicationInfrastructure/Operations/Handlers/PlayerOperationHandlers/SetFavoriteItemHandler.cs | IsolatedIslandGame/IsolatedIslandGame.Library/CommunicationInfrastructure/Operations/Handlers/PlayerOperationHandlers/SetFavoriteItemHandler.cs | using IsolatedIslandGame.Library.Items;
using IsolatedIslandGame.Protocol.Communication.OperationCodes;
using IsolatedIslandGame.Protocol.Communication.OperationParameters.Player;
using System.Collections.Generic;
namespace IsolatedIslandGame.Library.CommunicationInfrastructure.Operations.Handlers.PlayerOperationHand... | using IsolatedIslandGame.Library.Items;
using IsolatedIslandGame.Protocol.Communication.OperationCodes;
using IsolatedIslandGame.Protocol.Communication.OperationParameters.Player;
using System.Collections.Generic;
namespace IsolatedIslandGame.Library.CommunicationInfrastructure.Operations.Handlers.PlayerOperationHand... | apache-2.0 | C# |
4ce4ed00c1e690198e463eb1040be4f9603b3a62 | Update FindWithTag.cs | carcarc/unity3d | FindWithTag.cs | FindWithTag.cs | private Generate gameGenerate;
void Start(){
//FindWithTag
GameObject gameControllerObject = GameObject.FindWithTag("GameController");
if (gameControllerObject != null)
{
gameGenerate = gameControllerObject.GetComponent<Generate>();
}
if (gameGenerate == null)
{
Debug.Log("Cannot find 'GameCo... | //FindWithTag
GameObject gameControllerObject = GameObject.FindWithTag("GameController");
if (gameControllerObject != null)
{
gameGenerate = gameControllerObject.GetComponent<Generate>();
}
if (gameGenerate == null)
{
Debug.Log("Cannot find 'GameController' script");
}
| mit | C# |
b438e7cdfd2400e230e8a8b19170cb0559e3793f | Update FreSharpController.cs | tuarua/WebViewANE,tuarua/WebViewANE,tuarua/WebViewANE,tuarua/WebViewANE,tuarua/WebViewANE,tuarua/WebViewANE,tuarua/WebViewANE | native_library/win/WebViewANE/CefSharpLib/CefSharpLib/FreSharpController.cs | native_library/win/WebViewANE/CefSharpLib/CefSharpLib/FreSharpController.cs | /*Copyright 2017 Tua Rua Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writin... | using System;
using System.Collections.Generic;
using TuaRua.FreSharp;
using FREObject = System.IntPtr;
using FREContext = System.IntPtr;
namespace CefSharpLib {
public abstract class FreSharpController {
public Dictionary<string, Func<FREContext, uint, FREObject[], FREObject>> FunctionsDict;
publ... | apache-2.0 | C# |
bd3386e770d86da2aee1c2cecf539b30dd6bf30f | Fix previously placed vertices in juice stream placement | ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu | osu.Game.Rulesets.Catch/Edit/Blueprints/Components/PlacementEditablePath.cs | osu.Game.Rulesets.Catch/Edit/Blueprints/Components/PlacementEditablePath.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.Game.Rulesets.Catch.Objects;
using osuTK;
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
{
public class PlacementEditablePath :... | // 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.Game.Rulesets.Catch.Objects;
using osuTK;
namespace osu.Game.Rulesets.Catch.Edit.Blueprints.Components
{
public class PlacementEditablePath :... | mit | C# |
be8a308923625761b3b5a40029dec975175aaf0a | Fix NRE in marking | Desolath/ConfuserEx3,yeaicc/ConfuserEx,engdata/ConfuserEx,Desolath/Confuserex,timnboys/ConfuserEx | Confuser.Core/ProtectionSettings.cs | Confuser.Core/ProtectionSettings.cs | using System;
using System.Collections.Generic;
namespace Confuser.Core {
/// <summary>
/// Protection settings for a certain component
/// </summary>
public class ProtectionSettings : Dictionary<ConfuserComponent, Dictionary<string, string>> {
/// <summary>
/// Initializes a new instance of the <see ... | using System;
using System.Collections.Generic;
namespace Confuser.Core {
/// <summary>
/// Protection settings for a certain component
/// </summary>
public class ProtectionSettings : Dictionary<ConfuserComponent, Dictionary<string, string>> {
/// <summary>
/// Initializes a new instance of the <see ... | mit | C# |
a71357a8e2bd44e10873f9d56e66cb6937514e0b | Use racial attack bonus to compute current attack. | michaellperry/dof | DungeonsAndDragons/DOF/Character.cs | DungeonsAndDragons/DOF/Character.cs |
namespace DungeonsAndDragons.DOF
{
public class Character
{
public int Level { get; set; }
public int Strength { get; set; }
public int Dexterity { get; set; }
public IWeapon CurrentWeapon { get; set; }
public int StrengthModifier
{
get { return Str... |
namespace DungeonsAndDragons.DOF
{
public class Character
{
public int Level { get; set; }
public int Strength { get; set; }
public int Dexterity { get; set; }
public IWeapon CurrentWeapon { get; set; }
public int StrengthModifier
{
get { return Str... | mit | C# |
5f79ad18d51b573127c6c40213f18ed60f7f2c1f | Strengthen syntax with extra parameters around the start parameter placed inside the generated length parameter. | nhibernate/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,alobakov/nhibernate-core,RogerKratz/nhibernate-core,ngbro... | src/NHibernate/Dialect/Function/EmulatedLengthSubstringFunction.cs | src/NHibernate/Dialect/Function/EmulatedLengthSubstringFunction.cs | using System.Collections;
using System.Text;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.Type;
using System;
namespace NHibernate.Dialect.Function
{
/// <summary>
/// Provides a substring implementation of the form substring(expr, start, length)
/// for SQL dialects where the l... | using System.Collections;
using System.Text;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.Type;
using System;
namespace NHibernate.Dialect.Function
{
/// <summary>
/// Provides a substring implementation of the form substring(expr, start, length)
/// for SQL dialects where the l... | lgpl-2.1 | C# |
0b280b32de15585d04b7c305404f76e8c0344efc | Add support for `ExpiryCheck` on Issuing `Authorization` | stripe/stripe-dotnet | src/Stripe.net/Entities/Issuing/Authorizations/VerificationData.cs | src/Stripe.net/Entities/Issuing/Authorizations/VerificationData.cs | namespace Stripe.Issuing
{
using Newtonsoft.Json;
public class VerificationData : StripeEntity<VerificationData>
{
/// <summary>
/// One of <c>match</c>, <c>mismatch</c>, or <c>not_provided</c>.
/// </summary>
[JsonProperty("address_line1_check")]
public string Addre... | namespace Stripe.Issuing
{
using Newtonsoft.Json;
public class VerificationData : StripeEntity<VerificationData>
{
/// <summary>
/// One of <c>match</c>, <c>mismatch</c>, or <c>not_provided</c>.
/// </summary>
[JsonProperty("address_line1_check")]
public string Addre... | apache-2.0 | C# |
37f168a9d54f55001fb597b4624fe0fb831ac035 | Fix linux docker | Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host.Watchdog/WindowsActiveAssemblyDeleter.cs | src/Tgstation.Server.Host.Watchdog/WindowsActiveAssemblyDeleter.cs | using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.InteropServices;
namespace Tgstation.Server.Host.Watchdog
{
/// <summary>
/// See <see cref="IActiveAssemblyDeleter"/> for Windows systems
/// </summary>
sealed class WindowsActiveAssemblyDelete... | using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.InteropServices;
namespace Tgstation.Server.Host.Watchdog
{
/// <summary>
/// See <see cref="IActiveAssemblyDeleter"/> for Windows systems
/// </summary>
sealed class WindowsActiveAssemblyDelete... | agpl-3.0 | C# |
76f177f93951d3ad7201904b53c534ae1ce5f204 | Fix trailing slash in Url | Pathio/excel-requests | Requests/Schema.cs | Requests/Schema.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Requests
{
public class Schema
{
public string Url { get; private set; }
public string Base { get; private set; }
public string Path { get; private set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Requests
{
public class Schema
{
public string Url { get; private set; }
public string Base { get; private set; }
public string Path { get; private set; }
... | apache-2.0 | C# |
6e54db32e94d1166fa74b0391eafe1ddd6a49d9b | fix #3692 | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,Perspex/Perspex,SuperJMN/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wiesla... | src/Avalonia.Base/Data/Converters/FuncMultiValueConverter.cs | src/Avalonia.Base/Data/Converters/FuncMultiValueConverter.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Avalonia.Data.Converters
{
/// <summary>
... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Avalonia.Data.Converters
{
/// <summary>
... | mit | C# |
995ccb7de6226dad84144864bb68740b4a1559b4 | Throw on null. | antiufo/roslyn,heejaechang/roslyn,physhi/roslyn,VitalyTVA/roslyn,natgla/roslyn,natgla/roslyn,AlexisArce/roslyn,ljw1004/roslyn,Pvlerick/roslyn,davkean/roslyn,antonssonj/roslyn,grianggrai/roslyn,xoofx/roslyn,pdelvo/roslyn,stebet/roslyn,aanshibudhiraja/Roslyn,vcsjones/roslyn,khellang/roslyn,genlu/roslyn,pdelvo/roslyn,Omar... | src/EditorFeatures/Core/Tagging/AsynchronousTaggerContext.cs | src/EditorFeatures/Core/Tagging/AsynchronousTaggerContext.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace Microsoft.CodeAnaly... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace Microsoft.CodeAnaly... | apache-2.0 | C# |
56c6d9dbf5ffe835d2d2a53acd6926f078ad4705 | Simplify MediaLibraryPicker.Summary.cshtml | openbizgit/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,MpDzik/Orchard,spraiin/Orchard,salarvand/orchard,dozoft/Orchard,li0803/Orchard,oxwanawxo/Orchard,AndreVolksdorf/Orchard,Lombiq/Orchard,m2cms/Orchard,OrchardCMS/Orchard-Harvest-Website,sebastienros/msc,SzymonSel/Orchard,emretiryaki/Orchard,alejandroalda... | src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/Fields/MediaLibraryPicker.Summary.cshtml | src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/Fields/MediaLibraryPicker.Summary.cshtml | @using Orchard.Core.Contents
@using Orchard.MediaLibrary.Fields
@using Orchard.Utility.Extensions;
@{
var field = (MediaLibraryPickerField) Model.ContentField;
string name = field.DisplayName;
var mediaParts = field.MediaParts;
}
@if (mediaParts.Any()) {
<span class="name">@name:</span>
<p class="media-@n... | @using Orchard.Core.Contents
@using Orchard.MediaLibrary.Fields
@using Orchard.Utility.Extensions;
@{
var field = (MediaLibraryPickerField) Model.ContentField;
string name = field.DisplayName;
var mediaParts = field.MediaParts;
var returnUrl = ViewContext.RequestContext.HttpContext.Request.ToUrlStrin... | bsd-3-clause | C# |
803c1839ed7e5eb3d74eede461e06d51324f8d1a | Comment the necessity to create an external file before running SqlAdapter_Tests | Sitecore/Sitecore-Instance-Manager | src/SIM.Foundation.SqlAdapter.IntegrationTests/Adapters/SqlAdapter_Tests.cs | src/SIM.Foundation.SqlAdapter.IntegrationTests/Adapters/SqlAdapter_Tests.cs | namespace SIM.Adapters
{
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SIM.IO.Real;
using SIM.Services;
[TestClass]
public class SqlAdapter_Tests
{
//These tests require the "C:\Sitecore\etc\sim\env\defa... | namespace SIM.Adapters
{
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SIM.IO.Real;
using SIM.Services;
[TestClass]
public class SqlAdapter_Tests
{
private const string DefaultEnvSqlPath = @"C:\Sitecore\... | mit | C# |
678b74ef29ad712b5b1b30ebece1afbec63dc374 | add the parent reference in the node | MCSN-project2014/APproject,MCSN-project2014/APproject | APproject/AST/Node.cs | APproject/AST/Node.cs | using System.Collections.Generic;
using System;
namespace APproject
{
public enum Statement {If,While,Return,Ass,Dec,AssDec,Print,Read,Async,
plus,mul,minus,div,g,geq,l,leq,eq};
public class Node
{
private Node parent;
private List<Node> children;
public Statement stmn;
//public Operation op;
p... | using System.Collections.Generic;
using System;
namespace APproject
{
public enum Statement {If,While,Return,Ass,Dec,AssDec,Print,Read,Async,
plus,mul,minus,div,g,geq,l,leq,eq};
public class Node
{
private List<Node> children;
public Statement stmn;
//public Operation op;
public Obj term;
pri... | mit | C# |
1fb14b1bc85f2a1c9e1c39e7afaea7df2284513b | Update NDemo.cs | demigor/nreact | NReact.Demo.Wpf/Components/NDemo.cs | NReact.Demo.Wpf/Components/NDemo.cs | using System;
using System.Threading;
#if NETFX_CORE
using Windows.UI.Popups;
using Windows.UI.Xaml;
#else
using System.Windows;
#endif
namespace NReact
{
public partial class NDemo : NComponent
{
public const int RefreshDelay = 10;
public override object GetDefaultProps()
{
return new { FontSi... | using System;
using System.Threading;
#if NETFX_CORE
using Windows.UI.Popups;
using Windows.UI.Xaml;
#else
using System.Windows;
#endif
namespace NReact
{
public partial class NDemo : NComponent
{
public const int RefreshDelay = 10;
public override object GetDefaultProps()
{
return new { FontSi... | mit | C# |
049df92fedbb6feab99d2b6cc24f71d7567ddb0e | Add .NET Core Unit Test templates to WellKnownProjectTemplates... | VSadov/roslyn,bkoelman/roslyn,ErikSchierboom/roslyn,robinsedlaczek/roslyn,mmitche/roslyn,mmitche/roslyn,reaction1989/roslyn,bartdesmet/roslyn,TyOverby/roslyn,MattWindsor91/roslyn,OmarTawfik/roslyn,khyperia/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,tannergooding/roslyn,panopticoncentral/roslyn,jeffanders/roslyn,cston/... | src/VisualStudio/IntegrationTest/TestUtilities/WellKnownProjectTemplates.cs | src/VisualStudio/IntegrationTest/TestUtilities/WellKnownProjectTemplates.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.VisualStudio.IntegrationTest.Utilities
{
public static class WellKnownProjectTemplates
{
public const string ClassLibrary... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.VisualStudio.IntegrationTest.Utilities
{
public static class WellKnownProjectTemplates
{
public const string ClassLibrary... | mit | C# |
b406be4e32e33b88271b9fa29df0afe740b170d0 | Add a quick little demo of using a function from the shared class library to ConsoleApp1 | PhilboBaggins/ci-experiments-dotnetcore,PhilboBaggins/ci-experiments-dotnetcore | ConsoleApp1/Program.cs | ConsoleApp1/Program.cs | using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Quick little demo of using a function from the shared class library
int x = ClassLibrary1.Class1.ReturnFive();
System.Diagnostics.Debug.Assert(x == 5);
Co... | using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
int x = ClassLibrary1.Class1.ReturnFive();
Console.WriteLine("Hello World!");
}
}
}
| unlicense | C# |
04146d6102623fe72e2031fb78d4c665a3729c7c | make ErrorCode property's setter private. | knocte/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,m... | src/SevenDigital.Api.Wrapper/Exceptions/ApiErrorException.cs | src/SevenDigital.Api.Wrapper/Exceptions/ApiErrorException.cs | using System;
using System.Runtime.Serialization;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Wrapper.Utility.Http;
namespace SevenDigital.Api.Wrapper.Exceptions
{
public abstract class ApiErrorException : ApiException
{
public int ErrorCode { get; private set; }
protected ApiErrorExceptio... | using System;
using System.Runtime.Serialization;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Wrapper.Utility.Http;
namespace SevenDigital.Api.Wrapper.Exceptions
{
public abstract class ApiErrorException : ApiException
{
public int ErrorCode { get; set; }
protected ApiErrorException()
{... | mit | C# |
7ebb46ef0ced34d9e5d777693144d305f975d837 | Remove useless comment | tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Components/IDreamDaemonExecutor.cs | src/Tgstation.Server.Host/Components/IDreamDaemonExecutor.cs | using Tgstation.Server.Api.Models.Internal;
namespace Tgstation.Server.Host.Components
{
/// <summary>
/// For creating <see cref="IDreamDaemonSession"/>s
/// </summary>
interface IDreamDaemonExecutor
{
/// <summary>
/// Run a dream daemon instance
/// </summary>
/// <param name="launchParameters">... | using Tgstation.Server.Api.Models.Internal;
namespace Tgstation.Server.Host.Components
{
/// <summary>
/// For creating <see cref="IDreamDaemonSession"/>s
/// </summary>
interface IDreamDaemonExecutor
{
/// <summary>
/// Run a dream daemon instance
/// </summary>
/// <param name="launchParameters">... | agpl-3.0 | C# |
4757bda5f153689faca9be8037ff72bbb84e0b2e | Add link to org chart | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Units/List.cshtml | Battery-Commander.Web/Views/Units/List.cshtml | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<th>@Html... | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<th>@Html... | mit | C# |
573597ec38c7a5a27eafed1a546edb52ac3da592 | bump version | Fody/Obsolete | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("0.8.0.0")]
[assembly: AssemblyFileVersion("0.8.0.0")]
| mit | C# |
db840d36b052720052669d4c51c5e3f4125d6eb1 | Allow settings to be passed as well | anthonylangsworth/Meraki | src/Meraki/MerakiClient.cs | src/Meraki/MerakiClient.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Meraki {
public partial class MerakiClient {
private readonly HttpClient _client;
private readonl... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Meraki {
public partial class MerakiClient {
private readonly HttpClient _client;
private readonly UrlFormatProvider _formatter = new UrlFormatProvider();
... | mit | C# |
557324bc06051250305cd6c0d50816ee91540c1a | Create exec engine on load and pass context to script | RockyTV/Duality.IronPython | CorePlugin/ScriptExecutor.cs | CorePlugin/ScriptExecutor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using Duality.Editor;
namespace RockyTV.... | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using Duality.Editor;
namespace RockyTV.... | mit | C# |
fa68929ad3b080a69d5a3db86baec64d34a82e2c | Introduce OnCompleted | citizenmatt/ndc-london-2013 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | mit | C# |
c86f4793888f0383e612f73b52291f01d5572454 | make the test pass. | fffej/codekatas,fffej/codekatas,fffej/codekatas | MineField/MineSweeperTest.cs | MineField/MineSweeperTest.cs | using NUnit.Framework;
using FluentAssertions;
namespace Fatvat.Katas.MineSweeper
{
[TestFixture]
public class MineSweeperTest
{
[Test]
public void TestMineFieldExists()
{
new MineField();
}
}
public class MineField
{
}
}
| using NUnit.Framework;
using FluentAssertions;
namespace Fatvat.Katas.MineSweeper
{
[TestFixture]
public class MineSweeperTest
{
[Test]
public void TestMineFieldExists()
{
new MineField();
}
}
}
| mit | C# |
47a1c241013ba3b360be2ccac463d4f722d255de | Add string ReplaceAt extension | Mpstark/articulate,BrunoBrux/ArticulateDVS | Articulate/Extensions.cs | Articulate/Extensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reactive;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Articulate
{
static class Extensions
{
// http://social... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reactive;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Articulate
{
static class Extensions
{
// http://social... | mit | C# |
098e57f9e808770642de81548c5db9661dabaa1d | Add remove card | LLucile/Institfighter | Assets/Scripts/GameUI.cs | Assets/Scripts/GameUI.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameUI : MonoBehaviour {
public GameObject[] PlayerUI;
public Image[] playersHealth;
public Text[] playersScore;
public UICard[] templates;
public RectTransform[] p1cards;
public RectTransform[] p2cards;
public static GameUI In... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameUI : MonoBehaviour {
public GameObject[] PlayerUI;
public Image[] playersHealth;
public Text[] playersScore;
public UICard[] templates;
public RectTransform[] p1cards;
public RectTransform[] p2cards;
public static GameUI Ins... | mit | C# |
1a0b88b81f7eb174d3a4447e8fa6ad61e859491d | Convert tabs to spaces in Player.cs | jmeas/simple-tower | Assets/Scripts/Player.cs | Assets/Scripts/Player.cs | public class Player : UnityEngine.MonoBehaviour {
public UnityEngine.Rigidbody rb;
UnityEngine.Vector3 startPosition = new UnityEngine.Vector3(0f, 17f, 0f);
UnityEngine.Vector3 stationary = new UnityEngine.Vector3(0, 0, 0);
void Start() {
rb = this.GetComponent<UnityEngine.Rigidbody>();
StartCoroutine... | public class Player : UnityEngine.MonoBehaviour {
public UnityEngine.Rigidbody rb;
UnityEngine.Vector3 startPosition = new UnityEngine.Vector3(0f, 17f, 0f);
UnityEngine.Vector3 stationary = new UnityEngine.Vector3(0, 0, 0);
void Start() {
rb = this.GetComponent<UnityEngine.Rigidbody>();
StartCoroutine(... | mit | C# |
50eea10645d40b630f0e403c32434b9427491ad3 | Add better exception check in StringUtilsTest | Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates | CurrencyRatesTests/CurrencyRates/Extension/StringUtilsTest.cs | CurrencyRatesTests/CurrencyRates/Extension/StringUtilsTest.cs | using NUnit.Framework;
namespace CurrencyRates.Extension
{
[TestFixture]
class StringUtilsTest
{
[TestCaseSource("TruncateTestCases")]
public void TestTruncate(string value, int maxLength, string truncated)
{
Assert.AreEqual(truncated, value.Truncate(maxLength... | using NUnit.Framework;
namespace CurrencyRates.Extension
{
[TestFixture]
class StringUtilsTest
{
[TestCaseSource("TruncateTestCases")]
public void TestTruncate(string value, int maxLength, string truncated)
{
Assert.AreEqual(truncated, value.Truncate(maxLength... | mit | C# |
0daa579b02fbd1bd73d8db89860e64354072c1cd | Build 1.3.1 | xxMUROxx/Mairegger.Printing | Mairegger.Printing/Properties/AssemblyInfo.cs | Mairegger.Printing/Properties/AssemblyInfo.cs | // Copyright 2016 Michael Mairegger
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | // Copyright 2016 Michael Mairegger
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | apache-2.0 | C# |
051a9e249a835ceb9a8a2a23b38c0c0c4eb846f1 | fix word view model | drussilla/LearnWordsFast,drussilla/LearnWordsFast | src/LearnWordsFast/ViewModels/WordController/WordViewModel.cs | src/LearnWordsFast/ViewModels/WordController/WordViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using LearnWordsFast.DAL.Models;
namespace LearnWordsFast.ViewModels.WordController
{
public class WordViewModel
{
public WordViewModel()
{
}
public WordViewModel(Word word)
{
Original = wor... | using System;
using System.Collections.Generic;
using System.Linq;
using LearnWordsFast.DAL.Models;
namespace LearnWordsFast.ViewModels.WordController
{
public class WordViewModel
{
public WordViewModel(Word word)
{
Original = word.Original;
Language = word.Language.Id;... | mit | C# |
73a4ab32a431ab2c76a018ee7eab035d1ea37e4d | Fix authorization problem | asanchezr/hets,bcgov/hets,asanchezr/hets,swcurran/hets,swcurran/hets,bcgov/hets,bcgov/hets,bcgov/hets,asanchezr/hets,swcurran/hets,swcurran/hets,swcurran/hets,asanchezr/hets | Server/src/HETSAPI/Authorization/ClaimsPrincipalExtensions.cs | Server/src/HETSAPI/Authorization/ClaimsPrincipalExtensions.cs | using System;
using HETSAPI.Models;
using System.Security.Claims;
namespace HETSAPI.Authorization
{
/// <summary>
/// Calaims Principal Extension
/// </summary>
public static class ClaimsPrincipalExtensions
{
/// <summary>
/// Check if the user has permission to execute the method
... | using System;
using System.Linq;
using HETSAPI.Models;
using System.Security.Claims;
namespace HETSAPI.Authorization
{
/// <summary>
/// Calaims Principal Extension
/// </summary>
public static class ClaimsPrincipalExtensions
{
/// <summary>
/// Check if the user has permission to ... | apache-2.0 | C# |
2597236c7f8ec3eef04b3bc58770fb1f4a141e03 | Remove unused function | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | using Avalonia.Threading;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.Wall... | using Avalonia.Threading;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.Wall... | mit | C# |
c0a67ba4e26d7c58916ae05575e74bae40e1f30b | Change assembly version of TransferInterface | ProgTrade/nUpdate,ProgTrade/nUpdate | nUpdate.Administration.TransferInterface/Properties/AssemblyInfo.cs | nUpdate.Administration.TransferInterface/Properties/AssemblyInfo.cs | // Author: Dominic Beger (Trade/ProgTrade) 2016
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[... | // Author: Dominic Beger (Trade/ProgTrade) 2016
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[... | mit | C# |
ad1cdc80ed734a67e7690c9c32a4f99f569c2e59 | Add smoke test to Status controller | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs | src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using SFA.DAS.EmployerUsers.Api.Orchestrators;
namespace SFA.DAS.EmployerUsers.Api.Controllers
{
[RoutePrefix("api/status")]
public class StatusCont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SFA.DAS.EmployerUsers.Api.Controllers
{
[RoutePrefix("api/status")]
public class StatusController : ApiController
{
[Route("")]
public IHttpActionRe... | mit | C# |
a8d4cf77af064679de14a82f7c72089a4861aa76 | Address PR feedback | elijah6/corefx,twsouthwick/corefx,Petermarcu/corefx,lggomez/corefx,stephenmichaelf/corefx,nbarbettini/corefx,BrennanConroy/corefx,MaggieTsang/corefx,iamjasonp/corefx,iamjasonp/corefx,rjxby/corefx,billwert/corefx,elijah6/corefx,Priya91/corefx-1,gkhanna79/corefx,stone-li/corefx,krytarowski/corefx,tstringer/corefx,ericstj... | src/System.Globalization/tests/TextInfo/TextInfoIsReadOnly.cs | src/System.Globalization/tests/TextInfo/TextInfoIsReadOnly.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class TextInfoIsRe... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class TextInfoIsRe... | mit | C# |
010f6258705e86c47ad208c519362daa80e6c346 | use derived component in OsuMarkdownFencedCodeBlock | smoogipooo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipoo/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownFencedCodeBlock.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownFencedCodeBlock.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 Markdig.Syntax;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Shapes;... | // 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 Markdig.Syntax;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Shapes;... | mit | C# |
5c6e9d6c22544059e50014dfbad30da16369fc79 | add todo | shchy/FluentHub | FluentHub/ModelConverter/ProxyModelConverter.cs | FluentHub/ModelConverter/ProxyModelConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentHub.ModelConverter
{
// todo ラッパーは型変換はクラスを分ける
public abstract class WrapperModelConverter<P,T> : IModelConverter<P>
where T : P
{
private IModelConverter<T> r... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentHub.ModelConverter
{
public abstract class WrapperModelConverter<P,T> : IModelConverter<P>
where T : P
{
private IModelConverter<T> real;
public WrapperM... | mit | C# |
a9737d09a7b8da42135b672169bfd24462d03618 | Break build to test TeamCity. | alexmullans/Siftables-Emulator | Siftables/MainWindow.xaml.cs | Siftables/MainWindow.xaml.cs | namespace Siftables
{
public partial class MainWindowView
{
public MainWindowView()
{
InitializeComponent();
DoSomething();
}
}
}
| namespace Siftables
{
public partial class MainWindowView
{
public MainWindowView()
{
InitializeComponent();
}
}
}
| bsd-2-clause | C# |
0f3a3d1ba67dbee1ca8c3bbef61714b0ad66e637 | Fix spelling error in summary comment. | fixie/fixie | src/Fixie/Discovery.cs | src/Fixie/Discovery.cs | namespace Fixie
{
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
///
/// By default,
... | namespace Fixie
{
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
///
/// By defualt,
... | mit | C# |
d8b692d4eba9f6029d6b434aac7e75b6d14ac7d8 | Handle preference inside UnicodeString. | naoey/osu-framework,default0/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,paparony03/osu-framework,EVAST9919/osu-frame... | osu.Framework/Localization/LocaleEngine.cs | osu.Framework/Localization/LocaleEngine.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using System;
using System.Collections.Generic;
namespace osu.Framework.Localizati... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using System;
using System.Collections.Generic;
namespace osu.Framework.Localizati... | mit | C# |
653cb42efd228356015cd19545aa6f9abdf1bd4e | Add test. | cston/roslyn,panopticoncentral/roslyn,shyamnamboodiripad/roslyn,jmarolf/roslyn,MichalStrehovsky/roslyn,tmat/roslyn,reaction1989/roslyn,DustinCampbell/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,panopticoncentral/roslyn,physhi/roslyn,stephentoub/roslyn,gafter/roslyn,Amadeus... | src/EditorFeatures/CSharpTest/ConvertAnonymousTypeToTuple/ConvertAnonymousTypeToTupleTests.cs | src/EditorFeatures/CSharpTest/ConvertAnonymousTypeToTuple/ConvertAnonymousTypeToTupleTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.C... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.C... | mit | C# |
82c097129b15a2cfb7c5a900939d35b05f0efae1 | Set the compiler to LLVM | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | packages/C/dev/XCodeBuilder/CObjectFile.cs | packages/C/dev/XCodeBuilder/CObjectFile.cs | // <copyright file="CObjectFile.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>C package</summary>
// <author>Mark Final</author>
namespace XCodeBuilder
{
public sealed partial class XCodeBuilder
{
public object Build(C.ObjectFile moduleToBuild, out bool success)
{
... | // <copyright file="CObjectFile.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>C package</summary>
// <author>Mark Final</author>
namespace XCodeBuilder
{
public sealed partial class XCodeBuilder
{
public object Build(C.ObjectFile moduleToBuild, out bool success)
{
... | bsd-3-clause | C# |
91096b5659f13a647851487b433c388e3d1df1e6 | Bump v1.0.18 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | apache-2.0 | C# |
988b41a76c1e1ec6ff32d4621510321b14b5a77d | Hide dialogue when complete | jbrowneuk/vestige | Vestige.Engine/Core/SpeechSystem.cs | Vestige.Engine/Core/SpeechSystem.cs | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Vestige.Engine.Core
{
internal class SpeechSystem
{
private const int visualAreaHeight = 240;
private string[] messages;
private int currentMessageIndex;
private string displayText;
... | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Vestige.Engine.Core
{
internal class SpeechSystem
{
private const int visualAreaHeight = 240;
private string[] messages;
private int currentMessageIndex;
private string displayText;
... | mit | C# |
d5b5b1659741e1a57e8602b4448ede5d2ceb3a3b | Bump next version to 3.0.1 | waltdestler/SharpDX,dazerdude/SharpDX,waltdestler/SharpDX,dazerdude/SharpDX,dazerdude/SharpDX,RobyDX/SharpDX,mrvux/SharpDX,mrvux/SharpDX,dazerdude/SharpDX,waltdestler/SharpDX,andrewst/SharpDX,sharpdx/SharpDX,waltdestler/SharpDX,mrvux/SharpDX,sharpdx/SharpDX,andrewst/SharpDX,sharpdx/SharpDX,RobyDX/SharpDX,RobyDX/SharpDX... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | mit | C# |
79618d11a1574ab79400200a2eea6710a1536ddb | simplify TestExportJoinableTaskContext | tannergooding/roslyn,jcouv/roslyn,panopticoncentral/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,genlu/roslyn,gafter/roslyn,genlu/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,AlekseyTs/roslyn,OmarTawfik/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,xasx/roslyn,jmarolf/roslyn,reaction1989/roslyn,mgoertz-m... | src/EditorFeatures/TestUtilities/TestExportJoinableTaskContext.cs | src/EditorFeatures/TestUtilities/TestExportJoinableTaskContext.cs | using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.VisualStudio.Threading;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
// Starting with 15.3 the editor took a dependency on JoinableTaskContext
// in Text.Logic and Intellisense l... | using System.Collections.Concurrent;
using System.ComponentModel.Composition;
using System.Threading;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.VisualStudio.Threading;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
// Starting with 15.3 the editor took a dependency on JoinableTask... | mit | C# |
c0c54b5ea4d33def209f25dcfcaa2e9e389e405c | Increment version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
931f4da0879d1152b0d5dccc19c7def0dad2d0be | Reorder source types enums. | GetTabster/Tabster.Core | Types/TablatureSourceType.cs | Types/TablatureSourceType.cs | namespace Tabster.Core.Types
{
public enum TablatureSourceType
{
UserCreated,
FileImport,
Download
}
} | namespace Tabster.Core.Types
{
public enum TablatureSourceType
{
Download,
FileImport,
UserCreated
}
} | apache-2.0 | C# |
cb2604f1c7f02d02fe155e1df4836518ca5aa4ba | Update FilterData.cs | phnx47/MicroOrm.Dapper.Repositories | src/MicroOrm.Dapper.Repositories/SqlGenerator/Filters/FilterData.cs | src/MicroOrm.Dapper.Repositories/SqlGenerator/Filters/FilterData.cs | namespace MicroOrm.Dapper.Repositories.SqlGenerator.Filters
{
/// <summary>
/// The filter data class; This should have some more things...
/// </summary>
public class FilterData
{
/// <summary>
/// The query order settings
/// </summary>
public OrderInfo OrderInfo { ... | namespace MicroOrm.Dapper.Repositories.SqlGenerator.Filters
{
/// <summary>
/// The filter data class; This should have some more things...
/// </summary>
public class FilterData
{
//todo: create select filter
/// <summary>
/// The query order settings
/// </summary>
... | mit | C# |
fbb6ade478cd24ba7668d4ebcc800911649a2360 | transform name specified in attribute too (thanks Ryan Farley) | mwereda/RestSharp,paulcbetts/RestSharp,dgreenbean/RestSharp,mcintyre321/RestSharp-.NET-2.0-Fork,uQr/RestSharp,huoxudong125/RestSharp,jiangzm/RestSharp,RestSharp-resurrected/RestSharp,eamonwoortman/RestSharp.Unity,jmartin84/RestSharp,rucila/RestSharp,dmgandini/RestSharp,fmmendo/RestSharp,mcintyre321/RestSharp-.NET-2.0-F... | RestSharp/Serializers/SerializeAsAttribute.cs | RestSharp/Serializers/SerializeAsAttribute.cs | #region License
// Copyright 2010 John Sheehan
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | #region License
// Copyright 2010 John Sheehan
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | apache-2.0 | C# |
701a8faaba9c5139513bd39e42b2f84ae36c270b | Use stable version of JQueryMobile. | intellifactory/websharper.jquerymobile,intellifactory/websharper.jquerymobile | if-ws-jquerymobile/Resources.cs | if-ws-jquerymobile/Resources.cs | using System.Web.UI;
using IntelliFactory.WebSharper;
namespace IntelliFactory.WebSharper.JQuery.Mobile.Resources
{
[IntelliFactory.WebSharper.Core.Attributes.Require(typeof(IntelliFactory.WebSharper.JQuery.Resources.JQuery))]
public class JQueryMobile : IntelliFactory.WebSharper.Core.Resources.BaseResou... | using System.Web.UI;
using IntelliFactory.WebSharper;
namespace IntelliFactory.WebSharper.JQuery.Mobile.Resources
{
[IntelliFactory.WebSharper.Core.Attributes.Require(typeof(IntelliFactory.WebSharper.JQuery.Resources.JQuery))]
public class JQueryMobile : IntelliFactory.WebSharper.Core.Resources.BaseResou... | apache-2.0 | C# |
543f3ef081600f21486973e9de2a2d7ab9316a04 | Rename extension method | YeastFx/Yeast | src/Yeast.WebApi/Security/Extensions/ServiceCollectionExtensions.cs | src/Yeast.WebApi/Security/Extensions/ServiceCollectionExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using System;
namespace Yeast.WebApi.Security
{
/// <summary>
/// Contains extension methods to <see cref="IServiceCollection"/>.
/// </summary>
public static class ServiceCollectionExtensions
{
/// <summary>
/// Adds <see cref="JwtIs... | using Microsoft.Extensions.DependencyInjection;
using System;
namespace Yeast.WebApi.Security
{
/// <summary>
/// Contains extension methods to <see cref="IServiceCollection"/>.
/// </summary>
public static class ServiceCollectionExtensions
{
/// <summary>
/// Adds <see cref="JwtIs... | mit | C# |
ef2ef8c01c6827ba15270ffc2c613a3d9c8e886d | allow third party network support in NetworkJsonConverter | thepunctuatedhorizon/BrickCoinAlpha.0.0.1,NicolasDorier/NBitcoin,stratisproject/NStratis,dangershony/NStratis,MetacoSA/NBitcoin,MetacoSA/NBitcoin,lontivero/NBitcoin | NBitcoin/JsonConverters/NetworkJsonConverter.cs | NBitcoin/JsonConverters/NetworkJsonConverter.cs | #if !NOJSONNET
using NBitcoin;
using Newtonsoft.Json;
using System;
using System.Reflection;
namespace NBitcoin.JsonConverters
{
#if !NOJSONNET
public
#else
internal
#endif
class NetworkJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(... | #if !NOJSONNET
using NBitcoin;
using Newtonsoft.Json;
using System;
using System.Reflection;
namespace NBitcoin.JsonConverters
{
#if !NOJSONNET
public
#else
internal
#endif
class NetworkJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(... | mit | C# |
51990d9f80d9de5167fea61b072ea902bbf4dc7f | Rename test method | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/RemoveConfigCommandTest.cs | src/AppHarbor.Tests/Commands/RemoveConfigCommandTest.cs | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class RemoveConfigCommandTest
{
[Theory, AutoCommandData]
public void ShouldThrowIfNoArguments(RemoveConfigCommand command)
{
Assert.Throws<CommandException>(... | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class RemoveConfigCommandTest
{
[Theory, AutoCommandData]
public void ShouldThrowIfNoArguments(RemoveConfigCommand command)
{
Assert.Throws<CommandException>(... | mit | C# |
b047039f7914be22d2733827842e83cf2905eeaa | refactor base resolver | wangkanai/Detection | src/Detection.Core/src/BaseResolver.cs | src/Detection.Core/src/BaseResolver.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.AspNetCore.Http;
namespace Wangkanai.Detection
{
public class BaseResolver : IResolver
{
/// <summary>
... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.AspNetCore.Http;
namespace Wangkanai.Detection
{
public class BaseResolver : IResolver
{
/// <summary>
... | apache-2.0 | C# |
252e49aebde076e8ace4a3630a33a8b68a865d9e | upgrade version to 1.4.6 | Aaron-Liu/ecommon,tangxuehua/ecommon | src/ECommon/Properties/AssemblyInfo.cs | src/ECommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | mit | C# |
5fe16c81d3eec06fdd6fa4599e851e351add84fc | Revert "Fix NH-2840" - line endings screwed (*sigh) | nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,livioc/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,Roger... | src/NHibernate/Param/QueryTakeParameterSpecification.cs | src/NHibernate/Param/QueryTakeParameterSpecification.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.Type;
namespace NHibernate.Param
{
/// <summary>
/// Autogenerated parameter for <see cref="IQuery.SetMaxResults"/>.
/// </summary>
public class ... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.Type;
namespace NHibernate.Param
{
/// <summary>
/// Autogenerated parameter for <see cref="IQuery.SetMaxResults"/>.
/// </summary>
public class QueryTakePara... | lgpl-2.1 | C# |
95b170db080c281f812cd92e93a587463246d8fc | Switch SparkMessage.Errors to use generic collection | RichLogan/CiscoSpark-UnityProject,RichLogan/CiscoSpark-UnityProject | SparkUnity/Assets/Cisco/Spark/SparkMessage.cs | SparkUnity/Assets/Cisco/Spark/SparkMessage.cs | using System;
using System.Collections.Generic;
namespace Cisco.Spark {
public class SparkMessage {
public string Message;
public IEnumerable<SparkError> Errors;
public string TrackingId;
public SparkMessage (Dictionary<string, object> data) {
Message = (string) data ["message"];
Errors = new List<Sp... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Cisco.Spark {
public class SparkMessage {
public string Message;
public IEnumerable Errors;
public string TrackingId;
public SparkMessage (Dictionary<string, object> data) {
Message = (string) data ["message"];
Errors... | apache-2.0 | C# |
561c9f2cc3243cb6a036af745f272c9948673e54 | Handle item expiration | GearedToWar/NuGet2,jmezach/NuGet2,jholovacs/NuGet,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,ctaggart/nuget,rikoe/nuget,oliver-feng/nuget,antiufo/NuGet2,kumavis/NuGet,oliver-feng/nuget,dolkensp/node.net,RichiCoder1/nuget-chocolatey,alluran/node.net,alluran/node.net,pratikkagda/nuget,atheken/nuget,pratikkagda/nuget,jho... | src/Core/Utility/MemoryCache.cs | src/Core/Utility/MemoryCache.cs | using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using System.Threading;
namespace NuGet {
internal sealed class MemoryCache {
private MemoryCache() {
}
internal static MemoryCache Default {
get {
return InternalMemor... | using System;
using System.Collections.Concurrent;
namespace NuGet {
internal sealed class MemoryCache {
private MemoryCache() {
}
internal static MemoryCache Default {
get
{
return InternalMemoryCache.Instance;
}
}
... | apache-2.0 | C# |
d9268d4ba217272a7f18699d5fdc788321b973ee | Update Bootstrapper comments | SonarSource/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-DotNet/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,dbolkensteyn/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,HSAR/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-Visu... | SonarQube.Bootstrapper/IBootstrapperSettings.cs | SonarQube.Bootstrapper/IBootstrapperSettings.cs | //-----------------------------------------------------------------------
// <copyright file="IBootstrapperSettings.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the proj... | //-----------------------------------------------------------------------
// <copyright file="IBootstrapperSettings.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the proj... | mit | C# |
753b66498c91a9f63f0986a59e6dcab69bbef0fa | use Assert.Equal instead of throw clause. | jwChung/Experimentalism,jwChung/Experimentalism | test/Experiment.AutoFixtureUnitTest/AutoFixtureAdapterTest.cs | test/Experiment.AutoFixtureUnitTest/AutoFixtureAdapterTest.cs | using System;
using Xunit;
namespace Jwc.Experiment
{
public class AutoFixtureAdapterTest
{
[Fact]
public void SutIsTestFixture()
{
var sut = new AutoFixtureAdapter(new FakeSpecimenContext());
Assert.IsAssignableFrom<ITestFixture>(sut);
}
[Fact]... | using System;
using Xunit;
namespace Jwc.Experiment
{
public class AutoFixtureAdapterTest
{
[Fact]
public void SutIsTestFixture()
{
var sut = new AutoFixtureAdapter(new FakeSpecimenContext());
Assert.IsAssignableFrom<ITestFixture>(sut);
}
[Fact]... | mit | C# |
76da3ab6745db057d9001e54f0a608c0a61e40c3 | Introduce RemoveLevel in LevelManager | InPvP/MiNET,Vladik46/MiNET,uniaspiex/MiNET,yungtechboy1/MiNET,MiPE-JP/RaNET | src/MiNET/MiNET/LevelManager.cs | src/MiNET/MiNET/LevelManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MiNET.Worlds;
namespace MiNET
{
public class LevelManager
{
public List<Level> Levels { get; set; }
public LevelManager()
{
Levels = new List<Level>();
}
public virtual Level GetLevel(Player player, string name)
{
Level leve... | using System;
using System.Collections.Generic;
using System.Linq;
using MiNET.Worlds;
namespace MiNET
{
public class LevelManager
{
public List<Level> Levels { get; set; }
public LevelManager()
{
Levels = new List<Level>();
}
public virtual Level GetLevel(Player player, string name)
{
Level leve... | mpl-2.0 | C# |
8851ff4582c7ff329502c9d4ef6991750cc74973 | Bump version to 0.12.0 | whampson/bft-spec,whampson/cascara | Src/WHampson.Cascara/Properties/AssemblyInfo.cs | Src/WHampson.Cascara/Properties/AssemblyInfo.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* 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, modify, ... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* 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, modify, ... | mit | C# |
b805b0d505c09945786acb260866ec12fbe55a6c | Fix typo in unit test name | MarcinHoppe/LangtonsAnts | Test/MarcinHoppe.LangtonsAnts.Tests/AntTests.cs | Test/MarcinHoppe.LangtonsAnts.Tests/AntTests.cs | using System;
using Moq;
using Xunit;
namespace MarcinHoppe.LangtonsAnts.Tests
{
public class AntTests
{
[Fact]
public void AntTurnsRightOnWhiteSquare()
{
// Arrange
var ant = AntAt(10, 7);
var board = Mock.Of<Board>(b => b.ColorAt(PositionAt(10, 7)... | using System;
using Moq;
using Xunit;
namespace MarcinHoppe.LangtonsAnts.Tests
{
public class AntTests
{
[Fact]
public void AntTurnsRightOnWhiteSquare()
{
// Arrange
var ant = AntAt(10, 7);
var board = Mock.Of<Board>(b => b.ColorAt(PositionAt(10, 7)... | mit | C# |
3116760deae98aa595dc9e0212356fd849149c0e | remove empty spaces | andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms | Themes/AndrewConnell-v1.0/Views/Document.cshtml | Themes/AndrewConnell-v1.0/Views/Document.cshtml | @using Orchard.Mvc.Html;
@using Orchard.UI.Resources;
@{
Script.Include("html5.js").UseCondition("lt IE 9").AtHead();
string title = Convert.ToString(Model.Title);
string siteName = "Andrew Connell";
string openGraphLogo = string.Format("http://www.andrewconnell.com{0}", Url.Content(Html.ThemePath(WorkContext... | @using Orchard.Mvc.Html;
@using Orchard.UI.Resources;
@{
Script.Include("html5.js").UseCondition("lt IE 9").AtHead();
string title = Convert.ToString(Model.Title);
string siteName = "Andrew Connell";
string openGraphLogo = string.Format("http://www.andrewconnell.com{0}", Url.Content(Html.ThemePath(WorkContext... | bsd-3-clause | C# |
b966fb3dd3d862664de28e0db8b473225d6ac35e | fix taghelper name | leastprivilege/ndcoslo2016,leastprivilege/ndcoslo2016,leastprivilege/ndcoslo2016 | IdentityServerStart/src/IdentityServerStart/UI/_ViewImports.cshtml | IdentityServerStart/src/IdentityServerStart/UI/_ViewImports.cshtml | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, IdentityServerStart
| @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, IdentityServer
| apache-2.0 | C# |
45d66ff70285830bb533eada0add8a6c2999cb57 | Change version to 2.3.1. | shintadono/dockpanelsuite,modulexcite/O2_Fork_dockpanelsuite,dockpanelsuite/dockpanelsuite,elnomade/dockpanelsuite,compborg/dockpanelsuite,ArsenShnurkov/dockpanelsuite,15070217668/dockpanelsuite,transistor1/dockpanelsuite,joelbyren/dockpanelsuite,thijse/dockpanelsuite,RadarNyan/dockpanelsuite,jorik041/dockpanelsuite,ro... | WinFormsUI/Properties/AssemblyInfo.cs | WinFormsUI/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
[assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")]
[assembly: AssemblyDescription(".Net Docking Library for Windows Forms")]
[assembly: AssemblyConf... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
[assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")]
[assembly: AssemblyDescription(".Net Docking Library for Windows Forms")]
[assembly: AssemblyConf... | mit | C# |
c15fc6a13efbca0d66e5a8d18812ac70d03f28a1 | Set Default Language (#243) | FormsCommunityToolkit/FormsCommunityToolkit | XamarinCommunityToolkitSample/AssemblyInfo.cs | XamarinCommunityToolkitSample/AssemblyInfo.cs | using System.Resources;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
[assembly: NeutralResourcesLanguage("en")]
| using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)] | mit | C# |
45232902e029268c7f7fd96df4ad6d8e8bd9d686 | Disable parallel execution for tests | vadimzozulya/FakeHttpContext | src/FakeHttpContext.Tests/Properties/AssemblyInfo.cs | src/FakeHttpContext.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
[assembly: CollectionBehavior(DisableTestParallelization = true)]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an... | 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("FakeHttpContext.Tests")]
[assembly: Assemb... | mit | C# |
0bbaddd489be805147ec5a5e63c1a25b4ceff1e8 | Remove unused extension method | jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/roslyn,shyam... | src/Features/Core/Portable/DocumentSpanExtensions.cs | src/Features/Core/Portable/DocumentSpanExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Navigation;
using Microsoft.Code... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Navigation;
using Microsoft.Code... | mit | C# |
35c90d12f6a70d504051012143274ab54121166c | Convert RssFeedResult to async (#741) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.WebCore/Infrastructure/RssFeedResult.cs | src/Firehose.WebCore/Infrastructure/RssFeedResult.cs | using Microsoft.AspNetCore.Mvc;
using System.ServiceModel.Syndication;
using System.Xml;
namespace Firehose.Web.Infrastructure
{
public class RssFeedResult : ActionResult
{
private readonly SyndicationFeed _feed;
public RssFeedResult(SyndicationFeed feed)
{
_feed = feed;
}
public async override Task E... | using Microsoft.AspNetCore.Mvc;
using System.ServiceModel.Syndication;
using System.Xml;
namespace Firehose.Web.Infrastructure
{
public class RssFeedResult : ActionResult
{
private readonly SyndicationFeed _feed;
public RssFeedResult(SyndicationFeed feed)
{
_feed = feed;
}
public override void Execut... | mit | C# |
8a2a4d98758427e6f6608baa31d352c9ae82a664 | set version to 0.1 | SimonJonas/SqlServerValidationToolkit | SqlServerValidationToolkit.Configurator/Properties/AssemblyInfo.cs | SqlServerValidationToolkit.Configurator/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
e4a27ef30ca585876d5f1e885bcc2d81f251b95e | change partition | LykkeCity/bitcoinservice,LykkeCity/bitcoinservice | src/AzureRepositories/Assets/AssetSettingRepository.cs | src/AzureRepositories/Assets/AssetSettingRepository.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AzureStorage;
using Core.Repositories.Assets;
using Microsoft.WindowsAzure.Storage.Table;
namespace AzureRepositories.Assets
{
public class AssetSettingEntity : BaseEntity, IAssetSetting
{
public sta... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AzureStorage;
using Core.Repositories.Assets;
using Microsoft.WindowsAzure.Storage.Table;
namespace AzureRepositories.Assets
{
public class AssetSettingEntity : BaseEntity, IAssetSetting
{
public sta... | mit | C# |
9db52fac7a27e67967f90e438a586e40d8caaec7 | Update EmailTokenProvider.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Identity/Extensions.Core/src/EmailTokenProvider.cs | src/Identity/Extensions.Core/src/EmailTokenProvider.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.Threading.Tasks;
namespace Microsoft.AspNetCore.Identity
{
/// <summary>
/// TokenProvider that generates tokens from the user's s... | // 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.Threading.Tasks;
namespace Microsoft.AspNetCore.Identity
{
/// <summary>
/// TokenProvider that generates tokens from the user's s... | apache-2.0 | C# |
72c8e2b48a78bcd8a725a09dde186ae469fd6e89 | include ⏬ in the link for ird files | RPCS3/discord-bot | CompatBot/Utils/ResultFormatters/IrdSearchResultFormattercs.cs | CompatBot/Utils/ResultFormatters/IrdSearchResultFormattercs.cs | using CompatApiClient.Utils;
using DSharpPlus.Entities;
using IrdLibraryClient;
using IrdLibraryClient.POCOs;
namespace CompatBot.Utils.ResultFormatters
{
public static class IrdSearchResultFormattercs
{
public static DiscordEmbedBuilder AsEmbed(this SearchResult searchResult)
{
va... | using CompatApiClient.Utils;
using DSharpPlus.Entities;
using IrdLibraryClient;
using IrdLibraryClient.POCOs;
namespace CompatBot.Utils.ResultFormatters
{
public static class IrdSearchResultFormattercs
{
public static DiscordEmbedBuilder AsEmbed(this SearchResult searchResult)
{
va... | lgpl-2.1 | C# |
db1458eb778e5c40fcc5f74a22c513a60a901734 | Rename UseLegacyLocationArea to HideCity | seekasia-oss/jobstreet-ad-posting-api-client | src/SEEK.AdPostingApi.Client/Models/LocationOptions.cs | src/SEEK.AdPostingApi.Client/Models/LocationOptions.cs | namespace SEEK.AdPostingApi.Client.Models
{
public enum LocationOptions
{
HideCity = 1
}
} | namespace SEEK.AdPostingApi.Client.Models
{
public enum LocationOptions
{
UseLegacyLocationArea = 1
}
} | mit | C# |
ad421dfd26400237cf00efb1fa71ce994efc557c | Use the working directory as the installation folder for the InstallCommand. | mdavid/nuget,mdavid/nuget | src/CommandLine/Commands/InstallCommand.cs | src/CommandLine/Commands/InstallCommand.cs | using System;
using System.ComponentModel.Composition;
using System.IO;
using NuGet.Common;
namespace NuGet.Commands {
[Command(typeof(NuGetResources), "install", "InstallCommandDescription", AltName = "i",
MinArgs = 1, MaxArgs = 1,
UsageSummaryResourceName = "InstallCommandUsageSummary", ... | using System;
using System.ComponentModel.Composition;
using NuGet.Common;
namespace NuGet.Commands {
[Command(typeof(NuGetResources), "install", "InstallCommandDescription", AltName = "i",
MinArgs = 1, MaxArgs = 1,
UsageSummaryResourceName = "InstallCommandUsageSummary", UsageDescriptionRe... | apache-2.0 | C# |
5776676e664545f03e36398aa7ed6420509d3302 | Allow synchronous IO | mchaloupka/EVI-SampleServer,mchaloupka/DotNetR2RMLEndpoint,mchaloupka/EVI-SampleServer,mchaloupka/DotNetR2RMLEndpoint | src/Slp.Evi.Endpoint/Startup.cs | src/Slp.Evi.Endpoint/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Slp.Evi.Endpoint.Sparql;
namespace Slp.Evi.Endpoint
{
public c... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Slp.Evi.Endpoint.Sparql;
namespace Slp.Evi.Endpoint
{
public class Startup
{
public Startup(IConfi... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.