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 |
|---|---|---|---|---|---|---|---|---|
6eff92b5a22d2e1f3ad4d083386e43e3739d7835 | fix processor | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.Testing/Internal/TestableProcessor.cs | src/Aggregates.NET.Testing/Internal/TestableProcessor.cs | using Aggregates.Contracts;
using Aggregates.Exceptions;
using Newtonsoft.Json;
using NServiceBus.MessageInterfaces.MessageMapper.Reflection;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates.Internal
{
[Exc... | using Aggregates.Contracts;
using Aggregates.Exceptions;
using Newtonsoft.Json;
using NServiceBus.MessageInterfaces.MessageMapper.Reflection;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates.Internal
{
[Exc... | mit | C# |
a9228847dc55419bd01f6ec1e6867142da0aaedf | Add possibility to register a rdl file in test definition | Seddryck/NBi,Seddryck/NBi | NBi.Xml/Items/ReportXml.cs | NBi.Xml/Items/ReportXml.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core;
using NBi.Core.Report;
namespace NBi.Xml.Items
{
public class ReportXml : QueryableXml
{
[XmlAttribute("source")]
public string Source { get; set; ... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Xml.Serialization;
using NBi.Core;
using NBi.Core.Report;
namespace NBi.Xml.Items
{
public class ReportXml : QueryableXml
{
[XmlAttribute("source")]
public string Source { get; set; ... | apache-2.0 | C# |
b08d98a83e5613e6740e206ba268e5c320675f95 | Add doc | jasonmalinowski/roslyn,weltkante/roslyn,davkean/roslyn,jasonmalinowski/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,KevinRansom/roslyn,davkean/roslyn,panopticoncentral/roslyn,KevinRansom/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,davkean/roslyn,mgoertz-msft/roslyn,gafter/roslyn,mgoertz-msft/roslyn,sharwell/roslyn,Cyrus... | src/EditorFeatures/Core/FindUsages/IFindUsagesContext.cs | src/EditorFeatures/Core/FindUsages/IFindUsagesContext.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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Utilities;
... | // 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Utilities;
... | mit | C# |
1f30255e7ebd86e8714d18ff4b286849cb1c4291 | Bump version | nixxquality/WebMConverter,Yuisbean/WebMConverter,o11c/WebMConverter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | mit | C# |
ee5e48223bac3afd8da798b2531c401a5ee6e553 | Modify the AssemblyInfo.cs file. | Zongsoft/Zongsoft.Externals.Redis | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Zongsoft.Externals.Redis")]
[assembly: AssemblyDescription("Zongsoft Externals Redis Library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Zongsoft Corporation")]
[ass... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Zongsoft.Externals.Redis")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Zongsoft.Externals.Redis")]
[assembly: AssemblyCopyright("... | lgpl-2.1 | C# |
84a5cf1d9ec46fb500bab98bb8e3e328466ee791 | set version to 0.1.0 | mastersign/mediacategorizer-ui | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die m... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die m... | mit | C# |
e55b6c52d710697f9ae40fe823a0c7c25a1811c8 | Update version to 1.2.9 | anonymousthing/ListenMoeClient | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Li... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Li... | mit | C# |
51df49b96c36807460183f05fdbb066b649df68c | Update AssemblyInfo.cs | sarbian/DDSLoader | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DD... | 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("DD... | mit | C# |
60b38b27764bc1de1a6033c86124146b075b533d | Add the most basic score calculation for catch | peppy/osu,Nabile-Rahmani/osu,DrabWeb/osu,peppy/osu,DrabWeb/osu,ppy/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,naoey/osu,Frontear/osuKyzer,ZLima12/osu,johnneijzen/osu,naoey/osu,peppy/osu-new,NeoAdonis/osu,Drezi126/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,Use... | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Judgements;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Ga... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Catch.Scoring
{
internal c... | mit | C# |
e20700711cdf95a7da2fb69f138c1c0b10bf2937 | Fix test failures | bartdesmet/roslyn,dotnet/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,bartdesmet/roslyn... | src/Compilers/CSharp/Portable/Compilation/CSharpCompilerDiagnosticAnalyzer.cs | src/Compilers/CSharp/Portable/Compilation/CSharpCompilerDiagnosticAnalyzer.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 disable
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp;
using Mic... | // 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;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp;
using Mic... | mit | C# |
837c00fcefb251dee8771e088806001b6f5c2fe1 | simplify null checking of array | CyrusNajmabadi/roslyn,KevinRansom/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,sharwell/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,AmadeusW/roslyn,eriawan/roslyn,physhi/roslyn,dotnet/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn... | src/EditorFeatures/Core/EditorConfigSettings/DataProvider/CombinedProvider.cs | src/EditorFeatures/Core/EditorConfigSettings/DataProvider/CombinedProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tas... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tas... | mit | C# |
9021840e77b9514eecb04150a6aa5fd87e1cf6c8 | Fix implementation of MemberSearchFilters so it correctly implements IMemberSearchFilterRepository. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.DataAccess/MemberSearchFilters.cs | src/GiveCRM.DataAccess/MemberSearchFilters.cs | using System.Collections.Generic;
using GiveCRM.BusinessLogic;
using GiveCRM.Models;
using Simple.Data;
namespace GiveCRM.DataAccess
{
public class MemberSearchFilters : IMemberSearchFilterRepository
{
private readonly dynamic _db = Database.OpenNamedConnection("GiveCRM");
public IEnumerable<... | using System.Collections.Generic;
using GiveCRM.BusinessLogic;
using GiveCRM.Models;
using Simple.Data;
namespace GiveCRM.DataAccess
{
public class MemberSearchFilters : IMemberSearchFilterRepository
{
private readonly dynamic _db = Database.OpenNamedConnection("GiveCRM");
public IEnumerable<... | mit | C# |
6d03773c50826dd95ecb49f30a24423f0521de66 | fix build | ralbu/randomuser | RandomUser/RandomUserApi.cs | RandomUser/RandomUserApi.cs | using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using RandomUser.Models;
namespace RandomUser
{
public class RandomUserApi
{
/// <summary>
/// Get a random user from http://api.randomuser.me
/// </summary>
/// <returns>Returns a random user.<... | using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using RandomUser.Models;
namespace RandomUser
{
public class RandomUserApi
{
/// <summary>
/// Get a random user from http://api.randomuser.me
/// </summary>
/// <returns>Returns a random user.<... | mit | C# |
73fed378d9ac58324960c378be1ee56321b14043 | Fix test | joaoasrosa/nppxmltreeview,joaoasrosa/nppxmltreeview | tests/NppXmlTreeviewPlugin.Parsers.Tests.Unit/WhenParsingValidXml.cs | tests/NppXmlTreeviewPlugin.Parsers.Tests.Unit/WhenParsingValidXml.cs | using System.IO;
using FluentAssertions;
using Xunit;
namespace NppXmlTreeviewPlugin.Parsers.Tests.Unit
{
public class WhenParsingValidXml
{
[Theory]
[InlineData(@"./TestFiles/NPP_comments.xml")]
[InlineData(@"./TestFiles/NPP_nocomments.xml")]
public void GivenValidXml_ThenFo... | using System.IO;
using FluentAssertions;
using Xunit;
namespace NppXmlTreeviewPlugin.Parsers.Tests.Unit
{
public class WhenParsingValidXml
{
[Theory]
[InlineData(@"./TestFiles/NPP_comments.xml")]
[InlineData(@"./Test/FilesNPP_nocomments.xml")]
public void GivenValidXml_ThenFo... | apache-2.0 | C# |
41f942d4fdc68a5a9370cfd5bb5f03d484e782cd | add .HasPrecision(11, 0); | zbw911/Dev.All,zbw911/Dev.All,zbw911/Dev.All,zbw911/Dev.All | CasSolution/CASServer/Domain/Entities/Models/Mapping/UserExtendMap.cs | CasSolution/CASServer/Domain/Entities/Models/Mapping/UserExtendMap.cs | // ***********************************************************************************
// Created by zbw911
// ڣ20130603 16:48
//
// ڣ20130603 17:25
// ļCASServer/Domain.Entities/UserExtendMap.cs
//
// иõĽʼ zbw911#gmail.com
// **************************************************************************... | // ***********************************************************************************
// Created by zbw911
// ڣ20130603 16:48
//
// ڣ20130603 17:25
// ļCASServer/Domain.Entities/UserExtendMap.cs
//
// иõĽʼ zbw911#gmail.com
// **************************************************************************... | apache-2.0 | C# |
6f334c3f4c24e7d3cebb538abbc3a06f8c231daa | Remove blocks duplication | BioWareRu/BioEngine,BioWareRu/BioEngine,BioWareRu/BioEngine | src/BioEngine.Admin/AdminApplication.cs | src/BioEngine.Admin/AdminApplication.cs | using BioEngine.Admin.Old;
using BioEngine.Core.IPB;
using BioEngine.Core.IPB.Users;
using Microsoft.Extensions.DependencyInjection;
using Sitko.Blockly.AntDesignComponents;
using Sitko.Blockly.AntDesignComponents.Blocks;
using Sitko.Blockly.Blocks;
using Sitko.Core.Db.Postgres;
namespace BioEngine.Admin
{
using ... | using BioEngine.Admin.Old;
using BioEngine.Core.IPB;
using BioEngine.Core.IPB.Users;
using Microsoft.Extensions.DependencyInjection;
using Sitko.Blockly.AntDesignComponents;
using Sitko.Blockly.AntDesignComponents.Blocks;
using Sitko.Blockly.Blocks;
using Sitko.Core.Db.Postgres;
namespace BioEngine.Admin
{
using ... | mit | C# |
6f053bdfe677bec634f16f292fb99296c656d949 | Add interface rotation to Swapping Views method, bug #11681 | hongnguyenpro/monotouch-samples,peteryule/monotouch-samples,sakthivelnagarajan/monotouch-samples,iFreedive/monotouch-samples,robinlaide/monotouch-samples,markradacz/monotouch-samples,kingyond/monotouch-samples,albertoms/monotouch-samples,robinlaide/monotouch-samples,haithemaraissia/monotouch-samples,andypaul/monotouch-... | Rotation/HandlingRotation/Screens/iPad/Method3SwapViews/Controller.cs | Rotation/HandlingRotation/Screens/iPad/Method3SwapViews/Controller.cs | using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace HandlingRotation.Screens.iPad.Method3SwapViews
{
public class Controller : UIViewController
{
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
switch (InterfaceOrientation) {
case UIInterfaceOrientation.LandscapeLeft:... | using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace HandlingRotation.Screens.iPad.Method3SwapViews
{
public class Controller : UIViewController
{
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
switch (InterfaceOrientation) {
case UIInterfaceOrientation.LandscapeLeft:... | mit | C# |
91754e2de440cde3a6cf1dee074e34ba0cbc34cb | Remove debug logging | allmonty/BrokenShield,allmonty/BrokenShield | Assets/Scripts/Enemy/Decision_LowOnStamina.cs | Assets/Scripts/Enemy/Decision_LowOnStamina.cs | using UnityEngine;
[CreateAssetMenu (menuName = "AI/Decisions/LowOnStamina")]
public class Decision_LowOnStamina : Decision {
[SerializeField] float lowStamina;
public override bool Decide(StateController controller) {
return isLowOnStamina(controller);
}
private bool isLowOnStamina(StateController controlle... | using UnityEngine;
[CreateAssetMenu (menuName = "AI/Decisions/LowOnStamina")]
public class Decision_LowOnStamina : Decision {
[SerializeField] float lowStamina;
public override bool Decide(StateController controller) {
return isLowOnStamina(controller);
}
private bool isLowOnStamina(StateController controlle... | apache-2.0 | C# |
2dfb1b51b6e9661c48080ea6c007d912c891636e | Add useful comment | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes | ConsoleApps/FunWithSpikes/FunWithNinject/NamedScopes/NamedScopesTests.cs | ConsoleApps/FunWithSpikes/FunWithNinject/NamedScopes/NamedScopesTests.cs | using Ninject;
using Ninject.Extensions.NamedScope;
using NUnit.Framework;
namespace FunWithNinject.NamedScopes
{
[TestFixture]
public class NamedScopesTests
{
[Test]
public void Get_FuncBoundInNamedScope_ResolvedFuncIsInSameScopeAsParent()
{
// This test depends on Nin... | using Ninject;
using Ninject.Extensions.NamedScope;
using NUnit.Framework;
namespace FunWithNinject.NamedScopes
{
[TestFixture]
public class NamedScopesTests
{
[Test]
public void Get_FuncBoundInNamedScope_ResolvedFuncIsInSameScopeAsParent()
{
// Assemble
usi... | mit | C# |
05accfb7eb6eeb2cb0b0f7ccf64ce12e68a9386c | Update Node.cs | primo-ppcg/BF-Crunch | src/Node.cs | src/Node.cs | using System;
namespace ppcg {
public struct Node : IEquatable<Node> {
public int Pointer;
public int Cost;
public bool Rolling;
public Node(int pointer, int cost, bool rolling = false) {
this.Pointer = pointer;
this.Cost = cost;
thi... | using System;
namespace ppcg {
public struct Node {
public int Pointer;
public int Cost;
public Node(int pointer, int cost) {
this.Pointer = pointer;
this.Cost = cost;
}
public override string ToString() {
return string.F... | mit | C# |
16f9dd44521306d464aa7f6b65b28025ba77e865 | Update RobotName name test to be more restrictive | robkeim/xcsharp,exercism/xcsharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,robkeim/xcsharp | exercises/robot-name/RobotNameTest.cs | exercises/robot-name/RobotNameTest.cs | using Xunit;
public class RobotNameTest
{
private readonly Robot robot = new Robot();
[Fact]
public void Robot_has_a_name()
{
Assert.Matches(@"^[A-Z]{2}\d{3}$", robot.Name);
}
[Fact(Skip = "Remove to run test")]
public void Name_is_the_same_each_time()
{
Assert.Equal(r... | using Xunit;
public class RobotNameTest
{
private readonly Robot robot = new Robot();
[Fact]
public void Robot_has_a_name()
{
Assert.Matches(@"[A-Z]{2}\d{3}", robot.Name);
}
[Fact(Skip = "Remove to run test")]
public void Name_is_the_same_each_time()
{
Assert.Equal(rob... | mit | C# |
233caa379d180d18093c1ce69ae968d15eb5014c | Fix bug in album gain calculation. | karamanolev/NReplayGain | NReplayGain/AlbumGain.cs | NReplayGain/AlbumGain.cs | using System;
using System.Linq;
namespace NReplayGain
{
/// <summary>
/// Contains ReplayGain data for an album.
/// </summary>
public class AlbumGain
{
private GainData albumData;
public AlbumGain()
{
this.albumData = new GainData();
}
/// <s... | using System;
using System.Linq;
namespace NReplayGain
{
/// <summary>
/// Contains ReplayGain data for an album.
/// </summary>
public class AlbumGain
{
private GainData albumData;
public AlbumGain()
{
this.albumData = new GainData();
}
/// <s... | lgpl-2.1 | C# |
a6946b21abe59fc01f7bca6e27066c2dd74a8731 | Update dbContext facade | Database-2015-Team-Chlorine/Teamwork | MediaMonitoringSystem/MediaMonitoringSystem.Data/MySQL/MySqlDbContext.cs | MediaMonitoringSystem/MediaMonitoringSystem.Data/MySQL/MySqlDbContext.cs | namespace MediaMonitoringSystem.Data.MySQL
{
using Telerik.OpenAccess;
public class MySqlDbContext : FluentModel
{
// Ensures that the Database always exists
public MySqlDbContext()
{
UpdateDatabase();
}
private static void UpdateDatabase()
{
... | namespace MediaMonitoringSystem.Data.MySQL
{
using Telerik.OpenAccess;
public class MySqlDbContext : FluentModel
{
public MySqlDbContext()
{
UpdateDatabase();
}
private static void UpdateDatabase()
{
using (var context = new FluentModel())
... | mit | C# |
6bab43a6ae842290195c162364f9985da348c051 | update xmldoc | EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework | osu.Framework/Input/FrameworkActionContainer.cs | osu.Framework/Input/FrameworkActionContainer.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.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Input.Bindings;
namespace osu.Framework.Input
{
internal clas... | // 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.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Input.Bindings;
namespace osu.Framework.Input
{
internal clas... | mit | C# |
4dd4efb43e25f799cd0578d3af0cf6aa52bec662 | disable light mover | ChrisJansson/ProceduralGeneration,ChrisJansson/ProceduralGeneration,ChrisJansson/ProceduralGeneration | source/CjClutter.OpenGl/EntityComponent/LightMoverSystem.cs | source/CjClutter.OpenGl/EntityComponent/LightMoverSystem.cs | using System;
using System.Linq;
using OpenTK;
namespace CjClutter.OpenGl.EntityComponent
{
public class LightMoverSystem : IEntitySystem
{
public void Update(double elapsedTime, EntityManager entityManager)
{
var light= entityManager.GetEntitiesWithComponent<PositionalLightCompone... | using System;
using System.Linq;
using OpenTK;
namespace CjClutter.OpenGl.EntityComponent
{
public class LightMoverSystem : IEntitySystem
{
public void Update(double elapsedTime, EntityManager entityManager)
{
var light= entityManager.GetEntitiesWithComponent<PositionalLightCompone... | mit | C# |
6e6be17442475d16980174ed56bcbfc464328691 | Fix GitHubIssue4703 test | elastic/elasticsearch-net,elastic/elasticsearch-net | tests/Tests.Reproduce/GithubIssue4703.cs | tests/Tests.Reproduce/GithubIssue4703.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Text;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Elasticsearch.Net;
using F... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Text;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using FluentAssertions;
using Ne... | apache-2.0 | C# |
8ed11bd03183c780b9cc66ef5270d37f02ecbe50 | add InterceptorsFilter for AttributeInterceptorMatcher | AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/Lite | src/AspectCore.Lite/Internal/AttributeInterceptorMatcher.cs | src/AspectCore.Lite/Internal/AttributeInterceptorMatcher.cs | using System;
using System.Collections.Concurrent;
using AspectCore.Lite.Abstractions;
using AspectCore.Lite.Common;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Internal
{
internal sealed class AttributeInterceptorMatcher : IInterceptorMatcher
{
... | using System.Collections.Concurrent;
using AspectCore.Lite.Abstractions;
using AspectCore.Lite.Common;
using AspectCore.Lite.Extensions;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Internal
{
internal sealed class AttributeInterceptorMatcher : IIntercept... | mit | C# |
9da0e4459fe91920478783b075b945467acc1486 | reduce nesting and check collection for null | DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Roslyn.CSharp/Helpers/DiagnosticExtensions.cs | src/OmniSharp.Roslyn.CSharp/Helpers/DiagnosticExtensions.cs | using Microsoft.CodeAnalysis;
using OmniSharp.Models.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OmniSharp.Helpers
{
internal static class DiagnosticExtensions
{
internal static DiagnosticLocation ToDiagnosticLocation(this Diagnostic diagno... | using Microsoft.CodeAnalysis;
using OmniSharp.Models.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OmniSharp.Helpers
{
internal static class DiagnosticExtensions
{
internal static DiagnosticLocation ToDiagnosticLocation(this Diagnostic diagno... | mit | C# |
5d4aa97f00d2fff23cdd18a5b75f297c07b39f52 | Fix route matching for typed-in urls | brondavies/wwwplatform.net,brondavies/wwwplatform.net,brondavies/wwwplatform.net | src/web/Extensions/SitePageRouteConstraint.cs | src/web/Extensions/SitePageRouteConstraint.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Routing;
namespace wwwplatform.Extensions
{
public class SitePageRouteConstraint : IRouteConstraint
{
public bool Match(HttpCo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Routing;
namespace wwwplatform.Extensions
{
public class SitePageRouteConstraint : IRouteConstraint
{
public bool Match(HttpCo... | apache-2.0 | C# |
d5455ea87e0e77e3767ef5df1986c30e2d99e654 | Fix KademliaId constructor | zr40/kyru-dotnet,zr40/kyru-dotnet | Kyru/Network/KademliaId.cs | Kyru/Network/KademliaId.cs | using System;
using System.Linq;
using ProtoBuf;
namespace Kyru.Network
{
[ProtoContract]
internal sealed class KademliaId
{
internal const int Size = 160;
private const int ArraySize = Size / 8;
[ProtoMember(1)]
private readonly byte[] id = new byte[ArraySize];
private KademliaId()
... | using System;
using System.Linq;
using ProtoBuf;
namespace Kyru.Network
{
[ProtoContract]
internal sealed class KademliaId
{
internal const int Size = 160;
private const int ArraySize = Size / 8;
[ProtoMember(1)]
private readonly byte[] id = new byte[ArraySize];
private KademliaId()
... | bsd-3-clause | C# |
b77e6013d2ac0fe9d96abf0a66d05809bd47fe5f | Use MergeWithGremlinqSection. | ExRam/ExRam.Gremlinq | src/ExRam.Gremlinq.Providers.WebSocket.AspNet/Extensions/ProviderSetupExtensions.cs | src/ExRam.Gremlinq.Providers.WebSocket.AspNet/Extensions/ProviderSetupExtensions.cs | // ReSharper disable HeapView.PossibleBoxingAllocation
using ExRam.Gremlinq.Providers.WebSocket;
namespace ExRam.Gremlinq.Providers.Core.AspNet
{
public static class ProviderSetupExtensions
{
public static ProviderSetup<TConfigurator> ConfigureWebSocket<TConfigurator>(this ProviderSetup<TConfigurator>... | // ReSharper disable HeapView.PossibleBoxingAllocation
using ExRam.Gremlinq.Providers.WebSocket;
namespace ExRam.Gremlinq.Providers.Core.AspNet
{
public static class ProviderSetupExtensions
{
public static ProviderSetup<TConfigurator> ConfigureWebSocket<TConfigurator>(this ProviderSetup<TConfigurator>... | mit | C# |
32db1cd420510075c9c1317f884cd08910e5db8f | Refactor user agent extensions | wangkanai/Detection | src/Extensions/UserAgentExtensions.cs | src/Extensions/UserAgentExtensions.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Extensions
{
internal static class UserAgentExtensi... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.AspNetCore.Http;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Extensions
{
internal static class UserAgentExtensi... | apache-2.0 | C# |
9cfa83ad5bdaa43722b1931463688f0cfd6bd67f | Add a constructor that only requires messages. | Qowaiv/Qowaiv | src/Qowaiv.ComponentModel/Result_T.cs | src/Qowaiv.ComponentModel/Result_T.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Qowaiv.ComponentModel
{
/// <summary>Represents a result of a validation, executed command, etcetera.</summary>
public class Result<T> : Result
{
/// <summary>Creates a new instance of a <se... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Qowaiv.ComponentModel
{
/// <summary>Represents a result of a validation, executed command, etcetera.</summary>
public class Result<T> : Result
{
/// <summary>Creates a new ins... | mit | C# |
bf5af3310aa1d643e08a0135531fff7b9aff9416 | Update break colour to not look like kiai time | NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/BreakPart.cs | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/BreakPart.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Beatmaps.Timing;
using osu.Game.Graphics;
using osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations;
namespa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Beatmaps.Timing;
using osu.Game.Graphics;
using osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations;
namespa... | mit | C# |
12d3e0ae099f8360dab1062bc1c41fc0269aa297 | Create separate mesh when MjMeshfilter is first instantiated, to support duplicating in Editor | deepmind/mujoco,deepmind/mujoco,deepmind/mujoco,deepmind/mujoco,deepmind/mujoco | unity/Runtime/Components/Shapes/MjMeshFilter.cs | unity/Runtime/Components/Shapes/MjMeshFilter.cs | // Copyright 2019 DeepMind Technologies Limited
//
// 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 l... | // Copyright 2019 DeepMind Technologies Limited
//
// 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 l... | apache-2.0 | C# |
5140cd3c4b3de659a061e652936aa3f0d9571a54 | Refactor parallel exception util | app-enhance/ae-di,app-enhance/ae-di | src/AE.Extensions.DependencyInjection/ParallelExceptionsExtensions.cs | src/AE.Extensions.DependencyInjection/ParallelExceptionsExtensions.cs | namespace AE.Extensions.DependencyInjection
{
using System;
using System.Linq;
internal static class ParallelExceptionsExtensions
{
public static Exception FlattenAndCast<T>(this AggregateException e) where T : Exception, new()
{
var flattenException = e.Flatten();
... | namespace AE.Extensions.DependencyInjection
{
using System;
using System.Linq;
internal static class ParallelExceptionsExtensions
{
public static T FlattenAndCast<T>(this AggregateException e) where T : Exception, new()
{
var flattenException = e.Flatten();
if (... | mit | C# |
67096961ce159df6b0f1f6c44a06c5f5e1e91cc7 | Update CacheItemRecord.cs | SouleDesigns/SouleDesigns.Orchard,ehe888/Orchard,dcinzona/Orchard,Serlead/Orchard,dcinzona/Orchard,Praggie/Orchard,Serlead/Orchard,omidnasri/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,omidnasri/Orchard,yersans/Orchard,jtkech/Orchard,OrchardCMS/Orchard,TalaveraTechnologySolutions/Orchard,TalaveraTechnologySolution... | src/Orchard.Web/Modules/Orchard.OutputCache/Models/CacheItemRecord.cs | src/Orchard.Web/Modules/Orchard.OutputCache/Models/CacheItemRecord.cs | using System;
using System.ComponentModel.DataAnnotations;
using Orchard.Data.Conventions;
using Orchard.Environment.Extensions;
namespace Orchard.OutputCache.Models {
[OrchardFeature("Orchard.OutputCache.Database")]
public class CacheItemRecord {
public virtual int Id { get; set; }
public vir... | using System;
using System.ComponentModel.DataAnnotations;
using Orchard.Data.Conventions;
using Orchard.Environment.Extensions;
namespace Orchard.OutputCache.Models {
[OrchardFeature("Orchard.OutputCache.Database")]
public class CacheItemRecord {
public virtual int Id { get; set; }
public vir... | bsd-3-clause | C# |
f633e28e94ea93a856e88ab5fab0023aa1e82339 | update AttributeUnit define definition | LagoVista/DeviceAdmin | src/LagoVista.IoT.DeviceAdmin/Models/AttributeUnit.cs | src/LagoVista.IoT.DeviceAdmin/Models/AttributeUnit.cs | using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.IoT.DeviceAdmin.Resources;
using Newtonsoft.Json;
using System;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryResources.Names.AttributeUnit_Title, Resources.DeviceLibrary... | using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.IoT.DeviceAdmin.Resources;
using Newtonsoft.Json;
using System;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryResources.Names.AttributeUnit_Title, Resources.DeviceLibrary... | mit | C# |
4f511e5bfca883f1ede29f816a70a6cd9eed870f | Remove quota because quota filter exists. | yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli | src/MsgPack.Rpc.Client/Rpc/Client/ErrorInterpreter.cs | src/MsgPack.Rpc.Client/Rpc/Client/ErrorInterpreter.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | apache-2.0 | C# |
7b4f1e0ac9b8db31bf51fae56f87db50cb7c712c | Update CupShuffle with proper command call | plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare | Assets/Resources/Microgames/CupShuffle/Scripts/CupShuffleController.cs | Assets/Resources/Microgames/CupShuffle/Scripts/CupShuffleController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CupShuffleController : MonoBehaviour
{
public static CupShuffleController instance;
public int cupCount, shuffleCount;
public float shuffleTime, shuffleStartDelay;
public GameObject cupPrefab;
public AudioClip shuffleCli... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CupShuffleController : MonoBehaviour
{
public static CupShuffleController instance;
public int cupCount, shuffleCount;
public float shuffleTime, shuffleStartDelay;
public GameObject cupPrefab;
public AudioClip shuffleCli... | mit | C# |
a02a9634a72e6afddc54ffd3fe8f2b66ed38ddbf | Allow the static property to be protected | cdmdotnet/CQRS,Chinchilla-Software-Com/CQRS | Cqrs/Framework/Cqrs.Ninject/Configuration/NinjectDependencyResolver.cs | Cqrs/Framework/Cqrs.Ninject/Configuration/NinjectDependencyResolver.cs | using System;
using System.Linq;
using Cqrs.Configuration;
using Ninject;
using Ninject.Parameters;
namespace Cqrs.Ninject.Configuration
{
public class NinjectDependencyResolver : IServiceLocator
{
public static IServiceLocator Current { get; protected set; }
static NinjectDependencyResolver()
{... | using System;
using System.Linq;
using Cqrs.Configuration;
using Ninject;
using Ninject.Parameters;
namespace Cqrs.Ninject.Configuration
{
public class NinjectDependencyResolver : IServiceLocator
{
public static IServiceLocator Current { get; private set; }
static NinjectDependencyResolver()
{
... | lgpl-2.1 | C# |
25988ee84c69619985adb88bcb4cb6fe61ec4ec9 | Fix error in user authorization service. | BibliothecaTeam/Bibliotheca.Server.Gateway,BibliothecaTeam/Bibliotheca.Server.Gateway | src/Bibliotheca.Server.Gateway.Api/UserTokenAuthorization/UserTokenOptionsService.cs | src/Bibliotheca.Server.Gateway.Api/UserTokenAuthorization/UserTokenOptionsService.cs | using Bibliotheca.Server.Gateway.Core.Parameters;
using Bibliotheca.Server.Mvc.Middleware.Authorization.UserTokenAuthentication;
using Bibliotheca.Server.ServiceDiscovery.ServiceClient;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Bibliotheca.Server.Gateway.Api.UserTokenAuthorizati... | using Bibliotheca.Server.Gateway.Core.Parameters;
using Bibliotheca.Server.Mvc.Middleware.Authorization.UserTokenAuthentication;
using Bibliotheca.Server.ServiceDiscovery.ServiceClient;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Bibliotheca.Server.Gateway.Api.UserTokenAuthorizati... | mit | C# |
d68b3004f093cdf67a787b8068a21a7e76193a59 | Add NOINDEX to error pages | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Views/Shared/Error.cshtml | src/LondonTravel.Site/Views/Shared/Error.cshtml | @model int?
@{
ViewBag.MetaDescription = string.Empty;
ViewBag.MetaRobots = "NOINDEX";
ViewBag.Title = "Error";
ViewBag.Message = ViewBag.Message ?? "An error occurred while processing your request.";
}
<h1 class="text-danger">Error (HTTP @(Model ?? 500))</h1>
<h2 class="text-danger">@ViewBag.Message</... | @model int?
@{
ViewBag.Title = "Error";
ViewBag.Message = ViewBag.Message ?? "An error occurred while processing your request.";
}
<h1 class="text-danger">Error (HTTP @(Model ?? 500))</h1>
<h2 class="text-danger">@ViewBag.Message</h2>
| apache-2.0 | C# |
339bfc5b7f2b1b65b31623df472b75b242a46450 | fix missing to use invalid propery | MeilCli/CrossFormattedText | Source/Plugin.CrossFormattedText.Android/ExtendedLinkMovementMethod.cs | Source/Plugin.CrossFormattedText.Android/ExtendedLinkMovementMethod.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Text;
using Android.Text.Method;
using Android.Views;
using Android.Widget;
namespace Plugin.CrossFormattedText {
public class Exte... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Text;
using Android.Text.Method;
using Android.Views;
using Android.Widget;
namespace Plugin.CrossFormattedText {
public class Exte... | mit | C# |
860f41b03c4d4a8053e2c25886d74d60a1873f83 | Remove extra bracket | EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/Events/JoystickEvent.cs | osu.Framework/Input/Events/JoystickEvent.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.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Input.States;
using osu.Framework.Utils;
namespace osu.Framework.In... | // 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.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Input.States;
using osu.Framework.Utils;
namespace osu.Framework.In... | mit | C# |
2ba88923b624d012c69c99d40b834beab47e407e | Select user preferred ruleset on overlay ruleset selectors initially | smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Overlays/OverlayRulesetSelector.cs | osu.Game/Overlays/OverlayRulesetSelector.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Online.... | // 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;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Rulesets;
using osuTK;
namespace osu.G... | mit | C# |
3dfa8a139a23f635f08d2c4c90fcc020789e8ddd | add test for step contexts for teardowns | adamralph/xbehave.net,xbehave/xbehave.net | tests/Xbehave.Test/MetadataFeature.cs | tests/Xbehave.Test/MetadataFeature.cs | // <copyright file="MetadataFeature.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave.Test
{
using FluentAssertions;
using Xbehave.Sdk;
using Xunit.Sdk;
public class MetadataFeature
{
[Scen... | // <copyright file="MetadataFeature.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave.Test
{
using FluentAssertions;
using Xbehave.Sdk;
using Xunit.Sdk;
public class MetadataFeature
{
[Sce... | mit | C# |
b82b91c8b24039514bf36a330a42726f1697211f | Enable cache support | michael-reichenauer/Dependinator | Dependinator/Modeling/Private/ModelingService.cs | Dependinator/Modeling/Private/ModelingService.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Dependinator.Modeling.Private.Analyzing;
using Dependinator.Modeling.Private.Serializing;
namespace Dependinator.Modeling.Private
{
internal class ModelingService : IModelingService
{
private readonly IReflection... | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Dependinator.Modeling.Private.Analyzing;
using Dependinator.Modeling.Private.Serializing;
namespace Dependinator.Modeling.Private
{
internal class ModelingService : IModelingService
{
private readonly IReflection... | mit | C# |
f5301b104bf2b3cbdb35bf82734432e3fb182512 | fix UpdateNpmPackage | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20201125_ReactBootstrap14.cs | Signum.Upgrade/Upgrades/Upgrade_20201125_ReactBootstrap14.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20201125_ReactBootstrap14 : CodeUpgradeBase
{
public ov... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20201125_ReactBootstrap14 : CodeUpgradeBase
{
public ov... | mit | C# |
7df5de62a135b69135d6b4b0c83fdc2d133b2710 | remove redundant using | adamralph/liteguard,adamralph/liteguard | targets/Program.cs | targets/Program.cs | using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("build", () => RunAsync("dotnet", "build --configuration Release --nologo --verbosity quiet"));
Ta... | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("build", () => RunAsync("dotnet", "build --configuration Release --nologo --verbosity quiet"))... | mit | C# |
a34b5b7d1e059ae4c1d72fdbf129c2311fbe8f59 | bump version | mj1856/NodaTime.NetworkClock | NodaTime.NetworkClock/Properties/AssemblyInfo.cs | NodaTime.NetworkClock/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("NodaTime.NetworkClock")]
[assembly: AssemblyCopyright("Copyright © 2014, Matt Johnson. MIT Licensed.")]
[assembly: AssemblyTitle("NodaTime.NetworkClock")]
[assembly: AssemblyDescription("A NodaTime.IClock implementation ... | using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("NodaTime.NetworkClock")]
[assembly: AssemblyCopyright("Copyright © 2014, Matt Johnson. MIT Licensed.")]
[assembly: AssemblyTitle("NodaTime.NetworkClock")]
[assembly: AssemblyDescription("A NodaTime.IClock implementation ... | mit | C# |
8475f9f43d4acb9425002569a13bda555fa9cea2 | Fix bug when match end before Mvp announce | CSGO-Analysis/CSGO-Analyzer | DemoParser-Model/Services/ScoreBoardService.cs | DemoParser-Model/Services/ScoreBoardService.cs | using DemoParser_Model.Models;
namespace DemoParser_Model.Services
{
public class ScoreBoardService : IScoreBoardService
{
private IRatingService ratingService = new RatingService();
public ScoreBoard GetScoreBoard(Game game) // OrderType : Team, KDR, Rating, ...
{
ScoreBoard scoreBoard = new ScoreBoard()... | using DemoParser_Model.Models;
namespace DemoParser_Model.Services
{
public class ScoreBoardService : IScoreBoardService
{
private IRatingService ratingService = new RatingService();
public ScoreBoard GetScoreBoard(Game game) // OrderType : Team, KDR, Rating, ...
{
ScoreBoard scoreBoard = new ScoreBoard()... | mit | C# |
ce735eef51106ebf750c414eab2357409879ea19 | Remove no longer necessary comment | ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZL... | osu.Framework/Graphics/Shaders/UniformMapping.cs | osu.Framework/Graphics/Shaders/UniformMapping.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
namespace osu.Framework.Graphics.Shaders
{
/// <summary>
/// A mapping of a global uniform to many shaders which ne... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
namespace osu.Framework.Graphics.Shaders
{
/// <summary>
/// A mapping of a global uniform to many shaders which ne... | mit | C# |
562054b71da7975a3d3a0d5308ec800ceafe05d7 | Fix SDL so name | smoogipooo/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Tom94/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-fram... | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
private const strin... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
private const strin... | mit | C# |
c71d2c9b4d57e22cde5707ef8701bfb66f79d2b7 | upgrade version | gerryhigh/ServiceStack.Text,gerryhigh/ServiceStack.Text,mono/ServiceStack.Text,meebey/ServiceStack.Text,NServiceKit/NServiceKit.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text | src/ServiceStack.Text/Env.cs | src/ServiceStack.Text/Env.cs |
using System;
namespace ServiceStack.Text
{
public static class Env
{
static Env()
{
var platform = (int)Environment.OSVersion.Platform;
IsUnix = (platform == 4) || (platform == 6) || (platform == 128);
IsMono = Type.GetType("Mono.Runtime") != null;
IsMonoTouch = Type.GetType("MonoTo... |
using System;
namespace ServiceStack.Text
{
public static class Env
{
static Env()
{
var platform = (int)Environment.OSVersion.Platform;
IsUnix = (platform == 4) || (platform == 6) || (platform == 128);
IsMono = Type.GetType("Mono.Runtime") != null;
IsMonoTouch = Type.GetType("MonoTo... | bsd-3-clause | C# |
314d7ba067fa088e5385c6348925e15fd35cd7e4 | update for 2.0.6 | IdentityServer/IdentityServer4.Quickstart.UI,IdentityServer/IdentityServer4.Quickstart.UI,IdentityServer/IdentityServer4.Quickstart.UI,IdentityServer/IdentityServer4.Quickstart.UI | Quickstart/Account/LoginViewModel.cs | Quickstart/Account/LoginViewModel.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace IdentityServer4.Quickstart.UI
{
public class LoginViewModel... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace IdentityServer4.Quickstart.UI
{
public class LoginViewModel... | apache-2.0 | C# |
9d2104117b6a8d120c4f8d554e7b002dab0f83e4 | clean up assemblyinfo | pandeysoni/sendgrid-csharp,kenlefeb/sendgrid-csharp,pandeysoni/sendgrid-csharp,sendgrid/sendgrid-csharp,sumeshthomas/sendgrid-csharp,brcaswell/sendgrid-csharp,FriskyLingo/sendgrid-csharp,sendgrid/sendgrid-csharp,brcaswell/sendgrid-csharp,FriskyLingo/sendgrid-csharp,dubrovkinmaxim/sendgrid-csharp,sumeshthomas/sendgrid-c... | SendGrid/SendGridMail/Properties/AssemblyInfo.cs | SendGrid/SendGridMail/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: Assembly... | 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: Assembly... | mit | C# |
19aae9aebc64c681bd3ae140e82e76baa0701cd0 | Document a promise to reintroduce the DocumentText get | darcywong00/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,chrisvire/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,JohnThomson/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,gtryus/libp... | PalasoUIWindowsForms/HtmlBrowser/IWebBrowser.cs | PalasoUIWindowsForms/HtmlBrowser/IWebBrowser.cs | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.HtmlBrowser
{
public interface IWebBrowser
{
bool CanGoBack { get; }
bool CanGoForward { get; }
/// <summar... | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.HtmlBrowser
{
public interface IWebBrowser
{
bool CanGoBack { get; }
bool CanGoForward { get; }
string Docu... | mit | C# |
7f4a7a90218cacb42a6c12bf9da83727dc4c3702 | Remove unused using statement. | fancidev/DosHelp | QuickHelp/Serialization/SerializationOptions.cs | QuickHelp/Serialization/SerializationOptions.cs | using System;
using System.Collections.Generic;
namespace QuickHelp.Serialization
{
/// <summary>
/// Contains options to control the serialization process.
/// </summary>
public class SerializationOptions
{
private readonly List<byte[]> m_keywords = new List<byte[]>();
/// <summa... | using System;
using System.Collections.Generic;
using System.Text;
namespace QuickHelp.Serialization
{
/// <summary>
/// Contains options to control the serialization process.
/// </summary>
public class SerializationOptions
{
private readonly List<byte[]> m_keywords = new List<byte[]>();
... | apache-2.0 | C# |
6d943f400194e7091da322419ceb9b1a47a17ea3 | simplify splat test | Fody/FodyAddinSamples,bcuff/FodyAddinSamples,Fody/FodyAddinSamples | AnotarSplatSample/SplatExceptionSample.cs | AnotarSplatSample/SplatExceptionSample.cs | using System;
using Anotar.Splat;
using NUnit.Framework;
[TestFixture]
public class SplatExceptionSample
{
[Test]
public void Run()
{
try
{
MyMethod();
}
catch
{
}
var lastMessage = LogCaptureBuilder.LastMessage.Replace(Environment.NewLin... | using System;
using Anotar.Splat;
using NUnit.Framework;
[TestFixture]
public class SplatExceptionSample
{
[Test]
public void Run()
{
try
{
MyMethod();
}
catch
{
}
var lastMessage = LogCaptureBuilder.LastMessage.Replace(Environment.NewLin... | mit | C# |
a85b8308001111dfd6e0c5bb5b225829072d948d | Update code comment | madsbangh/EasyButtons | Assets/EasyButtons/Editor/ButtonEditor.cs | Assets/EasyButtons/Editor/ButtonEditor.cs | using System.Linq;
using UnityEngine;
using UnityEditor;
/// <summary>
/// Editor that adds Easy Buttons to all MonoBehaviour derived classes.
/// </summary>
namespace EasyButtons
{
// Custom inspector for MonoBehaviour including derived classes
[CustomEditor(typeof(MonoBehaviour), true)]
public class But... | using System.Linq;
using UnityEngine;
using UnityEditor;
/// <summary>
/// Editor that adds Easy Buttons to all MonoBehaviour derived classes.
/// </summary>
namespace EasyButtons
{
// Custom inspector for MonoBehaviour including derived classes
[CustomEditor(typeof(MonoBehaviour), true)]
public class But... | mit | C# |
93898efd37c64983097cdfc639360590b7d69523 | remove unnecessary calls to disable client state | RealRui/SimpleScene,smoothdeveloper/SimpleScene,jeske/SimpleScene,Namone/SimpleScene | SimpleScene/Meshes/SSVertexBuffer.cs | SimpleScene/Meshes/SSVertexBuffer.cs | using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace SimpleScene
{
public interface ISSVertexLayout {
int sizeOf();
void bindGLAttributes(SSShaderProgram shader);
}
// http://www.opentk.com/doc/graphics/geometry/vertex-buffer-objects
public class SSVertexBuffer<VB> where VB : struct, ISSVer... | using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace SimpleScene
{
public interface ISSVertexLayout {
int sizeOf();
void bindGLAttributes(SSShaderProgram shader);
}
// http://www.opentk.com/doc/graphics/geometry/vertex-buffer-objects
public class SSVertexBuffer<VB> where VB : struct, ISSVer... | apache-2.0 | C# |
70ef7a1fbcca2b883c42a97425d6de3a9ed74f19 | Remove unused namespaces. | jrmitch120/OctgnImageDb | OctgnImageDb/Setup/Init.DependencyInjection.cs | OctgnImageDb/Setup/Init.DependencyInjection.cs | using Ninject;
using OctgnImageDb.Imaging;
using OctgnImageDb.Imaging.Doomtown;
using OctgnImageDb.Imaging.Netrunner;
using OctgnImageDb.Imaging.Starwars;
namespace OctgnImageDb.Setup
{
public partial class Init
{
public static IKernel Container()
{
var kernel = new StandardKernel(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ninject;
using OctgnImageDb.Imaging;
using OctgnImageDb.Imaging.Doomtown;
using OctgnImageDb.Imaging.Netrunner;
using OctgnImageDb.Imaging.Starwars;
namespace OctgnImageDb.Setup
{
public parti... | mit | C# |
ecde633ab079e5de7328617cd6d28a5d25f60ef1 | Bump version to 0.1.1 | queueRAM/Texture64 | Texture64/Properties/AssemblyInfo.cs | Texture64/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
55f0487bb8c6981c71392841d225c0ccb4701753 | Update annotations for types implementing IDynamicTypeSymbol | CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,genlu/roslyn,aelij/roslyn,genlu/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,AlekseyTs/roslyn,eriawan/roslyn,dotnet/roslyn,AlekseyTs/roslyn,sharwell/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,jmarolf/roslyn,gafter/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,agoc... | src/Compilers/CSharp/Portable/Symbols/PublicModel/DynamicTypeSymbol.cs | src/Compilers/CSharp/Portable/Symbols/PublicModel/DynamicTypeSymbol.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.
#nullable enable
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel
{
interna... | // 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.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel
{
internal sealed class DynamicTypeSymbol : TypeSymbol, IDynamicTy... | mit | C# |
e88d5d10fabf43cf61ba2f5c9e7d0df9b4e90fd8 | Update VacancyLive.cshtml | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyLive.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyLive.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
@{
var applicationsTextSuffix = !Model.NoOfApplications.GetValueOrDefault().Equals(0) ? (Model.NoOfApplications.Value.Equals(1) ? "application" : "applications") : "";
var applicationsTextPrefix = !Model.NoOfApplications.GetValueOrDefault().Equal... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
@{
var applicationsTextSuffix = !Model.NoOfApplications.GetValueOrDefault().Equals(0) ? (Model.NoOfApplications.Value.Equals(1) ? "application" : "applications") : "";
var applicationsTextPrefix = !Model.NoOfApplications.GetValueOrDefault().Equal... | mit | C# |
b21e25b39528b4369ede8725d65c91d17197bc52 | Make DayTemplate.DayOfWeek read-only. | jakubfijalkowski/studentscalendar | StudentsCalendar.Core/Templates/DayTemplate.cs | StudentsCalendar.Core/Templates/DayTemplate.cs | using System.Collections.Generic;
using NodaTime;
namespace StudentsCalendar.Core.Templates
{
/// <summary>
/// Szablon dzienny.
/// </summary>
public sealed class DayTemplate
{
private readonly IsoDayOfWeek _DayOfWeek;
/// <summary>
/// Pobiera dzień tygodnia, który dany szablon opisuje.
/// </summary>... | using System.Collections.Generic;
using NodaTime;
namespace StudentsCalendar.Core.Templates
{
/// <summary>
/// Szablon dzienny.
/// </summary>
public sealed class DayTemplate
{
private IsoDayOfWeek _DayOfWeek;
/// <summary>
/// Pobiera dzień tygodnia, który dany szablon opisuje.
/// </summary>
public... | mit | C# |
85b413c519267c75c130cecee2a5175a52bf0070 | Test coverage for viewing a simple type member conversion in a mapping plan | agileobjects/AgileMapper | AgileMapper.UnitTests/WhenViewingMappingPlans.cs | AgileMapper.UnitTests/WhenViewingMappingPlans.cs | namespace AgileObjects.AgileMapper.UnitTests
{
using System;
using System.Collections.Generic;
using Shouldly;
using TestClasses;
using Xunit;
public class WhenViewingMappingPlans
{
[Fact]
public void ShouldIncludeASimpleTypeMemberMapping()
{
var plan = ... | namespace AgileObjects.AgileMapper.UnitTests
{
using System.Collections.Generic;
using Shouldly;
using TestClasses;
using Xunit;
public class WhenViewingMappingPlans
{
[Fact]
public void ShouldIncludeASimpleTypeMemberMapping()
{
var plan = Mapper
... | mit | C# |
30967e9db7599e03feaa4c1740e390beab46891f | Add support for quote-enclosed values w/o spacing (POSIX) | LouisTakePILLz/ArgumentParser | ArgumentParser/Patterns/POSIXParameterPattern.cs | ArgumentParser/Patterns/POSIXParameterPattern.cs | //-----------------------------------------------------------------------
// <copyright file="POSIXParameterPattern.cs" company="LouisTakePILLz">
// Copyright © 2015 LouisTakePILLz
// <author>LouisTakePILLz</author>
// </copyright>
//-----------------------------------------------------------------------
/*
* This p... | //-----------------------------------------------------------------------
// <copyright file="POSIXParameterPattern.cs" company="LouisTakePILLz">
// Copyright © 2015 LouisTakePILLz
// <author>LouisTakePILLz</author>
// </copyright>
//-----------------------------------------------------------------------
/*
* This p... | apache-2.0 | C# |
33cb99ac5da96a0c4bc1502812de95bbee05f85b | Remove unused using | jamesology/AzureVmFarmer,jamesology/AzureVmFarmer | AzureVmFarmer/AzureVmFarmer.Worker/WorkerRole.cs | AzureVmFarmer/AzureVmFarmer.Worker/WorkerRole.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Threading;
using AzureVmFarmer.Core.Messengers;
using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.ServiceRuntime;
using StructureMap;
name... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Threading;
using AzureVmFarmer.Core.Messengers;
using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.ServiceRuntime;... | mit | C# |
0f07476962e4b643323d5884e2d8c8440203e83d | Load the selected supervisor | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Queries/GetSUTARequests.cs | Battery-Commander.Web/Queries/GetSUTARequests.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace BatteryCommander.Web.Queries
{
public class GetSUTARequests : IRequest<IEnumer... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace BatteryCommander.Web.Queries
{
public class GetSUTARequests : IRequest<IEnumer... | mit | C# |
edde7e95afa4369836a954f30b9fcaa9ee3b7d4a | Update AssemblyInfo.cs | stilldesign/AppTracking | AppTracking/Properties/AssemblyInfo.cs | AppTracking/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
88aea3d6e55a4d3cd468c71e8522ac1d55f9fbee | Refactor to make steps of protocol clearer | 0culus/ElectronicCash | BitCommitment/BitCommitmentProvider.cs | BitCommitment/BitCommitmentProvider.cs | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's RandBytes1-way
/// function method for committing bits
/// </summary>
pu... | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function method for committing bits
/// </summary>
public cl... | mit | C# |
e8fb6859789491e76e2fd8abf0a1e0fde7d4ee66 | Implement IParser on method syntax builder. | fffej/BobTheBuilder,alastairs/BobTheBuilder | BobTheBuilder/Syntax/DynamicBuilder.cs | BobTheBuilder/Syntax/DynamicBuilder.cs | using System.Dynamic;
using BobTheBuilder.ArgumentStore;
namespace BobTheBuilder.Syntax
{
public class DynamicBuilder<T> : DynamicBuilderBase<T>, IParser where T: class
{
public DynamicBuilder(IArgumentStore argumentStore) : base(argumentStore) { }
public override bool InvokeBuilderMethod(Inv... | using System.Dynamic;
using BobTheBuilder.ArgumentStore;
namespace BobTheBuilder.Syntax
{
public class DynamicBuilder<T> : DynamicBuilderBase<T> where T: class
{
public DynamicBuilder(IArgumentStore argumentStore) : base(argumentStore) { }
public override bool InvokeBuilderMethod(InvokeMember... | apache-2.0 | C# |
7b4503220619ba603ff56d57aeaeb927f6a108fd | Change application title displayed in browser title bar | stephengtuggy/AspNetMvcEF6ContactManager,stephengtuggy/AspNetMvcEF6ContactManager,stephengtuggy/AspNetMvcEF6ContactManager | AspNetMvcEF6ContactManager/Views/Shared/_Layout.cshtml | AspNetMvcEF6ContactManager/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - AspNetMvcEF6ContactManager</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navba... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-in... | mit | C# |
e25ba7f3208c3aa3e7f35a60b562c8a0ff33370e | Remove blank rows | tzachshabtay/MonoAGS | Source/Tests/Engine/Misc/Utils/MathUtilsTests.cs | Source/Tests/Engine/Misc/Utils/MathUtilsTests.cs | using NUnit.Framework;
using AGS.API;
namespace Tests
{
[TestFixture]
public class MathUtilsTests
{
[TestCase(1, Result= 1)]
[TestCase(2, Result= 2)]
[TestCase(3, Result= 4)]
[TestCase(4, Result= 4)]
[TestCase(13, Result= 16)]
[TestCase(33, Result= 64)]
[TestCase(1000, Result= 1024)]
[TestCase(1024... | using NUnit.Framework;
using AGS.API;
namespace Tests
{
[TestFixture]
public class MathUtilsTests
{
[TestCase(1, Result= 1)]
[TestCase(2, Result= 2)]
[TestCase(3, Result= 4)]
[TestCase(4, Result= 4)]
[TestCase(13, Result= 16)]
[TestCase(33, Result= 64)]
[TestCase(1000, Result= 1024)]
[TestCase(1024... | artistic-2.0 | C# |
9109b88c550a7fd7312a6b71a5d1ea312fdf3883 | implement action method in web api for rules creation | yoliva/game-of-drones,yoliva/game-of-drones,yoliva/game-of-drones | Source/GameOfDrones.API/Controllers/RulesController.cs | Source/GameOfDrones.API/Controllers/RulesController.cs | using System.Linq;
using System.Web.Http;
using GameOfDrones.API.Models;
using GameOfDrones.Domain.Entities;
using GameOfDrones.Domain.Repositories;
namespace GameOfDrones.API.Controllers
{
[RoutePrefix("api/v1/rules")]
public class RulesController : ApiController
{
private readonly IGameOfDronesR... | using System.Linq;
using System.Web.Http;
using GameOfDrones.Domain.Repositories;
namespace GameOfDrones.API.Controllers
{
[RoutePrefix("api/v1/rules")]
public class RulesController : ApiController
{
private readonly IGameOfDronesRepository _gameOfDronesRepository;
public RulesController(... | mit | C# |
f8245bc6347829be36b3b28bfe275d8ccad72ed4 | Make send try policy more aggressive | Abc-Arbitrage/Zebus,biarne-a/Zebus | src/Abc.Zebus/Transport/ZmqSocketOptions.cs | src/Abc.Zebus/Transport/ZmqSocketOptions.cs | using System;
using Abc.Zebus.Util;
namespace Abc.Zebus.Transport
{
public class ZmqSocketOptions : IZmqSocketOptions
{
public ZmqSocketOptions()
{
ReadTimeout = 300.Milliseconds();
SendHighWaterMark = 20000;
SendTimeout = 100.Milliseconds();
Sen... | using System;
using Abc.Zebus.Util;
namespace Abc.Zebus.Transport
{
public class ZmqSocketOptions : IZmqSocketOptions
{
public ZmqSocketOptions()
{
ReadTimeout = 300.Milliseconds();
SendHighWaterMark = 20000;
SendTimeout = 1000.Milliseconds();
Se... | mit | C# |
2ac0da5c0e64769e03061a6a5d4d34e90f59b732 | Read config configurationmanager | okaram/azure-website,okaram/azure-website | read-config.cshtml | read-config.cshtml | <!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>Salutation: @Environment.GetEnvironmentVariable("APPSETTING_Salutation")</p>
<p>Salutation: @System.Configuration.ConfigurationManager.AppSettings["Salutation"]</p>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>Salutation: @Environment.GetEnvironmentVariable("APPSETTING_Salutation")</p>
<p>Salutation: </p>
</body>
</html>
| unlicense | C# |
a59af115ec1320eb5aaeb296e7d1336d631ea11e | Fix copyright comment | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Tests/PlayModeTests/PlayModeTestUtilities.cs | Assets/MixedRealityToolkit.Tests/PlayModeTests/PlayModeTestUtilities.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Tests
{
... | using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Tests
{
... | mit | C# |
9f9d86fc409c72b9031d0e3067db87915d628fce | Fix broken attribute. | jherby2k/AudioWorks | AudioWorks/AudioWorks.Extensions/AudioMetadataDecoderExportAttribute.cs | AudioWorks/AudioWorks.Extensions/AudioMetadataDecoderExportAttribute.cs | using JetBrains.Annotations;
using System;
using System.Composition;
using System.IO;
using System.Linq;
namespace AudioWorks.Extensions
{
[PublicAPI, MeansImplicitUse, BaseTypeRequired(typeof(IAudioMetadataDecoder))]
[MetadataAttribute, AttributeUsage(AttributeTargets.Class)]
public sealed class AudioMet... | using JetBrains.Annotations;
using System;
using System.Composition;
using System.IO;
using System.Linq;
namespace AudioWorks.Extensions
{
[PublicAPI, MeansImplicitUse, BaseTypeRequired(typeof(IAudioMetadataDecoder))]
[MetadataAttribute, AttributeUsage(AttributeTargets.Class)]
public sealed class AudioMet... | agpl-3.0 | C# |
d8ef29b74e4e26e1f91ad749b5edae65808a3433 | change name of the main activity in android project | fcartu/HelpDeskMobile | Droid/MainActivity.cs | Droid/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace HelpDeskMobile.Droid
{
[Activity (Label = "HelpDesk Mobile",
Icon = "@drawable/icon",
MainLauncher = true,
Configuratio... | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace HelpDeskMobile.Droid
{
[Activity (Label = "HelpDeskMobile.Droid",
Icon = "@drawable/icon",
MainLauncher = true,
Configu... | mit | C# |
0f28f4443966f4ca76a234e6a3e36cce5a75cf7d | Change navigation bar color to green | jsauvexamarin/app-crm,jsauvexamarin/app-crm,qipengwu/app-crm,xamarin-automation-service/app-crm,xamarin/app-crm,xamarin/app-crm,xamarin-automation-service/app-crm,xamarin/app-crm,qipengwu/app-crm,qipengwu/app-crm,jsauvexamarin/app-crm,xamarin-automation-service/app-crm,xamarin/app-crm,xamarin-automation-service/app-crm... | src/MobileApp/XamarinCRM.iOS/AppDelegate.cs | src/MobileApp/XamarinCRM.iOS/AppDelegate.cs |
//
// Copyright 2015 Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... |
//
// Copyright 2015 Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | mit | C# |
474e3e50a2e4efc12bd087f89404aeb6027c595a | add missing model: DockerImage | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/DockerImage.cs | src/ProGet.Net/Native/Models/DockerImage.cs | using System;
// ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class DockerImage
{
public int Feed_Id { get; set; }
public string Repository_Name { get; set; }
public string Image_Digest { get; set; }
public byte[] ManifestJson_Bytes { get; s... | namespace ProGet.Net.Native.Models
{
public class DockerImage
{
}
}
| mit | C# |
ac60b1ea966449b171cbdd8eaee72cc395ebbb38 | Check uri starts with sitecore: when converting to sitecore item from uri | Adamsimsy/Sitecore.LinkedData | LinkedData/New/SitecoreTripleHelper.cs | LinkedData/New/SitecoreTripleHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using LinkedData.Concepts;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Links;
using VDS.RDF;
using VDS.RDF.Parsing;
using VDS.RDF.Query;
namespace LinkedData.New
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using LinkedData.Concepts;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Links;
using VDS.RDF;
using VDS.RDF.Parsing;
using VDS.RDF.Query;
namespace LinkedData.New
{
... | mit | C# |
3063ac03ef72292b0d4049e6e06d13a02d95bd26 | load nodes from files | Zefrock/Massive | MassiveSolution/GraphLoader/Program.cs | MassiveSolution/GraphLoader/Program.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphLoader
{
class Program
{
const string GraphFolderKeyName = "GraphFolder";
static Program()
{
AppD... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphLoader
{
class Program
{
const string GraphFolderKeyName = "GraphFolder";
static Program()
{
AppD... | mit | C# |
c47368231bc3af106aa3acabc14fd6544bb8b0fb | Add scrollable player list to round end menu with OOC Usernames. | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Client/UserInterface/RoundEndSummaryWindow.cs | Content.Client/UserInterface/RoundEndSummaryWindow.cs | using Robust.Client.Graphics;
using Robust.Client.Interfaces.Input;
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using R... | using Robust.Client.Graphics;
using Robust.Client.Interfaces.Input;
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using R... | mit | C# |
96f3da1a967b89efd127e140ac324412689aea46 | Update Program.cs | PavlinCPetkov/Tech-Module---Homework | BasicAndIntroLab/AddTwoNumbers/Program.cs | BasicAndIntroLab/AddTwoNumbers/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AddTwoNumbers
{
class AddTwoNumbers
{
static void Main(string[] args)
{
int firstNumber = int.Parse(Console.ReadLine());
int second... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AddTwoNumbers
{
class Program
{
static void Main(string[] args)
{
int firstNumber = int.Parse(Console.ReadLine());
int secondNumber... | mit | C# |
6067a876b5c46fd6a9384a97b71d9276ec001a3f | Fix for last commit | OS2CPRbroker/cprbroker,magenta-aps/cprbroker,magenta-aps/cprbroker,OS2CPRbroker/cprbroker,magenta-aps/cprbroker | PART/Source/CprBroker/InstallerActions.Tests/CprBrokerCustomActions.WebPatches.Tests.cs | PART/Source/CprBroker/InstallerActions.Tests/CprBrokerCustomActions.WebPatches.Tests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CprBrokerWixInstallers;
using CprBroker.Installers;
using Microsoft.Deployment.WindowsInstaller;
using NUnit.Framework;
namespace CprBroker.Tests.InstallerActions
{
namespace CprBrokerCustomAc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CprBrokerWixInstallers;
using CprBroker.Installers;
using Microsoft.Deployment.WindowsInstaller;
using NUnit.Framework;
namespace CprBroker.Tests.InstallerActions
{
namespace CprBrokerCustomAc... | mpl-2.0 | C# |
b3a55413dd1b4f213f4ecc9f300cbb2693bbbbd9 | Bump version to 0.11.2 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
4227f08a8a1eb2403877a26646e0d19be1f1f5a8 | Set FallBackFeeRate to MinimumFeeRate to make testnet and regtest work properly (It is temprorary: until we come to consensus on what the FallBackFeeRate should be) | DanGould/NTumbleBit,NTumbleBit/NTumbleBit | NTumbleBit.TumblerServer/Services/ExternalServices.cs | NTumbleBit.TumblerServer/Services/ExternalServices.cs | using NBitcoin.RPC;
#if !CLIENT
using NTumbleBit.TumblerServer.Services.RPCServices;
#else
using NTumbleBit.Client.Tumbler.Services.RPCServices;
#endif
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#if !CLIENT
namespace NTumbleBit.TumblerServer.Services
#else
namespa... | using NBitcoin.RPC;
#if !CLIENT
using NTumbleBit.TumblerServer.Services.RPCServices;
#else
using NTumbleBit.Client.Tumbler.Services.RPCServices;
#endif
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#if !CLIENT
namespace NTumbleBit.TumblerServer.Services
#else
namespa... | mit | C# |
93847ae78d4cc3db315ed69bd22d4aa0de4def00 | Remove TiltBrushExamples from the .unitypackage | googlevr/tilt-brush-toolkit,googlevr/tilt-brush-toolkit | UnitySDK/Assets/Editor/BuildPackage.cs | UnitySDK/Assets/Editor/BuildPackage.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
static class BuildPackage {
static string kVersionNormalLocation = "Assets/Editor/DummyVERSION.txt";
static string kVersionBuildLocation = "Assets/TiltBrush/VERSION.txt";
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
static class BuildPackage {
static string kVersionNormalLocation = "Assets/Editor/DummyVERSION.txt";
static string kVersionBuildLocation = "Assets/TiltBrush/VERSION.txt";
... | apache-2.0 | C# |
ddcb36f36e5846ca8eef1451eb9635099ef9d10b | Remove unintended comments. | fixie/fixie | src/Fixie/Convention.cs | src/Fixie/Convention.cs | namespace Fixie
{
using System.Reflection;
using Conventions;
/// <summary>
/// Base class for all Fixie conventions. Subclass Convention to customize test discovery and execution.
/// </summary>
public class Convention
{
public Convention()
{
Config = new Confi... | namespace Fixie
{
using System.Reflection;
using Conventions;
/// <summary>
/// Base class for all Fixie conventions. Subclass Convention to customize test discovery and execution.
/// </summary>
public class Convention
{
public Convention()
{
Config = new Confi... | mit | C# |
0fed50116d700670737b4265ed9f23d97565449e | Fix UnitSequenceMatcher.AddBuildAction => remove meaningless legacy code | Ed-ward/Armature | src/Armature.Core/UnitSequenceMatcher/UnitSequenceMatcher.cs | src/Armature.Core/UnitSequenceMatcher/UnitSequenceMatcher.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Armature.Core.Common;
using JetBrains.Annotations;
namespace Armature.Core.UnitSequenceMatcher
{
/// <summary>
/// Base class implementing the logic of adding build actions
/// </summary>
public abstract class ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Armature.Core.Common;
using JetBrains.Annotations;
namespace Armature.Core.UnitSequenceMatcher
{
/// <summary>
/// Base class implementing the logic of adding build actions
/// </summary>
public abstract class ... | apache-2.0 | C# |
d549322a0033d0f9f564a60787b4f67778f8b5be | Add documentation for the Query function. | stacybird/CS510CouchDB,stacybird/CS510CouchDB,stacybird/CS510CouchDB | CouchTrafficClient/QueryBase.cs | CouchTrafficClient/QueryBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Dynamic;
namespace CouchTrafficClient
{
class QueryException : Exception
{
}
class QueryBase
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Dynamic;
namespace CouchTrafficClient
{
class QueryException : Exception
{
}
class QueryBase
{
... | apache-2.0 | C# |
28a61e38d5407d222c2d6a41511a700058d8e05a | update overlay | Flugmango/GlobeVR | Assets/OverlayHandler.cs | Assets/OverlayHandler.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OverlayHandler : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
// adds Overlay to Globe
// @param type type of overlay, "none" fo... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OverlayHandler : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
// adds Overlay to Globe
// @param type type of overlay, "none" fo... | mit | C# |
861906d70b4583cb82a45a5bcc14edb5b679c659 | set UsActive to true by default | johnkors/Thinktecture.IdentityServer.v3,feanz/Thinktecture.IdentityServer.v3,tbitowner/IdentityServer3,bestwpw/IdentityServer3,delRyan/IdentityServer3,wondertrap/IdentityServer3,delloncba/IdentityServer3,SonOfSam/IdentityServer3,openbizgit/IdentityServer3,openbizgit/IdentityServer3,tonyeung/IdentityServer3,faithword/Id... | source/Core/Models/IsActiveContext.cs | source/Core/Models/IsActiveContext.cs | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | apache-2.0 | C# |
0ee74d3bc3e6ff63360656318f8803317c0598e4 | Set copyright | bojanrajkovic/GifWin | src/GifWin/Properties/AssemblyInfo.cs | src/GifWin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
8841c1d138bb68a55b0f76e1af77dee8a7a45989 | Update RasterFormat.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/RasterFormat.cs | src/api/RasterFormat.cs | // Contributors:
// James Domingo, Green Code LLC
namespace Landis.SpatialModeling
{
/// <summary>
/// Information about a particular raster format that a raster factory
/// supports.
/// </summary>
public class RasterFormat
{
/// <summary>
/// A short code identif... | // Copyright 2012 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/B... | apache-2.0 | C# |
e426f3737e0f5c49a831f1831bcaea7bba440f98 | Remove unused using | Misza13/StarsReloaded | StarsReloaded.Shared.Tests/WorldGen/Services/PlanetGeneratorServiceTests.cs | StarsReloaded.Shared.Tests/WorldGen/Services/PlanetGeneratorServiceTests.cs | namespace StarsReloaded.Shared.Tests.WorldGen.Services
{
using NUnit.Framework;
using StarsReloaded.Shared.Model;
using StarsReloaded.Shared.Services;
using StarsReloaded.Shared.WorldGen.Services;
public class PlanetGeneratorServiceTests
{
////System Under Test
private PlanetGe... | namespace StarsReloaded.Shared.Tests.WorldGen.Services
{
using Moq;
using NUnit.Framework;
using StarsReloaded.Shared.Model;
using StarsReloaded.Shared.Services;
using StarsReloaded.Shared.WorldGen.Services;
public class PlanetGeneratorServiceTests
{
////System Under Test
p... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.