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 |
|---|---|---|---|---|---|---|---|---|
3b9bcd16db2f1f61f4e6b2133a0523ec5c82cfce | Change hard-coded IP address | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | XTouchMini/XTouchMini.MixerControl/Program.cs | XTouchMini/XTouchMini.MixerControl/Program.cs | // Copyright 2021 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using OscMixerControl;
using System;
using System.Threading;
using System.Threading.Tasks;
using XTouchMini.Model;
namespace XTouchMini.MixerControl
{
class Pro... | // Copyright 2021 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using OscMixerControl;
using System;
using System.Threading;
using System.Threading.Tasks;
using XTouchMini.Model;
namespace XTouchMini.MixerControl
{
class Pro... | apache-2.0 | C# |
b79fc889eb0bdf83828dfe474e722b04f806435a | Fix duplicate 'CollectionBehavior' attribute | wieslawsoltes/Perspex,akrisiun/Perspex,jazzay/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,MrDaedra/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,Ava... | tests/Avalonia.Markup.UnitTests/Properties/AssemblyInfo.cs | tests/Avalonia.Markup.UnitTests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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: Assem... | mit | C# |
d46c1d7a286ca73285a7e1b63e60ec77e84de15f | Use different parameter for nameof operator. | PenguinF/sandra-three | Sandra.UI.WF.Chess/SettingsTextBox.UIActions.cs | Sandra.UI.WF.Chess/SettingsTextBox.UIActions.cs | /*********************************************************************************
* SettingsTextBox.UIActions.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | /*********************************************************************************
* SettingsTextBox.UIActions.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | apache-2.0 | C# |
c744bcdd8bb1d7e74a92037de790affd884ff5e0 | Update SettingWidthOfColumn.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-... | Examples/CSharp/RowsColumns/HeightAndWidth/SettingWidthOfColumn.cs | Examples/CSharp/RowsColumns/HeightAndWidth/SettingWidthOfColumn.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingWidthOfColumn
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.E... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingWidthOfColumn
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | mit | C# |
de4aad6e1b40b3c4481f7ee1dfb66d046196cad2 | Deploy as well as trim | Smartrak/Smartrak.Library | NugetPackageTrimmer/Program.cs | NugetPackageTrimmer/Program.cs | using System;
using System.Globalization;
using System.IO;
using NuGet;
namespace NugetPackageTrimmer
{
class Program
{
static void Main(string[] args)
{
var repoUrl = args.Length > 3 ? args[2] : "https://packages.nuget.org/api/v2";
Console.WriteLine($"Checking if packages in [{args[0]}] exist in {repoUr... | using System;
using System.IO;
using NuGet;
namespace NugetPackageTrimmer
{
class Program
{
static void Main(string[] args)
{
var repoUrl = args.Length > 2 ? args[1] : "https://packages.nuget.org/api/v2";
Console.WriteLine($"Checking if packages in [{args[0]}] exist in {repoUrl} and deleting any that don... | mit | C# |
debb0891d7f33b182511ea12789bf6d589367b0b | Use deprecated method for older Unity support | Visagalis/Oxide,bawNg/Oxide,bawNg/Oxide,ApocDev/Oxide,LaserHydra/Oxide,ApocDev/Oxide,Nogrod/Oxide-2,Nogrod/Oxide-2,Visagalis/Oxide,MSylvia/Oxide,MSylvia/Oxide,LaserHydra/Oxide | Oxide.Ext.Unity/UnityScript.cs | Oxide.Ext.Unity/UnityScript.cs | using Oxide.Core;
using UnityEngine;
namespace Oxide.Unity
{
/// <summary>
/// The main MonoBehaviour which calls OxideMod.OnFrame
/// </summary>
public class UnityScript : MonoBehaviour
{
public static GameObject Instance { get; private set; }
public static void Create()
... | using Oxide.Core;
using UnityEngine;
namespace Oxide.Unity
{
/// <summary>
/// The main MonoBehaviour which calls OxideMod.OnFrame
/// </summary>
public class UnityScript : MonoBehaviour
{
public static GameObject Instance { get; private set; }
public static void Create()
... | mit | C# |
4509392adb2efffd6256ec923f6d36bfb95800dd | update assembly info | ms-iot/onedrive-connector,mwmckee/onedrive-connector | OnedriveRESTWrapper/OnedriveRESTWrapper/Properties/AssemblyInfo.cs | OnedriveRESTWrapper/OnedriveRESTWrapper/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("On... | 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("On... | mit | C# |
8cd99beb622532290ce34ef39ae3000a3992831e | Unify ShardedCommandContext with SocketCommandContext (#739) | RogueException/Discord.Net,AntiTcb/Discord.Net,Confruggy/Discord.Net | src/Discord.Net.WebSocket/Commands/ShardedCommandContext.cs | src/Discord.Net.WebSocket/Commands/ShardedCommandContext.cs | using Discord.WebSocket;
namespace Discord.Commands
{
public class ShardedCommandContext : SocketCommandContext, ICommandContext
{
public new DiscordShardedClient Client { get; }
public ShardedCommandContext(DiscordShardedClient client, SocketUserMessage msg)
: base(client.GetShar... | using Discord.WebSocket;
namespace Discord.Commands
{
public class ShardedCommandContext : ICommandContext
{
public DiscordShardedClient Client { get; }
public SocketGuild Guild { get; }
public ISocketMessageChannel Channel { get; }
public SocketUser User { get; }
publi... | mit | C# |
a52fa8eb8b9a769b1fc481cc33052f881c76e367 | Rename const | ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableBarLine.cs | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableBarLine.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.Shapes;
using osuTK;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// Visualise... | // 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.Shapes;
using osuTK;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// Visualise... | mit | C# |
ab2cbe26837c89ba6bcaa7533a47ec81bf5a585c | Remove a few hacks from NSAsyncActionDispatcher which are no longer necessary | mono/maccore,cwensley/maccore | src/Foundation/NSAction.cs | src/Foundation/NSAction.cs | //
// Copyright 2009-2010, Novell, Inc.
// Copyright 2012 Xamarin Inc.
//
// 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... | //
// Copyright 2009-2010, Novell, Inc.
// Copyright 2012 Xamarin Inc.
//
// 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... | apache-2.0 | C# |
aad01a8715f4d0f11ca3076906bb1322b8ce8418 | Replace input with accelerometer | Clicker/unity-space-shooter | Assets/Scripts/PlayerController.cs | Assets/Scripts/PlayerController.cs | using UnityEngine;
[System.Serializable]
public class Boundary
{
public float XMin, XMax, ZMin, ZMax;
}
public class PlayerController : MonoBehaviour
{
public float Speed;
public float Tilt;
public Boundary Boundary;
public GameObject Shot;
public Transform ShotSpawn;
public float FireRa... | using UnityEngine;
[System.Serializable]
public class Boundary
{
public float XMin, XMax, ZMin, ZMax;
}
public class PlayerController : MonoBehaviour
{
public float Speed;
public float Tilt;
public Boundary Boundary;
public GameObject Shot;
public Transform ShotSpawn;
public float FireRa... | mit | C# |
cc0b9dd6278b340f46b58f9d5395cddd556d36f8 | Tweak raw sql data update | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Migrations/20190126183747_CanLogin.cs | Battery-Commander.Web/Migrations/20190126183747_CanLogin.cs | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace BatteryCommander.Web.Migrations
{
public partial class CanLogin : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
... | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace BatteryCommander.Web.Migrations
{
public partial class CanLogin : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
... | mit | C# |
0064d64fa27c20893be07e2d3f26cdaba8a6dda6 | Set assembly version to 5.0.0.0 | marcoaoteixeira/NEventStore,D3-LucaPiombino/NEventStore,gael-ltd/NEventStore,jamiegaines/NEventStore,chris-evans/NEventStore,AGiorgetti/NEventStore,NEventStore/NEventStore,deltatre-webplu/NEventStore,paritoshmmmec/NEventStore,adamfur/NEventStore,nerdamigo/NEventStore | src/VersionAssemblyInfo.cs | src/VersionAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("5.0.0.0")]
[assembly: AssemblyFileVersion("5.0.0.0")]
//// [assembly: AssemblyInformationalVersion("3.1.0.0 Release")] | using System.Reflection;
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
//// [assembly: AssemblyInformationalVersion("3.1.0.0 Release")] | mit | C# |
bd5d9df346f9e9432fb1da8e9b8228013e48dd17 | Change count word to medium level. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/30_MapReducePractices/CountNumberOfWordsInMultipleTextFiles.cs | src/CSharpViaTest.Collections/30_MapReducePractices/CountNumberOfWordsInMultipleTextFiles.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[Medium]
public class CountNumberOfWordsInMultipleTextFiles
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[SuperEasy]
public class CountNumberOfWordsInMultipleTextFiles
... | mit | C# |
f95004911c104964e14328885bd819bf622f1c4d | Cover previous fail bug. | robert-wallis/ECSLight | Tests/ComponentManagerTests.cs | Tests/ComponentManagerTests.cs | // Copyright (C) 2017 Robert A. Wallis, All Rights Reserved.
using ECSLight;
using NUnit.Framework;
using Tests.Stubs;
namespace Tests
{
[TestFixture]
public class ComponentManagerTests
{
readonly IEntityManager _stubEntityManager = new StubEntityManager();
[Test]
public void CoverEntityComponentsUnInitial... | // Copyright (C) 2017 Robert A. Wallis, All Rights Reserved.
using ECSLight;
using NUnit.Framework;
using Tests.Stubs;
namespace Tests
{
[TestFixture]
public class ComponentManagerTests
{
readonly IEntityManager _stubEntityManager = new StubEntityManager();
[Test]
public void CoverEntityComponentsUnInitial... | mit | C# |
7aae46d8cf7244859025bc03b5efce7c576d9194 | Fix the routes | marinoscar/article-parser,marinoscar/article-parser,marinoscar/article-parser | Code/api/App_Start/WebApiConfig.cs | Code/api/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Routing;
namespace api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.SuppressHostPrincipal()... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.SuppressHostPrincipal();
// Web API configuration and services
... | mit | C# |
4c22d00058e51b425655b83841590bc4a111d979 | Update NoteGenerator.cs | evenam/CSC4263-ART4240,evenam/CSC4263-ART4240 | game/Assets/scripts/NoteGenerator.cs | game/Assets/scripts/NoteGenerator.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Consumes beats and notifies pads to animate themselves
*/
public class NoteGenerator : MonoBehaviour
{
// References to the pad gameobjects' scripts
public Pad[] pads;
// The time of the "GET READY" animation, should there be on... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Consumes beats and notifies pads to animate themselves
*/
public class NoteGenerator : MonoBehaviour
{
// References to the pad gameobjects' scripts
public Pad[] pads;
// The time of the "GET READY" animation, should there be on... | mit | C# |
4aa94f206bd86687c02c729b17fc1c016bce6038 | refactor cache expiration | taka-oyama/UniHttp | Assets/UniHttp/Support/Cache/CacheMetadata.cs | Assets/UniHttp/Support/Cache/CacheMetadata.cs | using UnityEngine;
using System;
using System.Text;
namespace UniHttp
{
internal sealed class CacheMetadata
{
internal const int version = 1;
internal string domain;
internal string path;
internal string contentType;
internal string eTag;
internal DateTime? expireAt;
internal DateTime? lastModified;
... | using UnityEngine;
using System;
using System.Text;
namespace UniHttp
{
internal sealed class CacheMetadata
{
internal const int version = 1;
internal string domain;
internal string path;
internal string contentType;
internal string eTag;
internal DateTime? expireAt;
internal DateTime? lastModified;
... | mit | C# |
20d49fb69e917ca4426c3bd31d980ea4cf58f65b | fix a name error | ladace/BoundBox | Assets/CollisionTest.cs | Assets/CollisionTest.cs | using UnityEngine;
using System.Collections;
public class CollisionTest : MonoBehaviour {
private string touching = "";
void Update () {
transform.position += new Vector3(Input.GetAxis("Horizontal") * Time.deltaTime * 4, Input.GetAxis("Vertical") * Time.deltaTime * 4);
touching = "";
}
void OnCollide (Col... | using UnityEngine;
using System.Collections;
public class Test : MonoBehaviour {
private string touching = "";
void Update () {
transform.position += new Vector3(Input.GetAxis("Horizontal") * Time.deltaTime * 4, Input.GetAxis("Vertical") * Time.deltaTime * 4);
touching = "";
}
void OnCollide (CollisionInf... | mit | C# |
e04226ac88201f95e3064a57927e93b9468b31dd | Add way to get HTTP error code | IvionSauce/MeidoBot | IvionWebSoft/WebResources/WebResource.cs | IvionWebSoft/WebResources/WebResource.cs | using System;
using System.Net;
namespace IvionWebSoft
{
public abstract class WebResource
{
public Uri Location { get; private set; }
public bool Success { get; private set; }
public Exception Exception { get; private set; }
public WebResource(Uri uri)
{
... | using System;
namespace IvionWebSoft
{
public abstract class WebResource
{
public Uri Location { get; private set; }
public bool Success { get; private set; }
public Exception Exception { get; private set; }
public WebResource(Uri uri)
{
if (uri == null)
... | bsd-2-clause | C# |
54b9a0fd3a5cee84b30f6a5ef0cc23996ad28e3f | debug brackets | DMagic1/Science-Contracts | ContractScienceUtils.cs | ContractScienceUtils.cs | #region license
/*The MIT License (MIT)
Science Contract Utilities
Copyright (c) 2014 DMagic
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... | #region license
/*The MIT License (MIT)
Science Contract Utilities
Copyright (c) 2014 DMagic
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... | mit | C# |
6cb8db23a9174a8d1285ec0457c51c4090879a71 | Correct AccountNotFoud to AccountNotFound in some doc | ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi | storage/Storage/StorageLibrary/interfaces/IAccountStorage.cs | storage/Storage/StorageLibrary/interfaces/IAccountStorage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StorageLibrary
{
public interface IAccountStorage
{
/// <summary>
/// Return the id of an account given its name
/// Can throw : AccountNotFound
/// </summary>
Guid GetId(str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StorageLibrary
{
public interface IAccountStorage
{
/// <summary>
/// Return the id of an account given its name
/// Can throw : AccountNotFoud
/// </summary>
Guid GetId(stri... | bsd-3-clause | C# |
2da8cd06d0e667aeb85a64c87bbef4c8c222ba91 | fix Silverlight and VB projects | telerik/JustMockLite | Telerik.JustMock/Core/Context/MockingContextResolverBase.cs | Telerik.JustMock/Core/Context/MockingContextResolverBase.cs | /*
JustMock Lite
Copyright © 2010-2014 Telerik AD
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | /*
JustMock Lite
Copyright © 2010-2014 Telerik AD
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | apache-2.0 | C# |
a4e64542d01b368d9018e5d0a49eb6fb332bd685 | use floats | JasonCrease/SeeBoard | Engine/OLSRegression.cs | Engine/OLSRegression.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Engine
{
internal class OLSRegression
{
internal float R2 { get; private set; }
internal float A { get; private set; }
internal float B { get; private set; }
internal OLSRegression(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Engine
{
internal class OLSRegression
{
internal double R2 { get; private set; }
internal double A { get; private set; }
internal double B { get; private set; }
internal OLSRegressi... | mit | C# |
a274dd38182d8a7a04120d7b17c10064516205f3 | correct type for time actual in name similarity api | brainded/FullContactDotNet | FullContactDotNet/Entities/DistanceMetrics.cs | FullContactDotNet/Entities/DistanceMetrics.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FullContactDotNet.Entities
{
public class DistanceMetrics
{
/// <summary>
/// Gets or sets the similarity.
/// </summary>
/// <value>
/// The si... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FullContactDotNet.Entities
{
public class DistanceMetrics
{
/// <summary>
/// Gets or sets the similarity.
/// </summary>
/// <value>
/// The si... | mit | C# |
707696677a596d3292cb282e5822b4a31d59c9b0 | Set version to 3.3.0 | blairconrad/FakeItEasy,thomaslevesque/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy,thomaslevesque/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("3.3.0")]
[assembly: AssemblyFileVersion("3.3.0")]
[assembly: AssemblyInformationalVersion("3.3.0")]
[assembly: AssemblyCompany("Patrik Hägne")]
[assembly: AssemblyCopyright("Copyr... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("3.2.0")]
[assembly: AssemblyFileVersion("3.2.0")]
[assembly: AssemblyInformationalVersion("3.2.0")]
[assembly: AssemblyCompany("Patrik Hägne")]
[assembly: AssemblyCopyright("Copyr... | mit | C# |
0fea0e610dbc0550faef1441adb604ac23c92a90 | Allow attribute inheritance | CIR2000/BusinessObjects | DomainAttributes.cs | DomainAttributes.cs | using System;
using System.Runtime.CompilerServices;
namespace BusinessObjects
{
public class DomainObjectAttribute : Attribute { }
/// <summary>
/// Use this attribute to flag DataObject properties which are meant to be represent actual Business Object values
/// (i.e. LastName, but not IsValid... | using System;
using System.Runtime.CompilerServices;
namespace BusinessObjects
{
public class DomainObjectAttribute : Attribute { }
/// <summary>
/// Use this attribute to flag DataObject properties which are meant to be represent actual Business Object values
/// (i.e. LastName, but not IsValid... | bsd-3-clause | C# |
ba4094ac01e601412df38a69bb9714c815831c30 | Update LoadProfilesOnStartup.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Examples/Common/Scripts/LoadProfilesOnStartup.cs | Assets/MRTK/Examples/Common/Scripts/LoadProfilesOnStartup.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking
{
/// <summary>
/// Automatically loads a given Mixed Reality Toolkit configuration profile when loading up the scene.
/// </summary>
[Add... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking
{
/// <summary>
/// Automatically loads a given Mixed Reality Toolkit configuration profile when loading up the scene.
/// </summary>
[Add... | mit | C# |
0f219ae7c111ef65165fc9b5bc01a1a834ad0d77 | fix not expired precondition logic | Chris-Johnston/CSSBot | CSSBot/Services/Reminders/Commands/NotExpiredPrecondition.cs | CSSBot/Services/Reminders/Commands/NotExpiredPrecondition.cs | using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CSSBot
{
public class NotExpiredPreconditionAttribute : ParameterPreconditionAttribute
{
private DateTime now;
public NotExpiredPreconditionAttribute()
{
... | using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CSSBot
{
public class NotExpiredPreconditionAttribute : ParameterPreconditionAttribute
{
private DateTime now;
public NotExpiredPreconditionAttribute()
{
... | mit | C# |
569f10785d1cfe6e48611ddf5ad5cc7d7bf06d73 | Update sensor description from Klaus | BuildingSMART/IfcDoc,pipauwel/IfcDoc,BuildingSMART/IfcDoc,pipauwel/IfcDoc,BuildingSMART/IfcDoc,pipauwel/IfcDoc | IfcKit/schemas/IfcBuildingControlsDomain/IfcSensorTypeEnum.cs | IfcKit/schemas/IfcBuildingControlsDomain/IfcSensorTypeEnum.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# |
2b6647f42dc7a276df2e7c14b82a9bf9d7555cc3 | Add using directive | whampson/bft-spec,whampson/cascara | Cascara/Src/CascaraObject.cs | Cascara/Src/CascaraObject.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | mit | C# |
d46034b0d43561f62cd2441f41383846cb58b10c | load json file path according to command line args if specified. | funfair-tech/CoinBot | src/CoinBot/Program.cs | src/CoinBot/Program.cs | using CoinBot.CoinSources;
using CoinBot.CoinSources.CoinMarketCap;
using CoinBot.Discord;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Serilog;
using System;
using System.Threading.Tasks;
namespace CoinBotCore
{
class Program
{
static void Main(string[] ar... | using CoinBot.CoinSources;
using CoinBot.CoinSources.CoinMarketCap;
using CoinBot.Discord;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Serilog;
using System;
using System.Threading.Tasks;
namespace CoinBotCore
{
class Program
{
static void Main(string[] ar... | mit | C# |
e800f65c0af5a303be21536d0ca37ae2c351bdfa | add lowerCaseUrls | Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp | SalaryCalculator/SalaryCalculatorWeb/App_Start/RouteConfig.cs | SalaryCalculator/SalaryCalculatorWeb/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace SalaryCalculatorWeb
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace SalaryCalculatorWeb
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}... | mit | C# |
750f7254cf3e283c82992c128f809be082958783 | Update SimpleBinaryBondDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/SimpleBinaryBondDeserializer.cs | TIKSN.Core/Serialization/Bond/SimpleBinaryBondDeserializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class SimpleBinaryBondDeserializer : DeserializerBase<byte[]>
{
protected override T DeserializeInternal<T>(byte[] serial)
{
var input = new InputBuffer(serial);
var reader = new Simpl... | using Bond.IO.Safe;
using Bond.Protocols;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class SimpleBinaryBondDeserializer : DeserializerBase<byte[]>
{
public SimpleBinaryBondDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
... | mit | C# |
a56c24766126d53e3a7fa6df9ca26f7b134b2d60 | Update MessagePackSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/MessagePack/MessagePackSerializer.cs | TIKSN.Core/Serialization/MessagePack/MessagePackSerializer.cs | using MsgPack.Serialization;
using System.IO;
namespace TIKSN.Serialization.MessagePack
{
public class MessagePackSerializer : SerializerBase<byte[]>
{
private readonly SerializationContext _serializationContext;
public MessagePackSerializer(SerializationContext serializationContext)
... | using MsgPack.Serialization;
using System.IO;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.MessagePack
{
public class MessagePackSerializer : SerializerBase<byte[]>
{
private readonly SerializationContext _serializationContext;
public MessagePackSerializer(IExceptionTelemete... | mit | C# |
83a59a131180e428e965997776500a4cec74b587 | Fix - Corretta notifica Add Chiamata In Corso | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationAddChiamataInCorso.cs | src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationAddChiamataInCorso.cs | //-----------------------------------------------------------------------
// <copyright file="NotificationAddChiamataInCorso.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | //-----------------------------------------------------------------------
// <copyright file="NotificationAddChiamataInCorso.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | agpl-3.0 | C# |
68e1982a374ce1a7a9ef02d4bdb8b1f1c44c6b68 | Rename ScriptExecutor to PythonScriptExecutor | RockyTV/Duality.IronPython | CorePlugin/ScriptExecutor.cs | CorePlugin/ScriptExecutor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using Duality.Editor;
namespace RockyTV.... | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using Duality.Editor;
namespace RockyTV.... | mit | C# |
89520e5e04c5c959fd8c25feb6196d919fc518ab | Update src/Avalonia.Controls/Notifications/IManagedNotificationManager.cs | grokys/Perspex,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI... | src/Avalonia.Controls/Notifications/IManagedNotificationManager.cs | src/Avalonia.Controls/Notifications/IManagedNotificationManager.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Represents a notification manager that can show arbitrary content.
/// Managed ... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Represents a notification manager that can show arbitrary content.
/// Managed ... | mit | C# |
bb816ee7ee570ba7b51cb17be694fff28c256897 | Set NullValueHandling to Ignore | pardahlman/akeneo-csharp | src/Akeneo/Serialization/AttributeBaseConverter.cs | src/Akeneo/Serialization/AttributeBaseConverter.cs | using System;
using Akeneo.Model.Attributes;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Akeneo.Serialization
{
public class AttributeBaseConverter : JsonConverter
{
private static readonly Type Attribute = typeof(AttributeBase);
private const string AttributeTypeProp = "type";
private static... | using System;
using Akeneo.Model.Attributes;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Akeneo.Serialization
{
public class AttributeBaseConverter : JsonConverter
{
private static readonly Type Attribute = typeof(AttributeBase);
private const string AttributeTypeProp = "type";
private static... | mit | C# |
db4180cff752fd02ae9e3dbe1b96ed1f857eae01 | Reduce reflection over Moq internals & fix regressions | dwhelan/Moq-Sequences | src/Moq.Sequences/Step.cs | src/Moq.Sequences/Step.cs | using System.Reflection;
using System.Text;
namespace Moq.Sequences
{
public class Step
{
private readonly Times expectedCount;
private readonly string action;
private int actualCount;
internal bool Started { get { return actualCount > 0; } }
internal bool Complete { ge... | using System.Reflection;
namespace Moq.Sequences
{
public class Step
{
private readonly Times expectedCount;
private readonly string action;
private readonly int maxCount;
private int actualCount;
internal bool Started { get { return actualCount > 0; } }
interna... | mit | C# |
66457fd1b561ca0f8e6c8528468fdbffb6fa096a | Use linq to simplify enumeration | davidebbo-test/SettingsAPISampleSiteExtension,davidebbo-test/SettingsAPISampleSiteExtension | SettingsAPISample/Models/ARMListEntry.cs | SettingsAPISample/Models/ARMListEntry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
namespace SettingsAPISample.Models
{
public class ARMListEntry<T> where T : INamedObject
{
public static ARMListEntry<T> Create(IEnumerable<T> objects, HttpRequestMessage request)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
namespace SettingsAPISample.Models
{
public class ARMListEntry<T> where T : INamedObject
{
public static ARMListEntry<T> Create(IEnumerable<T> objects, HttpRequestMessage request)
{
... | apache-2.0 | C# |
ce00009edce1a26f1f15c9f437642d0d00d5dced | remove using | tynor88/Topshelf.SimpleInjector | Source/Topshelf.SimpleInjector.CI/Properties/AssemblyInfo.cs | Source/Topshelf.SimpleInjector.CI/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("Topshelf.SimpleInjector.CI")]
[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: AssemblyTitle("To... | mit | C# |
37bf79e8a412d88b4796627b4447d78458bd56af | Remove unused automapper setup for the time being | NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu | osu.Game/Database/RealmExtensions.cs | osu.Game/Database/RealmExtensions.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 AutoMapper;
using osu.Game.Input.Bindings;
using Realms;
namespace osu.Game.Database
{
public static class RealmExtensions
... | // 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 AutoMapper;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
using osu.Game.Input.Bindings;
using osu.Game.IO;
using osu.Gam... | mit | C# |
839b76fdf64dd8bfe419e809ea664f1e7361cc87 | Refactor jQuery validate inclusion | peterblazejewicz/aspnet-5-bootstrap-4,peterblazejewicz/aspnet-5-bootstrap-4 | WebApplication/Views/Shared/_ValidationScriptsPartial.cshtml | WebApplication/Views/Shared/_ValidationScriptsPartial.cshtml | <environment names="Development">
<script src="~/lib/jquery-validation/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-va... | <environment names="Development">
<script src="~/lib/jquery-validation/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="//ajax.aspnetcdn.com/ajax/jquery.validate/... | mit | C# |
edffe9bbf8e8b162e599a929180a18c9ad6e7896 | Disable System.Collections.Tests.ComparersGenericTests.EqualityComparer_SerializationRoundtrip test for uap as well (#21021) | Jiayili1/corefx,ptoonen/corefx,fgreinacher/corefx,the-dwyer/corefx,ericstj/corefx,tijoytom/corefx,zhenlan/corefx,seanshpark/corefx,nbarbettini/corefx,ravimeda/corefx,wtgodbe/corefx,yizhang82/corefx,ptoonen/corefx,tijoytom/corefx,JosephTremoulet/corefx,nbarbettini/corefx,nchikanov/corefx,ravimeda/corefx,DnlHarvey/corefx... | src/System.Collections/tests/Generic/Comparers/EqualityComparer.Generic.Serialization.Tests.cs | src/System.Collections/tests/Generic/Comparers/EqualityComparer.Generic.Serialization.Tests.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.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.InteropServices;
using S... | // 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.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.InteropServices;
using S... | mit | C# |
8dc976ac6f8e7ed109eb3828daa9d7f766b22900 | Fix handling of detaching media items and the serialization thereof | kamsar/Unicorn,kamsar/Unicorn | src/Unicorn/Data/DataProvider/FieldChangeParser.cs | src/Unicorn/Data/DataProvider/FieldChangeParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Rainbow.Model;
using Sitecore.Configuration;
using Sitecore.Data.Items;
using Sitecore.Data.Managers;
using Sitecore.Diagnostics;
namespace Unicorn.Data.DataProvider
{
/// <summary>
/// Evaluates a Sitecore FieldChanges and applies it to a set... | using System;
using System.Collections.Generic;
using System.Linq;
using Rainbow.Model;
using Sitecore.Configuration;
using Sitecore.Data.Items;
using Sitecore.Data.Managers;
using Sitecore.Diagnostics;
namespace Unicorn.Data.DataProvider
{
/// <summary>
/// Evaluates a Sitecore FieldChanges and applies it to a set... | mit | C# |
b137c3b2caa021c656e9af88b2c6d13dac26501d | Adjust ticks size | peppy/osu,UselessToucan/osu,smoogipooo/osu,DrabWeb/osu,EVAST9919/osu,ZLima12/osu,2yangk23/osu,peppy/osu-new,ppy/osu,peppy/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ZLima12/osu,peppy/osu,Nabile-Rahmani/osu,naoey/osu,naoey/osu,smoogi... | osu.Game.Rulesets.Catch/Objects/Drawable/DrawableDroplet.cs | osu.Game.Rulesets.Catch/Objects/Drawable/DrawableDroplet.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Objects.Drawable.Pieces;
using OpenTK;
namespace osu.Game.Rulesets.... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Objects.Drawable.Pieces;
using OpenTK;
namespace osu.Game.Rulesets.... | mit | C# |
38d24849345adb576f61f96e549a8ebf21f270c3 | Use parameterless constructor for DiplomContext | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.DataLayer/DiplomContext.cs | src/Diploms.DataLayer/DiplomContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Department> Departments { get; set; }
public Dip... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Department> Departments { get; set; }
public Dip... | mit | C# |
6def353324ebb411d0fb1c44a5659cf82b372994 | Add AccessTokenConfiguration#DeleteAccessToken | appharbor/appharbor-cli | src/AppHarbor/AccessTokenConfiguration.cs | src/AppHarbor/AccessTokenConfiguration.cs | using System;
namespace AppHarbor
{
public class AccessTokenConfiguration
{
private const string TokenEnvironmentVariable = "AppHarborToken";
private const EnvironmentVariableTarget TokenEnvironmentVariableTarget = EnvironmentVariableTarget.User;
public virtual void DeleteAccessToken()
{
Environment.Set... | using System;
namespace AppHarbor
{
public class AccessTokenConfiguration
{
private const string TokenEnvironmentVariable = "AppHarborToken";
private const EnvironmentVariableTarget TokenEnvironmentVariableTarget = EnvironmentVariableTarget.User;
public virtual string GetAccessToken()
{
return Environme... | mit | C# |
35c8fe90d36f7a72f0100ec6188e10187259b3aa | Remove unused check | JakeGinnivan/ApiApprover | src/PublicApiGenerator/AttributeFilter.cs | src/PublicApiGenerator/AttributeFilter.cs | using Mono.Cecil;
using System.Collections.Generic;
using System.Linq;
namespace PublicApiGenerator
{
internal sealed partial class AttributeFilter
{
private readonly HashSet<string> _excludedAttributes;
public AttributeFilter(IEnumerable<string> excludedAttributes)
{
_excl... | using Mono.Cecil;
using System.Collections.Generic;
using System.Linq;
namespace PublicApiGenerator
{
internal sealed partial class AttributeFilter
{
private readonly HashSet<string> _excludedAttributes;
public AttributeFilter(IEnumerable<string> excludedAttributes)
{
_excl... | mit | C# |
be132c95d8b0b09b7d044e00a8aea579c6e06f96 | Align with Nuget Package Version 1.0.7 | dhont/Custom-ErrorSignal-Elmah | CustomErrorSignal/Properties/AssemblyInfo.cs | CustomErrorSignal/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("El... | 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("El... | apache-2.0 | C# |
ad9592555567187d87e0631304ebd5fd0ab75185 | Enable QEP for Nullable. | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | src/Narvalo.Fx/Applicative/Nullable.cs | src/Narvalo.Fx/Applicative/Nullable.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
/// <summary>
/// Provides a set of static and extension methods for <see cref="Nullable{T}"/>.
/// </summary>
public static class Nullable... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
/// <summary>
/// Provides a set of static and extension methods for <see cref="Nullable{T}"/>.
/// </summary>
public static class Nullable... | bsd-2-clause | C# |
2c69edca5321f19d36077966e30f5e89ed5104f1 | Test to ensure Funq doesn't autowire BCL and string types | nataren/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,timb... | tests/ServiceStack.ServiceHost.Tests/IoCTests.cs | tests/ServiceStack.ServiceHost.Tests/IoCTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ServiceStack.ServiceHost.Tests.Support;
using Funq;
namespace ServiceStack.ServiceHost.Tests
{
[TestFixture]
public class IoCTests
{
[Test]
public void Can_AutoWire_types_dynamically_with_expressi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ServiceStack.ServiceHost.Tests.Support;
using Funq;
namespace ServiceStack.ServiceHost.Tests
{
[TestFixture]
public class IoCTests
{
[Test]
public void Can_AutoWire_types_dynamically_with_expressi... | bsd-3-clause | C# |
2b28664283405cfb935025b7ec8247bef8317bbd | Update version | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | bsd-3-clause | C# |
db0af2d7e85e051d0e4392b75a1a9eb899a11d15 | update assembly version | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | bsd-3-clause | C# |
71a88b7d182df3b241723413e649833fca29d8fd | Update XssFilterMiddlewareTests.cs | ziyasal/helmet.net | Helmet.Net.Tests/XssFilterMiddlewareTests.cs | Helmet.Net.Tests/XssFilterMiddlewareTests.cs | using NUnit.Framework;
namespace Helmet.Net.Tests
{
public class XssFilterMiddlewareTests : TestBase
{
[Test]
public async Task HelloTest()
{
Assert.IsTrue(true);
}
}
}
| namespace Helmet.Net.Tests
{
public class XssFilterMiddlewareTests : TestBase
{
[Test]
public async Task HelloTest()
{
Assert.IsTrue(true);
}
}
}
| mit | C# |
a28056f8483244d8457f7a37539f938506153421 | add enrichers to logs | dicko2/BlueGreenDeployTestWebApp,dicko2/BlueGreenDeployTestWebApp | Hostsol.Demo.BlueGreenTestWeb/Global.asax.cs | Hostsol.Demo.BlueGreenTestWeb/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Http;
using System.Web.Routing;
using Serilog;
using System.Configuration;
using System.Reflection;
using System.Web.Hosting;
using System... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Http;
using System.Web.Routing;
using Serilog;
using System.Configuration;
namespace Hostsol.Demo.BlueGreenTestWeb
{
public class Mvc... | mit | C# |
124c2d8847798436a07f6e12acfe555ca4cedb49 | fix build issue, renamed field should not have happened during previous merge | abelsilva/swaggerwcf | src/SwaggerWcf/Attributes/SwaggerWcfAttribute.cs | src/SwaggerWcf/Attributes/SwaggerWcfAttribute.cs | using System;
namespace SwaggerWcf.Attributes
{
/// <summary>
/// Attribute to enable a class or interface to be scanned by SwaggerWcf
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public class SwaggerWcfAttribute : Attribute
{
/// <summary>
... | using System;
namespace SwaggerWcf.Attributes
{
/// <summary>
/// Attribute to enable a class or interface to be scanned by SwaggerWcf
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public class SwaggerWcfAttribute : Attribute
{
/// <summary>
... | apache-2.0 | C# |
afebd88d455b5fc26c6e7058d304f702d7388e38 | Update ImageProcessorLogger - to use the new Error logger method that contains only an ex - and under the hood it will pass on an empty string to the message | bjarnef/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,KevinJump/Umbraco-CMS,lars-erik/Umbraco-CMS,arknu/Umbraco-CMS,WebCentrum/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,rasmuseeg/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,d... | src/Umbraco.Core/Logging/ImageProcessorLogger.cs | src/Umbraco.Core/Logging/ImageProcessorLogger.cs | using System;
using System.Runtime.CompilerServices;
using ImageProcessor.Common.Exceptions;
using Umbraco.Core.Composing;
namespace Umbraco.Core.Logging
{
/// <summary>
/// A logger for explicitly logging ImageProcessor exceptions.
/// <remarks>
/// Creating this logger is enough for ImageProcessor ... | using System;
using System.Runtime.CompilerServices;
using ImageProcessor.Common.Exceptions;
using Umbraco.Core.Composing;
namespace Umbraco.Core.Logging
{
/// <summary>
/// A logger for explicitly logging ImageProcessor exceptions.
/// <remarks>
/// Creating this logger is enough for ImageProcessor ... | mit | C# |
ca772b60b183e33d0c42896f5340088c5f3206b8 | Use regular test steps rather than one-time set up and scheduling | peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,ppy/osu | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | mit | C# |
20d9351500dee0d0bcdf5b97715a44ce732d5dac | Remove unused code | lpatalas/NhLogAnalyzer | NhLogAnalyzer/Infrastructure/StatementRow.cs | NhLogAnalyzer/Infrastructure/StatementRow.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NhLogAnalyzer.Infrastructure
{
public class StatementRow : IEquatable<StatementRow>
{
public int Id { get; set; }
public string SqlText { get; set; }
public string StackTrace { get; se... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NhLogAnalyzer.Infrastructure
{
public class StatementRow : IEquatable<StatementRow>
{
public int Id { get; set; }
public string SqlText { get; set; }
public string StackTrace { get; se... | mit | C# |
aa29734cef22eaf459f84b0e942f22f77f53b709 | Fix `KendoAutoCompleteTests` | atata-framework/atata-kendoui,atata-framework/atata-kendoui | test/Atata.KendoUI.Tests/KendoAutoCompleteTests.cs | test/Atata.KendoUI.Tests/KendoAutoCompleteTests.cs | using NUnit.Framework;
namespace Atata.KendoUI.Tests
{
public class KendoAutoCompleteTests : UITestFixture
{
private static AutoCompletePage GoToTestPage()
{
return Go.To<AutoCompletePage>();
}
[PlainTestCaseSource(KendoLibrary.JQuery, KendoLibrary.Vue, KendoLibrar... | using NUnit.Framework;
namespace Atata.KendoUI.Tests
{
public class KendoAutoCompleteTests : UITestFixture
{
private static AutoCompletePage GoToTestPage()
{
return Go.To<AutoCompletePage>();
}
[PlainTestCaseSource(KendoLibrary.JQuery, KendoLibrary.Vue, KendoLibrar... | apache-2.0 | C# |
eb869ed023a76e0420505d02366e8acce9ae1ffb | add indexData tests | bertt/quantized-mesh-tile-cs,bertt/quantized-mesh-tile-cs | tests/quantized-mesh-tile-cs.tests/QuantizedMeshTileParserTests.cs | tests/quantized-mesh-tile-cs.tests/QuantizedMeshTileParserTests.cs | using NUnit.Framework;
using System.Reflection;
namespace Quantized.Mesh.Tile.Tests
{
public class QuantizedMeshTileParserTests
{
[Test]
public void TestFirstTileParsing()
{
// arrange
const string firstTerrainFile = "Quantized.Mesh.Tile.Tests.data.9_533_383.te... | using NUnit.Framework;
using System.Reflection;
namespace Quantized.Mesh.Tile.Tests
{
public class QuantizedMeshTileParserTests
{
[Test]
public void TestFirstTileParsing()
{
// arrange
const string firstTerrainFile = "Quantized.Mesh.Tile.Tests.data.9_533_383.te... | mit | C# |
fc6284b311ce91dc55e10dc53dce673a05f75de7 | Bump version to 3.6.1 | SharpeRAD/RazorEngine,csantero/RazorEngine,bcuff/RazorEngine,HongJunRen/RazorEngine,bcuff/RazorEngine,csantero/RazorEngine,Antaris/RazorEngine,MetSystem/RazorEngine,MetSystem/RazorEngine,SharpeRAD/RazorEngine,HongJunRen/RazorEngine,Antaris/RazorEngine,aviatrix/RazorEngine,aviatrix/RazorEngine | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyCompanyAttribute("RazorEngine")]
[assembly: AssemblyProductAttribute("RazorEngine")]
[assembly: AssemblyCopyrightAttribute("Copyright � RazorEngine Project 2011-2014")]
[assembly: AssemblyVersionAttribute("3.6.1")]
[assembly: AssemblyFileVersionAttribut... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyCompanyAttribute("RazorEngine")]
[assembly: AssemblyProductAttribute("RazorEngine")]
[assembly: AssemblyCopyrightAttribute("Copyright � RazorEngine Project 2011-2014")]
[assembly: AssemblyVersionAttribute("3.6.0")]
[assembly: AssemblyFileVersionAttribut... | apache-2.0 | C# |
7ff67566ec6d337c68e865b95d08d2f3a2d55eb9 | Fix argument order in Linux.Native.Library.Load documentation | DrabWeb/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework... | osu.Framework/Platform/Linux/Native/Library.cs | osu.Framework/Platform/Linux/Native/Library.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;
using System.IO;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
... | // 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;
using System.IO;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
... | mit | C# |
49bec2c021da6c3ac97f6ecac0422d4d7d8512a4 | Correct names for http verbs | brecons/brecons-tag-helper | BSolutions.Brecons/BSolutions.Brecons.Core/Enumerations/HttpVerb.cs | BSolutions.Brecons/BSolutions.Brecons.Core/Enumerations/HttpVerb.cs | //-----------------------------------------------------------------------
// <copyright file="HttpVerb.cs" company="Bremus Solutions">
// Copyright (c) Bremus Solutions. All rights reserved.
// </copyright>
// <author>Timm Bremus</author>
// <license>
// Licensed to the Apache Software Foundation(ASF) under o... | //-----------------------------------------------------------------------
// <copyright file="HttpVerb.cs" company="Bremus Solutions">
// Copyright (c) Bremus Solutions. All rights reserved.
// </copyright>
// <author>Timm Bremus</author>
// <license>
// Licensed to the Apache Software Foundation(ASF) under o... | apache-2.0 | C# |
7109ac6b3d6115ef9abc1b4ef7a87a462a52c686 | Fix typo | amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,quesera2/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps.Android/Extensions/LatLngExtensions.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps.Android/Extensions/LatLngExtensions.cs | using System;
using Android.Gms.Maps.Model;
namespace Xamarin.Forms.GoogleMaps.Android.Extensions
{
internal static class LatLngExtensions
{
public static Position ToPosition(this LatLng self)
{
return new Position(self.Latitude, self.Longitude);
}
}
}
| using System;
using Android.Gms.Maps.Model;
namespace Xamarin.Forms.GoogleMaps.Android.Extensions
{
internal static class LatLngExtensions
{
public static Position ToPosition(this LatLng self)
{
return new Position(self.Longitude, self.Longitude);
}
}
}
| mit | C# |
798b6c0c38c8dcc2808c8d00532c73e13222a1dd | Update FillDrawNode.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/FillDrawNode.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/FillDrawNode.cs | #nullable enable
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class FillDrawNode : DrawNode, IFillDrawNode
{
public SKRect Rect { get; set; }
public BaseColorViewModel? Color { get; set; }
public double X { ... | #nullable enable
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class FillDrawNode : DrawNode, IFillDrawNode
{
public SKRect Rect { get; set; }
public BaseColorViewModel Color { get; set; }
public double X { g... | mit | C# |
9234e3f7a2d68266111a0c2447c695da07e24b90 | Mark the "Auto" variable scope as not expensive | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/DebugAdapter/Scope.cs | src/PowerShellEditorServices.Protocol/DebugAdapter/Scope.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
{
public class Scope
{
/// <summary>
/// Gets or sets the name of the ... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
{
public class Scope
{
/// <summary>
/// Gets or sets the name of the ... | mit | C# |
62e59c8826035b0e53cc0ff825e8efd2345c2cac | Add property to identity a Channel Notice | Fredi/NetIRC | src/NetIRC/Messages/NoticeMessage.cs | src/NetIRC/Messages/NoticeMessage.cs | using System.Collections.Generic;
namespace NetIRC.Messages
{
public class NoticeMessage : IRCMessage, IServerMessage, IClientMessage
{
public string From { get; }
public string Target { get; }
public string Message { get; }
public NoticeMessage(ParsedIRCMessage parsedMessage)... | using System.Collections.Generic;
namespace NetIRC.Messages
{
public class NoticeMessage : IRCMessage, IServerMessage, IClientMessage
{
public string From { get; }
public string Target { get; }
public string Message { get; }
public NoticeMessage(ParsedIRCMessage parsedMessage)... | mit | C# |
f6523b7fe9177650ea4c1972d0040fadb858d8cb | Add ICreateGitHubRelease component | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Components/ICreateGitHubRelease.cs | source/Nuke.Components/ICreateGitHubRelease.cs | // Copyright 2022 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.Cha... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
// using System.Linq;
//
// using Nuke.Common;
// using Nuke.Common.Tools.GitHub;
// using Nuke.GitHub;
//
// using static Nuke.Common.ValueInjection.ValueInjectionUtility;
// using s... | mit | C# |
dec4ecb21269acc76acbbe69b901112964cee779 | Add animation path curves to the debug component | bartlomiejwolk/AnimationPathAnimator | AnimationPathCurvesDebug.cs | AnimationPathCurvesDebug.cs | using UnityEngine;
using System.Collections;
using ATP.AnimationPathTools;
[ExecuteInEditMode]
public class AnimationPathCurvesDebug : MonoBehaviour {
private AnimationPathAnimator animator;
private AnimationPath animationPath;
[Header("Animation Path")]
public AnimationCurve pathCurveX;
public ... | using UnityEngine;
using System.Collections;
using ATP.AnimationPathTools;
[ExecuteInEditMode]
public class AnimationPathCurvesDebug : MonoBehaviour {
private AnimationPathAnimator animator;
[Header("Rotation curves")]
public AnimationCurve curveX;
public AnimationCurve curveY;
public AnimationCu... | mit | C# |
7eb1e363a7e2751531abcfb253fd1579430e947c | Test for TeamCity. | XemioNetwork/GameLibrary | Testing/Xemio.Testing.EventSystem/Program.cs | Testing/Xemio.Testing.EventSystem/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Xemio.GameLibrary;
using Xemio.GameLibrary.Common;
using Xemio.GameLibrary.Common.Extensions;
using Xemio.GameLibrary.Components;
using Xemio.GameLibrary.Events;
using Xemio.GameLibr... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Xemio.GameLibrary;
using Xemio.GameLibrary.Common;
using Xemio.GameLibrary.Common.Extensions;
using Xemio.GameLibrary.Components;
using Xemio.GameLibrary.Events;
using Xemio.GameLibr... | mit | C# |
f35809a849bcdf721a20b76fc40227cbecaea519 | disable paste command is extended tb is made readonly. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/ExtendedTextBox.cs | WalletWasabi.Gui/Controls/ExtendedTextBox.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Input;
using Avalonia.Input.Platform;
using Avalonia.Styling;
using ReactiveUI;
using System;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls
{
public class ExtendedTextBox : TextBox, IStyleable
{
public Ex... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Input;
using Avalonia.Input.Platform;
using Avalonia.Styling;
using ReactiveUI;
using System;
namespace WalletWasabi.Gui.Controls
{
public class ExtendedTextBox : TextBox, IStyleable
{
public ExtendedTextBox()
{
CopyC... | mit | C# |
dc7304dfca48a235acc5411e542b6889f68b4cec | Update header | Tannheuser/DeutschAktivCore,Tannheuser/DeutschAktivCore | DeutschAktiv.Web/Startup.cs | DeutschAktiv.Web/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace DeutschAktiv.Web
{
public class Startup
{
// This method gets called by the runtime. Use ... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace DeutschAktiv.Web
{
public class Startup
{
// This method gets called by the runtime. Use ... | mit | C# |
9db24d3df4e0b8645229154916c8bd70e86fad36 | fix for android by adding thread sleep (20) | yasokada/unity-150829-udpEcho,yasokada/unity-150917-udpEmu | Assets/UdpEchoServer.cs | Assets/UdpEchoServer.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class UdpEchoServer : MonoBehaviour {
Thread rcvThr;
UdpClient client;
public int port = 6000;
public string lastRcvd;
pub... | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class UdpEchoServer : MonoBehaviour {
Thread rcvThr;
UdpClient client;
public int port = 6000;
public string lastRcvd;
pub... | mit | C# |
8bf8a0d8d5d7eb6886a1072c85a880bffa9306e2 | Make the monitor tool build again | tmds/Tmds.DBus | AssemblyInfo.cs | AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | mit | C# |
b72a9f2d55dff9d8b29a7a93d828249c27ecf5f1 | Change Proxy constructor to protected | lou1306/CIV,lou1306/CIV | CIV.Interfaces/Proxy.cs | CIV.Interfaces/Proxy.cs | using System.Reflection;
namespace CIV.Interfaces
{
public abstract class Proxy<T, CTX>
{
protected IFactory<T, CTX> factory;
protected CTX context;
T _real;
protected T Real
{
get
{
if (_real == null)
_real ... | using System.Reflection;
namespace CIV.Interfaces
{
public abstract class Proxy<T, CTX>
{
protected IFactory<T, CTX> factory;
protected CTX context;
T _real;
protected T Real
{
get
{
if (_real == null)
_real ... | mit | C# |
fbf955e866c4127061a8415827bd30a03a6b9892 | Simplify CloseWindowCommand | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/Commands/CloseWindowCommand.cs | ThScoreFileConverter/Commands/CloseWindowCommand.cs | //-----------------------------------------------------------------------
// <copyright file="CloseWindowCommand.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-----------------... | //-----------------------------------------------------------------------
// <copyright file="CloseWindowCommand.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-----------------... | bsd-2-clause | C# |
9dd32297def6ed5224933f5acf9f40c1ce4695dd | add obsolete Item1 and Item2 properties to ConnectionStringInfo for backward compability | volkanceylan/Serenity,TukekeSoft/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,linpiero/Serenity,linpiero/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,TukekeSoft/Serenity,linpiero/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/S... | Serenity.Data/Connections/ConnectionStringInfo.cs | Serenity.Data/Connections/ConnectionStringInfo.cs |
using System;
using System.Data.Common;
namespace Serenity.Data
{
public class ConnectionStringInfo
{
public ConnectionStringInfo(string connectionString, string providerName, DbProviderFactory providerFactory)
{
this.ConnectionString = connectionString;
this.... |
using System.Data.Common;
namespace Serenity.Data
{
public class ConnectionStringInfo
{
public ConnectionStringInfo(string connectionString, string providerName, DbProviderFactory providerFactory)
{
this.ConnectionString = connectionString;
this.ProviderName = ... | mit | C# |
b26fdff21d255a02fc0e658bd2ece504ac497b30 | Remove unused code | kiyoaki/bitflyer-api-dotnet-client | src/BitFlyer.Apis/Extensions/EnumExtensions.cs | src/BitFlyer.Apis/Extensions/EnumExtensions.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Runtime.Serialization;
namespace BitFlyer.Apis
{
public static class EnumExtensions
{
private static readonly ConcurrentDictionary<Enum, string> EnumMemberCache = new ConcurrentDictionary<Enum, string>();
publi... | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Runtime.Serialization;
#if NET_CORE || PORTABLE
using System.Reflection;
#endif
namespace BitFlyer.Apis
{
public static class EnumExtensions
{
private static readonly ConcurrentDictionary<Enum, string> EnumMemberCache ... | mit | C# |
67c3a7c4a41bb5d729f6102eaee0a803502a303e | Fix message deserialization | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Common/Message/Data/PlayerStatus/PlayerStatusReplyMsgData.cs | Common/Message/Data/PlayerStatus/PlayerStatusReplyMsgData.cs | using Lidgren.Network;
using LunaCommon.Message.Base;
using LunaCommon.Message.Types;
namespace LunaCommon.Message.Data.PlayerStatus
{
public class PlayerStatusReplyMsgData: PlayerStatusBaseMsgData
{
/// <inheritdoc />
internal PlayerStatusReplyMsgData() { }
public override PlayerStatu... | using Lidgren.Network;
using LunaCommon.Message.Base;
using LunaCommon.Message.Types;
namespace LunaCommon.Message.Data.PlayerStatus
{
public class PlayerStatusReplyMsgData: PlayerStatusBaseMsgData
{
/// <inheritdoc />
internal PlayerStatusReplyMsgData() { }
public override PlayerStatu... | mit | C# |
8d903e448a3e70c939cabc51bb2b61c04f546d49 | update composite curve to properly handle StatusNumber | IxMilia/Iges,IxMilia/Iges | src/IxMilia.Iges/Entities/IgesCompositeCurve.cs | src/IxMilia.Iges/Entities/IgesCompositeCurve.cs | // Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
namespace IxMilia.Iges.Entities
{
public partial class IgesCompositeCurve : IgesEntity
{
... | // Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
namespace IxMilia.Iges.Entities
{
public partial class IgesCompositeCurve : IgesEntity
{
... | apache-2.0 | C# |
9d546972806c019d47663127ea534a91044c1f62 | fix compile issue | AMVSoftware/NSaga | NSaga/StubSagaRepository.cs | NSaga/StubSagaRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSaga
{
public class StubSagaRepository : ISagaRepository
{
public ISaga<TSagaData> InitiateSaga<TSagaData>()
{
throw new NotImplementedExceptio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSaga
{
public class StubSagaRepository : ISagaRepository
{
public ISaga<TSagaData> InitiateSaga<TSagaData>()
{
throw new NotImplementedExceptio... | mit | C# |
c80eaa44692cda1b2fc5fd0fc2759dec3cdca5a3 | optimize MinChangeCount | dgg/nmoneys,dgg/nmoneys | src/NMoneys/Change/Operations.MinChangeCount.cs | src/NMoneys/Change/Operations.MinChangeCount.cs | using System;
using System.Linq;
using NMoneys.Extensions;
namespace NMoneys.Change
{
[CLSCompliant(false)]
public static class MinChangeCountOperation
{
public static ushort MinChangeCount(this Money money, params Denomination[] denominations)
{
Positive.Amounts.AssertArgument(nameof(money), money.Amount);
... | using System;
using System.Linq;
namespace NMoneys.Change
{
[CLSCompliant(false)]
public static class MinChangeCountOperation
{
public static ushort MinChangeCount(this Money money, params Denomination[] denominations)
{
Positive.Amounts.AssertArgument(nameof(money), money.Amount);
long n = money.MinorIn... | bsd-3-clause | C# |
3c35f64c1d520d11d829f36227371070ab89ce8b | Remove cruft | wbsimms/PracticeTime,wbsimms/PracticeTime,wbsimms/PracticeTime,wbsimms/PracticeTime | src/Web/PracticeTime.Web/Helpers/UserHelper.cs | src/Web/PracticeTime.Web/Helpers/UserHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using PracticeTime.Web.DataAccess;
using PracticeTime.Web.DataAccess.Models;
namespace PracticeTime.Web.Helpers
{
public interfa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using PracticeTime.Web.DataAccess;
using PracticeTime.Web.DataAccess.Models;
namespace PracticeTime.Web.Helpers
{
public interfa... | apache-2.0 | C# |
30649eb2b815aa15ea498a7798efaa792baf56c5 | Update ParenthesizedExpressionTemplateProvider.cs | controlflow/resharper-postfix | TemplateProviders/ParenthesizedExpressionTemplateProvider.cs | TemplateProviders/ParenthesizedExpressionTemplateProvider.cs | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.ReSharper.ControlFlow.PostfixCompletion.LookupItems;
using JetBrains.ReSharper.Feature.Services.Lookup;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
namespace JetBrains.ReSharper.Contr... | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.ReSharper.ControlFlow.PostfixCompletion.LookupItems;
using JetBrains.ReSharper.Feature.Services.Lookup;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
namespace JetBrains.ReSharper.Contr... | mit | C# |
666da4a8c8fe8f88f184137e7cb069e207a42ab7 | print if traceleve less or equal | n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor | Dataphor/Logging/Logger.cs | Dataphor/Logging/Logger.cs |
using System.Diagnostics;
namespace Alphora.Dataphor.Logging
{
internal class Logger : ILogger
{
private static TraceSwitch FTraceSwitch;
public Logger(string ADisplayName):this(ADisplayName,"TraceSwitch for "+ADisplayName)
{
}
public Log... |
using System.Diagnostics;
namespace Alphora.Dataphor.Logging
{
internal class Logger : ILogger
{
private static TraceSwitch FTraceSwitch;
public Logger(string ADisplayName):this(ADisplayName,"TraceSwitch for "+ADisplayName)
{
}
public Log... | bsd-3-clause | C# |
08a876df866fed64428d22cbccbba989c8b13421 | Move Settings tab just after OfflinePayment settings | OShop/OShop.PayPal,OShop/OShop.PayPal | Navigation/AdminMenu.cs | Navigation/AdminMenu.cs | using Orchard.Localization;
using Orchard.UI.Navigation;
using OShop.Permissions;
namespace OShop.PayPal.Navigation {
public class AdminMenu : INavigationProvider {
public Localizer T { get; set; }
public AdminMenu() {
T = NullLocalizer.Instance;
}
public string MenuN... | using Orchard.Localization;
using Orchard.UI.Navigation;
using OShop.Permissions;
namespace OShop.PayPal.Navigation {
public class AdminMenu : INavigationProvider {
public Localizer T { get; set; }
public AdminMenu() {
T = NullLocalizer.Instance;
}
public string MenuN... | mit | C# |
6bd591b544faa92cacf27cef63f13c1f160f7633 | add 2 properties to UserVotesViewModel - NumberOfVotes and Voters | KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem | VotingSystem.Web/Areas/User/ViewModels/UserVotesViewModel.cs | VotingSystem.Web/Areas/User/ViewModels/UserVotesViewModel.cs | namespace VotingSystem.Web.Areas.User.ViewModels
{
using System;
using System.Web.Mvc;
using VotingSystem.Models;
using VotingSystem.Web.Infrastructure.Mapping;
public class UserVotesViewModel : IMapFrom<Vote>, IHaveCustomMappings
{
[HiddenInput(DisplayValue = false)]
... | namespace VotingSystem.Web.Areas.User.ViewModels
{
using System;
using System.Web.Mvc;
using VotingSystem.Models;
using VotingSystem.Web.Infrastructure.Mapping;
public class UserVotesViewModel : IMapFrom<Vote>, IHaveCustomMappings
{
[HiddenInput(DisplayValue = false)]
... | mit | C# |
5b4aeb81c0838aabaa3ccb364b6c953f89bc363d | Update Vector2.cs | elacy/PopulationSimulator | PopSim.Logic/Vector2.cs | PopSim.Logic/Vector2.cs | using System;
namespace PopSim.Logic
{
public class Vector2
{
public Vector2(double x, double y)
{
X = x;
Y = y;
IsZero = Math.Abs(x) < double.Epsilon && Math.Abs(y) < double.Epsilon;
}
public Vector2(double theta)
{
X = M... | using System;
namespace PopSim.Logic
{
public class Vector2
{
public Vector2(double x, double y)
{
X = x;
Y = y;
IsZero = Math.Abs(x) < double.Epsilon && Math.Abs(y) < double.Epsilon;
}
public bool IsZero { get; private set; }
publi... | mit | C# |
95cc80610a838c38bdc5e9a9596ec53712b9ebba | Add missing DesignInstance | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Ui/Options/ViewModels/TimeRangeViewModel.cs | CalDavSynchronizer/Ui/Options/ViewModels/TimeRangeViewModel.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 | C# |
af04f9904a1be45992c876fa7ffdd8db5c37f681 | Check if image is supported before uploading in the validation tag | stewartmatheson/CollAction,stewartmatheson/CollAction,stewartmatheson/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,stewartmatheson/CollAction,CollActionteam/CollAction,CollActionteam/CollAction | CollAction/ValidationAttributes/MaxImageDimensionsAttribute.cs | CollAction/ValidationAttributes/MaxImageDimensionsAttribute.cs | using ImageSharp;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
namespace CollAction.ValidationAttributes
{
public class MaxImageDimensionsAttribute : ValidationAttribute
{
private reado... | using ImageSharp;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
namespace CollAction.ValidationAttributes
{
public class MaxImageDimensionsAttribute : ValidationAttribute
{
private reado... | agpl-3.0 | C# |
b9e364220ec74dcaf46159cc9a550b9070c9da98 | Add more hosts to tokenserver | ukahoot/ukahoot,ukahoot/ukahoot,ukahoot/ukahoot,ukahoot/ukahoot,ukahoot/ukahoot.github.io,ukahoot/ukahoot.github.io,ukahoot/ukahoot.github.io | TokenServer/src/Main.cs | TokenServer/src/Main.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace UKahoot {
class MainClass {
public static string[] Hosts = {
"tokenserver.ukahoot.it",
"http://tokenserver.ukahoot.it",
"https://tokenserver.ukahoot.it",
"http://www.tokenserver.ukahoot.it",
"https://www.tokenserver.ukahoot... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace UKahoot {
class MainClass {
public static string[] Hosts = {
"tokenserver.ukahoot.it"
};
public static int Port = 5556;
public static TokenServer ts;
public static void Main(string[] args) {
ts = new TokenServer(Hosts, Port)... | mit | C# |
14beed680f7965f048ceaf59bddcd28db04b5983 | Change assertions in ProcessExtensions to have IProcess as return value. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/Tooling/ProcessExtensions.cs | source/Nuke.Core/Tooling/ProcessExtensions.cs | // Copyright Matthias Koch 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | // Copyright Matthias Koch 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | mit | C# |
719c0d30261c52dc6cc49253bf6ece2a50ec26e0 | bump version | raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2 | source/Raml.Parser/Properties/AssemblyInfo.cs | source/Raml.Parser/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("RAML.Parser")]
[assembly: AssemblyDescri... | 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("RAML.Parser")]
[assembly: AssemblyDescri... | apache-2.0 | C# |
d55f8f3f7af437279f41615b7547461b1be58ba8 | Remove unused parameter | Fody/PropertyChanged | PropertyChanged.Fody.Analyzer/ExtensionMethods.cs | PropertyChanged.Fody.Analyzer/ExtensionMethods.cs | global using static ExtensionMethods;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
[assembly: InternalsVisibleTo("PropertyChanged.Fody.Ananlyzer.Tests")]
static class ExtensionMethods
{... | global using static ExtensionMethods;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
[assembly: InternalsVisibleTo("PropertyChanged.Fody.Ananlyzer.Tests")]
static class ExtensionMethods
{... | mit | C# |
1a28abd6acb7eb9f7b500e4de47832604e71ce06 | Fix Travis CI | lecaillon/Evolve | test/Evolve.Core.Test.Driver/DatabaseFixture.cs | test/Evolve.Core.Test.Driver/DatabaseFixture.cs | using System;
using System.Threading;
using Evolve.Test.Utilities;
using Xunit;
namespace Evolve.Core.Test
{
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
MsSql = new MsSqlDockerContainer();
MsSql.Start();
MySql = new MySqlDockerCo... | using System;
using System.Threading;
using Evolve.Test.Utilities;
using Xunit;
namespace Evolve.Core.Test
{
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
#if DEBUG
MySql = new MySqlDockerContainer();
MySql.Start();
MsSql = new MsS... | mit | C# |
67ae232b46a6eda5ba30babc593989fc45cd8ed6 | remove extraneous newline. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Program.cs | WalletWasabi.Gui/Program.cs | using Avalonia;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui
{
internal class Pro... | using Avalonia;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui
{
internal class Pro... | mit | C# |
4e460b3bf73cfdc723cfff5dae78900e2911c73a | Disable fog and clouds in all game modes | earalov/Skylines-FogOptions | FogOptions/LoadingExtension.cs | FogOptions/LoadingExtension.cs | using ICities;
namespace FogOptions
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnLevelLoaded(LoadMode mode)
{
base.OnLevelLoaded(mode);
FogController.Initialize();
}
public override void OnLevelUnloading()
{
... | using ICities;
namespace FogOptions
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnLevelLoaded(LoadMode mode)
{
base.OnLevelLoaded(mode);
if (mode == LoadMode.LoadMap || mode == LoadMode.NewMap)
{
return;
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.