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 |
|---|---|---|---|---|---|---|---|---|
53bd3a1c30da076d254fc2570c1b5dd46591037a | Add some default LengthLimit to OsuTextBox | EVAST9919/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu... | osu.Game/Graphics/UserInterface/OsuTextBox.cs | osu.Game/Graphics/UserInterface/OsuTextBox.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Inpu... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Inpu... | mit | C# |
b130ac8776ea62dce08fecb993f777d592e38c00 | Update installation paths in the build scripts | schellap/cli,harshjain2/cli,mlorbetske/cli,stuartleeks/dotnet-cli,Faizan2304/cli,AbhitejJohn/cli,mlorbetske/cli,JohnChen0/cli,Faizan2304/cli,FubarDevelopment/cli,borgdylan/dotnet-cli,stuartleeks/dotnet-cli,borgdylan/dotnet-cli,livarcocc/cli-1,naamunds/cli,naamunds/cli,danquirk/cli,naamunds/cli,MichaelSimons/cli,weshagg... | scripts/dotnet-cli-build/Utils/DotNetCli.cs | scripts/dotnet-cli-build/Utils/DotNetCli.cs | using System.IO;
using System.Linq;
using System;
using System.Runtime.InteropServices;
using Microsoft.DotNet.Cli.Build.Framework;
using Microsoft.Extensions.PlatformAbstractions;
namespace Microsoft.DotNet.Cli.Build
{
public class DotNetCli
{
public static readonly DotNetCli Stage0 = new DotNetCli(G... | using System.IO;
using System.Linq;
using System;
using System.Runtime.InteropServices;
using Microsoft.DotNet.Cli.Build.Framework;
using Microsoft.Extensions.PlatformAbstractions;
namespace Microsoft.DotNet.Cli.Build
{
public class DotNetCli
{
public static readonly DotNetCli Stage0 = new DotNetCli(G... | mit | C# |
f454bcbda0a1403b34e439086a8c6d416ea8b5d5 | Add ReferenceID to ResultInfo tool | cmoussalli/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,cmoussalli/DynThings | DynThings.Data.Repositories/Repositories/ResultInfo.cs | DynThings.Data.Repositories/Repositories/ResultInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DynThings.Data.Models;
namespace DynThings.Data.Repositories
{
public class ResultInfo
{
private DynThingsEntities db = new DynThingsEntities();
#region Enums
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DynThings.Data.Models;
namespace DynThings.Data.Repositories
{
public class ResultInfo
{
private DynThingsEntities db = new DynThingsEntities();
#region Enums
pub... | mit | C# |
b42374ac1ddcd6b1b633642156110403b32a3009 | Add StatusStoreControllerTests | dbalinov/twitter-backup,dbalinov/twitter-backup,dbalinov/twitter-backup,dbalinov/twitter-backup | TwitterBackup/Test/TwitterBackup.Web.Tests/Controllers/StatusStoreControllerTests.cs | TwitterBackup/Test/TwitterBackup.Web.Tests/Controllers/StatusStoreControllerTests.cs | using System.Threading.Tasks;
using System.Web.Http.Results;
using NSubstitute;
using TwitterBackup.Business.Services.Statuses;
using TwitterBackup.Web.Controllers;
using TwitterBackup.Web.Models.Status;
using Xunit;
namespace TwitterBackup.Web.Tests.Controllers
{
public class StatusStoreControllerTests
{
... | using TwitterBackup.Business.Services.Statuses;
using NSubstitute;
using TwitterBackup.Web.Controllers;
namespace TwitterBackup.Web.Tests.Controllers
{
public class StatusStoreControllerTests
{
private readonly IStatusService statusService;
private readonly StatusStoreController statusStoreCo... | mit | C# |
5e3dc9b1a6504b820852f6392b3566d2a17eaa88 | Add jqueryUI to global layout | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Shared/_Layout.cshtml | src/GiveCRM.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endi... | <!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endi... | mit | C# |
7df6920dbb57bd49d6ded4c676aab42ce2c6edaf | remove commented attribute | oschwald/HttpMock,zhdusurfin/HttpMock,mattolenik/HttpMock,hibri/HttpMock | src/HttpMock.Unit.Tests/HttpFactoryTests.cs | src/HttpMock.Unit.Tests/HttpFactoryTests.cs |
using System;
using NUnit.Framework;
namespace HttpMock.Unit.Tests
{
[TestFixture]
public class HttpFactoryTests
{
[Test]
public void ShouldBeAbleToHostAtSameAddressIfPreviousWasDisposed()
{
var serverFactory = new HttpServerFactory();
var uri = new Uri(String.Format("http://localhost:{... |
using System;
using NUnit.Framework;
namespace HttpMock.Unit.Tests
{
[TestFixture]
public class HttpFactoryTests
{
[Test]
//[Ignore ("Makes the test suite flaky (???)")]
public void ShouldBeAbleToHostAtSameAddressIfPreviousWasDisposed()
{
var serverFactory = new HttpServerFactory();
... | mit | C# |
19c051805833c198a6f680e0b26f4eaca5e6db2e | Update Enums.cs | killnine/s7netplus,daGnutt/s7netplus,mesta1/s7netplus | S7.Net/Enums.cs | S7.Net/Enums.cs | namespace S7.Net
{
public enum CpuType
{
S7200 = 0,
S7300 = 10,
S7400 = 20,
S71200 = 30,
S71500 = 40,
}
public enum ErrorCode
{
NoError = 0,
WrongCPU_Type = 1,
ConnectionError = 2,
IPAddressNotAvailable,
WrongVarForma... | namespace S7.Net
{
public enum CpuType
{
S7200 = 0,
S7300 = 10,
S7400 = 20,
S71200 = 30,
}
public enum ErrorCode
{
NoError = 0,
WrongCPU_Type = 1,
ConnectionError = 2,
IPAddressNotAvailable,
WrongVarFormat = 10,
Wrong... | mit | C# |
4d0d50eeae77179f87cd5d509558a1049252c3ce | 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.54")] | 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")] | mit | C# |
8d08328d5a948a58f3fbea5fc512ca7b7256c79a | add XML documentation to the DbContext class | OlegKleyman/Omego.Extensions | core/Omego.Extensions/DbContextExtensions/DbContext.cs | core/Omego.Extensions/DbContextExtensions/DbContext.cs | using System;
namespace Omego.Extensions.DbContextExtensions
{
/// <summary>
/// Contains extension methods for <see cref="Microsoft.EntityFrameworkCore.DbContext" />.
/// </summary>
public static class DbContext
{
/// <summary>
/// Adds entities to context and saves.
/... | using System;
namespace Omego.Extensions.DbContextExtensions
{
public static class DbContext
{
public static int AddRangeAndSave(this Microsoft.EntityFrameworkCore.DbContext context,
params object[] entities)
{
(context ?? throw new ArgumentNullException(nameof(context)... | unlicense | C# |
8fe64ec9755be843c201f5440b3d1573669ed5d0 | Add Template.OwnFields test #44 | sergeyshushlyapin/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb,pveller/Sitecore.FakeDb | src/Sitecore.FakeDb.Tests/DbTemplateTest.cs | src/Sitecore.FakeDb.Tests/DbTemplateTest.cs | namespace Sitecore.FakeDb.Tests
{
using System.Linq;
using FluentAssertions;
using Sitecore.Data;
using Xunit;
public class DbTemplateTest
{
[Fact]
public void ShouldBeAnItem()
{
// arrange
var template = new DbTemplate();
// assert
template.Should().BeAssignableTo<DbI... | namespace Sitecore.FakeDb.Tests
{
using System.Linq;
using FluentAssertions;
using Sitecore.Data;
using Xunit;
public class DbTemplateTest
{
[Fact]
public void ShouldBeAnItem()
{
// arrange
var template = new DbTemplate();
// assert
template.Should().BeAssignableTo<DbI... | mit | C# |
86f69216dc8f74454e02d4866f746ee252e0d334 | Add BitLabel component Documentation Comments (#579) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Labels/BitLabel.razor.cs | src/Client/Web/Bit.Client.Web.BlazorUI/Components/Labels/BitLabel.razor.cs | using Microsoft.AspNetCore.Components;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitLabel
{
private bool isRequired;
/// <summary>
/// This attribute specifies which form element a label is bound to
/// </summary>
[Parameter] public string? For { get; se... | using Microsoft.AspNetCore.Components;
namespace Bit.Client.Web.BlazorUI
{
public partial class BitLabel
{
private bool isRequired;
[Parameter] public string? For { get; set; }
[Parameter]
public bool IsRequired
{
get => isRequired;
set
... | mit | C# |
cc4b068b7d138fe5421ce52eba94b95378d71fe1 | Add OffSession on SubscriptionItem update | stripe/stripe-dotnet | src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs | src/Stripe.net/Services/SubscriptionItems/SubscriptionItemUpdateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemUpdateOptions : SubscriptionItemSharedOptions
{
/// <summary>
/// A set of key/value pairs that you can attach to a subscription object. It can be useful for storing additional infor... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemUpdateOptions : SubscriptionItemSharedOptions
{
/// <summary>
/// A set of key/value pairs that you can attach to a subscription object. It can be useful for storing additional infor... | apache-2.0 | C# |
e74f3d1a03d434409883145737c333a188c864e1 | Increment version number to 1.3.5.1 | rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate | src/formulate.meta/Constants.cs | src/formulate.meta/Constants.cs | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | mit | C# |
49286cdc927d1ea864b405db4a9c9bba828ec28d | Change copyright string to not use Unicode | mscrivo/ootd | OotD.Core/Properties/AssemblyInfo.cs | OotD.Core/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
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: AssemblyTitl... | using System;
using System.Reflection;
using System.Resources;
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: AssemblyTitl... | mit | C# |
5c6f70cc0a6243e982454bbffdb52d85c61ef792 | Make tab colors work and stuff | manesiotise/Opserver,opserver/Opserver,VictoriaD/Opserver,GABeech/Opserver,mqbk/Opserver,manesiotise/Opserver,jeddytier4/Opserver,maurobennici/Opserver,rducom/Opserver,geffzhang/Opserver,geffzhang/Opserver,opserver/Opserver,GABeech/Opserver,rducom/Opserver,mqbk/Opserver,jeddytier4/Opserver,maurobennici/Opserver,manesio... | Opserver/Views/Shared/TopTabs.cshtml | Opserver/Views/Shared/TopTabs.cshtml | @using StackExchange.Opserver.Models
@using StackExchange.Profiling
@{
Layout = null;
}
@helper RenderTab(TopTab tab)
{
if (tab.IsEnabled)
{
// Optimism!
using (MiniProfiler.Current.Step("Render Tab: " + tab.Name))
{
var status = tab.GetMonitorStatus?.Invoke() ?? Monitor... | @using StackExchange.Opserver.Models
@using StackExchange.Profiling
@{
Layout = null;
}
@helper RenderTab(TopTab tab)
{
if (tab.IsEnabled)
{
// Optimism!
using (MiniProfiler.Current.Step("Render Tab: " + tab.Name))
{
var status = tab.GetMonitorStatus?.Invoke() ?? Monitor... | mit | C# |
f11d821e499300f66de743dc6a7e0ee41817fbb1 | Bump version | kamil-mrzyglod/Oxygenize | Oxygenize/Properties/AssemblyInfo.cs | Oxygenize/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("Ox... | 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("Ox... | mit | C# |
13a39a6f4834785016e41df85ccf7f5089c3724a | Fix OnDemandConsumer test | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.MessageQueue.Tests/IntegrationTests/OnDemandConsumerTest.cs | InfinniPlatform.MessageQueue.Tests/IntegrationTests/OnDemandConsumerTest.cs | using System.Threading.Tasks;
using InfinniPlatform.MessageQueue.RabbitMq;
using InfinniPlatform.MessageQueue.RabbitMq.Serialization;
using InfinniPlatform.Sdk.Dynamic;
using NUnit.Framework;
namespace InfinniPlatform.MessageQueue.Tests.IntegrationTests
{
[TestFixture]
[Category(TestCategories.IntegrationTe... | using System.Threading.Tasks;
using InfinniPlatform.MessageQueue.RabbitMq;
using InfinniPlatform.MessageQueue.RabbitMq.Serialization;
using InfinniPlatform.Sdk.Dynamic;
using NUnit.Framework;
namespace InfinniPlatform.MessageQueue.Tests.IntegrationTests
{
[TestFixture]
[Category(TestCategories.IntegrationTe... | agpl-3.0 | C# |
dc0e0729d7b40bdd86ec9ace60d799e95583b18b | Enable NRT | weltkante/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,dotnet/roslyn,sharwell/roslyn,dotnet/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,mavasani/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,shyamnamboodiripad/r... | src/Analyzers/CSharp/Analyzers/UseThrowExpression/CSharpUseThrowExpressionDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/UseThrowExpression/CSharpUseThrowExpressionDiagnosticAnalyzer.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 Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensio... | // 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 Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnaly... | mit | C# |
88613ddfec3d1d1a76ca7062464b4a7ee637e4aa | Fix manually-written snippet | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2.Snippets/EntityTypesClientSnippets.cs | apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2.Snippets/EntityTypesClientSnippets.cs | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# |
00e6d6716b4ea421e6e78290f34090d1a08ecc8e | remove the now unnecessary diagram | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/Spacecraft/RCSport.cs | Assets/Plugins/Voxelgon/Spacecraft/RCSport.cs | using UnityEngine;
using System.Collections;
using Voxelgon;
public class RCSport : MonoBehaviour {
public float thrust;
public float maxThrust = 2;
private int linMultiplyer = 0; //1 through -1 (for inverting axes)
private int latMultiplyer = 0;
private int yawMultiplyer = 0;
private GameO... | using UnityEngine;
using System.Collections;
using Voxelgon;
public class RCSport : MonoBehaviour {
public float thrust;
public float maxThrust = 2;
private int linMultiplyer = 0; //1 through -1 (for inverting axes)
private int latMultiplyer = 0;
private int yawMultiplyer = 0;
private GameO... | apache-2.0 | C# |
053b0a3d7663ec9237ced70e66e300559c66b994 | Fix EnablePart is not threadsafe | Yonom/MuffinFramework | MuffinFramework/LayerBase.cs | MuffinFramework/LayerBase.cs | using System;
using System.Collections.Generic;
namespace MuffinFramework
{
public abstract class LayerBase<TArgs> : ILayerBase<TArgs>
{
private readonly object _lockObj = new object();
private readonly List<ILayerBase<TArgs>> _parts = new List<ILayerBase<TArgs>>();
private TArgs _arg... | using System;
using System.Collections.Generic;
namespace MuffinFramework
{
public abstract class LayerBase<TArgs> : ILayerBase<TArgs>
{
private readonly object _lockObj = new object();
private readonly List<ILayerBase<TArgs>> _parts = new List<ILayerBase<TArgs>>();
private TArgs _arg... | mit | C# |
f8f38b4f220c46c41ac4adb8f78052268cc290b5 | Change Expected Exception | neildobson71/FileHelpers,modulexcite/FileHelpers,regisbsb/FileHelpers,guillaumejay/FileHelpers,tablesmit/FileHelpers,xavivars/FileHelpers,rucila/FileHelpers,tablesmit/FileHelpers,jbparker/FileHelpers,jawn/FileHelpers,phaufe/FileHelpers,mcavigelli/FileHelpers,regisbsb/FileHelpers,p07r0457/FileHelpers,CarbonEdge/FileHelp... | FileHelpers.Tests/Tests/Errors/BadOptional.cs | FileHelpers.Tests/Tests/Errors/BadOptional.cs | using System;
using FileHelpers;
using NUnit.Framework;
namespace FileHelpers.Tests.Errors
{
[TestFixture]
public class BadOptional
{
[Test]
public void DelimitedBad1()
{
Assert.Throws<BadUsageException>(()
=> new FileHelperEngine<OptionalBad1>());
}
[Test]
... | using System;
using FileHelpers;
using NUnit.Framework;
namespace FileHelpers.Tests.Errors
{
[TestFixture]
public class BadOptional
{
[Test]
public void DelimitedBad1()
{
Assert.Throws<BadUsageException>(()
=> new FileHelperEngine<OptionalBad1>());
}
[Test]
... | mit | C# |
1c5378e8f054216b0959bf000d72a5748eb9d43e | Switch to 2.6.2 for dev | sharpdx/Toolkit,sharpdx/Toolkit,tomba/Toolkit | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | mit | C# |
cdb8ba97500d5128e158988afbee4b618d381368 | Handle rename of m_provider to m_etwProvider. (#30014) | ptoonen/corefx,ViktorHofer/corefx,mmitche/corefx,BrennanConroy/corefx,wtgodbe/corefx,ptoonen/corefx,shimingsg/corefx,mmitche/corefx,ptoonen/corefx,shimingsg/corefx,ViktorHofer/corefx,Jiayili1/corefx,BrennanConroy/corefx,shimingsg/corefx,ericstj/corefx,BrennanConroy/corefx,Jiayili1/corefx,ViktorHofer/corefx,Jiayili1/cor... | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.cs | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | // 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | mit | C# |
f2cbbf65f44ed67566434ecebe847e75e7e5b978 | Add image size from giphy response | glconti/awesome-bot,glconti/awesome-bot | awesome-bot/Giphy/GiphyCommand.cs | awesome-bot/Giphy/GiphyCommand.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using awesome_bot.Dialogs;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
namespace awesome_bot.Giphy
{
public class GiphyCommand : ICommandHandler
{... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using awesome_bot.Dialogs;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
namespace awesome_bot.Giphy
{
public class GiphyCommand : ICommandHandler
{... | mit | C# |
5b5c16c0def2333fee18a368eaf15d6db914f4a5 | Refactor LegalDocument class | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Legal/LegalDocuments.cs | WalletWasabi/Legal/LegalDocuments.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Legal
{
public class LegalDocuments
{
public static readonly string EmbeddedFilePath = Path.Combine(EnvironmentHelpers.Get... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Legal
{
public class LegalDocuments
{
public const string EmbeddedFileName = "LegalDocuments.txt";
public const string L... | mit | C# |
0aa547d7ed440368db9ca697f255af675206ec70 | Add Journal model implementation. | TeamYAGNI/LibrarySystem | LibrarySystem/LibrarySystem.Models/Journal.cs | LibrarySystem/LibrarySystem.Models/Journal.cs | // <copyright file="Journal.cs" company="YAGNI">
// All rights reserved.
// </copyright>
// <summary>Holds implementation of Journal model.</summary>
using System.Collections.Generic;
namespace LibrarySystem.Models
{
/// <summary>
/// Represent a <see cref="Journal"/> entity model.
/// </summary>
publ... | namespace LibrarySystem.Models
{
public class Journal
{
}
} | mit | C# |
941fa9dfb79dc7e22eddf6313a2131251eb8919c | remove useless using | ALFTM/MailSecure | MailSecure.Core/EmailManagement/MailSender.cs | MailSecure.Core/EmailManagement/MailSender.cs |
using System;
using System.Net;
using System.Net.Mail;
using System.Security;
using System.Security.Cryptography;
namespace MailSecure.Core {
public class MailSender {
public string server { get; set; }
public int port { get; set; }
public bool canSend { get; set; }
private Secu... |
using System;
using System.Net;
using System.Windows;
using System.Net.Mail;
using System.Security;
using System.Security.Cryptography;
namespace MailSecure.Core {
public class MailSender {
public string server { get; set; }
public int port { get; set; }
public bool canSend { get; set; }... | mit | C# |
622f62b68ee6761d4cfa4bb052963870b9c28231 | Update TweetRepository.cs | billyafernandez/CQRSDemo,billyafernandez/CQRSDemo,billyafernandez/CQRSDemo,billyafernandez/CQRSDemo | BackEnd/CQRS.Demo.Infrastructure.Persistence.SqlServer/Repositories/TweetRepository.cs | BackEnd/CQRS.Demo.Infrastructure.Persistence.SqlServer/Repositories/TweetRepository.cs | using System;
using System.Linq;
using CQRS.Demo.CommandStack.Domain.Common;
using CQRS.Demo.CommandStack.Domain.Model;
using CQRS.Demo.Infrastructure.Framework;
using CQRS.Demo.Infrastructure.Framework.Repositories;
using CQRS.Demo.Infrastructure.Persistence.SqlServer.Repositories.Adapters;
namespace CQRS.Demo.Infra... | using System;
using System.Linq;
using CQRS.Demo.CommandStack.Domain.Common;
using CQRS.Demo.CommandStack.Domain.Model;
using CQRS.Demo.Infrastructure.Framework;
using CQRS.Demo.Infrastructure.Framework.Repositories;
using CQRS.Demo.Infrastructure.Persistence.SqlServer.Repositories.Adapters;
namespace CQRS.Demo.Infra... | mit | C# |
36e5e6ea81f087d7d7ddf3b2a6a688fbffd79b40 | remove attribute that cannot be added to Enum types | OBeautifulCode/OBeautifulCode.Security | OBeautifulCode.Security/SignatureAlgorithm.cs | OBeautifulCode.Security/SignatureAlgorithm.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SignatureAlgorithm.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet package. Will ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SignatureAlgorithm.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet package. Will ... | mit | C# |
8b5a92623ac49987c2477a6ca57135c98acc1be6 | fix turkey unit test | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date.UnitTest/Country/TurkeyTest.cs | Src/Nager.Date.UnitTest/Country/TurkeyTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Nager.Date.UnitTest.Country
{
[TestClass]
public class TurkeyTest
{
[TestMethod]
public void TestTurkey()
{
var publicHolidays = DateSystem.GetPublicHoliday(CountryCode.TR, 20... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Nager.Date.UnitTest.Country
{
[TestClass]
public class TurkeyTest
{
[TestMethod]
public void TestTurkey()
{
var publicHolidays = DateSystem.GetPublicHoliday(CountryCode.TR, 20... | mit | C# |
a9814ca2f3a222f040710461132b648250425e9a | Remove redundant locking from AutoIncrementingIdentifierGenerators | bitwalker/SharpTools,bitwalker/SharpTools | SharpTools/Testing/EntityFramework/Internal/Id/AutoIncrementingIdentifierGenerators.cs | SharpTools/Testing/EntityFramework/Internal/Id/AutoIncrementingIdentifierGenerators.cs | using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace SharpTools.Testing.EntityFramework.Internal.Id
{
[DebuggerDisplay("{_counter}", Name = "AutoIncrementingShortIdentifierGenerator")]
internal sealed class AutoIncrementingShortIdentifierGenerator : IIdentifierGenerator
{
pri... | using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace SharpTools.Testing.EntityFramework.Internal.Id
{
[DebuggerDisplay("{_counter}", Name = "AutoIncrementingShortIdentifierGenerator")]
internal sealed class AutoIncrementingShortIdentifierGenerator : IIdentifierGenerator
... | mit | C# |
4f9c1ef6f796550334b12254f5384cf4e8fdc149 | Add MemeUrl extension validation | The-Last-Of-Us/MemeCentral,The-Last-Of-Us/MemeCentral | MemeCentral/MemeCentral.Server/AddMeme.aspx.cs | MemeCentral/MemeCentral.Server/AddMeme.aspx.cs | namespace MemeCentral.Server
{
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Microsoft.AspNet.Identity;
using Common;
using Data.Models;
public partial class AddMeme : BasePage
{
protected const string DefaultMemeUrl = "http://www.troll.me/images/yao-ming/insert... | namespace MemeCentral.Server
{
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Identity;
using Common;
using Data.Models;
public partial class AddMeme : BasePage
{
protected const string DefaultMemeUrl = "http://www.troll.me/images/yao-ming/insert-random-meme-here.jpg";
protected v... | mit | C# |
f10671336b16e8d3cecca195e6c5dbb53e96c352 | Update DeploymentTests.cs | juvchan/azure-powershell,AzureRT/azure-powershell,AzureAutomationTeam/azure-powershell,Matt-Westphal/azure-powershell,CamSoper/azure-powershell,jtlibing/azure-powershell,AzureAutomationTeam/azure-powershell,rohmano/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,devigned/a... | src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.cs | src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
e5eb7cb145190758e77b1d4ac9f0484e68c2a75f | update interface | Crokus/azure-table-storage-repo | Azure.TableStorage.Repository/Azure.TableStorage.Repository/ITableStorage.cs | Azure.TableStorage.Repository/Azure.TableStorage.Repository/ITableStorage.cs | using Microsoft.WindowsAzure.Storage.Table;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Wolnik.Azure.TableStorage.Repository
{
public interface ITableStorage
{
Task<IEnumerable<T>> GetAllAsync<T>(string tableName) where T : class, ITableEntity, new();
Task<IEnumer... | using Microsoft.WindowsAzure.Storage.Table;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Wolnik.Azure.TableStorage.Repository
{
public interface ITableStorage
{
Task<IEnumerable<T>> GetAllAsync<T>(string tableName) where T : class, ITableEntity, new();
Task<IEnumer... | mit | C# |
e7830fc51a70f4750f3795c9712a0600de9c5eb9 | Update DocumentContainer.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Containers/DocumentContainer.cs | src/Core2D/Containers/DocumentContainer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Core2D.Containers
{
/// <summary>
/// Document container.
/// </summary>
public class DocumentContainer : ObservableObject, IDocumentContainer
{
private bool _isExpanded = true;
private Im... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Core2D.Containers
{
/// <summary>
/// Document container.
/// </summary>
public class DocumentContainer : ObservableObject, IDocumentContainer
{
private bool _isExpanded = true;
private Im... | mit | C# |
62724eac2919bb4c1adf470d117e8547388688cc | Fix maxmind directory casing | zulhilmizainuddin/geoip,zulhilmizainuddin/geoip | src/GeoIP/Controllers/MaxMindController.cs | src/GeoIP/Controllers/MaxMindController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MaxMind.GeoIP2;
using GeoIP.Models;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Hosting;
using GeoIP.Executers;
// For more information on enabling Web API for empty projects, v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MaxMind.GeoIP2;
using GeoIP.Models;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Hosting;
using GeoIP.Executers;
// For more information on enabling Web API for empty projects, v... | mit | C# |
84c9d2d68103c8bac4a432e2cfc2073ba24f1924 | Fix small variable typo in internal method | steveharter/core-setup,weshaggard/core-setup,crummel/dotnet_core-setup,steveharter/core-setup,rakeshsinghranchi/core-setup,rakeshsinghranchi/core-setup,chcosta/core-setup,weshaggard/core-setup,ericstj/core-setup,weshaggard/core-setup,wtgodbe/core-setup,MichaelSimons/core-setup,ericstj/core-setup,weshaggard/core-setup,M... | src/managed/Microsoft.Extensions.DependencyModel/Resolution/DotNetReferenceAssembliesPathResolver.cs | src/managed/Microsoft.Extensions.DependencyModel/Resolution/DotNetReferenceAssembliesPathResolver.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.PlatformAbstractions;
namespace Microsoft.Extensions.DependencyModel.Resolution
{
public class DotNetReferenceAssembl... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.PlatformAbstractions;
namespace Microsoft.Extensions.DependencyModel.Resolution
{
public class DotNetReferenceAssembl... | mit | C# |
6b31c0ca559aa3ac6324c23f969c66875144441c | Disable tinting option on iOS | shrutinambiar/xamarin-forms-tinted-image | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.iOS/TintedImageRenderer.cs | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.iOS/TintedImageRenderer.cs | using CrossPlatformTintedImage;
using CrossPlatformTintedImage.iOS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPlatformTintedImage.iOS
{
public class TintedImageRenderer : ImageRenderer
{
p... | using CrossPlatformTintedImage;
using CrossPlatformTintedImage.iOS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPlatformTintedImage.iOS
{
public class TintedImageRenderer : ImageRenderer
{
p... | mit | C# |
8e9997ae81399ddc11fe3146d7a4ea8f5e73d92e | Add debugger display attribute to table.cs | Ackara/Daterpillar | src/Daterpillar.Core/Table.cs | src/Daterpillar.Core/Table.cs | using System.Collections.Generic;
using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database table.
/// </summary>
[System.Diagnostics.DebuggerDisplay("{{Name}}")]
public sealed class Table
{
/// <summary>
/// Initializes a new inst... | using System.Collections.Generic;
using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database table.
/// </summary>
public class Table
{
public Table() : this(string.Empty, new Column[0])
{
}
public Table(string name) : ... | mit | C# |
0c241dcc7fdf09ae3dd57fa2c0065e49c6cc5a06 | Remove the 'lib' prefix for the native lib. | KDE/qyoto,KDE/qyoto | qtwebkit/src/QtWebKit.cs | qtwebkit/src/QtWebKit.cs | namespace QtWebKit {
using Qyoto;
using System;
using System.Runtime.InteropServices;
public class InitQtWebKit {
[DllImport("qtwebkit-sharp", CharSet=CharSet.Ansi)]
static extern void Init_qtwebkit();
public static void InitSmoke() {
Init_qtwebkit();
}
}
}
| namespace QtWebKit {
using Qyoto;
using System;
using System.Runtime.InteropServices;
public class InitQtWebKit {
[DllImport("libqtwebkit-sharp", CharSet=CharSet.Ansi)]
static extern void Init_qtwebkit();
public static void InitSmoke() {
Init_qtwebkit();
}
}
}
| lgpl-2.1 | C# |
3ddd1bdda0adb3da7f313e527fadea4b55f3ae96 | revert - force redirect to host domain name in Release configuration | AzureDay/2017-WebSite,AzureDay/2017-WebSite | TeamSpark.AzureDay.WebSite.Host/Global.asax.cs | TeamSpark.AzureDay.WebSite.Host/Global.asax.cs | using System;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.ApplicationInsights.Extensibility;
using TeamSpark.AzureDay.WebSite.Config;
using TeamSpark.AzureDay.WebSite.Host.Controllers;
//using TeamSpark.... | using System;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.ApplicationInsights.Extensibility;
using TeamSpark.AzureDay.WebSite.Config;
using TeamSpark.AzureDay.WebSite.Host.Controllers;
//using TeamSpark.... | mit | C# |
549962ca07668de6b66d2e2ccc193722ad8f8303 | Undo Bcl.System.Kernel for now | CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | Tests/Cosmos.TestRunner.Full/TestKernelSets.cs | Tests/Cosmos.TestRunner.Full/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Full
{
public static class TestKernelSets
{
// Kernel types to run: the ones that will run in test runners that use the default engine configuration.
public static IEnumerable<Type> GetKernelTypesToRun()
{
... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Full
{
public static class TestKernelSets
{
// Kernel types to run: the ones that will run in test runners that use the default engine configuration.
public static IEnumerable<Type> GetKernelTypesToRun()
{
... | bsd-3-clause | C# |
197ab3d22b3beb00759b551a2b3b0df6649f9f46 | call validate on options in use idsvr config | buddhike/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,buddhike/IdentityServer3,IdentityServer/IdentityServer3,tbitowner/IdentityServer3,paulofoliveira/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,charoco/IdentityServer3,angelapper/IdentityServer3,codeice/IdentityServer3,wondertrap/IdentityServer3... | source/Core/Configuration/AppBuilderExtensions/UseIdentityServerExtension.cs | source/Core/Configuration/AppBuilderExtensions/UseIdentityServerExtension.cs | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license
*/
using System;
using System.IdentityModel.Tokens;
using Thinktecture.IdentityModel.Tokens;
using Thinktecture.IdentityServer.Core;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.Core.Hosti... | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license
*/
using System;
using System.IdentityModel.Tokens;
using Thinktecture.IdentityModel.Tokens;
using Thinktecture.IdentityServer.Core;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.Core.Hosti... | apache-2.0 | C# |
48af4d4eb4fc3ef8abf757ab512211defddee949 | Fix skinned taiko hit explosions not being removed on rewind | peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu | osu.Game.Rulesets.Taiko/Skinning/LegacyHitExplosion.cs | osu.Game.Rulesets.Taiko/Skinning/LegacyHitExplosion.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Rulesets.Taiko.Skinning
{
public class LegacyHitExplosion : CompositeDrawab... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Rulesets.Taiko.Skinning
{
public class LegacyHitExplosion : CompositeDrawab... | mit | C# |
91c342341e3026d4a8fdbbe9b100acb718ae6952 | Increase version | cap9/EEPhysics,Tunous/EEPhysics | EEPhysics/Properties/AssemblyInfo.cs | EEPhysics/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("EE... | 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("EE... | mit | C# |
c7bc5266d043627f24d102754affbbc8d38db395 | Fix (from SearchBox): Hotkeys are cleared constantly | File-New-Project/EarTrumpet | EarTrumpet/UI/Behaviors/TextBoxEx.cs | EarTrumpet/UI/Behaviors/TextBoxEx.cs | using EarTrumpet.Extensions;
using System;
using System.Windows;
using System.Windows.Controls;
namespace EarTrumpet.UI.Behaviors
{
public class TextBoxEx
{
// ClearText: Clear TextBox or the parent ComboBox.
public static bool GetClearText(DependencyObject obj) => (bool)obj.GetValue(ClearText... | using EarTrumpet.Extensions;
using System;
using System.Windows;
using System.Windows.Controls;
namespace EarTrumpet.UI.Behaviors
{
public class TextBoxEx
{
// ClearText: Clear TextBox or the parent ComboBox.
public static bool GetClearText(DependencyObject obj) => (bool)obj.GetValue(ClearText... | mit | C# |
badf6c425ed8e1a30f064273e0ac29b7b58c594f | Update NFeContexto.cs | walleg-informatica/WallegNFe,leonardiwagner/NFeEletronica.NET | NFeEletronica/Contexto/NFeContexto.cs | NFeEletronica/Contexto/NFeContexto.cs | using System;
using System.Security.Cryptography.X509Certificates;
using NFeEletronica.Certificado;
using NFeEletronica.Versao;
namespace NFeEletronica.Contexto
{
public class NFeContexto : INFeContexto
{
public bool Producao { get; } = false;
public BaseVersao Versao { get; }
public X... | using System;
using System.Security.Cryptography.X509Certificates;
using NFeEletronica.Certificado;
using NFeEletronica.Versao;
namespace NFeEletronica.Contexto
{
public class NFeContexto : INFeContexto
{
public NFeContexto(bool producao, NFeVersao versao, IGerenciadorDeCertificado gerenciadorDeCertif... | apache-2.0 | C# |
b509ed08a07b2157c9d2fc19893d3c8a5b717db9 | Add DotNetStream.ReadCompressedUInt32() method | picrap/dnlib,ZixiangBoy/dnlib,modulexcite/dnlib,jorik041/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,yck1509/dnlib,ilkerhalil/dnlib,kiootic/dnlib | dot10/dotNET/DotNetStream.cs | dot10/dotNET/DotNetStream.cs | using System;
using System.IO;
using dot10.IO;
namespace dot10.dotNET {
/// <summary>
/// .NET metadata stream
/// </summary>
public class DotNetStream : IDisposable {
/// <summary>
/// Reader that can access the whole stream
/// </summary>
protected IImageStream imageStream;
StreamHeader streamHeader;
... | using System;
using System.IO;
using dot10.IO;
namespace dot10.dotNET {
/// <summary>
/// .NET metadata stream
/// </summary>
public class DotNetStream : IDisposable {
/// <summary>
/// Reader that can access the whole stream
/// </summary>
protected IImageStream imageStream;
StreamHeader streamHeader;
... | mit | C# |
697229f0b8f364f60ae96e0fd5362ee73d316ee1 | Handle disabled YamlSupport | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Yaml/UnityYamlSupport.cs | resharper/resharper-unity/src/Yaml/UnityYamlSupport.cs | using JetBrains.Application.Settings;
using JetBrains.DataFlow;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.DataContext;
using JetBrains.ReSharper.Plugins.Unity.Settings;
using JetBrains.ReSharper.Plugins.Yaml.Settings;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml
{
[SolutionComponent]
publi... | using JetBrains.Application.Settings;
using JetBrains.DataFlow;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.DataContext;
using JetBrains.ReSharper.Plugins.Unity.Settings;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml
{
[SolutionComponent]
public class UnityYamlSupport
{
public rea... | apache-2.0 | C# |
d409d4206c655f035163627c22cddce832907bf7 | Add nullable | AmadeusW/roslyn,heejaechang/roslyn,davkean/roslyn,mavasani/roslyn,KevinRansom/roslyn,stephentoub/roslyn,AlekseyTs/roslyn,diryboy/roslyn,mavasani/roslyn,mavasani/roslyn,tannergooding/roslyn,eriawan/roslyn,genlu/roslyn,mgoertz-msft/roslyn,stephentoub/roslyn,brettfo/roslyn,tmat/roslyn,sharwell/roslyn,reaction1989/roslyn,b... | src/VisualStudio/Core/Def/Implementation/ProjectTelemetry/VisualStudioProjectTelemetryServiceFactory.cs | src/VisualStudio/Core/Def/Implementation/ProjectTelemetry/VisualStudioProjectTelemetryServiceFactory.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.
#nullable enable
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
usi... | // 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;
using System.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeA... | mit | C# |
08e09ed73f3c3b7f724b57cbc39ea17986427cd6 | Update CameraSetup.cs | BorisMilkman/PathFinding3D | Unity3d/Scripts/Camera/CameraSetup.cs | Unity3d/Scripts/Camera/CameraSetup.cs | using UnityEngine;
using System.Collections;
public class CameraSetup : MonoBehaviour {
void Start () {
gameObject.transform.position = new Vector3(30, 30, 30);
gameObject.transform.Rotate(new Vector3(35, 225, 0));
}
}
| using UnityEngine;
using System.Collections;
public class CameraSetup : MonoBehaviour {
void Start () {
gameObject.transform.position = new Vector3(30, 30, 30);
gameObject.transform.Rotate(new Vector3(35, 225, 0));
}
}
| mit | C# |
426dd329a4bc9f6c20a2bf38686a1492894cd85b | Support gzipped input | hafstrom/git-dot-aspx,JeremySkinner/git-dot-aspx,akrisiun/git-dot-aspx,hafstrom/git-dot-aspx,kaa/git-dot-aspx,linquize/git-dot-aspx,JeremySkinner/git-dot-aspx,linquize/git-dot-aspx,kaa/git-dot-aspx,linquize/git-dot-aspx,kaa/git-dot-aspx,JeremySkinner/git-dot-aspx,hafstrom/git-dot-aspx,akrisiun/git-dot-aspx,akrisiun/git... | GitAspx/Controllers/RpcController.cs | GitAspx/Controllers/RpcController.cs | #region License
// Copyright 2010 Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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/LICEN... | #region License
// Copyright 2010 Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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/LICEN... | apache-2.0 | C# |
ea6608b576bfcf189af913f45a782bdfc7283aea | mark MappingProfiles used implicitly | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/FilterList/MappingProfiles.cs | src/FilterLists.Services/FilterList/MappingProfiles.cs | using System.Linq;
using AutoMapper;
using FilterLists.Data.Entities;
using FilterLists.Services.FilterList.Models;
using JetBrains.Annotations;
namespace FilterLists.Services.FilterList
{
[UsedImplicitly]
public class MappingProfiles : Profile
{
public MappingProfiles()
{
Crea... | using System.Linq;
using AutoMapper;
using FilterLists.Data.Entities;
using FilterLists.Services.FilterList.Models;
namespace FilterLists.Services.FilterList
{
public class MappingProfiles : Profile
{
public MappingProfiles()
{
CreateListSummaryDtoMap();
CreateListDetai... | mit | C# |
99028b9ab4f87eeed4bdcead50748ac82e0e607e | change to setup/teardown | JakeGinnivan/GitVersion,JakeGinnivan/GitVersion,DanielRose/GitVersion,JakeGinnivan/GitVersion,Philo/GitVersion,pascalberger/GitVersion,gep13/GitVersion,dpurge/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,FireHost/GitVersion,dpurge/GitVersion,pascalberger/GitVersion,onovotny/GitVersion,dazinator/GitVersion,GitToo... | src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs | src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs | using System;
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentTests
{
string key = "BUILD_BUILDNUMBER";
[SetUp]
public void SetEnvironmentVariableForTest()
{
Environment.SetEnvironmentVariable(key, "Some Build_Value $(G... | using System;
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentTests
{
string key = "BUILD_BUILDNUMBER";
private void SetEnvironmentVariableForTest()
{
Environment.SetEnvironmentVariable(key, "Some Build_Value $(GitVersion_Fu... | mit | C# |
a82ea536df0845b837a0ed85030e12928294ccf8 | Use null propagation on the HandlePass() method. | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/External/UnsupportedModComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/External/UnsupportedModComponentSolver.cs | using System;
using System.Collections;
using System.Collections.Generic;
public class UnsupportedModComponentSolver : ComponentSolver
{
public UnsupportedModComponentSolver(BombCommander bombCommander, BombComponent bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller)
: base(bombCommander, b... | using System;
using System.Collections;
using System.Collections.Generic;
public class UnsupportedModComponentSolver : ComponentSolver
{
public UnsupportedModComponentSolver(BombCommander bombCommander, BombComponent bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller)
: base(bombCommander, b... | mit | C# |
e3f221529cf621606f16df72d9676535f190de6b | Fix naming of android output folders when culture has language and country (#13). | jzeferino/ResxConverter,jzeferino/ResxConverter | src/ResxConverter.Mobile/AndroidResxConverterOutput.cs | src/ResxConverter.Mobile/AndroidResxConverterOutput.cs | using System.IO;
using System.Xml.Linq;
using ResxConverter.Core;
using System.Globalization;
namespace ResxConverter.Mobile
{
public class AndroidResxConverterOutput : IResxConverterOutput
{
private string _culture;
private string _outputProjectFolder;
private XDocument _xDocument;
... | using System.IO;
using System.Xml.Linq;
using ResxConverter.Core;
namespace ResxConverter.Mobile
{
public class AndroidResxConverterOutput : IResxConverterOutput
{
private string _culture;
private string _outputProjectFolder;
private XDocument _xDocument;
private string _finalO... | mit | C# |
058d68c1023a034e83a539d124a5206ae2d620a4 | Add missed license header | DheerendraRathor/azure-sdk-for-net,hyonholee/azure-sdk-for-net,stankovski/azure-sdk-for-net,djyou/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,peshen/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,hyonholee/azure-sdk-for-n... | src/SDKs/Batch/DataPlane/Azure.Batch/ImageReference.cs | src/SDKs/Batch/DataPlane/Azure.Batch/ImageReference.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Batch
{
public partial class ImageReference
{
/// <summary>
/// Initializes a new instance of the <see cref="Im... | namespace Microsoft.Azure.Batch
{
public partial class ImageReference
{
/// <summary>
/// Initializes a new instance of the <see cref="ImageReference"/> class.
/// </summary>
/// <param name='offer'>The offer type of the Azure Virtual Machines Marketplace image.</param>
... | mit | C# |
0f37b9d441ca34eff44461a6789ebf0de565a72b | Update src/ZXing.Net.Mobile/MonoTouch/MobileBarcodeScanner.cs | Redth/ZXing.Net.Mobile,sephirothwzc/ZXing.Net.Mobile,syphe/ZXing.Net.Mobile,nied/ZXing.Net.Mobile,r2d2rigo/ZXing.Net.Mobile,benyao1201/Xamarin | src/ZXing.Net.Mobile/MonoTouch/MobileBarcodeScanner.cs | src/ZXing.Net.Mobile/MonoTouch/MobileBarcodeScanner.cs | using System;
using System.Threading.Tasks;
using MonoTouch.Foundation;
using MonoTouch.CoreFoundation;
using MonoTouch.UIKit;
namespace ZXing.Mobile
{
public class MobileBarcodeScanner : MobileBarcodeScannerBase
{
ZxingCameraViewController viewController;
UIViewController appController;
public MobileBarcodeS... | using System;
using System.Threading.Tasks;
using MonoTouch.Foundation;
using MonoTouch.CoreFoundation;
using MonoTouch.UIKit;
namespace ZXing.Mobile
{
public class MobileBarcodeScanner : MobileBarcodeScannerBase
{
ZxingCameraViewController viewController;
UIViewController appController;
public MobileBarcodeS... | apache-2.0 | C# |
69f064937952a64a4dfdae586fd3603994d009f7 | Change IViewModelGenerator implementation registration type from Transient to Singleton. | davidorbelian/MicroNetCore.Rest | src/MicroNetCore.Rest.Models/ViewModels/Extensions/ConfigurationExtensions.cs | src/MicroNetCore.Rest.Models/ViewModels/Extensions/ConfigurationExtensions.cs | using Microsoft.Extensions.DependencyInjection;
namespace MicroNetCore.Rest.Models.ViewModels.Extensions
{
public static class ConfigurationExtensions
{
public static IServiceCollection AddViewModels(this IServiceCollection services)
{
services.AddSingleton<IViewModelTypeProvider, ... | using Microsoft.Extensions.DependencyInjection;
namespace MicroNetCore.Rest.Models.ViewModels.Extensions
{
public static class ConfigurationExtensions
{
public static IServiceCollection AddViewModels(this IServiceCollection services)
{
services.AddSingleton<IViewModelTypeProvider, ... | mit | C# |
22578ac27a00f3dd26910d00d8bf19c4ea9245fa | Remove loading | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.Analysis/Containers/SentimentServiceModule.cs | src/Sentiment/Wikiled.Sentiment.Analysis/Containers/SentimentServiceModule.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using Wikiled.Common.Logging;
using Wikiled.Common.Utilities.Modules;
using Wikiled.Redis.Config;
using Wikiled.Redis.Modules;
using Wikiled.Sentiment.Text.Cache;
using Wikiled.Sentiment.Text.Config;
using Wikiled.Sentime... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using Wikiled.Common.Logging;
using Wikiled.Common.Utilities.Modules;
using Wikiled.Redis.Config;
using Wikiled.Redis.Modules;
using Wikiled.Sentiment.Text.Cache;
using Wikiled.Sentiment.Text.Config;
using Wikiled.Sentime... | apache-2.0 | C# |
a01d38fb43affaf9665fc44f2fb0f60c2b9676b4 | Update file header | joseph-bs/QuantityTypes,BadBabyJames/QunityTypes,objorke/QuantityTypes,donid/QuantityTypes,fringebits/QuantityTypes | Source/Units.Tests/CurrentCulture.cs | Source/Units.Tests/CurrentCulture.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CurrentCulture.cs" company="Units.NET">
// The MIT License (MIT)
//
// Copyright (c) 2012 Oystein Bjorke
//
// Permission is hereby granted, free of charge, to an... | namespace Units.Tests
{
using System;
using System.Globalization;
using System.Threading;
/// <summary>
/// Represents a temporary current culture. When the object is disposed, the previous culture will be restored.
/// </summary>
public class CurrentCulture : IDisposable
{
... | mit | C# |
4a02a9d4853c053553a364b4637f03b4383bd2da | test ci/cd trigger | nikkh/xekina,nikkh/xekina | Xekina/Xekina.Data/Models/Request.cs | Xekina/Xekina.Data/Models/Request.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Xekina.Data.Models
{
public class Request
{
public int RequestID { get; set; }
public string ProjectName { get; set; }
public string ProjectDescription { get; set; }
public string Sub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Xekina.Data.Models
{
public class Request
{
public int RequestID { get; set; }
public string ProjectName { get; set; }
public string ProjectDescription { get; set; }
public string Sub... | unlicense | C# |
0a26c2d80049962862e37e292972c9dc3ec57988 | Add count to loading components logging | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Logging/LoadingComponentsLogger.cs | osu.Framework/Logging/LoadingComponentsLogger.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.Development;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Lists;
namespace 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 osu.Framework.Development;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics;
using osu.Framework.Lists;
namespace osu.Framework.Logging
... | mit | C# |
3ea442aef596991d44a2373a29709966b2aec475 | Change to take 2 which should create the equivalent SQL. Realised that the calling code requires us to return null if there are multiple as well as if there are none. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Queries/GetUnsignedEmployerAgreement/GetUnsignedEmployerAgreementQueryHandler.cs | src/SFA.DAS.EmployerAccounts/Queries/GetUnsignedEmployerAgreement/GetUnsignedEmployerAgreementQueryHandler.cs | using System;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.HashingService;
using SFA.DAS.Validation;
namespace SFA.DAS.EmployerAccounts.Queries.GetUnsignedEmployerAgreement
{
public class GetUnsignedEmployerAgreementQu... | using System;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.HashingService;
using SFA.DAS.Validation;
namespace SFA.DAS.EmployerAccounts.Queries.GetUnsignedEmployerAgreement
{
public class GetUnsignedEmployerAgreementQu... | mit | C# |
8bec5e53ad72e248e4027ed7990bbb8c6175f1c1 | Update unit test | sonvister/Binance | test/Binance.Tests/Utility/WatchdogTimerTest.cs | test/Binance.Tests/Utility/WatchdogTimerTest.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Binance.Utility;
using Xunit;
namespace Binance.Tests.Utility
{
public class WatchdogTimerTest
{
[Fact]
public void Throws()
{
Assert.Throws<ArgumentNullException>("onTimeout", () => new WatchdogTim... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Binance.Utility;
using Xunit;
namespace Binance.Tests.Utility
{
public class WatchdogTimerTest
{
[Fact]
public void Throws()
{
Assert.Throws<ArgumentNullException>("onTimeout", () => new WatchdogTim... | mit | C# |
7cbb3270f90426ba8b6a805e7d1ca8c227fcba13 | Bump assembly version | Deadpikle/NetSparkle,Deadpikle/NetSparkle | AssemblyInfo.cs | AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
dadca3a22b4f7b9e7ad1bf91741851126e6a567c | fix typo in head meta tag | WebApiContrib/WebApiContrib.Formatting.Razor,manesiotise/WebApiContrib.Formatting.Razor,WebApiContrib/WebApiContrib.Formatting.Razor | samples/MvcWebApiSiteTest/Views/Index.cshtml | samples/MvcWebApiSiteTest/Views/Index.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="WebApiContrib : Community Contributions for ASP.NET Web API" />
<link rel="stylesheet" type="text/css" media="screen" href="/Content/Site.c... | mit | C# | |
967b4c3682032195cd0c20de879d0e16e4692f1d | fix conditional compilation | Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5 | src/Microsoft.ApplicationInsights.AspNetCore/TelemetryInitializers/DomainNameRoleInstanceTelemetryInitializer.cs | src/Microsoft.ApplicationInsights.AspNetCore/TelemetryInitializers/DomainNameRoleInstanceTelemetryInitializer.cs | namespace Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers
{
using System;
using System.Globalization;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
using Channel;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Appli... | namespace Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers
{
using System;
using System.Globalization;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
using Channel;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Appli... | mit | C# |
1fd524e664bb2c9096a061f371c2b933ef396b65 | Remove unused using. | mohtamohit/CppSharp,zillemarco/CppSharp,txdv/CppSharp,mohtamohit/CppSharp,imazen/CppSharp,mohtamohit/CppSharp,mono/CppSharp,KonajuGames/CppSharp,KonajuGames/CppSharp,ddobrev/CppSharp,Samana/CppSharp,genuinelucifer/CppSharp,Samana/CppSharp,genuinelucifer/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,mono/CppSharp,im... | src/Generator/Generators/CLI/CLIGenerator.cs | src/Generator/Generators/CLI/CLIGenerator.cs | using System.IO;
namespace CppSharp.Generators.CLI
{
public class CLIGenerator : Generator
{
private readonly CLITypePrinter typePrinter;
private readonly FileHashes fileHashes;
public CLIGenerator(Driver driver) : base(driver)
{
typePrinter = new CLITypePrinter(dr... | using System;
using System.IO;
namespace CppSharp.Generators.CLI
{
public class CLIGenerator : Generator
{
private readonly CLITypePrinter typePrinter;
private readonly FileHashes fileHashes;
public CLIGenerator(Driver driver) : base(driver)
{
typePrinter = new CLI... | mit | C# |
140328a7bc6f0a88fd54f080a3497b0c428fd409 | Fix for appearance parser errors in ASP.NET Core developer exception page Continue to fix problem described in this PR https://github.com/lunet-io/scriban/pull/109 | lunet-io/scriban,textamina/scriban | src/Scriban/Syntax/ScriptRuntimeException.cs | src/Scriban/Syntax/ScriptRuntimeException.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using Scriban.Helpers;
using Scriban.Parsing;
namespace Scriban.Syntax
{
public class Script... | // Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using Scriban.Helpers;
using Scriban.Parsing;
namespace Scriban.Syntax
{
public class Script... | bsd-2-clause | C# |
99615b3d489a2282b9d6b1ed22db9887ff60d664 | Fix URL encoding | sakapon/Tools-2017 | ConnectiveBot/Functions/GetRandomConnectedPages/run.csx | ConnectiveBot/Functions/GetRandomConnectedPages/run.csx | using System.Net;
using System.Text.RegularExpressions;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("Started.");
dynamic data1 = await GetArticle();
log.Info(data1.title);
dynamic data2 = await GetArticle();
log.Info(data2.title);
var ... | using System.Net;
using System.Text.RegularExpressions;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("Started.");
dynamic data1 = await GetArticle();
log.Info(data1.title);
dynamic data2 = await GetArticle();
log.Info(data2.title);
var ... | mit | C# |
6b639811f521d51cc6a5b6faa91216373f8e1975 | Update comments where possible (based on Cef3 Api doc) | zhangjingpu/CefSharp,AJDev77/CefSharp,jamespearce2006/CefSharp,battewr/CefSharp,twxstar/CefSharp,Haraguroicha/CefSharp,rover886/CefSharp,dga711/CefSharp,jamespearce2006/CefSharp,joshvera/CefSharp,wangzheng888520/CefSharp,Octopus-ITSM/CefSharp,battewr/CefSharp,NumbersInternational/CefSharp,ruisebastiao/CefSharp,ITGlobal... | CefSharp/IRequestHandler.cs | CefSharp/IRequestHandler.cs | using System.Net;
namespace CefSharp
{
public enum NavigationType
{
LinkClicked,
FormSubmitted,
BackForward,
Reload,
FormResubmitted,
Other
};
public interface IRequestHandler
{
/// <summary>
/// Called before browser navigation.
... | using System.Net;
namespace CefSharp
{
public enum NavigationType
{
LinkClicked,
FormSubmitted,
BackForward,
Reload,
FormResubmitted,
Other
};
public interface IRequestHandler
{
bool OnBeforeBrowse(IWebBrowser browser, IRequest request, bool... | bsd-3-clause | C# |
9eef895899c19be863fdd7c2f504561d68b958e7 | fix Json Assets integration to allow for beta builds | Pathoschild/StardewMods | Common/Integrations/JsonAssets/JsonAssetsIntegration.cs | Common/Integrations/JsonAssets/JsonAssetsIntegration.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewModdingAPI;
namespace Pathoschild.Stardew.Common.Integrations.JsonAssets
{
/// <summary>Handles the logic for integrating with the Json Assets mod.</summary>
internal class JsonAssetsIntegration : BaseIntegration
{
... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewModdingAPI;
namespace Pathoschild.Stardew.Common.Integrations.JsonAssets
{
/// <summary>Handles the logic for integrating with the Json Assets mod.</summary>
internal class JsonAssetsIntegration : BaseIntegration
{
... | mit | C# |
259f4c6b3fa945d1d523d23c85db92fabe0d7182 | Update MathUtils.cs | matt77hias/cs-smallpt | cs-smallpt/core/MathUtils.cs | cs-smallpt/core/MathUtils.cs | using System;
namespace cs_smallpt {
public static class MathUtils {
public const double M_PI = 3.14159265358979323846;
public static double Clamp(double x, double low = 0.0, double high = 1.0) {
return (x < high) ? ((x > low) ? x : low) : high;
}
public static byte... | using System;
namespace cs_smallpt {
public class MathUtils {
public const double M_PI = 3.14159265358979323846;
public static double Clamp(double x, double low = 0.0, double high = 1.0) {
return (x < high) ? ((x > low) ? x : low) : high;
}
public static byte ToByte... | mit | C# |
dd6fb8cee65647994e870a96d8af4c4926140ee6 | Make sure bootstrapper runs pre application start | appharbor/ConsolR,appharbor/ConsolR | Hosting/BootStrapper.cs | Hosting/BootStrapper.cs | using System.Web.Routing;
using SignalR;
[assembly: WebActivator.PreApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")]
namespace ConsolR.Hosting
{
public static class Bootstrapper
{
public static void PreApplicationStart()
{
var routes = RouteTable.Routes;
routes.MapHtt... | using System.Web.Routing;
using SignalR;
[assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")]
namespace ConsolR.Hosting
{
public static class Bootstrapper
{
public static void PreApplicationStart()
{
var routes = RouteTable.Routes;
routes.MapHt... | mit | C# |
dc3bc1680d324acc3eb0332c4d012f1694854071 | Bump to RC4 | KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet | src/keypay-dotnet/Properties/AssemblyInfo.cs | src/keypay-dotnet/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("KeyPay")]
[assembly: AssemblyDescription("... | 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("KeyPay")]
[assembly: AssemblyDescription("... | mit | C# |
81d2e11f76f6b8a66653e8995b8cd606c3b62158 | Update IfcDoorTypeEnum.cs | pipauwel/IfcDoc,BuildingSMART/IfcDoc,BuildingSMART/IfcDoc,pipauwel/IfcDoc,pipauwel/IfcDoc,BuildingSMART/IfcDoc | IfcKit/schemas/IfcSharedBldgElements/IfcDoorTypeEnum.cs | IfcKit/schemas/IfcSharedBldgElements/IfcDoorTypeEnum.cs | // This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | // This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | agpl-3.0 | C# |
6007ed5e3724e9174870b19becbd80d4c91d0979 | add of entry number and ref doc | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
b56f3508179ae5657930c8af42d0acf83e6ab2f9 | Implement all properties for collector settings | bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3 | SurveyMonkey/RequestSettings/CreateCollectorSettings.cs | SurveyMonkey/RequestSettings/CreateCollectorSettings.cs | using System;
using SurveyMonkey.Containers;
namespace SurveyMonkey.RequestSettings
{
public class CreateCollectorSettings
{
public Collector.CollectorType Type { get; set; }
public string Name { get; set; }
public string ThankYouMessage { get; set; }
public string Disqualifica... | namespace SurveyMonkey.RequestSettings
{
public class CreateCollectorSettings
{
public enum TypeOption
{
Weblink,
Email
}
public TypeOption Type { get; set; }
public string Name { get; set; }
}
} | mit | C# |
6fc8464ad74fd744525ea14a23de14fc63badb9d | Undo last change | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Mapping/PersonMap.cs | Test/AdventureWorksFunctionalModel/Mapping/PersonMap.cs | using System.Data.Entity.ModelConfiguration;
using AW.Types;
namespace AW.Mapping
{
public class PersonMap : EntityTypeConfiguration<Person>
{
public PersonMap()
{
// Primary Key
HasKey(t => t.BusinessEntityID);
Property(t => t.Title)
.HasMax... | using System.Data.Entity.ModelConfiguration;
using AW.Types;
namespace AW.Mapping
{
public class PersonMap : EntityTypeConfiguration<Person>
{
public PersonMap()
{
// Primary Key
HasKey(t => t.BusinessEntityID);
Property(t => t.Title)
.HasMax... | apache-2.0 | C# |
dd9e3871ebc6a7f4cf67f115be284608d1bec09f | Fix dictionary serialization | HDWT/Spark | Spark/ReferenceTypeHelpers/DictionaryType.SizeGetter.cs | Spark/ReferenceTypeHelpers/DictionaryType.SizeGetter.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
public static partial class Spark
{
private static partial class TypeHelper
{
private partial class DictionaryType : IReferenceTypeHelper<IDictionary>
{
private class SizeGetter : ISizeGetter<IDict... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
public static partial class Spark
{
private static partial class TypeHelper
{
private partial class DictionaryType : IReferenceTypeHelper<IDictionary>
{
private class SizeGetter : ISizeGetter<IDict... | mit | C# |
f79edd6174a4b4ec58f0b292cb7b4f75c14b1c81 | Make some changes by the solution | KaloyanIT/SoftwareAcademy2016,KaloyanIT/SoftwareAcademy2016,KaloyanIT/SoftwareAcademy2016 | Homeworks/C#1/IntroductionТоProgramming/15.AgeAfter10Years/AgeAfter10Years.cs | Homeworks/C#1/IntroductionТоProgramming/15.AgeAfter10Years/AgeAfter10Years.cs | using System;
//Problem 15.* Age after 10 Years
//Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years.
class AgeAfter10Years
{
public static int yearsNow;
static void Main(string[] args)
{
Console.Write("Enter birtday year:"... | using System;
//Problem 15.* Age after 10 Years
//Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years.
class AgeAfter10Years
{
public static int yearsNow;
static void Main(string[] args)
{
Console.Write("Enter birtday year:"... | mit | C# |
45c24b366cc8ecdbb96aca9ff66e550a0be63f63 | Set module group to use a nested path, Thirdparty/GLEW | markfinal/bam-graphicssdk,markfinal/bam-graphicssdk,markfinal/bam-graphicssdk,markfinal/bam-graphicssdk | packages/glew-1.13.0/bam/Scripts/glew.cs | packages/glew-1.13.0/bam/Scripts/glew.cs | #region License
// <copyright>
// Mark Final
// </copyright>
// <author>Mark Final</author>
#endregion // License
using Bam.Core;
namespace glew
{
[Bam.Core.ModuleGroup("Thirdparty/GLEW")]
sealed class GLEWStatic :
C.StaticLibrary
{
protected override void
Init(
Bam.Core... | #region License
// <copyright>
// Mark Final
// </copyright>
// <author>Mark Final</author>
#endregion // License
using Bam.Core;
namespace glew
{
[Bam.Core.ModuleGroup("Thirdparty")]
sealed class GLEWStatic :
C.StaticLibrary
{
protected override void
Init(
Bam.Core.Modu... | bsd-3-clause | C# |
5eac40ee1c913e637ade2cefb700321d1225f46b | remove unnessesary comment | zchpit/Algorithms | C#/ZadaniaBartosza/ZadaniaBartosza/Task3Tests.cs | C#/ZadaniaBartosza/ZadaniaBartosza/Task3Tests.cs | using System;
using NUnit.Framework;
namespace ZadaniaBartosza
{
[TestFixture]
public class Task3Tests
{
Task3 task;
public Task3Tests ()
{
task = new Task3();
}
[Test]
public void CommonDivisorExists()
{
Assert.AreEqual(2, task.GetSmallestCommonDivisor(2,4));
Assert.AreEqual(3, task.GetSm... | using System;
using NUnit.Framework;
namespace ZadaniaBartosza
{
[TestFixture]
public class Task3Tests
{
Task3 task;
public Task3Tests ()
{
task = new Task3();
}
[Test]
public void CommonDivisorExists()
{
//results taken from https://pl.wikipedia.org/wiki/Liczba_pierwsza
Assert.AreEqual(2, ... | mit | C# |
e96e8c43a532890d841e566c1a907c602cdce052 | Simplify property observation | BandToThePole/MobileApp | CrossPlatform/BTTP/ViewModels/StreamViewModel.cs | CrossPlatform/BTTP/ViewModels/StreamViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
namespace BTTP
{
public abstract class StreamViewModel : ObservableObject
{
public string Title { get; protected set; }
private List<ItemViewModel> items;
public List<ItemViewModel> ... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
namespace BTTP
{
public abstract class StreamViewModel : INotifyPropertyChanged
{
public string Title { get; protected set; }
private List<ItemViewModel> items;
public List<ItemViewM... | apache-2.0 | C# |
0bab8c8389edad512bf853886572148b11b5d6e7 | add Third Party includes for tinyply | indyfree/MoleculeVR,indyfree/MoleculeVR,indyfree/MoleculeVR | Source/MeshGenerator/MeshGenerator.Build.cs | Source/MeshGenerator/MeshGenerator.Build.cs | // Fill out your copyright notice in the Description page of Project Settings.
using System.IO;
using System;
using UnrealBuildTool;
public class MeshGenerator : ModuleRules
{
private string ModulePath
{
get { return ModuleDirectory; }
}
private string ThirdPartyPath
{
get { retur... | // Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
public class MeshGenerator : ModuleRules
{
public MeshGenerator(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ProceduralMeshComponent" });... | mit | C# |
3dbe03e444c6ca015e1f04e29b662e75819f68d6 | Bump version to 1.1 | kevinkuszyk/test-framework | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Kevin Kuszyk")]
[assembly: AssemblyCopyright("Copyright Kevin Kuszyk 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.0")]
[assembly: AssemblyInformationalVersion("1.1... | using System.Reflection;
[assembly: AssemblyCompany("Kevin Kuszyk")]
[assembly: AssemblyCopyright("Copyright Kevin Kuszyk 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyInformationalVersion("1.0... | mit | C# |
6a558634a287ea9c487e03068a6b7426efb85b37 | add of get alert method to interface | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
}
}
| apache-2.0 | C# |
f775ab138a3ce1176744a91817c54432821d4c69 | use the new Uri helper signature | chrismetcalf/SODA.NET,CityofSantaMonica/SODA.NET | Source/SODA/Resource.cs | Source/SODA/Resource.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace SODA
{
public class Resource
{
public string Domain { get; private set; }
public ResourceMetadata Metadata { get; private set; }
public SodaClient Client { get; private set; }
public IEnumer... | using System;
using System.Collections.Generic;
using System.Linq;
namespace SODA
{
public class Resource
{
public string Domain { get; private set; }
public ResourceMetadata Metadata { get; private set; }
public SodaClient Client { get; private set; }
public IEnumer... | mit | C# |
55e06f868fea92947f1cfcb04a26c2df4ea1c156 | Update IconView.cs | andreinitescu/IconApp | IconApp/IconApp/IconView.cs | IconApp/IconApp/IconView.cs | using System;
using Xamarin.Forms;
using System.ComponentModel;
namespace IconApp
{
public class IconView : View
{
#region ForegroundProperty
public static readonly BindableProperty ForegroundProperty = BindableProperty.Create(nameof(Foreground), typeof(Color), typeof(IconView), default(Color));
public Colo... | using System;
using Xamarin.Forms;
using System.ComponentModel;
namespace IconApp
{
public class IconView : View
{
#region ForegroundProperty
public static readonly BindableProperty ForegroundProperty = BindableProperty.Create<IconView, Color> (p => p.Foreground, default(Color));
public Color Foreground {
... | unlicense | C# |
94a26decf8f6c53c145cf47158a9ffc353f95c96 | Remove property | olebg/Movie-Theater-Project | MovieTheater/MovieTheater.Models/HallShedules.cs | MovieTheater/MovieTheater.Models/HallShedules.cs | using System;
namespace MovieTheater.Models
{
public class HallShedules
{
public int Id { get; set; }
public string MovieName { get; set; }
public DateTime ProjectionTime { get; set; }
}
} | using System;
namespace MovieTheater.Models
{
public class HallShedules
{
public int Id { get; set; }
public string MovieName { get; set; }
public DateTime ProjectionTime { get; set; }
public virtual Hall Hall { get; set; }
}
} | mit | C# |
b5019ecab7db65152b4a678d3e1bcc80cd65be68 | Fix the singleton instance field. | TTExtensions/MouseClickSimulator | TTMouseclickSimulator/Core/ToontownRewritten/Environment/TTRWindowsEnvironment.cs | TTMouseclickSimulator/Core/ToontownRewritten/Environment/TTRWindowsEnvironment.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Environment
{
/// <summary>
/// Environment interface for Toontow... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Environment
{
/// <summary>
/// Environment interface for Toontow... | mit | C# |
9a11014c8f0045a2edcf9c3e17e8553f7e0ae083 | Update file version to 2.2.1.6 | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2017";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2017";
public const string... | mit | C# |
3e87d5ee1df618eb8d959e996f47c417e615054d | update samples. | dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP | samples/Sample.RabbitMQ.MySql/Startup.cs | samples/Sample.RabbitMQ.MySql/Startup.cs | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Sample.RabbitMQ.MySql
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Sample.RabbitMQ.MySql
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services... | mit | C# |
f5c94504d46a340ef7df5ee83b2dbd0f5681e676 | Remove the extra return check | krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/GameModes/Traitor.cs | UnityProject/Assets/Scripts/GameModes/Traitor.cs | using UnityEngine;
using Antagonists;
using System.Collections.Generic;
[CreateAssetMenu(menuName="ScriptableObjects/GameModes/Traitor")]
public class Traitor : GameMode
{
private float TraitorAmount = 0;
/// <summary>
/// Set up the station for the game mode
/// </summary>
public override void Se... | using UnityEngine;
using Antagonists;
using System.Collections.Generic;
[CreateAssetMenu(menuName="ScriptableObjects/GameModes/Traitor")]
public class Traitor : GameMode
{
private float TraitorAmount = 0;
/// <summary>
/// Set up the station for the game mode
/// </summary>
public override void Se... | agpl-3.0 | C# |
e58bac7486c8d6db830737dd52e80e902735027e | Use manual xml parsing for fast start-up | SaladLab/Unity3D.IncrementalCompiler,SaladbowlCreative/Unity3D.IncrementalCompiler | core/IncrementalCompiler/Settings.cs | core/IncrementalCompiler/Settings.cs | using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
namespace IncrementalCompiler
{
public class Settings
{
public DebugSymbolFileType DebugSymbolFile;
public PrebuiltOutputReuseType PrebuiltOutputReuse;
public static Settings Default = new Settings
... | using System.IO;
using System.Reflection;
using System.Xml.Serialization;
namespace IncrementalCompiler
{
public class Settings
{
public DebugSymbolFileType DebugSymbolFile;
public PrebuiltOutputReuseType PrebuiltOutputReuse;
public static Settings Default = new Settings
{
... | mit | C# |
4f6d17ed5a1561ed49da3ddf2a05bafe0b01aab5 | Use culture invariant formatter. | SolrNet/SolrNet,SolrNet/SolrNet | SolrNet/TypedStatsResult.cs | SolrNet/TypedStatsResult.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace SolrNet
{
/// <summary>
/// Performs lazy casts of typed StatsResult fields to type T.
/// </summary>
/// <typeparam name="T">The type to cast the `StatsResult` fields to.</typep... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace SolrNet
{
/// <summary>
/// Performs lazy casts of typed StatsResult fields to type T.
/// </summary>
/// <typeparam name="T">The type to cast the `StatsResult` fields to.</typep... | apache-2.0 | C# |
9b3855596a83d6df3fb3b7afec7a5ad0891b6213 | Revert "Added socket id display to BackstabGUI.cs" | hpoggie/Backstab-Networking | Assets/Examples/BackstabGUI.cs | Assets/Examples/BackstabGUI.cs | using UnityEngine;
public class BackstabGUI : NetScript {
private ConnectionData serverData;
public string ipAddress;
void OnGUI () {
if (backstab != null) {
GUILayout.Box("Your socket ID is " +backstab.LocalSocketId);
if (backstab.IsServer) {
GUILayout.Box("Server active.");
} else if (backstab.I... | using UnityEngine;
public class BackstabGUI : NetScript {
private ConnectionData serverData;
public string ipAddress;
public bool debugMode = true;
void OnGUI () {
if (backstab != null) {
GUILayout.Box("Your socket ID is " +backstab.LocalSocketId);
if (backstab.IsServer) {
GUILayout.Box("Server acti... | mit | C# |
26cd5a8a236277ad860ee48e8778c7b644723fcf | Remove comment no longer needed. | Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Protot... | src/Glimpse.Agent.Web/AgentProfiler.cs | src/Glimpse.Agent.Web/AgentProfiler.cs | using Glimpse.Web;
using Microsoft.Framework.Logging;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Web
{
public class AgentProfiler : IRequestProfiler
{
private readonly string _requestIdKey = "RequestId";
private readonly IAgentBroker _messageBus;
public AgentP... | using Glimpse.Web;
using Microsoft.Framework.Logging;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Web
{
public class AgentProfiler : IRequestProfiler
{
private readonly string _requestIdKey = "RequestId";
private readonly IAgentBroker _messageBus;
public AgentP... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.