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 |
|---|---|---|---|---|---|---|---|---|
ade82398d73e85072d61b4b0add3331d385abf2b | Update IApp.cs | ivan-prodanov/DotNet.Startup | Contracts/IApp.cs | Contracts/IApp.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNet.Startup.Contracts
{
public interface IApp
{
string[] Args { get; }
IServiceProvider ApplicationServices { get; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNet.Startup.Contracts
{
public interface IApp
{
string[] Args { get; }
IServiceProvider ApplicationServices { get; }
}
}
| unlicense | C# |
e3d6a91fd4202f754e806ab5aa7c383ccbbc1520 | Bump version to 0.6.3 | FatturaElettronicaPA/FatturaElettronicaPA.Forms | Properties/AssemblyInfo.cs | 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("FatturaElettronica.Forms")]
[assembly: As... | 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("FatturaElettronica.Forms")]
[assembly: As... | bsd-3-clause | C# |
183afb57fd36bde5180858f8d3897dabf6de8181 | Define Text.IsEmpty | jonathanvdc/Pixie,jonathanvdc/Pixie | Pixie/Markup/Text.cs | Pixie/Markup/Text.cs | using System;
namespace Pixie.Markup
{
/// <summary>
/// A markup node that renders a string of text.
/// </summary>
public sealed class Text : MarkupNode
{
/// <summary>
/// Creates a text node from a string.
/// </summary>
/// <param name="text">A text string.</par... | using System;
namespace Pixie.Markup
{
/// <summary>
/// A markup node that renders a string of text.
/// </summary>
public sealed class Text : MarkupNode
{
/// <summary>
/// Creates a text node from a string.
/// </summary>
/// <param name="text">A text string.</par... | mit | C# |
7c09973a52c30e33a045ef477d408a5ca74fc577 | remove trial check-in comment. | ishrahoar/penrosetiles | PenroseTiles/Program.cs | PenroseTiles/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PenroseTiles
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Appl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PenroseTiles
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Appl... | bsd-2-clause | C# |
f53fd6e4bcfce9b22eb692c223bdf0cb30332e09 | Fix status capitalisation | peppy/osu,ppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu | osu.Game/Users/UserActivity.cs | osu.Game/Users/UserActivity.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.Game.Beatmaps;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Users
{
public abstract class UserActivity
{
public abstract ... | // 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.Game.Beatmaps;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Users
{
public abstract class UserActivity
{
public abstract ... | mit | C# |
1a80d944f723b664e6bba883f6141563d8fa4dd1 | add TODO | dimaaan/pgEdit | PgEdit/Program.cs | PgEdit/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | mit | C# |
68745ef662f0f27e64bfc9fbbebd12ab9e0ae0d8 | Update copyright year span to include 2014. This change was generated by the build script. | fixie/fixie,Duohong/fixie,KevM/fixie,EliotJones/fixie,bardoloi/fixie,JakeGinnivan/fixie,bardoloi/fixie | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyProduct("Fixie")]
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyCopyright("Copyright (c) 2013-2014 Patrick Lioi")]
[assembly: AssemblyCompany("Patrick L... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyProduct("Fixie")]
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyCopyright("Copyright (c) 2013 Patrick Lioi")]
[assembly: AssemblyCompany("Patrick Lioi")... | mit | C# |
c9499a55949e0b16b0fa4b05d06d131588be0061 | Update version to 2.1.7 | Azure/amqpnetlite | src/Properties/Version.cs | src/Properties/Version.cs | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// 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 co... | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// 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 co... | apache-2.0 | C# |
2a8a679b0d4711c84609760d73cbaffedf20f2bc | Add address permission constants for permissions card | timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet | Alexa.NET/Response/RequestedPermission.cs | Alexa.NET/Response/RequestedPermission.cs | using System;
namespace Alexa.NET.Response
{
public static class RequestedPermission
{
public const string ReadHouseholdList = "read::alexa:household:list";
public const string WriteHouseholdList = "write::alexa:household:list";
public const string FullAddress = "read::alexa:device:all... | using System;
namespace Alexa.NET.Response
{
public static class RequestedPermission
{
public const string ReadHouseholdList = "read::alexa:household:list";
public const string WriteHouseholdList = "write::alexa:household:list";
}
}
| mit | C# |
9356298038d7a219af6c1fa2a7140b144c2ef892 | Fix probing for git on non-Windows machines | terrajobst/git-istage,terrajobst/git-istage | src/git-istage/Program.cs | src/git-istage/Program.cs | using System;
using System.IO;
using System.Linq;
using LibGit2Sharp;
namespace GitIStage
{
internal static class Program
{
private static void Main()
{
var repositoryPath = ResolveRepositoryPath();
if (!Repository.IsValid(repositoryPath))
{
... | using System;
using System.IO;
using System.Linq;
using LibGit2Sharp;
namespace GitIStage
{
internal static class Program
{
private static void Main()
{
var repositoryPath = ResolveRepositoryPath();
if (!Repository.IsValid(repositoryPath))
{
... | mit | C# |
8d735fee04fd50b213f372167508d0fbdee63364 | reset Explicit attribute for BrowserTest tests | TestStack/TestStack.Seleno,dennisroche/TestStack.Seleno,bendetat/TestStack.Seleno,dennisroche/TestStack.Seleno,random82/TestStack.Seleno,bendetat/TestStack.Seleno,TestStack/TestStack.Seleno,random82/TestStack.Seleno | src/TestStack.Seleno.AcceptanceTests/Browsers/BrowserTests.cs | src/TestStack.Seleno.AcceptanceTests/Browsers/BrowserTests.cs | using NUnit.Framework;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Remote;
using TestStack.Seleno.Configuration;
using TestStack.Seleno.Configuration.WebServers;
using TestStack.Seleno.PageObjects;
namespace TestStack.Seleno.AcceptanceTests.Browsers
{
abstract class BrowserTest
{
protected abstrac... | using NUnit.Framework;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Remote;
using TestStack.Seleno.Configuration;
using TestStack.Seleno.Configuration.WebServers;
using TestStack.Seleno.PageObjects;
namespace TestStack.Seleno.AcceptanceTests.Browsers
{
abstract class BrowserTest
{
protected abstrac... | mit | C# |
92b4671678e5af2117e71306b3fcf5ef93380945 | Fix null event | yanyiyun/LockstepFramework,erebuswolf/LockstepFramework,SnpM/Lockstep-Framework | Core/Game/Abilities/Essential/Health.cs | Core/Game/Abilities/Essential/Health.cs | using System;
using Lockstep.UI;
using UnityEngine;
namespace Lockstep
{
public class Health : Ability
{
[SerializeField, FixedNumber]
private long _maxHealth = FixedMath.One * 100;
public long MaxHealth
{
get { return _maxHealth; }
set { _maxHealth = value; }
}
public event Action onHealt... | using System;
using Lockstep.UI;
using UnityEngine;
namespace Lockstep
{
public class Health : Ability
{
[SerializeField, FixedNumber]
private long _maxHealth = FixedMath.One * 100;
public long MaxHealth
{
get { return _maxHealth; }
set { _maxHealth = value; }
}
public event Action onHealt... | mit | C# |
e8bed7ce3eca394728784a304e20c6f81aeac7a2 | Add missing From property init | MaxDeg/NinthChevron | BlueBoxSharp.Data/Expressions/UnionQueryExpression.cs | BlueBoxSharp.Data/Expressions/UnionQueryExpression.cs | /**
* Copyright 2013
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | /**
* Copyright 2013
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | apache-2.0 | C# |
7bc75cc900ee3f475ec4e40d03af5d98013ac1de | Remove unnecessary InternalsVisibleTo | NickLargen/Junctionizer | Junctionizer/Properties/AssemblyInfo.cs | Junctionizer/Properties/AssemblyInfo.cs | using System.Reflection;
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 with an assembly.
[asse... | using System.Reflection;
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 with an assembly.
[asse... | mit | C# |
a980cb7ba02202d92816d84bed80b9251e3771d6 | delete custom field definition | gregsdennis/Manatee.Trello,gregsdennis/Manatee.Trello | Manatee.Trello/CustomFieldDefinition.cs | Manatee.Trello/CustomFieldDefinition.cs | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Manatee.Trello.Internal;
using Manatee.Trello.Internal.Synchronization;
using Manatee.Trello.Json;
namespace Manatee.Trello
{
public class CustomFieldDefinition : ICustomFieldDefinition, IMergeJson<IJsonCustomFieldDefinition>
{
private... | using System.Linq;
using System.Threading.Tasks;
using Manatee.Trello.Internal;
using Manatee.Trello.Internal.Synchronization;
using Manatee.Trello.Json;
namespace Manatee.Trello
{
public class CustomFieldDefinition : ICustomFieldDefinition, IMergeJson<IJsonCustomFieldDefinition>
{
private readonly Field<IBoard> ... | mit | C# |
1f0dfb68b39859870a77e29d8ea9619313612a77 | Fix indentation. | igrali/PropertyDescriptions | PropertyDescriptions/EffectViewModel.cs | PropertyDescriptions/EffectViewModel.cs | using System.Collections.Generic;
using Lumia.Imaging;
using Lumia.Imaging.Adjustments;
using System;
namespace PropertyDescriptions
{
public class EffectViewModel
{
public BlurEffect blur { get; set; }
public EffectViewModel()
{
this.blur = new BlurEffect();
... | using System.Collections.Generic;
using Lumia.Imaging;
using Lumia.Imaging.Adjustments;
using System;
namespace PropertyDescriptions
{
public class EffectViewModel
{
public BlurEffect blur { get; set; }
public EffectViewModel()
{
this.blur = new BlurEffect();
DetectPropertyDescriptions()... | mit | C# |
a4f7eb83c7baa4b847600fcca112b219abe71287 | Fix overlined participants test scene not working | ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedParticipants.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedParticipants.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.Game.Screens.Multi.Components;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Multiplayer
{
pub... | // 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.Game.Screens.Multi.Components;
using osuTK;
namespace osu.Game.Tests.Visual.Multiplayer
{
public class... | mit | C# |
556c97bc5510a5c1de39245a7f4cc2816e306cbb | Create indexes when creating table. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM/NewModelling/Table.cs | Silk.Data.SQL.ORM/NewModelling/Table.cs | using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.ORM.Expressions;
using Silk.Data.SQL.ORM.Queries;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Silk.Data.SQL.ORM.NewModelling
{
/// <summary>
/// A table in a data domain.
/// </summary>
public class Table
{
publ... | using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.ORM.Queries;
using System;
using System.Collections.Generic;
namespace Silk.Data.SQL.ORM.NewModelling
{
/// <summary>
/// A table in a data domain.
/// </summary>
public class Table
{
public string TableName { get; }
public bool IsEntityTable ... | mit | C# |
6d360668db8895f2ae38711d5b19c2f9dffe672d | Implement mouse drag event as IObservable | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 | RxSample/MouseRx2Wpf/MainWindow.xaml.cs | RxSample/MouseRx2Wpf/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
ba55c7045798da1f6ad37049c140b79e9c8417ec | remove center style | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p>
<p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p>
<p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ... | mit | C# |
a3c729b5ded846d76355360b7f542e2e308b6d0d | Move most of Patient class body to Contact class | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Contact.cs | StressMeasurementSystem/Models/Contact.cs | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Contact
{
#region Structs
public struct NameInfo
{
public string Prefix { get; set; }
public string First { get; set; }
public string Mi... | namespace StressMeasurementSystem.Models
{
public class Contact
{
}
} | apache-2.0 | C# |
a2ad7d72e93a0ca50d7b587f0bc52449c4525317 | update SpriteDivider | RyotaMurohoshi/character_animator_creator | unity/Assets/Editor/CharacterAnimatorCreator/SpriteDivider.cs | unity/Assets/Editor/CharacterAnimatorCreator/SpriteDivider.cs | using UnityEditor;
using UnityEngine;
using System.Linq;
public static class SpriteDivider
{
public static void DividSprite(string texturePath, int horizontalCount, int verticalCount)
{
var texture = AssetDatabase.LoadAssetAtPath(texturePath, typeof(Texture)) as Texture;
var pixelPerUnit = Mat... | using UnityEditor;
using UnityEngine;
using System.Linq;
public static class SpriteDivider
{
public static void DividSprite(string texturePath, int horizontalCount, int verticalCount)
{
TextureImporter importer = TextureImporter.GetAtPath(texturePath) as TextureImporter;
importer.textureType ... | mit | C# |
1a93813d4c20e5f87a99146e88cf1d85452c98ab | Update SeasonConverter.cs to include PRESEASON2015 | Challengermode/RiotSharp,frederickrogan/RiotSharp,JanOuborny/RiotSharp,Shidesu/RiotSharp,florinciubotariu/RiotSharp,oisindoherty/RiotSharp,aktai0/RiotSharp,RodrigoArantes23/RiotSharp,Qinusty/RiotSharp,jono-90/RiotSharp,jessehallam/RiotSharp,BenFradet/RiotSharp,Oucema90/RiotSharp | RiotSharp/MatchEndpoint/Converters/SeasonConverter.cs | RiotSharp/MatchEndpoint/Converters/SeasonConverter.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace RiotSharp.MatchEndpoint
{
class SeasonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(string).IsAssignableFrom(objectType);
}
public override obj... | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace RiotSharp.MatchEndpoint
{
class SeasonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(string).IsAssignableFrom(objectType);
}
public override obj... | mit | C# |
3ff2e87d18c3ca5d91f37a56458e6ded101e5a6a | Reduce a line length | vbfox/KitsuneRoslyn | TestDiagnostics/NoStringEmpty/NoStringEmptyCodeFix.cs | TestDiagnostics/NoStringEmpty/NoStringEmptyCodeFix.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Cod... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Cod... | bsd-2-clause | C# |
6d0ad74156041f0f74d0b35d31a5b76b25dcb6a7 | Make sample app more helpful | abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins | ImportExport/SampleImpExp/SampleImpExpCore/SampleImpExpCore.cs | ImportExport/SampleImpExp/SampleImpExpCore/SampleImpExpCore.cs |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Abstractspoon.Tdl.PluginHelpers;
namespace SampleImpExp
{
public class SampleImpExpCore
{
public bool Export(TaskList srcTasks, string sDestFilePath, bool bSilent, Preferences prefs, string sKey)
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Abstractspoon.Tdl.PluginHelpers;
namespace SampleImpExp
{
public class SampleImpExpCore
{
public bool Export(TaskList srcTasks, string sDestFilePath, bool bSilent, Preferences prefs, string sKey)
... | epl-1.0 | C# |
5ce9dc84e6c761152e5cb293b5501ce09f40c372 | Fix the deserializatio | flagbug/Espera.Network | Espera.Network/NetworkPlaylist.cs | Espera.Network/NetworkPlaylist.cs | using System.Collections.ObjectModel;
namespace Espera.Network
{
public class NetworkPlaylist
{
public int? CurrentIndex { get; set; }
public string Name { get; set; }
public int? RemainingVotes { get; set; }
public ReadOnlyCollection<NetworkSong> Songs { get; set; }
}
} | using System.Collections.Generic;
namespace Espera.Network
{
public class NetworkPlaylist
{
public int? CurrentIndex { get; set; }
public string Name { get; set; }
public int? RemainingVotes { get; set; }
public IReadOnlyList<NetworkSong> Songs { get; set; }
}
} | mit | C# |
d7d825ca4a4884c3feaa5267e6ee0729ae786c97 | Update Base62CorrelationService.cs | tiksn/TIKSN-Framework | TIKSN.Core/Integration/Correlation/Base62CorrelationService.cs | TIKSN.Core/Integration/Correlation/Base62CorrelationService.cs | using Base62;
using Microsoft.Extensions.Options;
using System;
using System.Globalization;
using System.Numerics;
using TIKSN.Serialization.Numerics;
namespace TIKSN.Integration.Correlation
{
public class Base62CorrelationService : ICorrelationService
{
private readonly Base62Converter _base62Convert... | using Microsoft.Extensions.Options;
using System;
namespace TIKSN.Integration.Correlation
{
public class Base62CorrelationService
{
private readonly Random _random;
private readonly IOptions<Base62CorrelationServiceOptions> _base62CorrelationServiceOptions;
public Base62CorrelationSer... | mit | C# |
99e46cd26b30007f1f919840711814a58bbbc51d | Fix missing `BeatmapMetadata.ToString` | NeoAdonis/osu,ppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game/Beatmaps/BeatmapMetadata.cs | osu.Game/Beatmaps/BeatmapMetadata.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enable
namespace osu.Game.Beatma... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enable
namespace osu.Game.Beatma... | mit | C# |
9d0a6de26e6039cf87dfd8c64f1f0ffb7f3643d1 | Fix SkinnableSprite initialising a drawable even when the texture is not available | smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu | osu.Game/Skinning/SkinnableSprite.cs | osu.Game/Skinning/SkinnableSprite.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Ga... | mit | C# |
3418f94a9e72ced41b677b6454f32f9c61997b73 | Remove caching layer | adamcaudill/libsodium-net,deckar01/libsodium-net,tabrath/libsodium-core,BurningEnlightenment/libsodium-net,fraga/libsodium-net,bitbeans/libsodium-net,BurningEnlightenment/libsodium-net,fraga/libsodium-net,bitbeans/libsodium-net,deckar01/libsodium-net,adamcaudill/libsodium-net | libsodium-net/DynamicInvoke.cs | libsodium-net/DynamicInvoke.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
namespace Sodium
{
internal static class DynamicInvoke
{
//shamelessly copied from https://stackoverflow.com/a/1660807/230543
public static T GetD... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
namespace Sodium
{
internal static class DynamicInvoke
{
private static readonly Dictionary<string, Delegate> _cache = new Dictionary<string, Delegate... | mit | C# |
f7b5ce0d12ff78c98fbf866c6b04a5837bd3ca8b | Fix for issue 96 Home link does not work from Volunteer Home screen | andrewhart098/crisischeckin,djjlewis/crisischeckin,lloydfaulkner/crisischeckin,mjmilan/crisischeckin,pottereric/crisischeckin,brunck/crisischeckin,brunck/crisischeckin,mjmilan/crisischeckin,andrewhart098/crisischeckin,jplwood/crisischeckin,pooran/crisischeckin,RyanBetker/crisischeckinUpdates,HTBox/crisischeckin,andrewh... | crisischeckin/crisicheckinweb/Views/Shared/_AdminLayout.cshtml | crisischeckin/crisicheckinweb/Views/Shared/_AdminLayout.cshtml | @using System.Web.Optimization
@using crisicheckinweb.Controllers
@{
Layout = "/Views/Shared/_Layout.cshtml";
}
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collaps... | @using System.Web.Optimization
@using crisicheckinweb.Controllers
@{
Layout = "/Views/Shared/_Layout.cshtml";
}
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collaps... | apache-2.0 | C# |
ed943007b8a4c7445feb29773ede500becf5334c | fix Upgrade_20211219_Microsoft | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20211219_Microsoft.Data.SqlClient.cs | Signum.Upgrade/Upgrades/Upgrade_20211219_Microsoft.Data.SqlClient.cs | namespace Signum.Upgrade.Upgrades;
//https://techcommunity.microsoft.com/t5/sql-server-blog/released-general-availability-of-microsoft-data-sqlclient-4-0/ba-p/2983346
class Upgrade_20211219_MicrosoftDataSqlClient : CodeUpgradeBase
{
public override string Description => "Microsoft.Data.SqlClient (Encrypt = true by... | namespace Signum.Upgrade.Upgrades;
//https://techcommunity.microsoft.com/t5/sql-server-blog/released-general-availability-of-microsoft-data-sqlclient-4-0/ba-p/2983346
class Upgrade_20211219_MicrosoftDataSqlClient : CodeUpgradeBase
{
public override string Description => "Microsoft.Data.SqlClient (Encrypt = true by... | mit | C# |
fcf83c35c8f6199a4077d9bf589c40e4c286ae16 | Make transaction roll back per default until we figure out what to do | Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet | realm/RealmNet.Shared/Transaction.cs | realm/RealmNet.Shared/Transaction.cs | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace RealmNet
{
public class Transaction : IDisposable
{
private SharedRealmHandle _sharedRealmHandle;
private bool _isOpen;
internal Transaction(SharedRealmHandle sharedRealm... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace RealmNet
{
public class Transaction : IDisposable
{
private SharedRealmHandle _sharedRealmHandle;
private bool _isOpen;
internal Transaction(SharedRealmHandle sharedRealm... | apache-2.0 | C# |
d4ec7939c56ce2033f716c4e1cddfa04659e9bc4 | Add RemoveComponent<T> | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/src/Node.cs | bindings/src/Node.cs | //
// Node C# sugar
//
// Authors:
// Miguel de Icaza (miguel@xamarin.com)
//
// Copyrigh 2015 Xamarin INc
//
using System;
using static System.Console;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Reflection;
namespace Urho {
internal partial class NodeHelper {
[DllImport... | //
// Node C# sugar
//
// Authors:
// Miguel de Icaza (miguel@xamarin.com)
//
// Copyrigh 2015 Xamarin INc
//
using System;
using static System.Console;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Reflection;
namespace Urho {
internal partial class NodeHelper {
[DllImport... | mit | C# |
2a31a3ae4d85d990a22b48846258c9d38eb3735c | Disable VS ZoneMarker for Rider | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/src/resharper-unity/VisualStudio/ZoneMarker.cs | resharper/src/resharper-unity/VisualStudio/ZoneMarker.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.VsIntegration.Shell.Zones;
// It would be nice to use zones properly here, but
// a) it's really hard :(
// b) Code Cleanup uses XAML serialisers that don't respect zones and try
// to resolve all types causing problems for Rider, which doe... | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.VsIntegration.Shell.Zones;
namespace JetBrains.ReSharper.Plugins.Unity.VisualStudio
{
[ZoneMarker]
public class ZoneMarker : IRequire<IVisualStudioZone>
{
}
} | apache-2.0 | C# |
11eb6a86bcc2acdeee5ab3581e4c16e32862b4ec | Edit plug | CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos | source/Cosmos.System2_Plugs/Interop/System.NativeImpl.cs | source/Cosmos.System2_Plugs/Interop/System.NativeImpl.cs | using IL2CPU.API.Attribs;
using System;
using System.IO;
namespace Cosmos.System_Plugs.Interop
{
[Plug("Interop+Sys, System.Private.CoreLib")]
class SysImpl
{
[PlugMethod(Signature = "System_Void__Interop_Sys_GetNonCryptographicallySecureRandomBytes_System_Byte___System_Int32_")]
public st... | using IL2CPU.API.Attribs;
using System;
using System.IO;
namespace Cosmos.System_Plugs.Interop
{
[Plug("Interop+Sys", IsOptional = true)]
class SysImpl
{
[PlugMethod(Signature = "System_Void__Interop_Sys_GetNonCryptographicallySecureRandomBytes_System_Byte#__System_Int32_")]
public static ... | bsd-3-clause | C# |
2e5d3d2bea021f330fd209c053bc09839a53a125 | Remove obsolete delivery model names | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/DeliveryModel.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/DeliveryModel.cs | using System.Text.Json.Serialization;
namespace SFA.DAS.CommitmentsV2.Types
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DeliveryModel : byte
{
Regular = 0,
PortableFlexiJob = 1,
}
} | using System;
using System.Text.Json.Serialization;
namespace SFA.DAS.CommitmentsV2.Types
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DeliveryModel : byte
{
Regular = 0,
PortableFlexiJob = 1,
[Obsolete("Use `Regular` instead of `Normal`", true)]
... | mit | C# |
a6cafd3b44f53c14683e2dfbcc4cd86eb0f1d222 | Change AssemblyCompany to .NET Foundation | kali786516/kudu,shibayan/kudu,juvchan/kudu,sitereactor/kudu,projectkudu/kudu,mauricionr/kudu,kali786516/kudu,duncansmart/kudu,duncansmart/kudu,kenegozi/kudu,projectkudu/kudu,juvchan/kudu,puneet-gupta/kudu,YOTOV-LIMITED/kudu,badescuga/kudu,barnyp/kudu,uQr/kudu,puneet-gupta/kudu,bbauya/kudu,projectkudu/kudu,barnyp/kudu,b... | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany(".NET Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
// If you change this version, make sure to change Build\build.proj accordingly
[assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
// If you change this version, make sure to change Build\build.proj accordingly
[as... | apache-2.0 | C# |
ca441db076dfc5229ae9cb36eeb10499664c191f | 修正笔误。 :hankey: :hatched_chick: | huoxudong125/Zongsoft.CoreLibrary,Zongsoft/Zongsoft.CoreLibrary | src/Runtime/Serialization/SerializationMemberBehavior.cs | src/Runtime/Serialization/SerializationMemberBehavior.cs | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.CoreLibrary.
*
* Zongsoft.CoreLibrary is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*... | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.CoreLibrary.
*
* Zongsoft.CoreLibrary is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*... | lgpl-2.1 | C# |
6e32557be3d36f8c867e95d1f7527fcc2bbb95ca | Fix spelling error | UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu | osu.Android/OsuGameActivity.cs | osu.Android/OsuGameActivity.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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | // 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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | mit | C# |
2961a96fa87af5c96772c7062fd9aefaeec74f3a | Build fix | rds1983/Myra | src/Myra/Utility/CrossEngineStuff.cs | src/Myra/Utility/CrossEngineStuff.cs | using System;
#if MONOGAME || FNA
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#elif STRIDE
using Stride.Core.Mathematics;
using Stride.Graphics;
using Texture2D = Stride.Graphics.Texture;
#else
using System.Drawing;
using Color = FontStashSharp.FSColor;
#endif
namespace Myra.Utility
{
int... | #if MONOGAME || FNA
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#elif STRIDE
using Stride.Core.Mathematics;
using Stride.Graphics;
using Texture2D = Stride.Graphics.Texture;
#else
using System.Drawing;
using Color = FontStashSharp.FSColor;
#endif
namespace Myra.Utility
{
internal static cl... | mit | C# |
426a3238a451ab233371a2f886f42da02d18a7a7 | Remove trailing spaces from <br> | mysticmind/reversemarkdown-net | src/ReverseMarkdown/Converters/Br.cs | src/ReverseMarkdown/Converters/Br.cs |
using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Br
: ConverterBase
{
public Br(Converter converter)
: base(converter)
{
this.Converter.Register("br", this);
}
public override string Convert(HtmlNode node)
{
return Environment.NewLine;
}
}
}
|
using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Br
: ConverterBase
{
public Br(Converter converter)
: base(converter)
{
this.Converter.Register("br", this);
}
public override string Convert(HtmlNode node)
{
return " " + Environment.NewLine;
}
}
}
| mit | C# |
c176274c6ae5f1b6e0bb77a1299922078a2a2233 | add StyleScope at PrefsGUIEditorBase | fuqunaga/PrefsGUI | Editor/PrefsGUIEditorBase.cs | Editor/PrefsGUIEditorBase.cs | using System;
using UnityEditor;
using UnityEngine;
namespace PrefsGUI
{
public abstract class PrefsGUIEditorBase : EditorWindow
{
// GUI.skin is not same in Editor and runtime.
// StyleScope set style like runtime in Editor;
public class StyleScope : IDisposable
{
... | using UnityEditor;
using UnityEngine;
namespace PrefsGUI
{
public abstract class PrefsGUIEditorBase : EditorWindow
{
protected void Update()
{
GameObjectPrefsUtility.UpdateGoPrefs();
}
void OnGUI()
{
var buttunStyleOrig = GUI.skin.button;
... | mit | C# |
f7e2bd1971819155f91b5730f08293172fbd4dde | Add log for null or empty ControllerCode; | SnpM/Lockstep-Framework | Core/Game/Agents/AgentControllerSystem/AgentControllerHelper.cs | Core/Game/Agents/AgentControllerSystem/AgentControllerHelper.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Lockstep.Data;
using FastCollections;
namespace Lockstep {
/// <summary>
/// At the moment a simple script that automatically creates AgentControllers at the start of games
/// </summary>
public class AgentControllerHelper : Behav... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Lockstep.Data;
using FastCollections;
namespace Lockstep {
/// <summary>
/// At the moment a simple script that automatically creates AgentControllers at the start of games
/// </summary>
public class AgentControllerHelper : Behav... | mit | C# |
295875c9b209b812c33c3e54690d8723d17b451d | Fix CC reflection method | DMagic1/KSP_Contract_Parser | Source/contractReflection.cs | Source/contractReflection.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Contracts;
using UnityEngine;
namespace ContractParser
{
public static class contractReflection
{
internal static void loadMethods()
{
ccLoaded = loadCCPendingMethod();
}
private s... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Contracts;
using UnityEngine;
namespace ContractParser
{
public static class contractReflection
{
internal static void loadMethods()
{
ccLoaded = loadCCPendingMethod();
}
private s... | mit | C# |
4b2b8bf52dc2e1cfa251edcdf81b77cc05b5cce2 | Fix JobHandlerTypeSerializerTest | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Scheduler.Tests/JobHandlerTypeSerializerTest.cs | InfinniPlatform.Scheduler.Tests/JobHandlerTypeSerializerTest.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using InfinniPlatform.IoC;
using InfinniPlatform.Tests;
using Moq;
using NUnit.Framework;
namespace InfinniPlatform.Scheduler
{
[TestFixture(Category = TestCategories.UnitTest)]
public class JobHandlerTypeSerializerTest
{
private st... | using System;
using System.Threading.Tasks;
using InfinniPlatform.IoC;
using InfinniPlatform.Tests;
using Moq;
using NUnit.Framework;
namespace InfinniPlatform.Scheduler
{
[TestFixture(Category = TestCategories.UnitTest)]
public class JobHandlerTypeSerializerTest
{
private const string HandlerT... | agpl-3.0 | C# |
f1ce465ac3a73ffe81ac174c9e378c2653e2fd5a | Use existing extension method to get default value for a type. | mthamil/PlantUMLStudio,mthamil/PlantUMLStudio | Unit.Tests/MethodRecorder.cs | Unit.Tests/MethodRecorder.cs | using System;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
using Utilities.Reflection;
namespace Unit.Tests
{
/// <summary>
/// Proxy that records method invocations.
/// </summary>
public class MethodRecorder<T> : RealProxy
{
/// <summary>
/// Crea... | using System;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
namespace Unit.Tests
{
/// <summary>
/// Proxy that records method invocations.
/// </summary>
public class MethodRecorder<T> : RealProxy
{
/// <summary>
/// Creates a new interceptor that r... | apache-2.0 | C# |
73ab90eb582d705f2b1080122768140e17c5c011 | Remove unncessary PMLs | jogonzal/UWNLPAssignment1,jogonzal-msft/UWNLPAssignment1 | UWNLPAssignment1/Pml.cs | UWNLPAssignment1/Pml.cs | namespace UWNLPAssignment1
{
public static class PmlExtensions
{
public static double Pml(this CorpusParsingResult result, string word)
{
int countForUnigram = result.GetCountForUnigram(word);
return 1.0 * countForUnigram/result.TotalUnigrams;
}
public static double Pml(this CorpusParsingResult resul... | namespace UWNLPAssignment1
{
public static class PmlExtensions
{
public static double Pml(this CorpusParsingResult result, string word)
{
int countForUnigram = result.GetCountForUnigram(word);
return 1.0 * countForUnigram/result.TotalUnigrams;
}
public static double Pml(this CorpusParsingResult resul... | mit | C# |
8a4065cf4345bd25a51527dfb1e36e972890f6db | Build Manager ready | neurospeech/iis-ci | IISCI.Build/ProcessHelper.cs | IISCI.Build/ProcessHelper.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace IISCI.Build
{
public class ProcessHelper
{
public static void Execute(
string progr... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace IISCI.Build
{
public class ProcessHelper
{
public static void Execute(
string progr... | mit | C# |
c1e283afcfa12d66ae3ceb98d3c771a8ff1e19bb | Make VendorRecipe implement IReadOnlyList<PoEItem> | jcmoyer/Yeena | Yeena/Recipe/VendorRecipe.cs | Yeena/Recipe/VendorRecipe.cs | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | apache-2.0 | C# |
5ae3d0eb274785ac3bb55cf26e8860ca7e35456e | Fix wording of ui scale screen description | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Localisation/FirstRunSetupOverlayStrings.cs | osu.Game/Localisation/FirstRunSetupOverlayStrings.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.Localisation;
namespace osu.Game.Localisation
{
public static class FirstRunSetupOverlayStrings
{
private const string prefix = @"osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation;
namespace osu.Game.Localisation
{
public static class FirstRunSetupOverlayStrings
{
private const string prefix = @"osu... | mit | C# |
39e637795ecb07a2aadf5ae541ea2a78100f3c8b | improve exception message when handling connection errors (#1302) | chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet | Source/MQTTnet/Exceptions/MqttCommunicationTimedOutException.cs | Source/MQTTnet/Exceptions/MqttCommunicationTimedOutException.cs | using System;
namespace MQTTnet.Exceptions
{
public class MqttCommunicationTimedOutException : MqttCommunicationException
{
public MqttCommunicationTimedOutException()
{
}
public MqttCommunicationTimedOutException(Exception innerException) : base("The operation has timed out."... | using System;
namespace MQTTnet.Exceptions
{
public class MqttCommunicationTimedOutException : MqttCommunicationException
{
public MqttCommunicationTimedOutException()
{
}
public MqttCommunicationTimedOutException(Exception innerException) : base(innerException)
{
... | mit | C# |
e0cb93ecdd522370e03f9d984f89ca76b9f55739 | Change formatting to match C# style | versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla | VersionOne.ServiceHost.Core/Configuration/VersionOneSettings.cs | VersionOne.ServiceHost.Core/Configuration/VersionOneSettings.cs | using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace VersionOne.ServiceHost.Core.Configuration
{
[XmlRoot("Settings")]
public class VersionOneSettings
{
private const string DefaultApiVersion = "6.5.0.0";
[XmlElement("ApplicationUrl")]
public ... | using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace VersionOne.ServiceHost.Core.Configuration {
[XmlRoot("Settings")]
public class VersionOneSettings {
private const string DefaultApiVersion = "6.5.0.0";
[XmlElement("ApplicationUrl")]
public stri... | bsd-3-clause | C# |
91460f27daf5adabeb1fe40347f6121263998001 | Fix incorrect isForCurrentRuleset value | NeoAdonis/osu,ZLima12/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu-new,peppy/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,Frontear/osuKyze... | osu.Game.Tests/Visual/TestCaseReplay.cs | osu.Game.Tests/Visual/TestCaseReplay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Screens.Play;
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Screens.Play;
... | mit | C# |
de6cb9c4d76b8acb2d970ffafa06f54386d73207 | Support ReturnUrl to public pages | projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,KuduApps/NuGetGallery,JetBrains/ReSharperGallery,skbkontur/NuGetGallery,mtian/SiteExtensionGallery,KuduApps/NuGetGallery,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGal... | Website/Views/Shared/UserDisplay.cshtml | Website/Views/Shared/UserDisplay.cshtml | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
<span class="welcome">@Html.ActionLink("Log On", "LogOn", "Authentication", new { returnUrl = Request.RequestContext.HttpContext.Request.RawUrl }, null)</span>
<a href="@Url.Action(MVC.Users.Register())" class="register">Register... | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
<span class="welcome"><a href="@Url.LogOn()">Log On</a></span>
<a href="@Url.Action(MVC.Users.Register())" class="register">Register</a>
}
else
{
<span class="welcome"><a href="@Url.Action(MVC.Users.Account())... | apache-2.0 | C# |
2a9b350be80583b7d3ef2bea646c325a82521aac | add setting key AzureStoreEnabled | colbylwilliams/XWeather,colbylwilliams/XWeather | XWeather/Shared/Settings/SettingKeys.cs | XWeather/Shared/Settings/SettingKeys.cs | /* This file was generated by Settings Studio
*
* Copyright © 2015 Colby Williams. All Rights Reserved.
*/
namespace SettingsStudio
{
public static class SettingsKeys
{
#region Visible Settings
public const string VersionNumber = "VersionNumber";
public const string BuildNumber = "BuildNumber";
publ... | /* This file was generated by Settings Studio
*
* Copyright © 2015 Colby Williams. All Rights Reserved.
*/
namespace SettingsStudio
{
public static class SettingsKeys
{
#region Visible Settings
public const string VersionNumber = "VersionNumber";
public const string BuildNumber = "BuildNumber";
publ... | mit | C# |
ac1fe71766019bd79ed516d4aaf6bfee0d282621 | Bump version to 0.7.0 | sqt/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,sqt/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# |
6628192d9cc2c04edf7662d7eb705dea39423a90 | bump version for next release | azarkevich/VSS3WayMerge | VSS3WayMerge/Properties/AssemblyInfo.cs | VSS3WayMerge/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("VSS 3-Way Merge tool")]
[assembly: Assemb... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("VSS 3-Way Merge tool")]
[assembly: Assemb... | mit | C# |
70401d286cc6eba34d2673658cc590531106ae30 | Update AssemblyInfo.cs | mcintyre321/Noodles,mcintyre321/Noodles | Noodles.AspMvc/Properties/AssemblyInfo.cs | Noodles.AspMvc/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("No... | 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("No... | mit | C# |
3b8a12b711470f692ba1bf5f1559691f93901227 | Set system timer resolution for the sleep call in the wait loop | eightlittlebits/elbsms | elbsms_ui/Program.cs | elbsms_ui/Program.cs | using System;
using System.Windows.Forms;
using elb_utilities.NativeMethods;
namespace elbsms_ui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// set timer resolut... | using System;
using System.Windows.Forms;
namespace elbsms_ui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Applicati... | mit | C# |
73fb67277c4e863d376bcd0994f2f09772b00fa9 | Use Toggle() in ToggleButton but added a comment for the Click | Roemer/FlaUI,maxinfet/FlaUI | src/FlaUI.Core/AutomationElements/ToggleButton.cs | src/FlaUI.Core/AutomationElements/ToggleButton.cs | using FlaUI.Core.AutomationElements.Infrastructure;
using FlaUI.Core.AutomationElements.PatternElements;
namespace FlaUI.Core.AutomationElements
{
/// <summary>
/// Class to interact with a toggle button element.
/// </summary>
public class ToggleButton : ToggleAutomationElement
{
/// <sum... | using FlaUI.Core.AutomationElements.Infrastructure;
using FlaUI.Core.AutomationElements.PatternElements;
using FlaUI.Core.Patterns;
namespace FlaUI.Core.AutomationElements
{
/// <summary>
/// Class to interact with a toggle button element.
/// </summary>
public class ToggleButton : ToggleAutomationEle... | mit | C# |
12f5f8d14f2ddabeef0ad7ab1053122d045e2a27 | Update AssemblyInfo | marska/habitrpg-quick-todo | src/HabitRPG.QuickToDo/Properties/AssemblyInfo.cs | src/HabitRPG.QuickToDo/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 ... | apache-2.0 | C# |
94b24f4775a1bde71ac5f0053e7a4c3ac40cc09c | add url vaildation on creating a client | ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian | src/Obsidian.Application/Dto/ClientCreationDto.cs | src/Obsidian.Application/Dto/ClientCreationDto.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Obsidian.Application.Dto
{
public class ClientCreationDto
{
public string DisplayName { get; set; }
[Url]
public string RedirectUri {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Obsidian.Application.Dto
{
public class ClientCreationDto
{
public string DisplayName { get; set; }
public string RedirectUri { get; set; }
}
}
| apache-2.0 | C# |
a3b2677699c565881f99bd51945dd582aabfacbc | add crawl info to search page | kreeben/resin,kreeben/resin | src/Sir.HttpServer/Views/Shared/SearchForm.cshtml | src/Sir.HttpServer/Views/Shared/SearchForm.cshtml | @{
string query = Context.Request.Query.ContainsKey("q") ? Context.Request.Query["q"].ToString() : null;
var expiresInDays = (int)ViewData["index_expires_in_days"];
var expired = false;
if (expiresInDays < 0)
{
expired = true;
expiresInDays = Math.Abs(expiresInDays);
}
}
@usin... | @{
string query = Context.Request.Query.ContainsKey("q") ? Context.Request.Query["q"].ToString() : null;
var expiresInDays = (int)ViewData["index_expires_in_days"];
var expired = false;
if (expiresInDays < 0)
{
expired = true;
expiresInDays = Math.Abs(expiresInDays);
}
}
@usin... | mit | C# |
354e4f97e75177d5676d9819d9c0108c374ef820 | Update 40.WriteFileFixed.cs | MarcosMeli/FileHelpers | FileHelpers.Examples/Examples/10.QuickStart/40.WriteFileFixed.cs | FileHelpers.Examples/Examples/10.QuickStart/40.WriteFileFixed.cs | using System;
using System.Collections.Generic;
using FileHelpers;
namespace ExamplesFx
{
//-> Name:Write Fixed File
//-> Description:Example of how to write a Fixed Record file
//-> AutoRun:true
public class WriteFileFixed
: ExampleBase
{
//-> To write a fixed length file like t... | using System;
using System.Collections.Generic;
using FileHelpers;
namespace ExamplesFx
{
//-> Name:Write Fixed File
//-> Description:Example of how to write a Fixed Record File
//-> AutoRun:true
public class WriteFileFixed
: ExampleBase
{
//-> To write a fixed length file like t... | mit | C# |
8fafd041feda8c450cdfa18e632555d3e2583839 | Set Magenta as a default color for shapes | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/src/Shapes/Shape.cs | bindings/src/Shapes/Shape.cs | using Urho.Resources;
namespace Urho.Shapes
{
public abstract class Shape : StaticModel
{
Material material;
public override void OnAttachedToNode(Node node)
{
Model = Application.ResourceCache.GetModel(ModelResource);
Color = color;
}
protected abstract string ModelResource { get; }
Color colo... | using Urho.Resources;
namespace Urho.Shapes
{
public abstract class Shape : StaticModel
{
Material material;
public override void OnAttachedToNode(Node node)
{
Model = Application.ResourceCache.GetModel(ModelResource);
Color = color;
}
protected abstract string ModelResource { get; }
Color colo... | mit | C# |
4171a6407fa5d8424ac96598f5e2b6a08724d92c | use a generic name for python dir | 20tab/UnrealEnginePython,20tab/UnrealEnginePython,Orav/UnrealEnginePython,getnamo/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython,getnamo/UnrealEnginePython,getnamo/UnrealEnginePython,Orav/UnrealEnginePython,getnamo/UnrealEnginePython,Orav/UnrealEnginePython,kitelightning/UnrealEnginePython... | Source/UnrealEnginePython/UnrealEnginePython.Build.cs | Source/UnrealEnginePython/UnrealEnginePython.Build.cs | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class UnrealEnginePython : ModuleRules
{
private const string pythonHome = "python35";
protected string PythonHome
{
get
{
return Path.GetFullPath(Path.Combine(ModuleDi... | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class UnrealEnginePython : ModuleRules
{
private const string pythonHome = "python-3.5.2-embed-amd64";
protected string PythonHome
{
get
{
return Path.GetFullPath(Path.... | mit | C# |
90255d30b739425f8c7845dcea64c979b2c9c5af | Use new KeenConstants values for environment variables | keenlabs/keen-sdk-net | Keen.NetStandard.Test/ProjectSettingsProviderTest.cs | Keen.NetStandard.Test/ProjectSettingsProviderTest.cs | using System;
using NUnit.Framework;
namespace Keen.NetStandard.Tests
{
[TestFixture]
class ProjectSettingsProviderTest
{
[Test]
public void Settings_DefaultInputs_Success()
{
Assert.DoesNotThrow(() => new ProjectSettingsProvider("X", null));
}
[Test]
... | using System;
using NUnit.Framework;
namespace Keen.NetStandard.Tests
{
[TestFixture]
class ProjectSettingsProviderTest
{
[Test]
public void Settings_DefaultInputs_Success()
{
Assert.DoesNotThrow(() => new ProjectSettingsProvider("X", null));
}
[Test]
... | mit | C# |
1a31bd140f5257a07a40317e15410f29e6a7268e | Return File() result (file on the server). | mrwizard82d1/building_mvc4,mrwizard82d1/building_mvc4 | OdeToFood/OdeToFood/Controllers/CuisineController.cs | OdeToFood/OdeToFood/Controllers/CuisineController.cs | using System.Net;
using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Including parameter named "name" causes MVC framework to try to
// find a parameter named "name" in ANY of the web request (routing
... | using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Including parameter named "name" causes MVC framework to try to
// find a parameter named "name" in ANY of the web request (routing
// data, q... | isc | C# |
c86770c1a623635b8b266bb8d3a365f2c0994dca | Make the delayed factory repo cache a concurrent dictionary, dict is not thread safe | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.Domain/Internal/DefaultRepositoryFactory.cs | src/Aggregates.NET.Domain/Internal/DefaultRepositoryFactory.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Aggregates.Contracts;
using NServiceBus.ObjectBuilder;
namespace Aggregates.Internal
{
class DefaultRepositoryFactory : IRepositoryFactory
{
private static readonly ConcurrentDictionary<Type, Type> RepoCache = n... | using System;
using System.Collections.Generic;
using Aggregates.Contracts;
using NServiceBus.ObjectBuilder;
namespace Aggregates.Internal
{
class DefaultRepositoryFactory : IRepositoryFactory
{
private static readonly IDictionary<Type, Type> RepoCache = new Dictionary<Type, Type>();
public I... | mit | C# |
d79156668b40a4105ffd3bb4a5e43fd83bc68cfa | create directory before save | isukces/isukces.code | isukces.code/Features/IO/CodeFileUtils.cs | isukces.code/Features/IO/CodeFileUtils.cs | using System.IO;
using System.Linq;
using System.Text;
namespace isukces.code.IO
{
public class CodeFileUtils
{
public static bool AreEqual(byte[] a, byte[] b)
{
a = a ?? new byte[0];
b = b ?? new byte[0];
var al = a.Length;
var bl = b.Length;
... | using System.IO;
using System.Linq;
using System.Text;
namespace isukces.code.IO
{
public class CodeFileUtils
{
public static bool AreEqual(byte[] a, byte[] b)
{
a = a ?? new byte[0];
b = b ?? new byte[0];
var al = a.Length;
var bl = b.Length;
... | mit | C# |
e5f0b123ca58a2490adc24c5c054d0a6b3bd1c7a | Add more reporters by default | droyad/Assent | src/Assent/Reporters/DiffReporter.cs | src/Assent/Reporters/DiffReporter.cs | using System;
using System.Collections.Generic;
using Assent.Reporters.DiffPrograms;
namespace Assent.Reporters
{
public class DiffReporter : IReporter
{
#if NET45
internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT;
#else
internal static readonly bool... | using System;
using System.Collections.Generic;
using Assent.Reporters.DiffPrograms;
namespace Assent.Reporters
{
public class DiffReporter : IReporter
{
#if NET45
internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT;
#else
internal static readonly bool... | mit | C# |
765adbf2111f5de97dfb0a81ce9dacec0f73c672 | Fix test failing due to work on BL-2932 | StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFor... | src/BloomTests/PretendRequestInfo.cs | src/BloomTests/PretendRequestInfo.cs | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System.Collections.Specialized;
using System.IO;
using System.Text;
namespace Bloom.web
{
public class PretendRequestInfo : IRequestInfo
{
public string ReplyContents;
public stri... | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System.Collections.Specialized;
using System.IO;
using System.Text;
namespace Bloom.web
{
public class PretendRequestInfo : IRequestInfo
{
public string ReplyContents;
public stri... | mit | C# |
91836f3a01c3e0194a39839cc28525a86ea4d189 | enable dnu on osx/linux if dnu in path | andycmaj/cake,UnbelievablyRitchie/cake,phenixdotnet/cake,vlesierse/cake,andycmaj/cake,DixonD-git/cake,UnbelievablyRitchie/cake,thomaslevesque/cake,robgha01/cake,gep13/cake,patriksvensson/cake,SharpeRAD/Cake,robgha01/cake,devlead/cake,cake-build/cake,vlesierse/cake,Julien-Mialon/cake,Sam13/cake,daveaglick/cake,ferventco... | src/Cake.Common/Tools/DNU/DNUTool.cs | src/Cake.Common/Tools/DNU/DNUTool.cs | using System.Collections.Generic;
using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.DNU
{
/// <summary>
/// Base class for all DNU related tools
/// </summary>
/// <typeparam name="TSettings">The settings type</typeparam>
public abstract class DNUTool<TSettin... | using System.Collections.Generic;
using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.DNU
{
/// <summary>
/// Base class for all DNU related tools
/// </summary>
/// <typeparam name="TSettings">The settings type</typeparam>
public abstract class DNUTool<TSettin... | mit | C# |
4a9c4517b65298c730edd9c3663635c813efe79c | exclude documentation attr from coverage | tohosnet/NLog,kevindaub/NLog,snakefoot/NLog,MoaidHathot/NLog,nazim9214/NLog,hubo0831/NLog,FeodorFitsner/NLog,MoaidHathot/NLog,Niklas-Peter/NLog,NLog/NLog,ie-zero/NLog,pwelter34/NLog,MartinTherriault/NLog,304NotModified/NLog,hubo0831/NLog,UgurAldanmaz/NLog,AndreGleichner/NLog,michaeljbaird/NLog,ArsenShnurkov/NLog,ie-zer... | src/NLog/Config/AdvancedAttribute.cs | src/NLog/Config/AdvancedAttribute.cs | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above co... | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above co... | bsd-3-clause | C# |
e639e991524eb4386f2a54b1a5904f196ca0fc04 | Put Squirrel updater behind conditional compilation flag | willduff/OpenLiveWriter-1,willduff/OpenLiveWriter-1,hashhar/OpenLiveWriter,willduff/OpenLiveWriter-1,willduff/OpenLiveWriter-1,hashhar/OpenLiveWriter,hashhar/OpenLiveWriter,hashhar/OpenLiveWriter,hashhar/OpenLiveWriter,willduff/OpenLiveWriter-1 | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateManager.cs | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateManager.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.ResourceDownloading;
using Squirrel;
using System;
using System.Collections;
using System.Diagnostics;
using S... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.ResourceDownloading;
using Squirrel;
using System;
using System.Collections;
using System.Diagnostics;
using S... | mit | C# |
e627ba9cc600ebbc908adf390f72218ea52eb66c | Add AddItem extension method to ListControl | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University/ControlExtensions/ListControlExtensions.cs | R7.University/ControlExtensions/ListControlExtensions.cs | //
// ListControlExtensions.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 Softwa... | //
// ListControlExtensions.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 Softwa... | agpl-3.0 | C# |
cf933bdd420c16b93b16381eb9e0d02948298fab | Stop using [Timeout] so that there should be no thread abort on the test thread | ggeurts/nunit,mjedrzejek/nunit,NikolayPianikov/nunit,JustinRChou/nunit,nunit/nunit,appel1/nunit,ggeurts/nunit,appel1/nunit,agray/nunit,mikkelbu/nunit,jadarnel27/nunit,JustinRChou/nunit,mikkelbu/nunit,nunit/nunit,mjedrzejek/nunit,OmicronPersei/nunit,agray/nunit,NikolayPianikov/nunit,agray/nunit,OmicronPersei/nunit,jadar... | src/NUnitFramework/tests/Internal/ThreadUtilityTests.cs | src/NUnitFramework/tests/Internal/ThreadUtilityTests.cs | #if !NETSTANDARD1_3 && !NETSTANDARD1_6
using System.Runtime.InteropServices;
using System.Threading;
namespace NUnit.Framework.Internal
{
[TestFixture]
public class ThreadUtilityTests
{
[Platform("Win")]
[TestCase(false, TestName = "Abort")]
[TestCase(true, TestName = "Kill")]
... | #if !NETSTANDARD1_3 && !NETSTANDARD1_6
using System.Runtime.InteropServices;
using System.Threading;
namespace NUnit.Framework.Internal
{
[TestFixture]
public class ThreadUtilityTests
{
[Platform("Win")]
[Timeout(1000)]
[TestCase(false, TestName = "Abort")]
[TestCase(true,... | mit | C# |
92176a781f95efe755dc3df62499e130a2c976ed | make Uri property's setter internal | AnthonySteele/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.A... | src/SevenDigital.Api.Wrapper/Exceptions/ApiException.cs | src/SevenDigital.Api.Wrapper/Exceptions/ApiException.cs | using System;
using System.Net;
using System.Runtime.Serialization;
using SevenDigital.Api.Wrapper.Utility.Http;
namespace SevenDigital.Api.Wrapper.Exceptions
{
public abstract class ApiException : Exception
{
public string Uri { get; internal set; }
public HttpStatusCode StatusCode { get; private set;... | using System;
using System.Net;
using System.Runtime.Serialization;
using SevenDigital.Api.Wrapper.Utility.Http;
namespace SevenDigital.Api.Wrapper.Exceptions
{
public abstract class ApiException : Exception
{
public string Uri { get; set; }
public HttpStatusCode StatusCode { get; private set; }
pub... | mit | C# |
fc8586ca177e5285e67413c8963e1f70f2cfc348 | Use switch expression | inputfalken/Sharpy | src/Sharpy.Builder/Implementation/ArgumentRandomizer.cs | src/Sharpy.Builder/Implementation/ArgumentRandomizer.cs | using System;
using Sharpy.Builder.IProviders;
namespace Sharpy.Builder.Implementation
{
/// <summary>
/// Randomizes from the arguments.
/// </summary>
public sealed class ArgumentRandomizer : IArgumentProvider
{
private readonly Random _random;
/// <summary>
/// ... | using System;
using Sharpy.Builder.IProviders;
namespace Sharpy.Builder.Implementation {
/// <summary>
/// Randomizes from the arguments.
/// </summary>
public sealed class ArgumentRandomizer : IArgumentProvider {
private readonly Random _random;
/// <summary>
/// The ... | mit | C# |
c5873e96f17eaddf7e41268062bf3aafea518ebf | fix build | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModelBase.cs | WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModelBase.cs | using ReactiveUI;
using System;
using WalletWasabi.Gui.ViewModels;
using System.Diagnostics.CodeAnalysis;
using WalletWasabi.Wallets;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class WalletViewModelBase : ViewModelBase, IComparable<WalletViewModelBase>
{
private bool _i... | using ReactiveUI;
using System;
using WalletWasabi.Gui.ViewModels;
using System.Diagnostics.CodeAnalysis;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class WalletViewModelBase : ViewModelBase, IComparable<WalletViewModelBase>
{
private bool _isExpanded;
private bool _i... | mit | C# |
5da6c25aff545bbfb401635da9e5cfb9bdb6ea5a | Fix RedisCache tests | ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAuto... | src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/Utilitytests.cs | src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/Utilitytests.cs | using Microsoft.WindowsAzure.Commands.ScenarioTest;
using System;
using Xunit;
namespace Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests
{
public class UtilityTests
{
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void ValidateResourceGroupAndResourceName_Inval... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests
{
public class UtilityTests
{
[Fact]
public void ValidateResourceGroupAndResourceName_InvalidResourc... | apache-2.0 | C# |
fcfbb675343c116b2699768597e09b29171bf332 | Remove redundant nesting. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/NodeBuilding/NodeBuilder.cs | WalletWasabi.Tests/NodeBuilding/NodeBuilder.cs | using NBitcoin;
using NBitcoin.RPC;
using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using S... | using NBitcoin;
using NBitcoin.RPC;
using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using S... | mit | C# |
a77c24cbb1740ba6c65aa39ae017f5994df88f02 | Update AbstractMapLayer.cs | vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall,vchelaru/FlatRedBall | Tests/GlueTestProject/GlueTestProject/GlueTestProject/TileGraphics/AbstractMapLayer.cs | Tests/GlueTestProject/GlueTestProject/GlueTestProject/TileGraphics/AbstractMapLayer.cs | using System;
using System.Xml.Serialization;
namespace TMXGlueLib
{
#if !UWP
[Serializable]
#endif
[XmlInclude(typeof (MapLayer))]
[XmlInclude(typeof (MapImageLayer))]
[XmlInclude(typeof (mapObjectgroup))]
public abstract class AbstractMapLayer
{
[XmlAttribute("name")]
public ... | using System;
using System.Xml.Serialization;
namespace TMXGlueLib
{
#if !UWP
[Serializable]
#endif
[XmlInclude(typeof (MapLayer))]
[XmlInclude(typeof (mapImageLayer))]
[XmlInclude(typeof (mapObjectgroup))]
public abstract class AbstractMapLayer
{
[XmlAttribute("name")]
public ... | mit | C# |
be27fac1b070b6197f59e5d701bcae7fa3de00fe | Allow AbstractDataContextBindingExtension to work for non-FrameworkElement DependencyObjects as well. | Whathecode/Framework-Class-Library-Extension,Whathecode/Framework-Class-Library-Extension | Whathecode.PresentationFramework/Windows/Markup/AbstractDataContextBindingExtension.cs | Whathecode.PresentationFramework/Windows/Markup/AbstractDataContextBindingExtension.cs | using System.Windows;
using System.Xaml;
namespace Whathecode.System.Windows.Markup
{
/// <summary>
/// A MarkupExtension which allows binding from the DataContext of a FrameworkElement
/// to a dependency property.
/// </summary>
/// <author>Steven Jeuris</author>
public abstract class AbstractDataContext... | using System.Windows;
namespace Whathecode.System.Windows.Markup
{
/// <summary>
/// A MarkupExtension which allows binding from the DataContext of a FrameworkElement
/// to a dependency property.
/// </summary>
/// <author>Steven Jeuris</author>
public abstract class AbstractDataContextBindingExtension : ... | mit | C# |
18dbdbfcbc9b257d43dfc7ee1e151b4577f75dec | improve help | huoxudong125/bau,bau-build/bau,huoxudong125/bau,modulexcite/bau,bau-build/bau,modulexcite/bau,modulexcite/bau,adamralph/bau,huoxudong125/bau,aarondandy/bau,aarondandy/bau,modulexcite/bau,bau-build/bau,eatdrinksleepcode/bau,aarondandy/bau,adamralph/bau,eatdrinksleepcode/bau,eatdrinksleepcode/bau,huoxudong125/bau,bau-bui... | src/test/Bau.Test.Acceptance/Help.cs | src/test/Bau.Test.Acceptance/Help.cs | // <copyright file="Help.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace Bau.Test.Acceptance
{
using System.Reflection;
using Bau.Test.Acceptance.Support;
using FluentAssertions;
using Xbehave;
public static class Hel... | // <copyright file="Help.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace Bau.Test.Acceptance
{
using System.Reflection;
using Bau.Test.Acceptance.Support;
using FluentAssertions;
using Xbehave;
public static class Hel... | mit | C# |
005398e52d715165fa88e47d125ed394cb1e7184 | Fix test break part XX | ErikEJ/EntityFramework.SqlServerCompact,ErikEJ/EntityFramework7.SqlServerCompact | test/EntityFramework.SqlServerCompact.FunctionalTests/FunkyDataQuerySqlCeFixture.cs | test/EntityFramework.SqlServerCompact.FunctionalTests/FunkyDataQuerySqlCeFixture.cs | using Microsoft.EntityFrameworkCore.Specification.Tests;
using Microsoft.EntityFrameworkCore.Specification.Tests.TestModels.FunkyDataModel;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Specification.Tests.Utilities;
namespace Microsoft.EntityF... | using Microsoft.EntityFrameworkCore.Specification.Tests;
using Microsoft.EntityFrameworkCore.Specification.Tests.TestModels.FunkyDataModel;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Specification.Tests.Utilities;
namespace Microsoft.EntityF... | apache-2.0 | C# |
0e71f29fa102b28947d6adfec7e2eb32a41aa2df | Fix radiobuttongroup validity for firefox | kjac/FormEditor,kjac/FormEditor,kjac/FormEditor | Source/Umbraco/Views/Partials/FormEditor/FieldsNoScript/core.radiobuttongroup.cshtml | Source/Umbraco/Views/Partials/FormEditor/FieldsNoScript/core.radiobuttongroup.cshtml | @inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.RadioButtonGroupField>
<div class="form-group @(Model.Mandatory ? "required" : null) @(Model.Invalid ? "has-error" : null)">
<label>@Model.Label</label>
@foreach (var fieldValue in Model.FieldValues)
{
<div class="radio">
<label>
<input... | @inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.RadioButtonGroupField>
<div class="form-group @(Model.Mandatory ? "required" : null) @(Model.Invalid ? "has-error" : null)">
<label>@Model.Label</label>
@foreach (var fieldValue in Model.FieldValues)
{
<div class="radio">
<label>
<input... | mit | C# |
1d850066b38d3071e76b17ed4ada5a20220d7f5e | remove extraneous code that was accidentally committed. | likesea/spring-net,spring-projects/spring-net,kvr000/spring-net,likesea/spring-net,djechelon/spring-net,yonglehou/spring-net,dreamofei/spring-net,spring-projects/spring-net,dreamofei/spring-net,spring-projects/spring-net,djechelon/spring-net,zi1jing/spring-net,yonglehou/spring-net,zi1jing/spring-net,yonglehou/spring-ne... | test/Spring/Spring.Core.Tests/Objects/Factory/Config/EnvironmentVariableSourceTests.cs | test/Spring/Spring.Core.Tests/Objects/Factory/Config/EnvironmentVariableSourceTests.cs | #region License
/*
* Copyright 2002-2005 the original author or authors.
*
* 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
... | #region License
/*
* Copyright 2002-2005 the original author or authors.
*
* 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
... | apache-2.0 | C# |
88f208d15221caf358f718ce38d8ea3bc4d28f68 | update task | zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning | my_aspnetmvc_learning/Controllers/TaskController.cs | my_aspnetmvc_learning/Controllers/TaskController.cs | using NLog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace my_aspnetmvc_learning.Controllers
{
public class TaskController : Controller
{
private static readonly Logger logger = LogMana... | using NLog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace my_aspnetmvc_learning.Controllers
{
public class TaskController : Controller
{
private static readonly Logger logger = LogMana... | mit | C# |
7819be7957c3d78932f94dba178533760914d6f7 | Remove unused using. | DrabWeb/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,peppy/osu,naoey/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,johnneijzen/osu,ppy/osu,peppy/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,2yangk23... | osu.Game/Beatmaps/Drawables/BeatmapSetDownloader.cs | osu.Game/Beatmaps/Drawables/BeatmapSetDownloader.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Beatmaps.Drawables
{
public ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Beatmaps.Drawables... | mit | C# |
698994484308bbf12f76c70fd7c1029496231edc | Update Program.cs | postsharp/PostSharp.Samples,postsharp/PostSharp.Samples,postsharp/PostSharp.Samples,postsharp/PostSharp.Samples,postsharp/PostSharp.Samples | Diagnostics/PostSharp.Samples.Logging.Loupe/Program.cs | Diagnostics/PostSharp.Samples.Logging.Loupe/Program.cs |
{using System;
using Gibraltar.Agent;
using PostSharp.Patterns.Diagnostics;
using PostSharp.Patterns.Diagnostics.Backends.Loupe;
using PostSharp.Samples.Logging.BusinessLogic;
[assembly: Log]
namespace PostSharp.Samples.Logging.Loupe
{
[Log(AttributeExclude = true)]
class Program
{
... | using System;
using Gibraltar.Agent;
using PostSharp.Patterns.Diagnostics;
using PostSharp.Patterns.Diagnostics.Backends.Loupe;
using PostSharp.Samples.Logging.BusinessLogic;
[assembly: Log]
namespace PostSharp.Samples.Logging.Loupe
{
[Log(AttributeExclude = true)]
class Program
{
st... | unlicense | C# |
b47c2db0bd9f07d109426c04fa9c16892e0a63aa | Implement InventorySpaceValidator | ethanmoffat/EndlessClient | EndlessClient/HUD/Inventory/InventorySpaceValidator.cs | EndlessClient/HUD/Inventory/InventorySpaceValidator.cs | using AutomaticTypeMapper;
using EOLib.Domain.Map;
using EOLib.IO;
using EOLib.IO.Map;
using EOLib.IO.Repositories;
using Optional;
namespace EndlessClient.HUD.Inventory
{
[AutoMappedType]
public class InventorySpaceValidator : IInventorySpaceValidator
{
private readonly IEIFFileProvider _eifFileP... | using AutomaticTypeMapper;
using EOLib.Domain.Map;
using EOLib.IO;
using EOLib.IO.Repositories;
namespace EndlessClient.HUD.Inventory
{
[AutoMappedType]
public class InventorySpaceValidator : IInventorySpaceValidator
{
private readonly IEIFFileProvider _eifFileProvider;
public InventorySp... | mit | C# |
038f0886e7ea44e99b18d644412fb65f010df66f | Fix test deadlock (#11353) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.IntegrationTests/Tests/Cleanup/EuiManagerTest.cs | Content.IntegrationTests/Tests/Cleanup/EuiManagerTest.cs | using System.Linq;
using System.Threading.Tasks;
using Content.Server.Administration.UI;
using Content.Server.EUI;
using NUnit.Framework;
using Robust.Server.Player;
using Robust.Shared.IoC;
namespace Content.IntegrationTests.Tests.Cleanup;
public sealed class EuiManagerTest
{
[Test]
public async Task EuiMana... | using System.Linq;
using System.Threading.Tasks;
using Content.Server.Administration.UI;
using Content.Server.EUI;
using NUnit.Framework;
using Robust.Server.Player;
using Robust.Shared.IoC;
namespace Content.IntegrationTests.Tests.Cleanup;
public sealed class EuiManagerTest
{
[Test]
public async Task EuiMana... | mit | C# |
3db81d6de439e250196721629e78c65f922cdb37 | Disable local hover in cloud env | CyrusNajmabadi/roslyn,mavasani/roslyn,sharwell/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,wvdd007/roslyn,tannergooding/roslyn,genlu/roslyn,tannergooding/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,diryboy/roslyn,heejaechang/roslyn,brettfo/roslyn,dotnet/roslyn,stephentoub/roslyn,genlu/roslyn,panopt... | src/EditorFeatures/Core/Implementation/IntelliSense/QuickInfo/QuickInfoSourceProvider.cs | src/EditorFeatures/Core/Implementation/IntelliSense/QuickInfo/QuickInfoSourceProvider.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.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.Co... | // 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.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.Co... | mit | C# |
6d609c4981f576fca5ba6430cc7b61f0340ef18c | Add required popper.js (#2807) | petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Or... | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.ContentFields.Settings;
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="/OrchardCore.Con... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.ContentFields.Settings;
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="/OrchardCore.Con... | bsd-3-clause | C# |
059c5fc7dc37a231d8f87c5cb76107085c8e82d6 | fix runtime issue | oracle/Accelerators,oracle/Accelerators,oracle/Accelerators,oracle/Accelerators | casemgmt/siebel/cx/projects/Accelerator.Siebel.ServiceStatusBarAddIn/Logs/DefaultLog.cs | casemgmt/siebel/cx/projects/Accelerator.Siebel.ServiceStatusBarAddIn/Logs/DefaultLog.cs | /* *********************************************************************************************
* This file is part of the Oracle Service Cloud Accelerator Reference Integration set published
* by Oracle Service Cloud under the MIT license (MIT) included in the original distribution.
* Copyright (c) 2014, 2015... | /* *********************************************************************************************
* This file is part of the Oracle Service Cloud Accelerator Reference Integration set published
* by Oracle Service Cloud under the MIT license (MIT) included in the original distribution.
* Copyright (c) 2014, 2015... | mit | C# |
588b5976612579183a6b3a122d9b38cc038819af | Fix chainedresult to actually chain the results if there are more than 2 | Logicalshift/Reason | LogicalShift.Reason/Solvers/ChainedResult.cs | LogicalShift.Reason/Solvers/ChainedResult.cs | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// A query result where the next result is retrieved by a function
/// </summary>
public class ChainedResult : IQueryRe... | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// A query result where the next result is retrieved by a function
/// </summary>
public class ChainedResult : IQueryRe... | apache-2.0 | C# |
0788585d40bba085427b711420a5509e68cbb245 | Update comment about when a section view can't be removed | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/ModelViewManagerExtensions.cs | SolidworksAddinFramework/ModelViewManagerExtensions.cs | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | mit | C# |
865d0914bee34727fe4d2a6774f7c0ed810f49b4 | change AsyncMethodBuilderAttribute accessibility | ufcpp/ContextFreeTask | src/ContextFreeTasks.Shared/AsyncMethodBuilderAttribute.cs | src/ContextFreeTasks.Shared/AsyncMethodBuilderAttribute.cs | namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
internal sealed class AsyncMethodBuilderAttribute : Attribute
{
p... | namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
public sealed class AsyncMethodBuilderAttribute : Attribute
{
pub... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.