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 |
|---|---|---|---|---|---|---|---|---|
b6da9856896f76d13f470a6b42522e6dbca54793 | Add dependency of CryptSvc to guest agent | xenserver/win-xenguestagent,xenserver/win-xenguestagent,kostaslamda/win-xenguestagent,kostaslamda/win-xenguestagent | src/xenguestagent/XenServiceInstaller.cs | src/xenguestagent/XenServiceInstaller.cs | /* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this list of... | /* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this list of... | bsd-2-clause | C# |
857b3e232299f09522c83ecd6e651a557160865c | rewrite to use the plane for logic purposes | nferruzzi/xplode | Assets/Scripts/Spawner.cs | Assets/Scripts/Spawner.cs | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class Spawner : MonoBehaviour {
public float gameLevel = 5.0f;
public float sideSubdivision = 5.0f;
Vector3 bl, br, tl, tr;
void Start () {
CalcFrustumPlane ();
}
void CalcFrustumPlane () {
Camera ca = Camera.main;
Ray bottomLeftR... | using UnityEngine;
using System.Collections;
public class Spawner : MonoBehaviour {
public float gameLevel = 5.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnDrawGizmos() {
Camera ca = Camera.main;
Ray bottomLeftRay = ca.Viewport... | mit | C# |
aed29a8e21da7acdfcf5d186b8678f51063dbe83 | Fix output check. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/Tooling/ProcessExtensions.cs | source/Nuke.Core/Tooling/ProcessExtensions.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | mit | C# |
9e552d85a3563c8e2e63028d07a03518bbfb3ae1 | tidy up | CiBuildOrg/WebApi-Boilerplate,CiBuildOrg/WebApi-Boilerplate,CiBuildOrg/WebApi-Boilerplate | src/App/App.Api/Controllers/MeController.cs | src/App/App.Api/Controllers/MeController.cs | using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using App.Services.Contracts;
using App.Validation.Infrastructure;
namespace App.Api.Controllers
{
/// <summary>
/// Client
/// </summary>
[ApiExplorerSettings(IgnoreApi = true)]
[ValidateViewModel]... | using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using App.Services.Contracts;
using App.Validation.Infrastructure;
namespace App.Api.Controllers
{
/// <summary>
/// Client
/// </summary>
[ApiExplorerSettings(IgnoreApi = true)]
[ValidateViewModel]... | mit | C# |
d7f788e17bdd120937501b72d67943fa72373560 | Update InputDateType.cs (#34651) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/Web/src/Forms/InputDateType.cs | src/Components/Web/src/Forms/InputDateType.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Components.Forms
{
/// <summary>
/// Represents the type of HTML input to be rendered by a <see cref="InputDate{TValue}"/> component.
/// <... | // 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.
namespace Microsoft.AspNetCore.Components.Forms
{
/// <summary>
/// Represents the type of HTML input to be rendered by a <see cref="InputDate{T... | apache-2.0 | C# |
bfb2cd30267b57d5d35371e9b200dd370c0900f0 | Fix nullguard check | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Extensions/EnumerableExtensions.cs | src/GitHub.Extensions/EnumerableExtensions.cs | using NullGuard;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GitHub
{
public static class EnumerableExtensions
{
public static void ForEach<T>(this IEnumerable<T> source, Action<T> action)
{
foreach (var item in source) action(item);
}
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace GitHub
{
public static class EnumerableExtensions
{
public static void ForEach<T>(this IEnumerable<T> source, Action<T> action)
{
foreach (var item in source) action(item);
}
public static... | mit | C# |
fe5589ed16e5c229990d5c12b28d0165f4001d4b | Replace reflection to call API. | zclmoon/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,beratcarsi/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,carldai0106/aspnetboilerpla... | src/Abp/Reflection/ProxyHelper.cs | src/Abp/Reflection/ProxyHelper.cs | using Castle.DynamicProxy;
namespace Abp.Reflection
{
public static class ProxyHelper
{
/// <summary>
/// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
/// </summary>
public static object UnProxy(object obj)
{
... | using System.Linq;
using System.Reflection;
namespace Abp.Reflection
{
public static class ProxyHelper
{
/// <summary>
/// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
/// </summary>
public static object UnProxy(object ob... | mit | C# |
2fc3bcb9655db0c62a89baea5d627ef38e46f063 | Throw exception if not Windows. | patriksvensson/Cake.Unity | src/Cake.Unity/UnityExtensions.cs | src/Cake.Unity/UnityExtensions.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
using Cake.Unity.Platforms;
using static Cake.Core.PlatformFamily;
namespace Cake.Unity
{
[CakeAliasCategory("Unity")]
public static class UnityExtensi... | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
using Cake.Unity.Platforms;
namespace Cake.Unity
{
[CakeAliasCategory("Unity")]
public static class UnityExtensions
{
[CakeMethodAlias]
[CakeAlia... | mit | C# |
db1915cd5e36e2cc35c21aa2b34a33e95406d7d8 | Add xmlenumattribute to indextype.cs | Ackara/Daterpillar | src/Daterpillar.Core/IndexType.cs | src/Daterpillar.Core/IndexType.cs | using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Database index type
/// </summary>
public enum IndexType
{
/// <summary>
/// A primary key.
/// </summary>
[XmlEnum]
Primary = 0,
/// <summary>
/// A index
... | namespace Gigobyte.Daterpillar
{
/// <summary>
/// Database index type
/// </summary>
public enum IndexType
{
/// <summary>
/// A primary key.
/// </summary>
Primary = 0,
/// <summary>
/// A index
/// </summary>
Index = 1
}
} | mit | C# |
ab30b3e8e0006ebc31b413e633de75f6e8b2b5f1 | add separator parameter to HostingEnvironments.Postfix() | yisoft-dotnet/framework | src/Yisoft.Framework/HostingEnvironments.cs | src/Yisoft.Framework/HostingEnvironments.cs | // ) *
// ( /( * ) ( ( `
// )\()) ( ` ) /( ( )\ )\))(
// ((_)\ )\ ( )(_)))\ ((((_)( ((_)()\
// __ ((_)((_) (_(_())((_) )\ _ )\ (_()((_)
// \ \ / / (_) |_ _|| __|(_)_\(_)| \/ |
// \ V / | | _ | | | _| / _ \ | |\/| |
// ... | // ) *
// ( /( * ) ( ( `
// )\()) ( ` ) /( ( )\ )\))(
// ((_)\ )\ ( )(_)))\ ((((_)( ((_)()\
// __ ((_)((_) (_(_())((_) )\ _ )\ (_()((_)
// \ \ / / (_) |_ _|| __|(_)_\(_)| \/ |
// \ V / | | _ | | | _| / _ \ | |\/| |
// ... | apache-2.0 | C# |
6fb941289bcd7aa4300c9496bca29cebc51fe776 | Change the default font for the header. | AlexGhiondea/DrawIt | src/DrawIt/Helpers/FontHelpers.cs | src/DrawIt/Helpers/FontHelpers.cs | using System;
using System.Drawing;
namespace DrawIt
{
public static class FontHelpers
{
public static Font GetHeaderFont()
{
float fontSize = Configuration.GetSettingOrDefault<float>(Constants.Application.Header.FontSize, float.TryParse, Constants.Application.Defaults.HeaderTextSi... | using System;
using System.Drawing;
namespace DrawIt
{
public static class FontHelpers
{
public static Font GetHeaderFont()
{
float fontSize = Configuration.GetSettingOrDefault<float>(Constants.Application.Header.FontSize, float.TryParse, Constants.Application.Defaults.HeaderTextSi... | mit | C# |
b0194e7c039292658cc382096f2b2ae0bba27ceb | Fix typo bug in SimpleProducer | HCanber/kafkaclient-net | src/KafkaClient/SimpleProducer.cs | src/KafkaClient/SimpleProducer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Kafka.Client.Api;
using Kafka.Client.Exceptions;
namespace Kafka.Client
{
public class SimpleProducer : ProducerBase
{
public SimpleProducer(IKafkaClient client)
: base(client)
{
}
public ProducerResponseStatus Send(... | using System;
using System.Collections.Generic;
using System.Linq;
using Kafka.Client.Api;
using Kafka.Client.Exceptions;
namespace Kafka.Client
{
public class SimpleProducer : ProducerBase
{
public SimpleProducer(IKafkaClient client)
: base(client)
{
}
public ProducerResponseStatus Send(... | mit | C# |
2af0316fae76cecc805ffe4ca4b3fe0c187b4ad0 | Fix to not use a test filter in NUnit when no filters has been declared in Giles. This was causing NUnit to not run the tests | michaelsync/Giles,michaelsync/Giles,michaelsync/Giles,codereflection/Giles,michaelsync/Giles,codereflection/Giles,codereflection/Giles | src/Runners/Giles.Runner.NUnit/NUnitRunner.cs | src/Runners/Giles.Runner.NUnit/NUnitRunner.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Giles.Core.Runners;
using NUnit.Core;
using NUnit.Core.Filters;
namespace Giles.Runner.NUnit
{
public class NUnitRunner : IFrameworkRunner
{
IEnumerable<string> filters;
public SessionResults RunAs... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Giles.Core.Runners;
using Giles.Core.Utility;
using NUnit.Core;
using NUnit.Core.Filters;
namespace Giles.Runner.NUnit
{
public class NUnitRunner : IFrameworkRunner
{
IEnumerable<string> filte... | mit | C# |
939599d11da8f801f4b3f93872293fd50724f9fd | add redirectValue and textSubLabel to QuestionJson | smbc-digital/iag-contentapi | src/StockportContentApi/Model/QuestionJson.cs | src/StockportContentApi/Model/QuestionJson.cs | using System.Collections.Generic;
namespace StockportContentApi.Model
{
public class QuestionJson
{
public int pageId { get; set; }
public string buttonText { get; set; }
public bool ShouldCache { get; set; }
public bool IsLastPage { get; set; }
public List<Question> qu... | using System.Collections.Generic;
namespace StockportContentApi.Model
{
public class QuestionJson
{
public int pageId { get; set; }
public string buttonText { get; set; }
public bool ShouldCache { get; set; }
public bool IsLastPage { get; set; }
public List<Question> qu... | mit | C# |
8b6a4a6d5a79c44b2b0d1c4b3519bff114ab8c65 | add admin namespace | davetimmins/ScriptCs.ArcGIS,davetimmins/ScriptCs.ArcGIS | src/ScriptCs.ArcGIS/ScriptPack.cs | src/ScriptCs.ArcGIS/ScriptPack.cs | using System;
using ScriptCs.Contracts;
using System.Collections.Generic;
namespace ScriptCs.ArcGIS
{
public class ArcGISScriptPack : IScriptPack
{
public IScriptPackContext GetContext()
{
//Return the ScriptPackContext to be used in your scripts
return new ArcGISPack()... | using System;
using ScriptCs.Contracts;
namespace ScriptCs.ArcGIS
{
public class ArcGISScriptPack : IScriptPack
{
IScriptPackContext IScriptPack.GetContext()
{
//Return the ScriptPackContext to be used in your scripts
return new ArcGISPack();
}
void IS... | mit | C# |
bbdc94ced9f2212b20411fbee00f101a37ca425d | Fix soldiers list view title | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/Views/Soldier/List.cshtml | BatteryCommander.Web/Views/Soldier/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
@Html.ActionLink("Include Inactive Soldiers", "List", new { activeOnly = false })
@Html.ActionLink("Add a Soldier", "Edit")
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk")
<table class="tabl... | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "List";
}
<h2>@ViewBag.Title</h2>
@Html.ActionLink("Include Inactive Soldiers", "List", new { activeOnly = false })
@Html.ActionLink("Add a Soldier", "Edit")
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk")
<table class="table ta... | mit | C# |
0f5fb6b190b5d83823d7aab44d670ec2e03de835 | Remove unnecessary usings. | nozzlegear/davenport.net | Davenport/Infrastructure/DavenportException.cs | Davenport/Infrastructure/DavenportException.cs | using System;
namespace Davenport.Infrastructure
{
public class DavenportException : Exception
{
public DavenportException(string message) : base(message)
{
}
public int StatusCode { get; set; }
public string StatusText { get; set; }
public string Ur... | using System;
using System.Linq;
using System.Net.Http;
namespace Davenport.Infrastructure
{
public class DavenportException : Exception
{
public DavenportException(string message) : base(message)
{
}
public int StatusCode { get; set; }
public string StatusTe... | mit | C# |
6a6773f7a59900f873f81cd2c523439e4cc3211d | Make CAS test more stable. | enyim/EnyimMemcached | Enyim.Caching.Tests/TextMemcachedClientTest.cs | Enyim.Caching.Tests/TextMemcachedClientTest.cs | using Enyim.Caching;
using NUnit.Framework;
using Enyim.Caching.Memcached;
namespace MemcachedTest
{
[TestFixture]
public class TextMemcachedClientTest : MemcachedClientTest
{
protected override MemcachedClient GetClient()
{
MemcachedClient client = new MemcachedClient("test/textConfig");
client.FlushAll(... | using Enyim.Caching;
using NUnit.Framework;
using Enyim.Caching.Memcached;
namespace MemcachedTest
{
[TestFixture]
public class TextMemcachedClientTest : MemcachedClientTest
{
protected override MemcachedClient GetClient()
{
MemcachedClient client = new MemcachedClient("test/textConfig");
client.FlushAll(... | apache-2.0 | C# |
1480884fcb7b0e02c45e6d5c592a62b9e040d344 | Implement Dispose pattern | vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/Vulkan/Event.cs | CSGL.Vulkan/Vulkan/Event.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class Event : IDisposable, INative<VkEvent> {
VkEvent _event;
bool disposed;
public VkEvent Native {
get {
return _event;
}
}
public Device Device { get;... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class Event : IDisposable, INative<VkEvent> {
VkEvent _event;
bool disposed;
public VkEvent Native {
get {
return _event;
}
}
public Device Device { get;... | mit | C# |
c923b950bd3a50865f8293fc16ba00f2cd333d8e | Revert "made session id record type" | louthy/echo-process,louthy/echo-process | Echo.Process/SessionId.cs | Echo.Process/SessionId.cs | using LanguageExt;
using Newtonsoft.Json;
using System;
using static LanguageExt.Prelude;
namespace Echo
{
/// <summary>
/// Session ID
/// </summary>
/// <remarks>
/// It enforces the rules for session IDs.
/// </remarks>
public struct SessionId : IEquatable<SessionId>, IComparable<Sessio... | using LanguageExt;
using Newtonsoft.Json;
using System;
using static LanguageExt.Prelude;
namespace Echo
{
/// <summary>
/// Session ID
/// </summary>
/// <remarks>
/// It enforces the rules for session IDs.
/// </remarks>
public class SessionId : Record<SessionId>
{
public rea... | mit | C# |
6c79616474fc8a328bf5c474c2d6421d26803956 | switch small job to a CPU intensive one | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | HangfireDemo/HangfireDemo/Global.asax.cs | HangfireDemo/HangfireDemo/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace HangfireDemo
{
using System.Threading;
using Hangfire;
using Serilog;
using StackExchange.Profiling;
public class MvcApp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace HangfireDemo
{
using Hangfire;
using Serilog;
using StackExchange.Profiling;
public class MvcApplication : System.Web.HttpApp... | apache-2.0 | C# |
8329b673e5b5279914e38868d1144106bca66396 | Make AppHarborInstaller implement IWindsorInstaller | appharbor/appharbor-cli | src/AppHarbor/AppHarborInstaller.cs | src/AppHarbor/AppHarborInstaller.cs | using System;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace AppHarbor
{
public class AppHarborInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
throw new NotImplementedExcep... | namespace AppHarbor
{
public class AppHarborInstaller
{
}
}
| mit | C# |
289c45c51867e8f5070b8cc37e6cf950c509164b | Update VSTS to Azure DevOps * add runtime & .NET CLI | devlead/website,cake-build/website,devlead/website,cake-build/website,devlead/website,cake-build/website | input/index.cshtml | input/index.cshtml | Title: Home
NoSidebar: true
NoContainer: true
NoGutter: true
---
<div class="jumbotron">
<div class="container">
<h1>What is Cake?</h1>
<p>Cake (C# Make) is a cross-platform build automation system with a C# DSL for tasks such as compiling code, copying files and folders, running unit tests, compres... | Title: Home
NoSidebar: true
NoContainer: true
NoGutter: true
---
<div class="jumbotron">
<div class="container">
<h1>What is Cake?</h1>
<p>Cake (C# Make) is a cross-platform build automation system with a C# DSL for tasks such as compiling code, copying files and folders, running unit tests, compres... | mit | C# |
238f3f56e6bc9c069732d8439d4285f2350e0b9a | bump version to 2.11.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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("PiwikTracker")]
[assembly: Assembl... | 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("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
74f276fe860e3556bda4211cd0a5952d08ac62fd | Test commit @2 | MatthewKapteyn/SubmoduleTest | SubmoduleTest/Program.cs | SubmoduleTest/Program.cs | using System;
using Huawei_Unlock;
namespace SubmoduleTest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Test.HW_ALGO_SELECTOR("This_is_a_15_digit_imei_jk");
Console.WriteLine("Made second change to SubmoduleTest");... | using System;
using Huawei_Unlock;
namespace SubmoduleTest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Test.HW_ALGO_SELECTOR("This_is_a_15_digit_imei_jk");
}
}
}
| unlicense | C# |
3c5ad090ac5214a686d047769b86a68c31dfbc39 | Fix broken links | martincostello/website,martincostello/website,martincostello/website,martincostello/website | src/Website/Pages/Home/Index.cshtml | src/Website/Pages/Home/Index.cshtml | @page "/"
@model MartinCostello.Website.Pages.Home.IndexModel
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Martin Costello</h1>
<p class="lead">.NET Software Developer & Tester</p>
</div>
<div class="row">
<div class="col-md-4">
<h2 class="h3">Projects</h2>
<p>Inform... | @page "/"
@model MartinCostello.Website.Pages.Home.IndexModel
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Martin Costello</h1>
<p class="lead">.NET Software Developer & Tester</p>
</div>
<div class="row">
<div class="col-md-4">
<h2 class="h3">Projects</h2>
<p>Inform... | apache-2.0 | C# |
a828a9851ac22051bcf00896a240bb6784bf2d58 | Fix windows code style. | GGG-KILLER/GUtils.NET | Tsu.Windows/FExplorer.cs | Tsu.Windows/FExplorer.cs | // Copyright 2016 GGG KILLER <gggkiller2@gmail.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 in the Software without
// restriction, including without limitation the rights to use, copy, modify, mer... | /*
* Copyright 2019 GGG KILLER <gggkiller2@gmail.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 in the Software without
* restriction, including without limitation the rights to use, copy, modify, ... | mit | C# |
5e43d51abf38784213f2a41583c2cee315ede5b8 | fix typo in test name | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Tools/LambdaTestTool/Amazon.Lambda.TestTool.Tests/LoadLambdaFunctionTests.cs | Tools/LambdaTestTool/Amazon.Lambda.TestTool.Tests/LoadLambdaFunctionTests.cs | using System;
using System.IO;
using Xunit;
using Amazon.Lambda.TestTool.Runtime;
namespace Amazon.Lambda.TestTool.Tests
{
public class LoadLambdaFunctionTests
{
[Fact]
public void LoadInstanceMethodWithAssemblySerializer()
{
var configFile = Path.GetFullPath(@"../../../..... | using System;
using System.IO;
using Xunit;
using Amazon.Lambda.TestTool.Runtime;
namespace Amazon.Lambda.TestTool.Tests
{
public class LoadLambdaFunctionTests
{
[Fact]
public void LoadInstaneMethodWithAssemblySerializer()
{
var configFile = Path.GetFullPath(@"../../../../... | apache-2.0 | C# |
fbc06ed03884dfaff65654d9e45b718a6e51c3f4 | update plugin name | heksesang/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,SvenVandenbrande/Emby.Plugins,Pengwyns/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,heksesang/Emby.Plugins,MediaBrowser/Emby.Plugins,SvenVandenbrande/Emby.Plugins,heksesang/Emby.Plugins,hamstercat/Emby.Plugins,MediaBrowser/Emby.Plugins,hamstercat/Emby.Plugins,SvenVan... | EmbyTV/Plugin.cs | EmbyTV/Plugin.cs | using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Model.Serialization;
using EmbyTV.Configuration;
namespace EmbyTV
{
public class Plugin : BasePlugin<PluginConfiguration>
{
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) : b... | using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Model.Serialization;
using EmbyTV.Configuration;
namespace EmbyTV
{
public class Plugin : BasePlugin<PluginConfiguration>
{
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) : b... | mit | C# |
e09c3f24e8532cd75559536c91c4db7eaa465338 | Change Unity Editor Dependent compilation #if UNITY_EDITOR to Application.isEditor to become in a library | Zomig/Logger-Unity,Zomig/Logger-Unity | Assets/Scripts/Logger.cs | Assets/Scripts/Logger.cs | namespace LoggerUnity
{
using UnityEngine;
public class Logger
{
public static void Log(string message)
{
if(Application.isEditor)
Debug.Log(message);
}
}
} | namespace LoggerUnity
{
using UnityEngine;
public class Logger
{
public static void Log(string message)
{
#if UNITY_EDITOR
Debug.Log(message);
#endif
}
}
} | mit | C# |
fba29b49461290f37704801d432f62e237a05b54 | Fix odd GET property responses | Goz3rr/SkypeSharp | SkypeSharp/SkypeObject.cs | SkypeSharp/SkypeObject.cs | using System;
namespace SkypeSharp {
public class SkypeErrorException : Exception {
public SkypeErrorException() {}
public SkypeErrorException(string message) : base(message) {}
}
/// <summary>
/// Class for representing Skype API objects, provides Get and Set methods for properti... | using System;
namespace SkypeSharp {
public class SkypeErrorException : Exception {
public SkypeErrorException() {}
public SkypeErrorException(string message) : base(message) {}
}
/// <summary>
/// Class for representing Skype API objects, provides Get and Set methods for properti... | mit | C# |
fb46a8d1db888b216aac3ddbe306d8c334c1035b | Use name only for reporting missing file | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Base/ArchiveXmlUnit.cs | src/Arkivverket.Arkade.Core/Base/ArchiveXmlUnit.cs | using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Base
{
public class ArchiveXmlUnit
{
public ArchiveXmlFile File { get; }
public List<ArchiveXmlSchema> Schemas { get; }
public ArchiveXmlUnit(ArchiveXmlFile file, List<ArchiveXmlSchema> schemas)
... | using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Base
{
public class ArchiveXmlUnit
{
public ArchiveXmlFile File { get; }
public List<ArchiveXmlSchema> Schemas { get; }
public ArchiveXmlUnit(ArchiveXmlFile file, List<ArchiveXmlSchema> schemas)
... | agpl-3.0 | C# |
f4129a7169ccbf82c67865c81500c902e51952fd | add comment about small delay. | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.LoginService.Droid/AzureLoginService.cs | client/BlueMonkey/BlueMonkey.LoginService.Droid/AzureLoginService.cs | using Microsoft.WindowsAzure.MobileServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BlueMonkey.LoginService.Droid
{
public class AzureLoginService : ILoginService
{
private readonly IMobileServic... | using Microsoft.WindowsAzure.MobileServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace BlueMonkey.LoginService.Droid
{
public class AzureLoginService : ILoginService
{
private readonly IMobileServic... | mit | C# |
4cfd221c9dbf5075dd7256b66b635f247cf7e5e1 | Create Random Number | anbinhtrong/StrongPassword | StrongPassword/Program.cs | StrongPassword/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace StrongPassword
{
class Program
{
static void Main(string[] args)
{
var salt = GenerateRandomSalt(CreateRandomNumber(), 16);
var sha1 = Com... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace StrongPassword
{
class Program
{
static void Main(string[] args)
{
var rng = new RNGCryptoServiceProvider();
var salt = GenerateRandomSalt... | mit | C# |
9523dc537b50d92eb954e55dc1db22bbbb5605ec | Fix to code-signing classifier. (#1176) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/CodeSigningFailureClassifier.cs | tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/CodeSigningFailureClassifier.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.TeamFoundation.Build.WebApi;
namespace Azure.Sdk.Tools.PipelineWitness.Services.FailureAnalysis
{
public class CodeSigningFailureClassifier : IFailureClassifier
{
public ... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.TeamFoundation.Build.WebApi;
namespace Azure.Sdk.Tools.PipelineWitness.Services.FailureAnalysis
{
public class CodeSigningFailureClassifier : IFailureClassifier
{
public ... | mit | C# |
ded58263bfc09687be7de911498d07dd3ba7bcbe | fix unity problems | leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.DI/ContainerConfig.cs | JoinRpg.DI/ContainerConfig.cs | using System.Linq;
using JoinRpg.Common.EmailSending.Impl;
using JoinRpg.Dal.Impl;
using JoinRpg.Experimental.Plugin.Interfaces;
using JoinRpg.PluginHost.Impl;
using JoinRpg.PluginHost.Interfaces;
using JoinRpg.Services.Email;
using JoinRpg.Services.Export;
using JoinRpg.Services.Interfaces;
using JoinRpg.Services.Inte... | using System.Linq;
using JoinRpg.Common.EmailSending.Impl;
using JoinRpg.Dal.Impl;
using JoinRpg.Experimental.Plugin.Interfaces;
using JoinRpg.PluginHost.Impl;
using JoinRpg.PluginHost.Interfaces;
using JoinRpg.Services.Email;
using JoinRpg.Services.Export;
using JoinRpg.Services.Interfaces;
using JoinRpg.Services.Inte... | mit | C# |
fb5ce38be59844ab3c42b2e83d302a6578645609 | Add overloads for GrainServiceClient.GetGrainService with uint and SiloAddress (#8092) | dotnet/orleans,waynemunro/orleans,dotnet/orleans,hoopsomuah/orleans,hoopsomuah/orleans,waynemunro/orleans | src/Orleans.Runtime/Services/GrainServiceClient.cs | src/Orleans.Runtime/Services/GrainServiceClient.cs | using System;
using Microsoft.Extensions.DependencyInjection;
using Orleans.CodeGeneration;
using Orleans.Runtime.ConsistentRing;
using Orleans.Services;
namespace Orleans.Runtime.Services
{
/// <summary>
/// Proxies requests to the appropriate GrainService based on the appropriate Ring partitioning strategy.
... | using System;
using Microsoft.Extensions.DependencyInjection;
using Orleans.CodeGeneration;
using Orleans.Runtime.ConsistentRing;
using Orleans.Services;
namespace Orleans.Runtime.Services
{
/// <summary>
/// Proxies requests to the appropriate GrainService based on the appropriate Ring partitioning strategy.
... | mit | C# |
d5d5d2a3a7c3051e4224eb76217c00adce18abc1 | Update Program.cs | leonmeerfeld/selenium-automation | selenium-automation/selenium-automation/Program.cs | selenium-automation/selenium-automation/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Interactions;
namespace selenium_automation
{
class Program
{
//test
static void Main(string[] args)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Interactions;
namespace selenium_automation
{
class Program
{
static void Main(string[] args)
{
... | mpl-2.0 | C# |
adbda466fb3b87d475e8c8031f62962996afe23a | prepare speedtest | kbilsted/LineCounter.Net | LineCounter.Tests/UnitTest.cs | LineCounter.Tests/UnitTest.cs | using System;
using System.Diagnostics;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TeamBinary.LineCounter;
namespace TeamBinary.LineCounter.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void run()
{
Stopwatch w = Stopwatch.StartNew();
var res... | using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TeamBinary.LineCounter;
namespace TeamBinary.LineCounter.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void DirWalker()
{
var res = new DirWalker().DoWork(@"C:\Us... | apache-2.0 | C# |
d86bd765adbdbc03c1df895b33a84ed87fbbfcb0 | Initialize ApplicationConfigurationException with a message | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfigurationException.cs | src/AppHarbor/ApplicationConfigurationException.cs | using System;
namespace AppHarbor
{
public class ApplicationConfigurationException : Exception
{
public ApplicationConfigurationException(string message)
: base(message)
{
}
}
}
| using System;
namespace AppHarbor
{
public class ApplicationConfigurationException : Exception
{
}
}
| mit | C# |
48fe6e2b8d053b884cfea4113b1bc4208bc2343c | Tweak for .net Standard 1.1 compatibility | markembling/MarkEmbling.Utils,markembling/MarkEmbling.Utilities | src/MarkEmbling.Utils/Extensions/EnumExtensions.cs | src/MarkEmbling.Utils/Extensions/EnumExtensions.cs | using System;
using System.ComponentModel;
using System.Reflection;
namespace MarkEmbling.Utils.Extensions {
public static class EnumExtensions {
/// <summary>
/// Gets the description of a field in an enumeration. If there is no
/// description attribute, the raw name of the field is prov... | using System;
using System.ComponentModel;
using System.Reflection;
namespace MarkEmbling.Utils.Extensions {
public static class EnumExtensions {
/// <summary>
/// Gets the description of a field in an enumeration. If there is no
/// description attribute, the raw name of the field is prov... | mit | C# |
bb31ae5f4c87af2ae2b8b8170e0938479d827f48 | Fix TestGrain | OrleansContrib/OrleansDashboard,OrleansContrib/OrleansDashboard,OrleansContrib/OrleansDashboard | Tests/TestGrains/TestGrain.cs | Tests/TestGrains/TestGrain.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Orleans;
using Orleans.Runtime;
namespace TestGrains
{
public interface ITestGrain : IGrainWithIntegerKey
{
Task ExampleMethod1();
Task ExampleMethod2();
Task<int> ExampleMethod3();
}
public class Test... | using System;
using System.Threading;
using System.Threading.Tasks;
using Orleans;
using Orleans.Runtime;
namespace TestGrains
{
public interface ITestGrain : IGrainWithIntegerKey
{
Task ExampleMethod1();
Task ExampleMethod2();
Task<int> ExampleMethod3();
}
public class Test... | mit | C# |
53110a398a2a5f45acc0fc8a6486dec58f212e10 | Bump version number | smashery/KingsAndQueensHat | KingsAndQueensHat/Properties/AssemblyInfo.cs | KingsAndQueensHat/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# |
775c21834400a1841a233878c7c3bfcf95dc889b | add example to write to the database (PetaPoco) | jgraber/MicroORM_examples,jgraber/MicroORM_examples,jgraber/MicroORM_examples | MicroORM_Dapper/MicroORM_PetaPoco/Program.cs | MicroORM_Dapper/MicroORM_PetaPoco/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MicroORM_Dapper;
using PetaPoco;
namespace MicroORM_PetaPoco
{
class Program
{
static void Main(string[] args)
{
ReadData();
WriteData();
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MicroORM_Dapper;
using PetaPoco;
namespace MicroORM_PetaPoco
{
class Program
{
static void Main(string[] args)
{
ReadData();
}
private static v... | apache-2.0 | C# |
fc4d7c0089d3df6c7a799c74381c79dde6ad4d87 | Test receive and send message | vikekh/stepbot | Vikekh.Stepbot/Program.cs | Vikekh.Stepbot/Program.cs | using SlackAPI;
using System;
using System.Threading;
namespace Vikekh.Stepbot
{
class Program
{
static void Main(string[] args)
{
var botAuthToken = "";
var userAuthToken = "";
var name = "@stepdot";
var age = (new DateTime(2017, 1, 18) - DateTime.Now).Days / 365.0;
var ageString ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vikekh.Stepbot
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
e4fa0cb825e712c961568a568d85e3d0f0cf19dc | Fix menu links | surrealist/ParkingSpace,surrealist/ParkingSpace,surrealist/ParkingSpace | ParkingSpace.Web/Views/Shared/_Layout.cshtml | ParkingSpace.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navb... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navb... | mit | C# |
eb24f6daec50970c90d37217fdcfd8c13dd9256f | Bump version | DotNetAnalyzers/WpfAnalyzers | WpfAnalyzers/Suppressors/Sa1202Suppressor.cs | WpfAnalyzers/Suppressors/Sa1202Suppressor.cs | namespace WpfAnalyzers.Suppressors
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class Sa1202Suppressor : DiagnosticSuppressor
{
... | namespace WpfAnalyzers.Suppressors
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class Sa1202Suppressor : DiagnosticSuppressor
{
... | mit | C# |
e4b30eef9af07d2f65fd2db1aa56ef52b0dab3ef | Add previous page tests | PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination | test/Pioneer.Pagination.Tests/PreviousPageTests.cs | test/Pioneer.Pagination.Tests/PreviousPageTests.cs | using Xunit;
namespace Pioneer.Pagination.Tests
{
/// <summary>
/// Previous Page Tests
/// </summary>
public class PreviousPageTests
{
private readonly PaginatedMetaService _sut = new PaginatedMetaService();
[Fact]
public void PreviousPageNotDisplayed()
{
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Pioneer.Pagination.Tests
{
class PreviousPageTests
{
}
}
| mit | C# |
a8505a2c25b3a1265bbfb326b8f11f6c56200dcc | Print accel data | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/Libraries/Demos/Sensors/Mpu9250/Program.cs | NET/Libraries/Demos/Sensors/Mpu9250/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Treehopper;
using Treehopper.Libraries.Sensors.Inertial;
namespace Mpu9250Demo
{
class Program
{
static void Main(string[] args)
{
App().Wait();
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Treehopper;
using Treehopper.Libraries.Sensors.Inertial;
namespace Mpu9250Demo
{
class Program
{
static void Main(string[] args)
{
App().Wait();
}
... | mit | C# |
6211590a6fa2bcf57f9d804feac0c387407166d8 | Fix archive name for Windows builds | DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | scripts/archiving.cake | scripts/archiving.cake | #load "common.cake"
#load "runhelpers.cake"
using System.IO.Compression;
/// <summary>
/// Package a given output folder using a build identifier generated from the RID and framework identifier.
/// </summary>
/// <param name="platform">The platform</param>
/// <param name="contentFolder">The folder containing the f... | #load "common.cake"
#load "runhelpers.cake"
using System.IO.Compression;
/// <summary>
/// Package a given output folder using a build identifier generated from the RID and framework identifier.
/// </summary>
/// <param name="platform">The platform</param>
/// <param name="contentFolder">The folder containing the f... | mit | C# |
a814e637dcce44baa808f92b740a99cd9c65bf6e | Update assembly version for a new builder release | stevengum97/BotBuilder,msft-shahins/BotBuilder,mmatkow/BotBuilder,Clairety/ConnectMe,xiangyan99/BotBuilder,xiangyan99/BotBuilder,dr-em/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,dr-em/BotBuilder,mmatkow/BotBuilder,Clairety/ConnectMe,dr-em/BotBuilder,stevengum97/BotBuilder,dr-em/BotBuilder,msft-shahins/BotBuil... | CSharp/Library/Properties/AssemblyInfo.cs | CSharp/Library/Properties/AssemblyInfo.cs | using System.Resources;
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 assembl... | using System.Resources;
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 assembl... | mit | C# |
cd708918b33f7049ffaafc71e8ddc78ac93cd55f | Remove unnecessary async | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/HomeController.cs | Battery-Commander.Web/Controllers/HomeController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]... | mit | C# |
7deffcb1b9c1ad202dbda734c2df241d7b92d48a | Add additional functional test cases. | mrwizard82d1/wcf_migration | ClientServerMix/TimeSeriesService.Client/Program.cs | ClientServerMix/TimeSeriesService.Client/Program.cs | using System;
using System.Collections.Generic;
using TimeSeries;
using TimeSeriesService.Client.TimeSeriesReference;
namespace TimeSeriesService.Client
{
class Program
{
static void Main()
{
var proxy = new TimeSeriesServiceClient();
var oneDataPoint = new List<DataPoi... | using System;
using System.Collections.Generic;
using TimeSeries;
using TimeSeriesService.Client.TimeSeriesReference;
namespace TimeSeriesService.Client
{
class Program
{
static void Main()
{
var proxy = new TimeSeriesServiceClient();
var oneDataPoint = new List<DataPoi... | epl-1.0 | C# |
4a0e354e1d26db17307671f586edf77fead2427b | change casing back | mkliu/ToDoApp,mkliu/ToDoApp,mkliu/ToDoApp,mkliu/ToDoApp | ContosoUniversity/ContosoUniversity/KeyVaultUtil.cs | ContosoUniversity/ContosoUniversity/KeyVaultUtil.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using Microsoft.Azure.KeyVault;
using System.Web.Configuration;
using System.Threading.Tasks;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
namespace ContosoUniversity
{
public static class KeyV... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using Microsoft.Azure.KeyVault;
using System.Web.Configuration;
using System.Threading.Tasks;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
namespace ContosoUniversity
{
public static class KeyV... | mit | C# |
e81cf25c9c86a9aac7cb1e5067844975b06bb817 | Update FocusOnPointerPressedBehavior.cs | XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Core/FocusOnPointerPressedBehavior.cs | src/Avalonia.Xaml.Interactions/Core/FocusOnPointerPressedBehavior.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
/// <summary>
/// Focuses t... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
/// <summary>
/// Focuses t... | mit | C# |
3844e95656a756286f8c31106bea35026b3af904 | Fix one more instance of the same thing happening | EVAST9919/osu,DrabWeb/osu,peppy/osu,EVAST9919/osu,Nabile-Rahmani/osu,johnneijzen/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,Frontear/osuKyzer,peppy/osu-new,ZLima12/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,naoey/osu,naoey/osu,NeoAdonis/osu,ppy/osu,smoogipoo... | osu.Game/Input/Bindings/DatabasedKeyBindingContainer.cs | osu.Game/Input/Bindings/DatabasedKeyBindingContainer.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets;
using System.Linq;
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets;
using System.Linq;
... | mit | C# |
0c6f9bcec599ae6c3de862bc0fd66afa50f56d18 | Build and publish nuget package | RockFramework/Rock.Messaging | Rock.Messaging/Properties/AssemblyInfo.cs | Rock.Messaging/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("Ro... | 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("Ro... | mit | C# |
5da1b843655f1cb672acc8b916cb97b0bdaa6fd3 | Remove redundant LINQ method call | faithword/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework,henkmeulekamp/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework,buybackoff/IdentityServer3.EntityFramework | Source/Core.EntityFramework/ScopeStore.cs | Source/Core.EntityFramework/ScopeStore.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Services;
namespace Thinktecture.IdentityServer.Core.EntityFramework
{
public class ScopeStore : IScopeStore
{
private readonly string _connectionString;
public ScopeStore... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Services;
namespace Thinktecture.IdentityServer.Core.EntityFramework
{
public class ScopeStore : IScopeStore
{
private readonly string _connectionString;
public ScopeStore... | apache-2.0 | C# |
6b76f7b4f032c95461d3d0281b2b4ec63edb91ce | Rename var | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University/Models/UniversityModelContext.cs | R7.University/Models/UniversityModelContext.cs | using DotNetNuke.Common.Utilities;
using R7.Dnn.Extensions.Data;
using R7.Dnn.Extensions.Models;
using R7.University.Data;
namespace R7.University.Models
{
public class UniversityModelContext: ModelContextBase
{
public UniversityModelContext (IDataContext dataContext): base (dataContext)
{
... | //
// UniversityModelContext.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016-2018 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Sof... | agpl-3.0 | C# |
de4dd353e065c5ceda6bbbe5c4ecc7ca502cf68d | Fix small offset in low quality minimap image | MHeasell/Mappy,MHeasell/Mappy | Mappy/Util/ImageSampling/NearestNeighbourWrapper.cs | Mappy/Util/ImageSampling/NearestNeighbourWrapper.cs | namespace Mappy.Util.ImageSampling
{
using System.Drawing;
public class NearestNeighbourWrapper : IPixelImage
{
private readonly IPixelImage source;
public NearestNeighbourWrapper(IPixelImage source, int width, int height)
{
this.source = source;
... | namespace Mappy.Util.ImageSampling
{
using System.Drawing;
public class NearestNeighbourWrapper : IPixelImage
{
private readonly IPixelImage source;
public NearestNeighbourWrapper(IPixelImage source, int width, int height)
{
this.source = source;
... | mit | C# |
42fd6bc6636d7359548ae9037e766dd0af1ab2be | remove call of nonexisting method | tkaretsos/ProceduralBuildings,AlexanderMazaletskiy/ProceduralBuildings | Scripts/CameraControl.cs | Scripts/CameraControl.cs | using UnityEngine;
using System.Collections.Generic;
public class CameraControl : MonoBehaviour
{
private enum CameraMode
{
Horizontal,
Free
}
[SerializeField]
private CameraMode _cameraMode = CameraMode.Horizontal;
[SerializeField]
private float _movementSpeed = 10.0f;
[SerializeField]
private fl... | using UnityEngine;
using System.Collections.Generic;
public class CameraControl : MonoBehaviour
{
private enum CameraMode
{
Horizontal,
Free
}
[SerializeField]
private CameraMode _cameraMode = CameraMode.Horizontal;
[SerializeField]
private float _movementSpeed = 10.0f;
[SerializeField]
private fl... | mit | C# |
27b7beda7170785fcfe7cbf7bd680f454c3c06a0 | Update Computer.cs | jkanchelov/Telerik-OOP-Team-StarFruit | TeamworkStarFruit/CatalogueLib/Products/Computer.cs | TeamworkStarFruit/CatalogueLib/Products/Computer.cs | namespace CatalogueLib
{
using System.Text;
using CatalogueLib.Products.Enumerations;
public abstract class Computer : Product
{
public Computer()
{
}
public Computer(int ID, decimal price, bool isAvailable, Brand brand, string CPU, int DriveMemory, string V... | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
public abstract class Computer : Product
{
public Computer()
{
}
public Computer(int ID, decimal price, bool isAvailable, Brand brand, string CPU, int DriveMemory, string VideoCardModel, string Op... | mit | C# |
78acf92baf23ca3e41078da5349ea8cf4f6fdc92 | Remove route debugging | andyfmiller/LtiSamples,andyfmiller/LtiSamples,andyfmiller/LtiSamples | SimpleLti/Global.asax.cs | SimpleLti/Global.asax.cs | using System;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
namespace SimpleLti
{
public class Global : HttpApplication
{
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
AreaRegistr... | using System;
using System.Runtime.Remoting.Channels;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
namespace SimpleLti
{
public class Global : HttpApplication
{
void Application_Start(object sender, EventArgs e)
{
// Code that runs on app... | apache-2.0 | C# |
a23fe528fd122ed36101b0c9bc5dbe212ba94447 | fix bug: webook would fail on validation request | TonyAbell/Office-365-Management-Consumer | subscription_webhook/run.csx | subscription_webhook/run.csx | #r "Newtonsoft.Json"
using System;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public static async Task<object> Run(HttpRequestMessage req, IAsyncCollector<object> metadata, TraceWriter log)
{
log.Info($"Webhook was triggered!");
string jsonContent = await req.Content.ReadAsStringAs... | #r "Newtonsoft.Json"
using System;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public static async Task<object> Run(HttpRequestMessage req, IAsyncCollector<object> metadata, TraceWriter log)
{
log.Info($"Webhook was triggered!");
string jsonContent = await req.Content.ReadAsStringAsy... | mit | C# |
625dc2b22cbdfa1748c04e04c37e9057d70e3a70 | Update RavenUnitOfWorkBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/RavenDB/RavenUnitOfWorkBase.cs | TIKSN.Core/Data/RavenDB/RavenUnitOfWorkBase.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Raven.Client.Documents;
using Raven.Client.Documents.Session;
namespace TIKSN.Data.RavenDB
{
public abstract class RavenUnitOfWorkBase : UnitOfWorkBase
{
protected readonly IAsyncDocumentSession _session;
protected Raven... | using System;
using System.Threading;
using System.Threading.Tasks;
using Raven.Client.Documents;
using Raven.Client.Documents.Session;
namespace TIKSN.Data.RavenDB
{
public abstract class RavenUnitOfWorkBase : UnitOfWorkBase
{
protected readonly IAsyncDocumentSession _session;
protected Raven... | mit | C# |
73d8ff02af320b8ef05156a4268f9996d2c6433b | Fix stress test not creating v2 | mrvoorhe/SaferMutex,mrvoorhe/SaferMutex | SaferMutex.Tests/FileBased/ThreadedStressTestsV2.cs | SaferMutex.Tests/FileBased/ThreadedStressTestsV2.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NiceIO;
using NUnit.Framework;
using SaferMutex.Tests.BaseSuites;
namespace SaferMutex.Tests.FileBased
{
[TestFixture]
public class ThreadedStressTestsV2 : BaseThreadedStressTests
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NiceIO;
using NUnit.Framework;
using SaferMutex.Tests.BaseSuites;
namespace SaferMutex.Tests.FileBased
{
[TestFixture]
public class ThreadedStressTestsV2 : BaseThreadedStressTests
{
... | mit | C# |
ee55f9c0960df298a4110cc02a5b74847b792d8e | Remove unused field. | r3c/Verse | Verse/src/Schemas/QueryString/ReaderContext.cs | Verse/src/Schemas/QueryString/ReaderContext.cs | using System.IO;
using System.Text;
namespace Verse.Schemas.QueryString
{
internal class ReaderContext
{
#region Properties
public int Current
{
get
{
return this.current;
}
}
public int Position
... | using System.IO;
using System.Text;
namespace Verse.Schemas.QueryString
{
internal class ReaderContext
{
#region Properties
public int Current
{
get
{
return this.current;
}
}
public int Position
... | mit | C# |
b2ac99b4d4721c326f0ba4bfba95c576c2189158 | Update AssemblyInfo | Simie/PrecisionEngineering | Src/PrecisionEngineering/Properties/AssemblyInfo.cs | Src/PrecisionEngineering/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("Ro... | mit | C# |
1c9c971e46d4f992c588ef1220bba61313a70852 | Update GetAsync to Take String Param | LiveTiles/Masticore.Net | Http/ApiFactory.cs | Http/ApiFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Masticore.Net.Http
{
[Serializable]
public abstract class ApiFactory
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Masticore.Net.Http
{
[Serializable]
public abstract class ApiFactory
{
... | mit | C# |
7a2c3956284c13ff29e87c414fe12cbdcdf6ba47 | Improve record timestamp precision | criteo/zipkin4net,criteo/zipkin4net | Criteo.Profiling.Tracing/Tracers/Zipkin/ZipkinAnnotation.cs | Criteo.Profiling.Tracing/Tracers/Zipkin/ZipkinAnnotation.cs | using System;
namespace Criteo.Profiling.Tracing.Tracers.Zipkin
{
internal class ZipkinAnnotation
{
private readonly DateTime _timestamp;
private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
internal string Value { get; private set; }
... | using System;
namespace Criteo.Profiling.Tracing.Tracers.Zipkin
{
internal class ZipkinAnnotation
{
private readonly DateTime _timestamp;
internal string Value { get; private set; }
public ZipkinAnnotation(DateTime timestamp, string value)
{
_timestamp = timestamp... | apache-2.0 | C# |
8ef49d527799d6580d3e8f1c1ab43b87794441ac | Change ApiKey to AppId add RequireApiAuthToken | thewizster/hanc,thewizster/hanc | AspNetAPI/Options.cs | AspNetAPI/Options.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hanc.AspNetAPI
{
/// <summary>
/// The options pattern uses custom options classes to represent a group of related settings.
/// See Startup.cs and ValuesController.cs for implimentation code
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hanc.AspNetAPI
{
/// <summary>
/// The options pattern uses custom options classes to represent a group of related settings.
/// See Startup.cs and ValuesController.cs for implimentation code
///... | mit | C# |
ddb42f3bd11878163eab67a0a042a1ab6f05fed8 | Add accessors to SuperPower class | LeBodro/super-salaryman-2044 | Assets/SuperPower.cs | Assets/SuperPower.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SuperPower : MonoBehaviour
{
[SerializeField] string power;
[SerializeField] Texture2D icon;
public string Power { get { return power; } }
public Texture2D Icon { get { return icon; } }
void Start()
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SuperPower : MonoBehaviour
{
[SerializeField] string power;
[SerializeField] Texture2D icon;
}
| mit | C# |
3b56b93ba1822149d495d560263679d7d14ab80e | Make the designer work in the sandbox project. | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Ava... | samples/Sandbox/Program.cs | samples/Sandbox/Program.cs | using Avalonia;
namespace Sandbox
{
public class Program
{
static void Main(string[] args) => BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
public static AppBuilder BuildAvaloniaApp() =>
AppBuilder.Configure<App>()
.UsePlatformDetect()
... | using Avalonia;
namespace Sandbox
{
public class Program
{
static void Main(string[] args)
{
AppBuilder.Configure<App>()
.UsePlatformDetect()
.LogToTrace()
.StartWithClassicDesktopLifetime(args);
}
}
}
| mit | C# |
e8be0538cb9fb78ce4bc074fd32dbcc96040047c | Add support for web links | aspnet/WebHooks,aspnet/WebHooks | src/Microsoft.AspNet.WebHooks.Receivers.VSTS/Payloads/GitPullLinks.cs | src/Microsoft.AspNet.WebHooks.Receivers.VSTS/Payloads/GitPullLinks.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 Newtonsoft.Json;
namespace Microsoft.AspNet.WebHooks.Payloads
{
/// <summary>
/// Links for the Pull Request
/// </summary>
publ... | // 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 Newtonsoft.Json;
namespace Microsoft.AspNet.WebHooks.Payloads
{
/// <summary>
/// Links for the Pull Request
/// </summary>
publ... | apache-2.0 | C# |
80d62001feeaab48cee4cb58938e650ff8557031 | Refactor Code | ishu3101/Wox.Plugin.ChangeCase | Wox.Plugin.ChangeCase/Main.cs | Wox.Plugin.ChangeCase/Main.cs | using System;
using System.Windows.Forms;
using System.Collections.Generic;
namespace Wox.Plugin.ChangeCase
{
public class Main : IPlugin
{
public void Init(PluginInitContext context) { }
public List<Result> Query(Query query)
{
List<Result> results = new List<Result>();
... | using System.Windows.Forms;
using System.Collections.Generic;
namespace Wox.Plugin.ChangeCase
{
public class Main : IPlugin
{
public void Init(PluginInitContext context) { }
public List<Result> Query(Query query)
{
List<Result> results = new List<Result>();
var ... | mit | C# |
e64fd7b61e64e58e5555fe1dfd63a2d256ab20f5 | Change server | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Helpers/TestHelper.cs | src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Helpers/TestHelper.cs | using System;
using System.Configuration;
using System.IO;
using Microsoft.Extensions.Caching.Memory;
using NUnit.Framework;
using Wikiled.Amazon.Logic;
using Wikiled.Redis.Config;
using Wikiled.Redis.Logic;
using Wikiled.Sentiment.Analysis.Processing;
using Wikiled.Sentiment.Analysis.Processing.Splitters;
using Wikil... | using System;
using System.Configuration;
using System.IO;
using Microsoft.Extensions.Caching.Memory;
using NUnit.Framework;
using Wikiled.Amazon.Logic;
using Wikiled.Redis.Config;
using Wikiled.Redis.Logic;
using Wikiled.Sentiment.Analysis.Processing;
using Wikiled.Sentiment.Analysis.Processing.Splitters;
using Wikil... | apache-2.0 | C# |
3142e3efac6e1324590d0696cc45e472fb498af7 | Add virtual to SaveOrUpdate | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/RepositorySaveOrUpdate.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/RepositorySaveOrUpdate.cs | using System;
using System.Threading.Tasks;
using Smooth.IoC.Repository.UnitOfWork.Extensions;
using Smooth.IoC.UnitOfWork;
namespace Smooth.IoC.Repository.UnitOfWork
{
public abstract partial class Repository< TEntity, TPk>
where TEntity : class
where TPk : IComparable
{
public virt... | using System;
using System.Threading.Tasks;
using Smooth.IoC.Repository.UnitOfWork.Extensions;
using Smooth.IoC.UnitOfWork;
namespace Smooth.IoC.Repository.UnitOfWork
{
public abstract partial class Repository< TEntity, TPk>
where TEntity : class
where TPk : IComparable
{
public TPk ... | mit | C# |
0ad5dd8e1640acb077ea45d660f3ecf59bc17164 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.28")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.27")] | mit | C# |
6f9c99e9a600416ecb383c43adb7d4c96134ea71 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.2")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.1")] | mit | C# |
fc1b7a2e058d6bb1236bc447f1a8c8245f741ff8 | Fix format strings inside Const | lou1306/CIV,lou1306/CIV | CIV.Ccs/Const.cs | CIV.Ccs/Const.cs | using System;
namespace CIV.Ccs
{
public static class Const
{
public static readonly string tau = GetLiteral(CcsLexer.TAU);
public static readonly string nil = GetLiteral(CcsLexer.NIL);
public static readonly string par = GetLiteral(CcsLexer.PAR);
public static readonly string prefix = GetL... | using System;
namespace CIV.Ccs
{
public static class Const
{
public static readonly string tau = GetLiteral(CcsLexer.TAU);
public static readonly string nil = GetLiteral(CcsLexer.NIL);
public static readonly string par = GetLiteral(CcsLexer.PAR);
public static readonly string prefix = GetL... | mit | C# |
1447b5e8beb81a6f8b359ba1606f31f00c8e320a | Add top margin to 2FA screen heading (#986) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Manage/TwoFactorAuthentication.cshtml | BTCPayServer/Views/Manage/TwoFactorAuthentication.cshtml | @model TwoFactorAuthenticationViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.TwoFactorAuthentication, "Two-factor authentication");
}
@if(Model.Is2faEnabled)
{
if(Model.RecoveryCodesLeft == 0)
{
<div class="alert alert-danger">
<strong>You have no recovery codes left.</stron... | @model TwoFactorAuthenticationViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.TwoFactorAuthentication, "Two-factor authentication");
}
@if(Model.Is2faEnabled)
{
if(Model.RecoveryCodesLeft == 0)
{
<div class="alert alert-danger">
<strong>You have no recovery codes left.</stron... | mit | C# |
723799949217fea5438b8b8264a200eb1262a753 | Add GET All Names endpoint | Salgat/EventSourcing-Demo | DataReader/DataReader/Controllers/NameQueryController.cs | DataReader/DataReader/Controllers/NameQueryController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using DataReader.BusinessLogic;
using DataReader.Models;
namespace DataReader.Controllers
{
[RoutePrefix("api")]
public class NameQueryController : ApiCon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using DataReader.BusinessLogic;
using DataReader.Models;
namespace DataReader.Controllers
{
[RoutePrefix("api")]
public class NameQueryController : ApiCon... | mit | C# |
d3335838edb479de816ca7d894da8d810c505ed9 | update version number; | functionGHW/JsonTextViewer | JsonTextViewer/JsonTextViewer/Properties/AssemblyInfo.cs | JsonTextViewer/JsonTextViewer/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# |
8a6849717897bafcfbc6e47d27cf065df1bd1f5d | Add TODO on fake CallNumber | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | using System;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
public int ParticipantId { get; set; }
public int ContactId { get; set; }
public int Househo... | using System;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
public int ParticipantId { get; set; }
public int ContactId { get; set; }
public int Househo... | bsd-2-clause | C# |
1baf9104aa8b805495195bc048e36943d947df6f | return null on DashboardController.Home if not allowed | AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/framework,signumsoftware/extensions,signumsoftware/framework,AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/extensions | Signum.React.Extensions/Dashboard/DashboardController.cs | Signum.React.Extensions/Dashboard/DashboardController.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Signum.Engine.Authorization;
using Signum.Entities;
using Signum.Entities.Authorization;
using Signum.Services;
using Signum.U... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Signum.Engine.Authorization;
using Signum.Entities;
using Signum.Entities.Authorization;
using Signum.Services;
using Signum.U... | mit | C# |
31de56936f3e698284801b8144e63c15eef8d193 | Improve TCP reading code to read more than 4096 bytes if available | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Xgminer.Api/ApiContext.cs | MultiMiner.Xgminer.Api/ApiContext.cs | using MultiMiner.Xgminer.Api.Parsers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer.Api
{
public class ApiContext
{
private TcpClient tcpClient;
public ApiContext(int po... | using MultiMiner.Xgminer.Api.Parsers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer.Api
{
public class ApiContext
{
private TcpClient tcpClient;
public ApiContext(int po... | mit | C# |
930aead170d737a6693b298694cf9438431ef490 | Change access level (.NET). | mntone/UniversityScheduleClient,mntone/UniversityScheduleClient | NET/UniversitySchedule.Core/Class.cs | NET/UniversitySchedule.Core/Class.cs | using System;
using System.Runtime.Serialization;
namespace Mntone.UniversitySchedule.Core
{
/// <summary>
/// Class
/// </summary>
[DataContract]
public sealed class Class
{
private const string DATE_FORMAT = "yyyy'-'MM'-'dd";
private Class() { }
/// <summary>
/// Constructor
/// </summary>
/// <... | using System;
using System.Runtime.Serialization;
namespace Mntone.UniversitySchedule.Core
{
/// <summary>
/// Class
/// </summary>
[DataContract]
public sealed class Class
{
private static readonly string DATE_FORMAT = "yyyy'-'MM'-'dd";
private Class() { }
/// <summary>
/// Constructor
/// </summar... | mit | C# |
04bdebb999745359f4922f2e16e2891a2db85a55 | Delete TODO list | mshmelev/Shaspect | ShaspectBuilder/ShaspectBuildTask.cs | ShaspectBuilder/ShaspectBuildTask.cs | using System;
using System.Diagnostics;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Shaspect.Builder
{
public class ShaspectBuildTask : Task
{
[Required]
public string AssemblyFile { get; set; }
[Required]
public string References { get; set; }... | using System;
using System.Diagnostics;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Shaspect.Builder
{
public class ShaspectBuildTask : Task
{
[Required]
public string AssemblyFile { get; set; }
[Required]
public string References { get; set; }... | mit | C# |
ebd13ba268887b5f607c1dae79a9121247272834 | fix compile bug | doubleleft/hook-csharp | Hook/Request.cs | Hook/Request.cs | using System;
using System.Net;
using RestSharp;
using JsonFx.Serialization;
using JsonFx.Json;
namespace Hook
{
public class Request
{
public RestClient client;
public RestRequest request;
// protected object resultType = null;
public Request (RestClient client, RestRequest request)
{
this.client = ... | using System;
using System.Net;
using RestSharp;
using JsonFx.Serialization;
using JsonFx.Json;
namespace Hook
{
public class Request
{
public RestClient client;
public RestRequest request;
protected object resultType = null;
public Request (RestClient client, RestRequest request)
{
this.client = c... | mit | C# |
7c602a916ab1c72a9240320ce5096920ea07bc85 | Refactor BaseForm uses Machine.Evaluate | ajlopez/ClojSharp | Src/ClojSharp.Core/Forms/BaseForm.cs | Src/ClojSharp.Core/Forms/BaseForm.cs | namespace ClojSharp.Core.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
using ClojSharp.Core.Exceptions;
public abstract class BaseForm : IForm
{
public object Evaluate(Context context, ILi... | namespace ClojSharp.Core.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
using ClojSharp.Core.Exceptions;
public abstract class BaseForm : IForm
{
public object Evaluate(Context context, ILi... | mit | C# |
e366aea629385975f3eecff73b3869ad33d18f82 | Revert "Remove IEndpointDeliveryService<TEndpoint>" | justinjstark/Delivered,justinjstark/Verdeler | Verdeler/IEndpointDeliveryService.cs | Verdeler/IEndpointDeliveryService.cs | namespace Verdeler
{
public interface IEndpointDeliveryService
{
void Deliver(IDistributable distributable, IEndpoint endpoint);
}
public interface IEndpointDeliveryService<in TEndpoint> : IEndpointDeliveryService
{
void Deliver(IDistributable distributable, TEndpoint endpoint);
... | namespace Verdeler
{
public interface IEndpointDeliveryService
{
void Deliver(IDistributable distributable, IEndpoint endpoint);
}
public interface IEndpointDeliveryService<in TDistributable, in TEndpoint> : IEndpointDeliveryService
where TDistributable : IDistributable
where T... | mit | C# |
c963effd59e099cf9dc5ccc9c6120a6276ed57af | Add Rotate methods contributed by CLA signers | charlenni/Mapsui,charlenni/Mapsui | Mapsui/MPoint2.cs | Mapsui/MPoint2.cs | using Mapsui.Utilities;
namespace Mapsui;
public class MPoint2
{
public double X { get; set; }
public double Y { get; set; }
/// <summary>
/// Calculates a new point by rotating this point clockwise about the specified center point
/// </summary>
/// <param name="degrees">Angle to rotate... | namespace Mapsui;
public class MPoint2
{
public double X { get; set; }
public double Y { get; set; }
}
| mit | C# |
81ab82fafe13df7aa513c5d64f3bb205feac6102 | Tidy up nesting | UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu | osu.Game.Tournament/Components/TournamentModIcon.cs | osu.Game.Tournament/Components/TournamentModIcon.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.... | mit | C# |
74647c35c7f0adad1c468682e70aa1861aa9ed08 | Update Cake.Issues.Recipe to 0.3.4 | cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe | Cake.Recipe/Content/addins.cake | Cake.Recipe/Content/addins.cake | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.9.1
#addin nuget:?package=Cake.Coveralls&version=0.10.2
#addin nuget:?package=Cake.Coverlet&version=2.4.... | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.9.1
#addin nuget:?package=Cake.Coveralls&version=0.10.2
#addin nuget:?package=Cake.Coverlet&version=2.4.... | mit | C# |
9b6fe121bd14aaa8f1267c5d1dd53364a0581bb2 | Update BehaviorOfT.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactivity/BehaviorOfT.cs | src/Avalonia.Xaml.Interactivity/BehaviorOfT.cs | using System;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors making them code compatible with older frameworks,
/// and allow for typed associated objects.
/// </summary>
/// <typeparam name="T">The object type to attach to</typeparam>
public abstract clas... | using System;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors making them code compatible with older frameworks,
/// and allow for typed associated objects.
/// </summary>
/// <typeparam name="T">The object type to attach to</typeparam>
public abstract clas... | mit | C# |
29df2644e0c9f3af0b6be43dca75ca39e0714baf | Fix internal path for embedded client | Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prot... | src/Glimpse.Server/Resources/ClientResource.cs | src/Glimpse.Server/Resources/ClientResource.cs | using System.Reflection;
using Glimpse.Server.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.FileProviders;
using Microsoft.AspNet.StaticFiles;
namespace Glimpse.Server.Resources
{
public class ClientResource : IResourceStartup
{
public void Configure(IResourceBuilder resourceBuilder)
... | using System.Reflection;
using Glimpse.Server.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.FileProviders;
using Microsoft.AspNet.StaticFiles;
namespace Glimpse.Server.Resources
{
public class ClientResource : IResourceStartup
{
public void Configure(IResourceBuilder resourceBuilder)
... | mit | C# |
9963adcfafa606d9e6481836fcfe556fba244171 | fix RSFTest | fengyhack/csharp-sdk,qiniu/csharp-sdk | Qiniu.Test/RSF/RSFClientTest.cs | Qiniu.Test/RSF/RSFClientTest.cs | using System;
using System.Collections.Generic;
using NUnit.Framework;
using Qiniu.RSF;
using Qiniu.Conf;
using Qiniu.Test.TestHelper;
namespace Qiniu.Test.RSF
{
/// <summary>
///这是 RSFClientTest 的测试类,旨在
///包含所有 RSFClientTest 单元测试
///</summary>
[TestFixture]
public class RSFClientTest:QiniuTestBase
{
private ... | using System;
using System.Collections.Generic;
using NUnit.Framework;
using Qiniu.RSF;
using Qiniu.Conf;
using Qiniu.Test.TestHelper;
namespace Qiniu.Test.RSF
{
/// <summary>
///这是 RSFClientTest 的测试类,旨在
///包含所有 RSFClientTest 单元测试
///</summary>
[TestFixture]
public class RSFClientTest:QiniuTestBase
{
private ... | mit | C# |
33d51c75c7abbdb2d050d06cecf9f26f1ec29ec6 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.53")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.52")] | mit | C# |
49949bf6984d712a0e3267f7f23350180983888d | fix minor param/directive errors | johnneijzen/osu,peppy/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,naoey/osu,Nabile-Rahmani/osu,ZLima12/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,peppy/os... | osu.Game/Overlays/BeatmapSet/HeaderButton.cs | osu.Game/Overlays/BeatmapSet/HeaderButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Framework.Audio;
using osu.Framework.Allocation;
names... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Graphics.User... | mit | C# |
976e19629e9a9d79a03a29c3a04b85affb9e60f3 | Add hr under biography | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/Views/User/Profile.cshtml | src/ChessVariantsTraining/Views/User/Profile.cshtml | @model ChessVariantsTraining.ViewModels.User
@section Title {Profile page of @Model.Username}
@section AddToHead {
<link rel="stylesheet" href="@Url.Content("~/styles/profile.css")">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.1/Chart.bundle.min.js"></script>
<sc... | @model ChessVariantsTraining.ViewModels.User
@section Title {Profile page of @Model.Username}
@section AddToHead {
<link rel="stylesheet" href="@Url.Content("~/styles/profile.css")">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.1/Chart.bundle.min.js"></script>
<sc... | agpl-3.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.