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 |
|---|---|---|---|---|---|---|---|---|
82637fe28e3272010dcbc8e74d7c7ed854d145c5 | Remove obsolete ICONS_FOLDER_PATH | PhannGor/unity3d-rainbow-folders | Assets/RainbowItems/Editor/CustomBrowserIcons.cs | Assets/RainbowItems/Editor/CustomBrowserIcons.cs | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | apache-2.0 | C# |
4168e8ee45b7914765898ae8c0e12bfe7e8a0c79 | use correct tools version, visual studio 2010 uses 4.0 | dnauck/AspSQLProvider,dnauck/AspSQLProvider | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.454
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//... | using System.Reflection;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.5446
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
/... | mit | C# |
8908bfabe59c4de0169761ff5592278f76caead3 | Add "logout" alias to LogoutAuthCommand | appharbor/appharbor-cli | src/AppHarbor/Commands/LogoutAuthCommand.cs | src/AppHarbor/Commands/LogoutAuthCommand.cs | using System.IO;
namespace AppHarbor.Commands
{
[CommandHelp("Logout of AppHarbor", alias: "logout")]
public class LogoutAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
private readonly TextWriter _writer;
public LogoutAuthCommand(IAccessTokenConfiguration acce... | using System.IO;
namespace AppHarbor.Commands
{
[CommandHelp("Logout of AppHarbor")]
public class LogoutAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
private readonly TextWriter _writer;
public LogoutAuthCommand(IAccessTokenConfiguration accessTokenConfigurat... | mit | C# |
44d3442492ad90567e12e251a38380fc6dd92047 | Document PoEStashTabColor | jcmoyer/Yeena | Yeena/PathOfExile/PoEStashTabColor.cs | Yeena/PathOfExile/PoEStashTabColor.cs | // Copyright 2013 J.C. Moyer
//
// 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 ... | // Copyright 2013 J.C. Moyer
//
// 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 ... | apache-2.0 | C# |
ebdc98a90974a0d09fed49eb673ce7fa66b98a3b | Debug keys | AppCreativity/Kliva | src/Kliva/Models/StravaIdentityConstants.cs | src/Kliva/Models/StravaIdentityConstants.cs | namespace Kliva.Models
{
public static class StravaIdentityConstants
{
// These keys should be used for testing/debugging purposes only.
public const string STRAVA_AUTHORITY_CLIENT_ID = "14473";
public const string STRAVA_AUTHORITY_CLIENT_SECRET = "2d438723e18ffe0a4a2711d1e8730134071295... | namespace Kliva.Models
{
public static class StravaIdentityConstants
{
public const string STRAVA_AUTHORITY_CLIENT_ID = "0";
public const string STRAVA_AUTHORITY_CLIENT_SECRET = "riiiiight :)";
public const string GOOGLE_MAP_API = "bliep bliep";
}
}
| mit | C# |
2332db49a227cc0e2ac90fa35ba77e389e25dd0a | Fix a typo | openmedicus/gtk-sharp,Gankov/gtk-sharp,sillsdev/gtk-sharp,openmedicus/gtk-sharp,openmedicus/gtk-sharp,Gankov/gtk-sharp,sillsdev/gtk-sharp,akrisiun/gtk-sharp,orion75/gtk-sharp,akrisiun/gtk-sharp,sillsdev/gtk-sharp,openmedicus/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,orion75/gtk-sharp,openmedicus/gtk-sharp,akrisiun/... | gio/FileFactory.cs | gio/FileFactory.cs | //
// FileFactory.cs
//
// Author(s):
// Stephane Delcroix <stephane@delcroix.org>
//
// Copyright (c) 2008 Stephane Delcroix
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software Foun... | //
// FileFactory.cs
//
// Author(s):
// Stephane Delcroix <stephane@delcroix.org>
//
// Copyright (c) 2008 Stephane Delcroix
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software Foun... | lgpl-2.1 | C# |
e9e16c6eefe0e10ed19da15187b42501393d323a | bump to v0.2.1 | peters/assemblyinfo | src/assemblyinfo/Properties/AssemblyInfo.cs | src/assemblyinfo/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("as... | 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("as... | mit | C# |
598fd73e4c6052c64aa539898352eae88931a55e | Update detection sample web app | wangkanai/Detection | sample/Detection/Views/Home/Index.cshtml | sample/Detection/Views/Home/Index.cshtml | @model Wangkanai.Detection.Services.IDetectionService
@{
ViewData["Title"] = "Detection";
}
<h3>UserAgent</h3>
<code>@Model.UserAgent</code>
<h3>Results</h3>
<table>
<thead>
<tr>
<th>Resolver</th>
<th>Type</th>
<th>Version</th>
</tr>
</thead>
<tbod... | @model Wangkanai.Detection.Services.IDetectionService
@{
ViewData["Title"] = "Detection";
}
<h3>UserAgent</h3>
<code>@Model.UserAgent</code>
<h3>Results</h3>
<table>
<thead>
<tr>
<th>Resolver</th>
<th>Type</th>
<th>Version</th>
</tr>
</thead>
<tbod... | apache-2.0 | C# |
622cd17393238df2fea2e58493ab6b765b68e71a | Use cached images if available | MilenPavlov/PortableRazorStarterKit,MilenPavlov/PortableRazorStarterKit,xamarin/PortableRazorStarterKit,xamarin/PortableRazorStarterKit | PortableCongress/AndroidCongress/MainActivity.cs | PortableCongress/AndroidCongress/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Webkit;
using Android.OS;
using Congress;
using PortableCongress;
namespace AndroidCongress
{
[Activity (Label = "@string/app_name", MainLauncher = true, ScreenOrientation = Android.Content.PM.ScreenOrientation.Portrait)]
public class MainActivity... | using System;
using Android.App;
using Android.Content;
using Android.Webkit;
using Android.OS;
using Congress;
using PortableCongress;
namespace AndroidCongress
{
[Activity (Label = "@string/app_name", MainLauncher = true, ScreenOrientation = Android.Content.PM.ScreenOrientation.Portrait)]
public class MainActivity... | mit | C# |
4a24ec2c197d3abbfe8ec6f3e9b33a954a98c79b | Update test namespace | codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api,schlos/denver-schedules-api | Schedules.API.Tests/Models/StreetSweepingTest.cs | Schedules.API.Tests/Models/StreetSweepingTest.cs | using NUnit.Framework;
using Schedules.API.Models;
namespace Schedules.API.Tests.Models
{
[TestFixture]
public class StreetSweepingTest
{
[Test]
public void ShouldHandleNullSweepingData()
{
var ss = new StreetSweeping () {
FullName = "hello"
};
Assert.DoesNotThrow(() => ss... | using NUnit.Framework;
using Schedules.API.Models;
namespace Schedules.API.Tests
{
[TestFixture]
public class StreetSweepingTest
{
[Test]
public void ShouldHandleNullSweepingData()
{
var ss = new StreetSweeping () {
FullName = "hello"
};
Assert.DoesNotThrow(() => ss.Create... | mit | C# |
9fffea9d57d888be2db568991eedc15329fed3a9 | Update LoggingSetupBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Logging/LoggingSetupBase.cs | TIKSN.Core/Analytics/Logging/LoggingSetupBase.cs | using Microsoft.Extensions.Logging;
namespace TIKSN.Analytics.Logging
{
public abstract class LoggingSetupBase : ILoggingSetup
{
public virtual void Setup(ILoggingBuilder loggingBuilder)
{
loggingBuilder.AddDebug();
}
}
} | using Microsoft.Extensions.Logging;
namespace TIKSN.Analytics.Logging
{
public abstract class LoggingSetupBase : ILoggingSetup
{
protected readonly ILoggerFactory _loggerFactory;
protected LoggingSetupBase(ILoggerFactory loggerFactory)
{
_loggerFactory = loggerFactory;
... | mit | C# |
8df646acca06a78e999faf6183162251dfd5bd21 | Add drop-down menu for concerts. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Views/Shared/_MenuBar.cshtml | src/CGO.Web/Views/Shared/_MenuBar.cshtml | @functions {
private string GetCssClass(string actionName, string controllerName)
{
var currentControllerName = ViewContext.RouteData.Values["controller"].ToString();
var isCurrentController = currentControllerName == controllerName;
if (currentControllerName == "Home")
{
... | @functions {
private string GetCssClass(string actionName, string controllerName)
{
var currentControllerName = ViewContext.RouteData.Values["controller"].ToString();
var isCurrentController = currentControllerName == controllerName;
if (currentControllerName == "Home")
{
... | mit | C# |
93589f2a44094cbe0582644d1696da1f6f81da34 | Change to use ThreadLocal<T> from TheadStatic (#28) | dennisroche/DateTimeProvider | src/DateTimeProvider/DateTimeProvider.cs | src/DateTimeProvider/DateTimeProvider.cs | using System;
using System.Threading;
using DateTimeProviders;
// ReSharper disable CheckNamespace
// Using global:: namespace
public static class DateTimeProvider
{
private static readonly ThreadLocal<IDateTimeProvider> ProviderThreadLocal;
static DateTimeProvider()
{
ProviderThreadLocal = new ... | using System;
using DateTimeProviders;
// ReSharper disable CheckNamespace
// Using global:: namespace
public static class DateTimeProvider
{
[ThreadStatic]
private static IDateTimeProvider _provider;
static DateTimeProvider()
{
Provider = new UtcDateTimeProvider();
}
public static ... | mit | C# |
88c29fe2c11f6311c332321d133bc0be10ab9b2e | Refactor - Move Skip, Take duplicate code | umutozel/DynamicQueryable | src/DynamicQueryable/DynamicQueryable.cs | src/DynamicQueryable/DynamicQueryable.cs | using System.Collections.Generic;
using System.Linq.Expressions;
using Jokenizer.Net;
namespace System.Linq.Dynamic {
public static partial class DynamicQueryable {
public static IQueryable<T> As<T>(this IQueryable source) {
return (IQueryable<T>)source;
}
public static IQuer... | using System.Collections.Generic;
using System.Linq.Expressions;
using Jokenizer.Net;
namespace System.Linq.Dynamic {
public static partial class DynamicQueryable {
public static IQueryable<T> As<T>(this IQueryable source) {
return (IQueryable<T>)source;
}
public static IQuer... | mit | C# |
5496abdc7e0b9a5c54be26c1a8ad964a3eae03e3 | Change cache version | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CacheVersion.cs | resharper/resharper-unity/src/CacheVersion.cs | using JetBrains.Annotations;
using JetBrains.Application.PersistentMap;
using JetBrains.Serialization;
namespace JetBrains.ReSharper.Plugins.Unity
{
// Cache version
[PolymorphicMarshaller(19)]
public class CacheVersion
{
[UsedImplicitly] public static UnsafeReader.ReadDelegate<object> ReadDele... | using JetBrains.Annotations;
using JetBrains.Application.PersistentMap;
using JetBrains.Serialization;
namespace JetBrains.ReSharper.Plugins.Unity
{
// Cache version
[PolymorphicMarshaller(35)]
public class CacheVersion
{
[UsedImplicitly] public static UnsafeReader.ReadDelegate<object> ReadDele... | apache-2.0 | C# |
b01e2ce24cee465f97126c41c23f1d7140ad69db | Fix NH-2480 | nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,fr... | src/NHibernate.Test/Linq/LinqTestCase.cs | src/NHibernate.Test/Linq/LinqTestCase.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NHibernate.DomainModel.Northwind.Entities;
using NUnit.Framework;
using SharpTestsEx;
namespace NHibernate.Test.Linq
{
public class LinqTestCase : ReadonlyTestCase
{
private Northwind _northwind;
priv... | using System;
using System.Collections;
using System.Collections.Generic;
using NHibernate.DomainModel.Northwind.Entities;
using NUnit.Framework;
namespace NHibernate.Test.Linq
{
public class LinqTestCase : ReadonlyTestCase
{
private Northwind _northwind;
private ISession _session;
protected ove... | lgpl-2.1 | C# |
9ae6d9d632fbe7a604d842d20d732fbff916de03 | Allow html descriptions | spadger/patent-spoiler,spadger/patent-spoiler,spadger/patent-spoiler | src/PatentSpoiler/Views/Item/View.cshtml | src/PatentSpoiler/Views/Item/View.cshtml | @model PatentSpoiler.App.DTOs.Item.DisplayItemViewModel
@{
ViewBag.Title = Model.Name;
Layout = "~/Views/Shared/_Layout.cshtml";
Bundles.Reference("scripts/custom/item", "end");
}
@section head{
}
@if (Model.LatestId.HasValue)
{
<p class="bg-warning">You are looking at an old verison of this ite... | @model PatentSpoiler.App.DTOs.Item.DisplayItemViewModel
@{
ViewBag.Title = Model.Name;
Layout = "~/Views/Shared/_Layout.cshtml";
Bundles.Reference("scripts/custom/item", "end");
}
@section head{
}
@if (Model.LatestId.HasValue)
{
<p class="bg-warning">You are looking at an old verison of this ite... | apache-2.0 | C# |
484478110e52c653f0dba98a7c7a8f47a0a57217 | Add null checker | inputfalken/Sharpy | src/Sharpy/src/Implementation/ExtensionMethods/ReadOnlyListExtensions.cs | src/Sharpy/src/Implementation/ExtensionMethods/ReadOnlyListExtensions.cs | using System;
using System.Collections.Generic;
namespace Sharpy.Implementation.ExtensionMethods {
internal static class ReadOnlyListExtensions {
internal static T RandomItem<T>(this IReadOnlyList<T> list, Random random) => list != null
? random != null
? list[random.Next(list.... | using System;
using System.Collections.Generic;
namespace Sharpy.Implementation.ExtensionMethods {
internal static class ReadOnlyListExtensions {
internal static T RandomItem<T>(this IReadOnlyList<T> list, Random random) => list[random.Next(list.Count)];
}
} | mit | C# |
5fa308888de7f33f592b09563be71014d59b0190 | Fix start video | octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype | src/csharp/start-video.cs | src/csharp/start-video.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Extensibility;
public class Startup
{
public Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Extensibility;
public class Startup
{
public Con... | mit | C# |
7e38c1e80348b516aa89c0f1110fc551c879da78 | use NRT | physhi/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,eriawan/roslyn,bartdesmet/roslyn,mavasani/roslyn,physhi/roslyn,KevinRansom/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,AmadeusW/roslyn,eriawan/roslyn,weltkante/roslyn,diryboy/roslyn,dotnet/roslyn,mavasani/roslyn,sharwell/roslyn,eri... | src/Features/Core/Portable/AddParameter/IAddParameterService.cs | src/Features/Core/Portable/AddParameter/IAddParameterService.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;
namespace Microsoft.CodeAnalysis.AddParameter
{
internal... | // 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.
#nullable disable
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.AddParam... | mit | C# |
fe7933af541dadd468e81823e49ea3837faebb1e | Revert "MemoryCacheの設定を親クラスに移動" | SunriseDigital/cs-sdx | Sdx/Web/DeviceRedirectHttpModule.cs | Sdx/Web/DeviceRedirectHttpModule.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Caching;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
namespace Sdx.Web
{
public abstract class DeviceRedirectHttpModule : IHttpModule
{
private ... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Runtime.Caching;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
namespace Sdx.Web
{
public abstract class DeviceRedirectHtt... | mit | C# |
d06b5d7d03d4fe0047d1d346172ed45177e4a3b9 | Update ElementBase.cs | genusP/linq2db,giuliohome/linq2db,jogibear9988/linq2db,genusP/linq2db,LinqToDB4iSeries/linq2db,sdanyliv/linq2db,inickvel/linq2db,MaceWindu/linq2db,MaceWindu/linq2db,linq2db/linq2db,AK107/linq2db,AK107/linq2db,jogibear9988/linq2db,sdanyliv/linq2db,ronnyek/linq2db,LinqToDB4iSeries/linq2db,lvaleriu/linq2db,enginekit/linq2... | Source/Configuration/ElementBase.cs | Source/Configuration/ElementBase.cs | using System;
using System.Collections.Specialized;
using System.Configuration;
namespace LinqToDB.Configuration
{
public abstract class ElementBase : ConfigurationElement
{
private readonly ConfigurationPropertyCollection _properties = new ConfigurationPropertyCollection();
protected override Configu... | using System;
using System.Collections.Specialized;
using System.Configuration;
namespace LinqToDB.Configuration
{
internal abstract class ElementBase : ConfigurationElement
{
private readonly ConfigurationPropertyCollection _properties = new ConfigurationPropertyCollection();
protected override Confi... | mit | C# |
06198fc0fb402b249fab6fb3a64521c345a5ce42 | Remove unused Bus constructor. | fixie/fixie | src/Fixie/Internal/Bus.cs | src/Fixie/Internal/Bus.cs | namespace Fixie.Internal
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Reports;
class Bus
{
readonly TextWriter console;
readonly List<IReport> reports;
public Bus(TextWriter console, IReadOnlyList<IReport> r... | namespace Fixie.Internal
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Reports;
class Bus
{
readonly TextWriter console;
readonly List<IReport> reports;
public Bus(TextWriter console, IReport report)
... | mit | C# |
a0c6c73ff8aef5d50483287ca4036141153169ac | bump version | airbrake/SharpBrake,kayoom/SharpBrake,cbtnuggets/SharpBrake,airbrake/SharpBrake | SharpBrake/Properties/AssemblyInfo.cs | SharpBrake/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("SharpBrake")]
[assembly : AssemblyDescr... | 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("SharpBrake")]
[assembly : AssemblyDescr... | mit | C# |
d22f557a3bd074ff4ee29128f7d8a3375dece37d | Remove possibility of double-disposal interference | UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu | osu.Game/Screens/OnlinePlay/OngoingOperationTracker.cs | osu.Game/Screens/OnlinePlay/OngoingOperationTracker.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Screens.OnlinePlay
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Screens.OnlinePlay
{
/// <summary>
... | mit | C# |
d8bb72dd7811ecf1039ee8a377f30f8b995664c3 | remove unused using-directive | smoogipoo/osu,RedNesto/osu,DrabWeb/osu,ppy/osu,naoey/osu,UselessToucan/osu,peppy/osu,naoey/osu,peppy/osu-new,tacchinotacchi/osu,UselessToucan/osu,Frontear/osuKyzer,naoey/osu,Drezi126/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,Damnae/osu,johnneijzen/osu,DrabWeb/o... | osu.Game/Screens/Select/Details/BeatmapDetailsGraph.cs | osu.Game/Screens/Select/Details/BeatmapDetailsGraph.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 OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using System.Collections.Generic;
namespace osu.Game.Screens.Selec... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using System.Collections.Generic;
using System.Linq;
namespace os... | mit | C# |
22847b1a6f1ecdf7a7b70c0c2d589d7855c4a94d | Bump to version 1.4 | toehead2001/pdn-barcode | Barcode/Properties/AssemblyInfo.cs | Barcode/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Barcode Effect")]
[assembly: AssemblyDescription("Barcode Generator")]
[assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Barcode Effect")]
[assembly: Asse... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Barcode Effect")]
[assembly: AssemblyDescription("Barcode Generator")]
[assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Barcode Effect")]
[assembly: Asse... | mit | C# |
a15496db1b30696155e3c8697d6c0631342ca800 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Posted: April 6, 2020<br /><br />
We are continuing to work with limited staffing to comply with physical distancing for safety. T... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Posted: April 6, 2020<br /><br />
We are scaling back to a bare minimum staff at this time. We will only be working on samples wh... | mit | C# |
cc7fadd8809900cfbb54a718f30e0cb31deecae9 | create group validation test | Simocracy/CLSim | CLSim-Test/ChampionsLeagueTest.cs | CLSim-Test/ChampionsLeagueTest.cs | using System;
using System.Collections.ObjectModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Simocracy.CLSim.Simulation;
namespace Simocracy.CLSim.Test
{
[TestClass]
public class ChampionsLeagueTest
{
private ChampionsLeague _Cl;
[TestInitialize]
public void InitTests()
{
_Cl = null;
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Simocracy.CLSim.Simulation;
namespace Simocracy.CLSim.Test
{
[TestClass]
public class ChampionsLeagueTest
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| mit | C# |
3966feaf81087ad06c9e8af03c7444ca0c14da9a | use ienumerable | SimonCropp/CaptureSnippets | CaptureSnippets/SnippetGrouper.cs | CaptureSnippets/SnippetGrouper.cs | using System.Collections.Generic;
using System.Linq;
namespace CaptureSnippets
{
public static class SnippetGrouper
{
public static IEnumerable<SnippetGroup> Group(IEnumerable<ReadSnippet> snippets)
{
Guard.AgainstNull(snippets, "snippets");
foreach (var grouping in snip... | using System.Collections.Generic;
using System.Linq;
namespace CaptureSnippets
{
public static class SnippetGrouper
{
public static IEnumerable<SnippetGroup> Group(IEnumerable<ReadSnippet> snippets)
{
Guard.AgainstNull(snippets, "snippets");
foreach (var grouping in snip... | mit | C# |
dce7e084cffb2b2c37a369797121d973aedb56cc | Ajuste no método FormataLogradouro | BoletoNet/boleto2net,rafd75/boleto2net | Boleto2.Net/Boleto/Endereco.cs | Boleto2.Net/Boleto/Endereco.cs | namespace Boleto2Net
{
/// <summary>
/// Representa o endereço do Cedente ou Sacado.
/// </summary>
public class Endereco
{
public string LogradouroEndereco { get; set; } = string.Empty;
public string LogradouroNumero { get; set; } = string.Empty;
public string LogradouroComp... | namespace Boleto2Net
{
/// <summary>
/// Representa o endereço do Cedente ou Sacado.
/// </summary>
public class Endereco
{
public string LogradouroEndereco { get; set; } = string.Empty;
public string LogradouroNumero { get; set; } = string.Empty;
public string LogradouroComp... | apache-2.0 | C# |
8c87538a7160d8e426f7e5d33cb7a97db5f4c0f8 | bump version | Fody/Fody,GeertvanHorrik/Fody,jasonholloway/Fody,distantcam/Fody,furesoft/Fody,PKRoma/Fody,ichengzi/Fody,ColinDabritzViewpoint/Fody,huoxudong125/Fody | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Fody")]
[assembly: AssemblyProduct("Fody")]
[assembly: AssemblyVersion("1.19.1")]
[assembly: AssemblyFileVersion("1.19.1")]
| using System.Reflection;
[assembly: AssemblyTitle("Fody")]
[assembly: AssemblyProduct("Fody")]
[assembly: AssemblyVersion("1.19.0")]
[assembly: AssemblyFileVersion("1.19.0")]
| mit | C# |
552226c63c7d61392ed6a182641a766edf9f31b6 | Update CurrencylayerDotComTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/CurrencylayerDotComTests.cs | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/CurrencylayerDotComTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Finance.Tests.Foreig... | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
using System.Threading.Tasks;
using TIKSN.DependencyInjection.Tests;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Finance.Tests.Foreig... | mit | C# |
40af81094c28dba35f33914f10b4e1ea91d4a58d | Remove unused Arguments property. | neuecc/MagicOnion | src/MagicOnion/Server/FromServiceFilterAttribute.cs | src/MagicOnion/Server/FromServiceFilterAttribute.cs | using MagicOnion.Server.Hubs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MagicOnion.Server
{
/// <summary>
/// A MagicOnion filter that provided another filter via <see cref="IServiceLocator"/>.
/// </summary>
[AttributeUsage(AttributeTargets.... | using MagicOnion.Server.Hubs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MagicOnion.Server
{
/// <summary>
/// A MagicOnion filter that provided another filter via <see cref="IServiceLocator"/>.
/// </summary>
[AttributeUsage(AttributeTargets.... | mit | C# |
f2c72f7c0ea6fa04c118c71ad2b26922005d81a0 | Fix last test | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Chemistry/EntitySystems/ChemicalReactionSystem.cs | Content.Server/Chemistry/EntitySystems/ChemicalReactionSystem.cs | using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Reaction;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.Database;
using Content.Shared.FixedPoint;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Player;
namespace Content.Server.Chemistry.EntitySy... | using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Reaction;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.Database;
using Content.Shared.FixedPoint;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Player;
namespace Content.Server.Chemistry.EntitySy... | mit | C# |
41e2a5b907a2c0573386cb0b00bca782fac954fc | Bump version for NuGet publish. | realartists/chargebee-dotnet | ChargeBee/Properties/AssemblyInfo.cs | ChargeBee/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("RealArtists.ChargeBee")]
[assembly: Assemb... | 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("RealArtists.ChargeBee")]
[assembly: Assemb... | mit | C# |
222bf1c9ca89814614c2313c7cd4fc8f6cbedc30 | Test voice sample | AfricasTalkingLtd/africastalking.Net | Examples/Voice.MakeCall/Program.cs | Examples/Voice.MakeCall/Program.cs | using System;
using AfricasTalkingCS;
namespace Voice.MakeCall
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var username = "sandbox";
var apiKey = "afd635a4f295dd936312836c0b944d55f2a836e8ff2b63987da5e717cd5ff745";
... | using System;
using AfricasTalkingCS;
namespace Voice.MakeCall
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var username = "sandbox";
var apiKey = "Key";
var env = "sandbox";
var from = "+25472... | mit | C# |
a34d1641b310b9afee3464aff9991c10e1c6f2dc | Set disable registration as default true. | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Services/PoliciesSettings.cs | BTCPayServer/Services/PoliciesSettings.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace BTCPayServer.Services
{
public class PoliciesSettings
{
[Display(Name = "Requires a confirmation mail for registering")]
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace BTCPayServer.Services
{
public class PoliciesSettings
{
[Display(Name = "Requires a confirmation mail for registering")]
... | mit | C# |
7fb71ab51061cd02e864194e63c4332962c1cb2f | Change editor version to 2.0.1.0 (same as core module) | unvell/ReoGrid,unvell/ReoGrid | Editor/Properties/AssemblyInfo.cs | Editor/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("Re... | 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("Re... | mit | C# |
875e831b1daa60a6be77417057e16a4274c44031 | Make paths of text files to write verbatim, so that slashes are not misinterpreted under Windows as escape characters | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | packages/XmlUtilities/dev/Scripts/TextFile/TextToPythonScript.cs | packages/XmlUtilities/dev/Scripts/TextFile/TextToPythonScript.cs | // <copyright file="TextToPythonScript.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>XmlUtilities package</summary>
// <author>Mark Final</author>
namespace XmlUtilities
{
public static class TextToPythonScript
{
public static void
Write(
System.Text.StringBu... | // <copyright file="TextToPythonScript.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>XmlUtilities package</summary>
// <author>Mark Final</author>
namespace XmlUtilities
{
public static class TextToPythonScript
{
public static void
Write(
System.Text.StringBu... | bsd-3-clause | C# |
7504d033b3ffbeee76a82fb9a897b7debd563997 | Test commit. | Rossoner40/it-tests,Rossoner40/it-tests,DimitarBakardzhiev/it-tests,DimitarBakardzhiev/it-tests,DimitarBakardzhiev/it-tests,Rossoner40/it-tests | IT-Tests.Data/ITTestsDbContext.cs | IT-Tests.Data/ITTestsDbContext.cs | namespace IT_Tests.Data
{
using System.Data.Entity;
using IT_Tests.Data.Migrations;
using IT_Tests.Models;
using Microsoft.AspNet.Identity.EntityFramework;
public class ITTestsDbContext : IdentityDbContext<User>
{
public ITTestsDbContext()
: base("DefaultConnection", thro... | namespace IT_Tests.Data
{
using System.Data.Entity;
using IT_Tests.Data.Migrations;
using IT_Tests.Models;
using Microsoft.AspNet.Identity.EntityFramework;
public class ITTestsDbContext : IdentityDbContext<User>
{
public ITTestsDbContext()
: base("DefaultConnection", thro... | mit | C# |
5b9652f7662f167cdf80cc49e5dbfc029a26e947 | Rename some base action settings | danielchalmers/DesktopWidgets | DesktopWidgets/Actions/ActionBase.cs | DesktopWidgets/Actions/ActionBase.cs | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
using DesktopWidgets.Helpers;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[PropertyOrder(0)]
[DisplayName("Delay")]
... | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
using DesktopWidgets.Helpers;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[PropertyOrder(0)]
[DisplayName("Delay")]
... | apache-2.0 | C# |
2264d9a98b87bb914410757bc0007739c7e8de7b | Update to test | AlexisArce/MvcRouteTester,AnthonySteele/MvcRouteTester | src/MvcRouteTester.Test/ApiRoute/DuplicateNameTests.cs | src/MvcRouteTester.Test/ApiRoute/DuplicateNameTests.cs | using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Routing;
using MvcRouteTester.Test.Assertions;
using NUnit.Framework;
namespace MvcRouteTester.Test.ApiRoute
{
public class Item
{
public int Id { get; set; }
}
public class ItemController : ApiController
{
[HttpPost]
public void Create... | using System.Net.Http;
using System.Web;
using System.Web.Helpers;
using System.Web.Http;
using System.Web.Http.Routing;
using MvcRouteTester.Test.Assertions;
using NUnit.Framework;
namespace MvcRouteTester.Test.ApiRoute
{
public class Item
{
public int Id { get; set; }
}
public class ItemController : ApiCon... | apache-2.0 | C# |
640e1be8fe60d066c2f41f04917d9a1c1cf54574 | fix request parameter missing | kaedei/aliyun-ddns-client-csharp | Kaedei.AliyunDDNSClient/Program.cs | Kaedei.AliyunDDNSClient/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using Aliyun.Api;
using Aliyun.Api.DNS.DNS20150109.Request;
using Newtonsoft.Json;
namespace Kaedei.AliyunDDNSClient
{
class Program
{
private static void Main(string[] args)
{
try
{
var... | using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using Aliyun.Api;
using Aliyun.Api.DNS.DNS20150109.Request;
using Newtonsoft.Json;
namespace Kaedei.AliyunDDNSClient
{
class Program
{
private static void Main(string[] args)
{
try
{
var... | apache-2.0 | C# |
9bb175751b0b0777cda246fd7a2e2ec7dcabcfe3 | make public | mlittle/avaya-moagent-client | AvayaMoagentClient/Commands/AvailableWork.cs | AvayaMoagentClient/Commands/AvailableWork.cs | using System;
namespace AvayaMoagentClient.Commands
{
public class AvailableWork : Message
{
private const string COMMAND = "AGTAvailWork";
public AvailableWork()
: this(false)
{ }
public AvailableWork(bool cacheRawMessage)
: base(COMMAND, Message.MessageType.Command, c... | using System;
namespace AvayaMoagentClient.Commands
{
class AvailableWork : Message
{
private const string COMMAND = "AGTAvailWork";
public AvailableWork()
: this(false)
{ }
public AvailableWork(bool cacheRawMessage)
: base(COMMAND, Message.MessageType.Command, cacheRaw... | bsd-2-clause | C# |
d7b9fd480765bdc01f06441f308fb288e6001049 | Update TFM to include netcoreapp3.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Server.IntegrationTesting/Common/Tfm.cs | src/Microsoft.AspNetCore.Server.IntegrationTesting/Common/Tfm.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;
namespace Microsoft.AspNetCore.Server.IntegrationTesting
{
public static class Tfm
{
public const string Net461 = "net46... | // 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;
namespace Microsoft.AspNetCore.Server.IntegrationTesting
{
public static class Tfm
{
public const string Net461 = "net46... | apache-2.0 | C# |
7d0285cc54444c67e496103d3043df1c84afb01d | Fix for Get all tasks | justinSelf/cqrsworkshop,justinSelf/cqrsworkshop,justinSelf/cqrsworkshop | src/TeamTasker.Web/TeamTasker.Web/Controllers/TasksController.cs | src/TeamTasker.Web/TeamTasker.Web/Controllers/TasksController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TeamTasker.Web.Domain;
namespace TeamTasker.Web.Controllers
{
public class TasksController : Controller
{
private TaskerContext db = new TaskerContext();
[HttpPost]
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TeamTasker.Web.Domain;
namespace TeamTasker.Web.Controllers
{
public class TasksController : Controller
{
private TaskerContext db = new TaskerContext();
[HttpPost]
public ... | mit | C# |
ccd7c71819a225f11b5bde7ecb016ad958deef8f | update for deploy | tolu/tobiaslundin.se | source/Views/Home/Index.cshtml | source/Views/Home/Index.cshtml | @{
ViewBag.Title = "Tobias Lundin";
}
<div class="jumbotron">
<h1>Welcome!</h1>
<p class="lead">To my internet lair of ... me x 3.</p>
</div>
<div class="row">
<div class="col-md-4">
<h2>A Binary Home</h2>
<p>
This location has been in the works but never really working si... | @{
ViewBag.Title = "Tobias Lundin";
}
<div class="jumbotron">
<h1>Welcome!</h1>
<p class="lead">To my internet lair of ... me me me.</p>
</div>
<div class="row">
<div class="col-md-4">
<h2>A Binary Home</h2>
<p>
This location has been in the works but never really working ... | mit | C# |
7bbaf726e73d1b8159be833aed2a6a7e12a9149e | Add ArrayIndexResolution_CorrectSetup_Success test | Domysee/Pather.CSharp | test/Pather.CSharp.UnitTests/ResolverTests.cs | test/Pather.CSharp.UnitTests/ResolverTests.cs | using FluentAssertions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Pather.CSharp.UnitTests
{
public class ResolverTests
{
public ResolverTests()
{
}
[Fact]
public voi... | using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Pather.CSharp.UnitTests
{
public class ResolverTests
{
public ResolverTests()
{
}
[Fact]
public void SinglePropertyResolution... | mit | C# |
a7882868f956be1720fdfcf5dd9cc93428709c8a | Fix single tap recognition | NView/NView.Controls,NView/NView.Controls | NView.Controls.iOS/Controls/Map.cs | NView.Controls.iOS/Controls/Map.cs | using System;
using UIKit;
using Foundation;
using MapKit;
using CoreLocation;
namespace NView.Controls
{
public class Map : IView
{
MKMapView map;
UIGestureRecognizer singleTap;
UIGestureRecognizer doubleTap;
MapCoordinate setRegionCoord;
double setRegionDistance = 100000;
public event EventHandler<... | using System;
using UIKit;
using Foundation;
using MapKit;
using CoreLocation;
namespace NView.Controls
{
public class Map : IView
{
MKMapView map;
UIGestureRecognizer tap;
MapCoordinate setRegionCoord;
double setRegionDistance = 100000;
public event EventHandler<MapTappedEventArgs> Tapped = delegate {... | mit | C# |
4097a7e9c81ac9084769212b7b0011edba4dd3b2 | Bump dev version to v0.13 | hifi/monodevelop-justenoughvi | JustEnoughVi/Properties/AddinInfo.cs | JustEnoughVi/Properties/AddinInfo.cs | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.13"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[a... | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.12"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[a... | mit | C# |
b943449c782c982b92853506167460d7cc1bc559 | Add inlinde docs for the PushNpgsqlDB command. | jacksonh/MCloud,jacksonh/MCloud | MCloud/MCloud.Deploy/PushNpgsqlDB.cs | MCloud/MCloud.Deploy/PushNpgsqlDB.cs |
using System;
using System.IO;
using System.Diagnostics;
using ICSharpCode.SharpZipLib;
using ICSharpCode.SharpZipLib.GZip;
namespace MCloud.Deploy
{
/// <summary>
/// Push a local database to the node. If the remote node already has
/// a database with the same name it will be destroyed and all of its
/// data... |
using System;
using System.IO;
using System.Diagnostics;
using ICSharpCode.SharpZipLib;
using ICSharpCode.SharpZipLib.GZip;
namespace MCloud.Deploy
{
public class PushNpgsqlDB : SSHDeployment
{
private string database;
private string dump_file;
public PushNpgsqlDB (string db_name)
{
Database = db_nam... | mit | C# |
10ad4bdb7bc67913507a5d2c4269ee915194b4e0 | Make text work better on Nexus One. | bklimt/LandTheEagleUnity | Assets/Gui.cs | Assets/Gui.cs | using UnityEngine;
using System.Collections;
public class Gui : MonoBehaviour {
public GUISkin defaultSkin;
public GUISkin stateSkin;
private bool started = false;
private bool startingToShowButtons = false;
private bool showButtons = false;
void Start() {
}
void Update() {
if (Input.GetMouseButtonDow... | using UnityEngine;
using System.Collections;
public class Gui : MonoBehaviour {
public GUISkin defaultSkin;
public GUISkin stateSkin;
private bool started = false;
private bool startingToShowButtons = false;
private bool showButtons = false;
void Start() {
}
void Update() {
if (Input.GetMouseButtonDow... | mit | C# |
54ea8f905f5fe618275d318b763368e9e6a87c54 | Put explicit blit in its own Execute func, added inspector button | SoylentGraham/PopUnityCommon | ShaderBlit.cs | ShaderBlit.cs | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class ShaderBlit : MonoBehaviour {
[InspectorButton("Execute")]
public bool Dirty = true;
public bool AlwaysDirtyInEditor = true;
public Texture Input;
public Shader BlitShader;
public Material BlitMaterial;... | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class ShaderBlit : MonoBehaviour {
public bool Dirty = true;
public bool AlwaysDirtyInEditor = true;
public Texture Input;
public Shader BlitShader;
public Material BlitMaterial;
public RenderTexture Output... | mit | C# |
44d4d6f7b6e0f2c12680d5b1fb15422ef3163896 | Update AG_Program.cs | sooperdex/code-dojo,sooperdex/code-dojo,sooperdex/code-dojo | kata/anagrams/csharp/AG_Program.cs | kata/anagrams/csharp/AG_Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Anagrams
{
class Program
{
static void Main()
{
Console.WriteLine("Please Enter a String: ");
string input = Consol... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anagrams
{
class Program
{
static void Main(string[] args)
{
string input;
AnagramProcessor anagram = new AnagramProcessor();
Consol... | mit | C# |
685fec07612204011054fc4bd3a4c341e4cc9fb2 | test if the sockets are released properly when the failure policy overrides the pool's decision. | couchbase/EnyimMemcached,DukeCheng/EnyimMemcachedCore,enyim/EnyimMemcached,cnblogs/EnyimMemcachedCore,oceanho/EnyimMemcached,haizhixing126/EnyimMemcached,DukeCheng/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore,haizhixing126/EnyimMemcached,oceanho/EnyimMemcached | MemcachedTest/FailurePolicyTest.cs | MemcachedTest/FailurePolicyTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Enyim.Caching.Memcached;
using Enyim.Caching.Configuration;
using Enyim.Caching;
using System.Threading;
namespace MemcachedTest
{
[TestFixture]
public class FailurePolicyTest
{
[TestFixtureSetUp]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Enyim.Caching.Memcached;
using Enyim.Caching.Configuration;
using Enyim.Caching;
using System.Threading;
namespace MemcachedTest
{
[TestFixture]
public class FailurePolicyTest
{
[TestFixtureSetUp]
... | apache-2.0 | C# |
27e04506925b166339a44be1356dc6aa1be4f7de | Add threading to test server | tmds/Tmds.DBus | TestServer.cs | TestServer.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
using System.Threading;
public class TestServer
{... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
public class TestServer
{
//TODO: complete this t... | mit | C# |
68ab1fd40cf8c69b2a1031d5e1ecff0b23a6ae37 | Use Instrument.Preset to detect preset instruments rather than a null InstrumentGroup | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | Drums/VDrumExplorer.Proto/InstrumentAudio.cs | Drums/VDrumExplorer.Proto/InstrumentAudio.cs | // Copyright 2020 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Google.Protobuf;
using VDrumExplorer.Model;
namespace VDrumExplorer.Proto
{
internal partial class InstrumentAudio
{
internal Model.Audio.Inst... | // Copyright 2020 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Google.Protobuf;
using VDrumExplorer.Model;
namespace VDrumExplorer.Proto
{
internal partial class InstrumentAudio
{
internal Model.Audio.Inst... | apache-2.0 | C# |
ac6914e2768fd53ffe1cad5961a1361fcdb00b1a | Clean tests | phnx47/Prometheus.Client | tests/Prometheus.Client.Tests/ThreadSafeDoubleTests.cs | tests/Prometheus.Client.Tests/ThreadSafeDoubleTests.cs | using Prometheus.Client.Tools;
using Xunit;
namespace Prometheus.Client.Tests
{
public class ThreadSafeDoubleTests
{
[Fact]
public void ThreadSafeDouble_Add()
{
var tsdouble = new ThreadSafeDouble(3.10);
tsdouble.Add(0.50);
tsdouble.Add(2.00);
... | using Prometheus.Client.Tools;
using Xunit;
namespace Prometheus.Client.Tests
{
public class ThreadSafeDoubleTests
{
[Fact]
public void ThreadSafeDouble_Add()
{
var tsdouble = new ThreadSafeDouble(3.10);
tsdouble.Add(0.50);
tsdouble.Add(2.00);
... | mit | C# |
e8d967cfc23c7a702aa4cef9dd36e98981017070 | Improve ConsoleLogger output for exceptions | sapek/bond,sapek/bond,chwarr/bond,Microsoft/bond,tstein/bond,Microsoft/bond,gencer/bond,gencer/bond,jdubrule/bond,Microsoft/bond,tstein/bond,jdubrule/bond,gencer/bond,ant0nsc/bond,tstein/bond,sapek/bond,sapek/bond,chwarr/bond,jdubrule/bond,ant0nsc/bond,chwarr/bond,chwarr/bond,sapek/bond,Microsoft/bond,Microsoft/bond,jd... | examples/cs/comm/logging/ConsoleLogger.cs | examples/cs/comm/logging/ConsoleLogger.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Bond.Examples.Logging
{
using System;
using Bond.Comm;
public class ConsoleLogger : LogHandler
{
public void Handle(LogSeverity sev... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Bond.Examples.Logging
{
using System;
using Bond.Comm;
public class ConsoleLogger : LogHandler
{
public void Handle(LogSeverity sev... | mit | C# |
c2c7ca8f916d70a01f17e0ea3b633ecaf9d32cfa | Implement drawing | sakapon/Tutorials-2014 | LeapTutorial01/AirCanvas2/MainWindow.xaml.cs | LeapTutorial01/AirCanvas2/MainWindow.xaml.cs | using Leap;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
61d9e1bc1163607e5b6406e3c54ebc8c92621409 | Send emails as html | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | SnittListan/Services/EmailService.cs | SnittListan/Services/EmailService.cs | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Configuration;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
using System.Web.Configuration;
using Elmah;
namespace SnittListan.Services
{
public class EmailServic... | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Configuration;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
using System.Web.Configuration;
using Elmah;
namespace SnittListan.Services
{
public class EmailServic... | mit | C# |
fab9ccb49e4f07b162b8ae0ac691598ec0845bf5 | adjust version number | eugenpodaru/resume,eugenpodaru/resume,eugenpodaru/resume | Resume/Properties/AssemblyInfo.cs | Resume/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("Re... | 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("Re... | mit | C# |
2e4e6eb61246607d72120bb060fd32010bde8e37 | Change version number | artemlos/SKGL-Extension-for-dot-NET,SerialKeyManager/SKGL-Extension-for-dot-NET | SKM/Properties/AssemblyInfo.cs | SKM/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("SK... | 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("SK... | bsd-3-clause | C# |
4cfd714025665c80a28ba4e96da81dbef4adcae5 | fix namespace | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Controllers/ViewModels/Payment/PaymentReceiptViewModel.cs | CRP.Mvc/Controllers/ViewModels/Payment/PaymentReceiptViewModel.cs | using System;
using CRP.Core.Domain;
namespace CRP.Mvc.Controllers.ViewModels.Payment
{
public class PaymentReceiptViewModel
{
public Item Item { get; set; }
public Core.Domain.Transaction Transaction { get; set; }
public string Amount { get; set; }
public string CardNumber ... | using System;
using CRP.Core.Domain;
namespace CRP.Mvc.Controllers.ViewModels.Payment
{
public class PaymentReceiptViewModel
{
public Item Item { get; set; }
public Transaction Transaction { get; set; }
public string Amount { get; set; }
public string CardNumber { get; set; ... | mit | C# |
ee55bd24960242957cdda5437ceb3e6e3756e589 | Sort game rules before running tests (#10484) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.IntegrationTests/Tests/GameRules/StartEndGameRulesTest.cs | Content.IntegrationTests/Tests/GameRules/StartEndGameRulesTest.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Content.Server.GameTicking;
using Content.Server.GameTicking.Rules;
using NUnit.Framework;
using Robust.Shared.GameObjects;
using Robust.Shared.Prototypes;
namespace Content.IntegrationTests.Tests.GameRules;
[TestFixture]
public sealed class Start... | using System.Linq;
using System.Threading.Tasks;
using Content.Server.GameTicking;
using Content.Server.GameTicking.Rules;
using NUnit.Framework;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
namespace Content.IntegrationTests.Tests.GameRules;
/// <summary>
/// Tests t... | mit | C# |
16849cbe3be69597af099eb1f2e910afff69ff08 | Update moderation page. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Web/Areas/Admin/Views/Petitions/Index.cshtml | Infopulse.EDemocracy.Web/Areas/Admin/Views/Petitions/Index.cshtml | @model List<Infopulse.EDemocracy.Model.BusinessEntities.Petition>
@{
ViewBag.Title = "Модерація петицій";
}
<div class="row">
<h2 class="col-md-12">Модерація петицій</h2>
</div>
<table>
<thead>
<tr>
<th>Petition ID</th>
<th>Subject</th>
<th>Creation date</th>
<th>Approved by</th>
<th>Approved dat... | @model List<Infopulse.EDemocracy.Model.BusinessEntities.Petition>
@{
ViewBag.Title = "Модерація петицій";
}
<div class="row">
<h2 class="col-md-12">Модерація петицій</h2>
</div>
<ol>
@foreach (var petition in Model)
{
<li>@petition.Subject</li>
}
</ol> | cc0-1.0 | C# |
94b490b2b4e585abf4857166af9f534546bb5467 | Add test case for gift insertion | kw90/SantasSledge | Santa/Tests/Common/TourTest.cs | Santa/Tests/Common/TourTest.cs | using Common;
using NUnit.Framework;
namespace Tests.Common
{
[TestFixture]
public class TourTest
{
private Tour testee;
[SetUp]
public void Init()
{
testee = new Tour();
testee.AddGift(new Gift(1, 500, 0, 0));
testee.AddGift(new Gift(2,... | using Common;
using NUnit.Framework;
namespace Tests.Common
{
[TestFixture]
public class TourTest
{
private Tour testee;
[SetUp]
public void Init()
{
testee = new Tour();
testee.AddGift(new Gift(1, 500, 0, 0));
testee.AddGift(new Gift(2,... | mit | C# |
5f87edd25405b75d6f889a0865a73e0217fe1a51 | Fix archiving tests on Linux | gtryus/libpalaso,sillsdev/libpalaso,mccarthyrb/libpalaso,tombogle/libpalaso,ddaspit/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,andrew-polk/libpalaso... | SIL.Archiving/Generic/ArchivingFileSystem.cs | SIL.Archiving/Generic/ArchivingFileSystem.cs |
using System;
using System.IO;
using SIL.PlatformUtilities;
namespace SIL.Archiving.Generic
{
/// <summary />
public static class ArchivingFileSystem
{
internal const string kAccessProtocolFolderName = "Archiving";
/// <summary />
public static string SilCommonDataFolder
{
get
{
// On Linux w... |
using System;
using System.IO;
using SIL.PlatformUtilities;
namespace SIL.Archiving.Generic
{
/// <summary />
public static class ArchivingFileSystem
{
internal const string kAccessProtocolFolderName = "Archiving";
/// <summary />
public static string SilCommonDataFolder
{
get
{
// On Linux w... | mit | C# |
f26274462761a932ff5ce49e889129175204d51f | Make PrincipalType [Flags] | Brightspace/D2L.Security.OAuth2 | D2L.Security.OAuth2/Principal/PrincipalType.cs | D2L.Security.OAuth2/Principal/PrincipalType.cs | using System;
namespace D2L.Security.OAuth2.Principal {
/// <summary>
/// Principal types
/// </summary>
[Flags]
public enum PrincipalType {
/// <summary>
/// Principal represents a user. Applies when the sub claim is set on the principal
/// </summary>
User = 1,
/// <summary>
/// ... | namespace D2L.Security.OAuth2.Principal {
/// <summary>
/// Principal types
/// </summary>
public enum PrincipalType {
/// <summary>
/// Principal represents a user. Applies when the sub claim is set on the principal
/// </summary>
User,
/// <summary>
/// Principal represents a servic... | apache-2.0 | C# |
e4c591d242823175cc1df1d9d928825d3a417589 | allow internals to be visible for some internal projects | ali-ince/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver/Properties/AssemblyInfo.cs | Neo4j.Driver/Neo4j.Driver/Properties/AssemblyInfo.cs | // Copyright (c) 2002-2017 "Neo Technology,"
// Network Engine for Objects in Lund AB [http://neotechnology.com]
//
// This file is part of Neo4j.
//
// 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 ... | // Copyright (c) 2002-2017 "Neo Technology,"
// Network Engine for Objects in Lund AB [http://neotechnology.com]
//
// This file is part of Neo4j.
//
// 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 ... | apache-2.0 | C# |
8d3d23e371891ccf310f572d9bb0d60f100681df | Change #65 Substitute variables in Debug Log command | RonanPearce/Fungus,FungusGames/Fungus,kdoore/Fungus,tapiralec/Fungus,lealeelu/Fungus,snozbot/fungus,Nilihum/fungus,inarizushi/Fungus | Assets/Fungus/FungusScript/Scripts/Commands/DebugLog.cs | Assets/Fungus/FungusScript/Scripts/Commands/DebugLog.cs | using UnityEngine;
using System.Collections;
namespace Fungus
{
[CommandInfo("Scripting",
"Debug Log",
"Writes a log message to the debug console.")]
public class DebugLog : Command
{
public enum DebugLogType
{
Info,
Warning,
Error
}
public DebugLogType logType;
... | using UnityEngine;
using System.Collections;
namespace Fungus
{
[CommandInfo("Scripting",
"Debug Log",
"Writes a log message to the debug console.")]
public class DebugLog : Command
{
public enum DebugLogType
{
Info,
Warning,
Error
}
public DebugLogType logType;
... | mit | C# |
fb6093eb65d1e300d8f67ceb3682639a9a47f77f | Revert "walk cycle doesn't awkwardly begi" | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeReimu.cs | Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeReimu.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeReimu : MonoBehaviour {
public float speed = 1; // speed in meters per second
public float animSpeed = 1f;
public float animSpeedStopped = 0.25f;
public float killLaunchSpeed = 15.0f;
public GameObject leftBound... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeReimu : MonoBehaviour {
public float speed = 1; // speed in meters per second
public float animSpeed = 1f;
public float animSpeedStopped = 0.25f;
public float killLaunchSpeed = 15.0f;
public GameObject leftBound... | mit | C# |
4e53274f2f1fc6d8c4c375bd9a76a06537be9e81 | Optimize clipping | protyposis/Aurio,protyposis/Aurio | AudioAlign/AudioAlign.Audio/Streams/VolumeClipStream.cs | AudioAlign/AudioAlign.Audio/Streams/VolumeClipStream.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NAudio.Wave;
namespace AudioAlign.Audio.Streams {
public class VolumeClipStream : AbstractAudioStreamWrapper {
public VolumeClipStream(IAudioStream sourceStream)
: base(sourceStream) {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NAudio.Wave;
namespace AudioAlign.Audio.Streams {
public class VolumeClipStream : AbstractAudioStreamWrapper {
public VolumeClipStream(IAudioStream sourceStream)
: base(sourceStream) {
... | agpl-3.0 | C# |
ea2792145fb90e2aaa4f3109b52dfc5b67475433 | Rename variable to match type | jcrang/dependency-injection-kata-series,mjac/dependency-injection-kata-series | src/DependencyInjection.Console/PatternGenerators/SquareIndependentPatternGenerator.cs | src/DependencyInjection.Console/PatternGenerators/SquareIndependentPatternGenerator.cs | using DependencyInjection.Console.Entities;
using DependencyInjection.Console.SquarePainters;
namespace DependencyInjection.Console.PatternGenerators
{
internal class SquareIndependentPatternGenerator : IPatternGenerator
{
private readonly ISquarePainter _squarePainter;
public SquareIndepende... | using DependencyInjection.Console.Entities;
using DependencyInjection.Console.SquarePainters;
namespace DependencyInjection.Console.PatternGenerators
{
internal class SquareIndependentPatternGenerator : IPatternGenerator
{
private readonly ISquarePainter _squarePainter;
public SquareIndepende... | mit | C# |
064a245bedbbfb6cfed13d5034ac7b80b5f7af97 | Add documentation for ClockTimeSpan. | eylvisaker/AgateLib | AgateLib/Platform/ClockTimeSpan.cs | AgateLib/Platform/ClockTimeSpan.cs | using System;
namespace AgateLib.Platform
{
/// <summary>
/// Structure which represents a time span on an IStopClock object.
/// </summary>
public struct ClockTimeSpan
{
/// <summary>
/// Constructs a new ClockTimeSpan object representing the amount of seconds.
/// </summary>
/// <param name="timePassed... | namespace AgateLib.Platform
{
public struct ClockTimeSpan
{
public static ClockTimeSpan FromSeconds(double timePassedSeconds)
{
return new ClockTimeSpan(timePassedSeconds);
}
public static ClockTimeSpan FromMilliseconds(double timePassedMs)
{
return new ClockTimeSpan(timePassedMs * 0.001);
}
pub... | mit | C# |
fce53d319ade8f4ed920d00c12f358344892d18c | Bump version | Weingartner/ReactiveCompositeCollections | ReactiveCompositeCollections/Properties/AssemblyInfo.cs | ReactiveCompositeCollections/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("Re... | 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("Re... | mit | C# |
97945d1dde7d021e5cfd7949f55fd727416c36c2 | Update the IKlawrAppDomainManager interface | Algorithman/klawr,lightszero/klawr,enlight/klawr,enlight/klawr,Algorithman/klawr,lightszero/klawr,Algorithman/klawr,lightszero/klawr,enlight/klawr | Engine/Source/ThirdParty/Klawr/ClrHostInterfaces/IKlawrAppDomainManager.cs | Engine/Source/ThirdParty/Klawr/ClrHostInterfaces/IKlawrAppDomainManager.cs | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Vadim Macagon
//
// 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 us... | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Vadim Macagon
//
// 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 us... | mit | C# |
8552c05cb1e82d9c749ca83bd7b73bb45ded09b6 | Remove blank line. | heejaechang/roslyn,dotnet/roslyn,physhi/roslyn,OmarTawfik/roslyn,genlu/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,jmarolf/roslyn,weltkante/roslyn,tmat/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,panopticoncentral/roslyn,KirillOsenkov/roslyn,AmadeusW/roslyn,sharwell/roslyn,AlekseyTs/roslyn,physhi/roslyn,bkoelm... | src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/IRegexNodeVisitor.cs | src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/IRegexNodeVisitor.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.CodeAnalysis.EmbeddedLanguages.RegularExpressions
{
internal interface IRegexNodeVisitor
{
void Visit(RegexCompilationUni... | // 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.CodeAnalysis.EmbeddedLanguages.RegularExpressions
{
internal interface IRegexNodeVisitor
{
void Visit(RegexCompilationUn... | mit | C# |
7c596fb5449141f218f996f58afb0a5a2b31e93e | Add comment | ctripcorp/apollo.net | Apollo/IApolloOptions.cs | Apollo/IApolloOptions.cs | using Com.Ctrip.Framework.Apollo.Enums;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http;
namespace Com.Ctrip.Framework.Apollo
{
public interface IApolloOptions
{
string AppId { get; }
/// <summary>
/// Get the data center info... | using Com.Ctrip.Framework.Apollo.Enums;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http;
namespace Com.Ctrip.Framework.Apollo
{
public interface IApolloOptions
{
string AppId { get; }
/// <summary>
/// Get the data center info... | apache-2.0 | C# |
2b06d7e6d178f347060c9ee47897bf3807da3943 | Add comment. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Backend/Controllers/LegacyController.cs | WalletWasabi.Backend/Controllers/LegacyController.cs | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Backend.Controllers
{
/// <summary>
/// Provides legacy, never changing API for legacy applications.
/// </summary>
[P... | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Backend.Controllers
{
[Produces("application/json")]
public class LegacyController : ControllerBase
{
public LegacyCo... | mit | C# |
e84c79d14051ecb220429c38cdb321e53f9a0b24 | Update osu!direct categories sorting with web changes | 2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,EVAST9919/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,Useless... | osu.Game/Online/API/Requests/SearchBeatmapSetsRequest.cs | osu.Game/Online/API/Requests/SearchBeatmapSetsRequest.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.ComponentModel;
using osu.Game.Overlays;
using osu.Game.Overlays.Direct;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class... | // 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.ComponentModel;
using osu.Game.Overlays;
using osu.Game.Overlays.Direct;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class... | mit | C# |
38a4c841636144d2d46405166d0cf7ee0e62a44f | Load SettingsSubsection in load() | peppy/osu,johnneijzen/osu,ZLima12/osu,Frontear/osuKyzer,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,EVAST9919/osu,naoey/osu,naoey/osu,Damnae/osu,Nabile-Rahmani/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu,Drezi126/osu,ppy/osu,smoogipooo/osu,p... | osu.Game/Overlays/Settings/SettingsSubsection.cs | osu.Game/Overlays/Settings/SettingsSubsection.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 OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using System.Collections.Generic;
using Sy... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using System.Collections.Generic;
using Sy... | mit | C# |
d27c8a7c0786f77ed489bc3e82702d974ba67942 | Fix assembly file version (#14484) | jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yuga... | sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs | sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System;
using System.Resources;
// 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: AssemblyConfigurati... | using System.Reflection;
using System.Runtime.InteropServices;
using System;
using System.Resources;
// 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: AssemblyConfigurati... | mit | C# |
c7d398e18c8f6a706d9a65ee560edcbfef79fa3a | Use expression body | bkoelman/roslyn,mavasani/roslyn,TyOverby/roslyn,reaction1989/roslyn,jcouv/roslyn,reaction1989/roslyn,DustinCampbell/roslyn,tvand7093/roslyn,gafter/roslyn,dpoeschl/roslyn,physhi/roslyn,tmat/roslyn,AnthonyDGreen/roslyn,srivatsn/roslyn,mattscheffer/roslyn,srivatsn/roslyn,CyrusNajmabadi/roslyn,AdamSpeight2008/roslyn-AdamSp... | src/EditorFeatures/Core/Implementation/Diagnostics/DiagnosticsSuggestionTaggerProvider.cs | src/EditorFeatures/Core/Implementation/Diagnostics/DiagnosticsSuggestionTaggerProvider.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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Dia... | // 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Dia... | mit | C# |
9f3793bd2db01fd46b48b877536c434a342c03c4 | Use proper path for settings file | naveedaz/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azu... | src/ResourceManager/DataMigration/Commands.DataMigration.Test/DataMigrationAppSettings.cs | src/ResourceManager/DataMigration/Commands.DataMigration.Test/DataMigrationAppSettings.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DataMigrationAppSettings.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// </copyright>
// ------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DataMigrationAppSettings.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// </copyright>
// ------------------------------------------------------------------... | apache-2.0 | C# |
93fed1a6e60489f5cad9d59e6ed801655bfd1308 | Update IDisjointIntervalSet.cs | marsop/ephemeral | Interfaces/IDisjointIntervalSet.cs | Interfaces/IDisjointIntervalSet.cs | using System;
using System.Collections.Generic;
namespace ephemeral
{
/// <summary>
/// Collection of disjoint IIntervals
/// </summary>
public interface IDisjointIntervalSet : IList<IInterval>
{
/// <summary>
/// True if all the contained intervals are contiguous or if empty
... | using System;
using System.Collections.Generic;
namespace ephemeral
{
/// <summary>
/// Collection of disjoint IIntervals
/// </summary>
public interface IDisjointIntervalSet : IList<IInterval>
{
/// <summary>
/// True if all the contained intervals are contiguous or if empty
... | mit | C# |
a953db45e5a08d0f811c46b25f26727268347484 | fix unbreakable space | laedit/ReadingList,laedit/ReadingList | site/_plugins/DateJustifyFilter.csx | site/_plugins/DateJustifyFilter.csx | public class DateJustifyFilter : IFilter
{
public string Name
{
get { return "DateJustify"; }
}
public static string DateJustify(DateTime input)
{
var day = input.ToString("dd");
var year = input.ToString("yy");
var month = input.ToString("MMM").PadRight(5, ' '); // ... | public class DateJustifyFilter : IFilter
{
public string Name
{
get { return "DateJustify"; }
}
public static string DateJustify(DateTime input)
{
var day = input.ToString("dd");
var year = input.ToString("yy");
var month = input.ToString("MMM").PadRight(5, ' '); // ... | apache-2.0 | C# |
ef6d4ab2ab672e67f3e788d0b8ce95d2a3e18710 | Update appCore.cs | dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D,dottools/Torque2D | library/AppCore/appCore.cs | library/AppCore/appCore.cs | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | mit | C# |
46f10b392dfbb0f0adc1fca88222d43ce09b758e | Fix merge errors | Nabile-Rahmani/osu,ppy/osu,ZLima12/osu,2yangk23/osu,ZLima12/osu,Frontear/osuKyzer,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,DrabWeb/osu,johnneijzen/osu,peppy/osu,ppy/osu,naoey/osu,2yangk23/osu,EVAST9919/osu,naoey/osu,ppy/osu... | osu.Game.Tests/Visual/TestCaseEditorCompose.cs | osu.Game.Tests/Visual/TestCaseEditorCompose.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Timing;
using osu.Game.Rulesets.Osu;
... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Timing;
using osu.Game.Rulesets.Osu;
... | mit | C# |
64fda5c6b4195f21ce7cccce5058a082ab10b2d9 | Add FromString and FromFile | yishn/GTPWrapper | GTPWrapper/Sgf/GameTree.cs | GTPWrapper/Sgf/GameTree.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Diagnostics;
using GTPWrapper.DataTypes;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF game tree.
/// </summary>
public class GameTree : ListTree<No... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Diagnostics;
using GTPWrapper.DataTypes;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF game tree.
/// </summary>
public class GameTree : ListTree<No... | mit | C# |
4bbe58a2f6c94bcb9b1085452d0070f25db36bc7 | add a retry policy around queue and hangfire initialization | lehmamic/columbus,lehmamic/columbus | Diskordia.Columbus.BackgroundWorker/Startup.cs | Diskordia.Columbus.BackgroundWorker/Startup.cs | using System;
using AutoMapper;
using Diskordia.Columbus.BackgroundWorker.Services;
using Diskordia.Columbus.Bots;
using Diskordia.Columbus.Bots.FareDeals;
using Diskordia.Columbus.Common;
using Diskordia.Columbus.Staging;
using Diskordia.Columbus.Staging.FareDeals;
using Hangfire;
using Hangfire.Mongo;
using Microsof... | using System;
using AutoMapper;
using Diskordia.Columbus.BackgroundWorker.Services;
using Diskordia.Columbus.Bots;
using Diskordia.Columbus.Bots.FareDeals;
using Diskordia.Columbus.Common;
using Diskordia.Columbus.Staging;
using Diskordia.Columbus.Staging.FareDeals;
using Hangfire;
using Hangfire.Mongo;
using Microsof... | mit | C# |
6ac93989c448c478ccad30753d0e9960aed12a51 | Update demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Program.cs | Src/Asp.Net/SqlServerTest/Program.cs | using OrmTest.PerformanceTesting;
using OrmTest.UnitTest;
using System;
namespace OrmTest
{
class Program
{
/// <summary>
/// Set up config.cs file and start directly F5
/// 设置Config.cs文件直接F5启动例子
/// </summary>
/// <param name="args"></param>
static void Main(st... | using OrmTest.PerformanceTesting;
using OrmTest.UnitTest;
using System;
namespace OrmTest
{
class Program
{
/// <summary>
/// Set up config.cs file and start directly F5
/// 设置Config.cs文件直接F5启动例子
/// </summary>
/// <param name="args"></param>
static void Main(st... | apache-2.0 | C# |
3cdc39ac10d329e674f38b8ac8c5cb53b421ec95 | add filtered metrics implementation | mnadel/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,etishor/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,D... | Src/Metrics/MetricsDataProvider.cs | Src/Metrics/MetricsDataProvider.cs |
namespace Metrics
{
/// <summary>
/// A provider capable of returning the current values for a set of metrics
/// </summary>
public interface MetricsDataProvider : Utils.IHideObjectMembers
{
/// <summary>
/// Returns the current metrics data for the context for which this provider ... |
namespace Metrics
{
/// <summary>
/// A provider capable of returning the current values for a set of metrics
/// </summary>
public interface MetricsDataProvider : Utils.IHideObjectMembers
{
/// <summary>
/// Returns the current metrics data for the context for which this provider ... | apache-2.0 | C# |
fb5fa195ee372cbfe97028e47fe6439374c7fc7f | Mark EndOfStreamException type with the RelocatedType attribute to cater for its currently forked locations in different runtimes (System.IO vs. System.Private.Corelib) | yizhang82/corert,shrah/corert,yizhang82/corert,gregkalapos/corert,tijoytom/corert,tijoytom/corert,sandreenko/corert,sandreenko/corert,yizhang82/corert,shrah/corert,gregkalapos/corert,sandreenko/corert,botaberg/corert,tijoytom/corert,gregkalapos/corert,gregkalapos/corert,botaberg/corert,krytarowski/corert,yizhang82/core... | src/System.Private.CoreLib/src/System/IO/EndOfStreamException.cs | src/System.Private.CoreLib/src/System/IO/EndOfStreamException.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 Internal.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace System.IO
{
[RelocatedTy... | // 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.Runtime.Serialization;
namespace System.IO
{
[Serializable]
public class EndOfStreamException ... | mit | C# |
b77bd08925461bcbd8b24129570c8cdae17c6fc0 | Simplify null values handling | NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu | osu.Game/Overlays/Profile/Sections/Historical/UserHistoryGraph.cs | osu.Game/Overlays/Profile/Sections/Historical/UserHistoryGraph.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using static osu.Game.Users.User;
namespace osu.Game.Overlays.Profile.Sections.Historical
{
publi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using static osu.Game.Users.User;
namespace osu.Game.Overlays.Profile.Sections.Historical
{
publi... | mit | C# |
905872b84c61363989be97466014a4ce59780420 | fix for broadcast messages | KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite | KryptPadWebApp/Controllers/AppAPIController.cs | KryptPadWebApp/Controllers/AppAPIController.cs | using KryptPadWebApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace KryptPadWebApp.Controllers
{
[RoutePrefix("api/app")]
public class AppAPIController : ApiController
{
/// <summary>
///... | using KryptPadWebApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace KryptPadWebApp.Controllers
{
[RoutePrefix("api/app")]
public class AppAPIController : ApiController
{
/// <summary>
///... | mit | C# |
577623eed03bc38e4cea522f1a8016aa55356775 | Change BlackHole iteration style | iridinite/shiftdrive | Client/BlackHole.cs | Client/BlackHole.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="NamedObject"/> representing a gravitational singularity.
/// </summary>
internal sealed class BlackHo... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="NamedObject"/> representing a gravitational singularity.
/// </summary>
internal sealed class BlackHole : NamedObject {
public BlackHole(GameStat... | bsd-3-clause | C# |
9b17e1f77cae7e3afbbc68f6102ba0251f22eeaf | Remove bad async description | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Cache/CacheImpl/InMemoryPartitionedCacheSerializer.cs | src/client/Microsoft.Identity.Client/Cache/CacheImpl/InMemoryPartitionedCacheSerializer.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Microsoft.Identity.Client.Core;
namespace Microsoft.Identity.Client.Cache.CacheImpl
{
/// <summary>
/// A simple partitioned cache, useful ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Microsoft.Identity.Client.Core;
namespace Microsoft.Identity.Client.Cache.CacheImpl
{
/// <summary>
/// A simple partitioned cache, useful ... | mit | C# |
33368cb25410d980cf9c6358720081f034e7bdde | Add Default cake target | Redth/Plugin.SocialAuth,Redth/Plugin.SocialAuth | build.cake | build.cake | var NUGET_VERSION = Argument ("nugetversion", "0.0.0.1");
var TARGET = Argument ("target", "nuget");
Task ("libs").Does (() => {
EnsureDirectoryExists ("./artifacts/");
NuGetRestore ("./Plugin.SocialAuth.sln");
MSBuild ("./Plugin.SocialAuth.sln", c => c.Configuration = "Release");
});
Task ("nuget").I... | var NUGET_VERSION = Argument ("nugetversion", "0.0.0.1");
var TARGET = Argument ("target", "nuget");
Task ("libs").Does (() => {
EnsureDirectoryExists ("./artifacts/");
NuGetRestore ("./Plugin.SocialAuth.sln");
MSBuild ("./Plugin.SocialAuth.sln", c => c.Configuration = "Release");
});
Task ("nuget").I... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.