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 |
|---|---|---|---|---|---|---|---|---|
81e120eb8d423b684e53e73e3f241365c0c4cddd | remove PreSaving in LockeableEntity | AlejandroCano/framework,signumsoftware/framework,avifatal/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework | Signum.Entities/Patterns/LockeableEntity.cs | Signum.Entities/Patterns/LockeableEntity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities.Properties;
using System.Linq.Expressions;
using System.ComponentModel;
using Signum.Utilities;
namespace Signum.Entities.Patterns
{
[Serializable]
public abstract class LockableEntity : Ent... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities.Properties;
using System.Linq.Expressions;
using System.ComponentModel;
using Signum.Utilities;
namespace Signum.Entities.Patterns
{
[Serializable]
public abstract class LockableEntity : Ent... | mit | C# |
794104c272c0a0a096f38f4acc0fd96fe6699869 | Update Customer.cs | EzyWebwerkstaden/openpay-dotnet,open-pay/openpay-dotnet | Openpay/Entities/Customer.cs | Openpay/Entities/Customer.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Openpay.Entities
{
public class Customer : OpenpayResourceObject
{
[JsonProperty(PropertyName = "name")]
public String Name { get; set; }
[JsonProperty(PropertyName =... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Openpay.Entities
{
public class Customer : OpenpayResourceObject
{
[JsonProperty(PropertyName = "name")]
public String Name { get; set; }
[JsonProperty(PropertyName =... | apache-2.0 | C# |
041cd2565e751c5680bd748c8d1c1d3e66aa77fe | Use Migrate instead of EnsureCreated for the sample app (these are mutually exclusive) | mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs | samples/Basic/Startup.cs | samples/Basic/Startup.cs | using Basic.Jobs;
using Basic.Models;
using Basic.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using MR.AspNetCore.Jobs... | using Basic.Jobs;
using Basic.Models;
using Basic.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using MR.AspNetCore.Jobs... | mit | C# |
871b9c2f09582b211b56cce9c08d50c958660353 | Remove dead code | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Microservices/ProcessBridge.cs | WalletWasabi/Microservices/ProcessBridge.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Microservices
{
public class ProcessB... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Microservices
{
public class ProcessB... | mit | C# |
6410f01351a5921eec3c12790aef8c0ba865786b | Fix Consul tests (#7722) | dotnet/orleans,ibondy/orleans,ElanHasson/orleans,hoopsomuah/orleans,hoopsomuah/orleans,ibondy/orleans,ElanHasson/orleans,dotnet/orleans,galvesribeiro/orleans,waynemunro/orleans,waynemunro/orleans,galvesribeiro/orleans | test/Extensions/Consul.Tests/ConsulTestUtils.cs | test/Extensions/Consul.Tests/ConsulTestUtils.cs | using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using TestExtensions;
using Xunit;
namespace Consul.Tests
{
public static class ConsulTestUtils
{
public static readonly string ConsulConnectionString = TestDefaultConfiguration.ConsulConnectionString;
private ... | using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using TestExtensions;
using Xunit;
namespace Consul.Tests
{
public static class ConsulTestUtils
{
public static string ConsulConnectionString = TestDefaultConfiguration.ConsulConnectionString;
private static r... | mit | C# |
541004d0950b4f48fb4a88b0f33e7e3cd79ca555 | Update GlobalVariables.cs | UnityCommunity/UnityLibrary | Assets/Scripts/Utilities/GlobalVariables.cs | Assets/Scripts/Utilities/GlobalVariables.cs | using System.Collections.Generic;
/// <summary>
/// A simple static class to get and set globally accessible variables through a key-value approach.
/// </summary>
/// <remarks>
/// <para>Uses a key-value approach (dictionary) for storing and modifying variables.</para>
/// <para>It also uses a lock to ensure consiste... | using System.Collections.Generic;
/// <summary>
/// A simple static class to get and set globally accessible variables through a key-value approach.
/// </summary>
/// <remarks>
/// <para>Uses a key-value approach (dictionary) for storing and modifying variables.</para>
/// <para>It also uses a lock to ensure consiste... | mit | C# |
08902fe2351767ab659f8afd2538bdaf367a63f4 | remove typo | jcolebrand/hnb,jcolebrand/hnb | hnb/Views/Foster/Index.cshtml | hnb/Views/Foster/Index.cshtml | @section Title {
<h2 class="title">Become part of our family!</h2>
}
<h3>Become a Hearts & Bones Foster!</h3>
<p>Fosters are the lifeblood of rescue. Without fosters, dogs end up dying in shelters. Very literally, one additional foster is one additional life that we can save. If you have always wanted to foster ... | @section Title {
<h2 class="title">Become part of our family!</h2>
}
<h3>Become a Hearts & Bones Foster!</h3>
<p>Fosters are the lifeblood of rescue. Without fosters, dogs end up dying in shelters. Very literally, one additional foster is one additional life that we can save. If you have always wanted to foster ... | unlicense | C# |
8b83d5238a167627237868d1e6f9a34942608e87 | Update validation.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | .ci/validation.cake | .ci/validation.cake | #addin nuget:?package=Xamarin.Nuget.Validator&version=1.1.1
using Xamarin.Nuget.Validator;
// SECTION: Arguments and Settings
var ROOT_DIR = (DirectoryPath)Argument ("root", ".");
var ROOT_OUTPUT_DIR = ROOT_DIR.Combine ("output");
var PACKAGE_NAMESPACES = Argument ("n", Argument ("namespaces", ""))
.Split (new [... | #addin nuget:?package=Xamarin.Nuget.Validator&version=1.1.1
using Xamarin.Nuget.Validator;
// SECTION: Arguments and Settings
var ROOT_DIR = (DirectoryPath)Argument ("root", ".");
var ROOT_OUTPUT_DIR = ROOT_DIR.Combine ("output");
var PACKAGE_NAMESPACES = Argument ("n", Argument ("namespaces", ""))
.Split (new [... | mit | C# |
ce372f1615ea3f6f488bbab6a12fea1930159fc4 | Increment minor -> 0.3.0 | awseward/restivus | AssemblyInfo.sln.cs | AssemblyInfo.sln.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("0.3.0.0")]
[assembly: AssemblyFileVers... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("0.2.0.0")]
[assembly: AssemblyFileVers... | mit | C# |
f4be1f589f67e67c43b09ce989187a172a86927a | Fix bulk alias unit tests | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Indices/AliasManagement/Alias/Actions/IAliasAction.cs | src/Nest/Indices/AliasManagement/Alias/Actions/IAliasAction.cs | using Utf8Json;
using Utf8Json.Internal;
namespace Nest
{
/// <summary>
/// Marker interface for alias operation
/// </summary>
[JsonFormatter(typeof(AliasActionFormatter))]
public interface IAliasAction { }
public class AliasActionFormatter : IJsonFormatter<IAliasAction>
{
private static readonly AutomataD... | namespace Nest
{
/// <summary>
/// Marker interface for alias operation
/// </summary>
public interface IAliasAction { }
}
| apache-2.0 | C# |
bd364684d091232c70166dc5bd4b69b6ca75a550 | Update SolutionAssemblyInfo.cs | DimensionDataCBUSydney/Compute.Api.Client | ComputeClient/SolutionAssemblyInfo.cs | ComputeClient/SolutionAssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SolutionAssemblyInfo.cs" company="">
//
// </copyright>
// <summary>
// SolutionAssemblyInfo.cs
// </summary>
// -------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SolutionAssemblyInfo.cs" company="">
//
// </copyright>
// <summary>
// SolutionAssemblyInfo.cs
// </summary>
// -------------------------------------------------------------... | mit | C# |
fbd2564fe509f1029845f54ff275f18b77937df2 | Bump version to 3.2.1 | jcheng31/DarkSkyApi,jcheng31/ForecastPCL | DarkSkyApi/Properties/AssemblyInfo.cs | DarkSkyApi/Properties/AssemblyInfo.cs | using System.Resources;
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.
[asse... | using System.Resources;
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.
[asse... | mit | C# |
6ec48042bd189cf8ee42f084726197ceb538c8d0 | Fix Remove | larsbrubaker/agg-sharp,MatterHackers/agg-sharp,jlewin/agg-sharp | DataConverters3D/Object3D/SafeList.cs | DataConverters3D/Object3D/SafeList.cs | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
47c403700f7b51ab1198be970093a0fda4a61fe3 | Update ComboTests.cs | willrawls/xlg,willrawls/xlg | MetX/MetX.Console.Tests/Fiver/ComboTests.cs | MetX/MetX.Console.Tests/Fiver/ComboTests.cs | using System;
using System.Collections.Generic;
using MetX.Five.Setup;
using MetX.Standard.Primary.Scripts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MetX.Console.Tests.Fiver;
[TestClass]
public class ComboTests
{
[TestMethod]
public void TestScript_Simple()
{
var validCombo =... | using System.Collections.Generic;
using MetX.Five.Setup;
using MetX.Standard.Primary.Scripts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MetX.Console.Tests.Fiver;
[TestClass]
public class ComboTests
{
[TestMethod]
public void TestScript_Simple()
{
var validCombo = new ValidComb... | mit | C# |
64a849d1e8ef2e0fa381e185ce3975d9625e0eec | Bump version to 2.4.0.0 | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | Files/Packaging/GlobalAssemblyInfo.cs | Files/Packaging/GlobalAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Infinnity Solutions")]
[assembly: AssemblyProduct("InfinniPlatform")]
[assembly: AssemblyCopyright("Copyright © Infinnity Solutions 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Infinnity Solutions")]
[assembly: AssemblyProduct("InfinniPlatform")]
[assembly: AssemblyCopyright("Copyright © Infinnity Solutions 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible... | agpl-3.0 | C# |
ff56d33f624bee91354ebe09ab83bbc79b587536 | Fix test case comment to reflect the actual test (#19531) | cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,krk/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,mmitche/coreclr,mmitche/coreclr,mmitche/coreclr,wtgodbe/coreclr,krk... | tests/src/JIT/Regression/JitBlue/GitHub_19454/Github_19454.cs | tests/src/JIT/Regression/JitBlue/GitHub_19454/Github_19454.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.
//
// GitHub19454: a zero length span was tripping up the jit when trying
// to analyze a bounds check.
using System... | // 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.
//
// This test was extracted from the corefx System.Numerics.Vectors tests,
// and was failing with minOpts because ... | mit | C# |
c4b8620633076d0a10effdba113b6597e0953b07 | 修正 StyleSetting 测试文件路径错误 | yonglehou/Jumony,wukaixian/Jumony,wukaixian/Jumony,yonglehou/Jumony,zpzgone/Jumony,zpzgone/Jumony | SelectorTest/CssStyleTest.cs | SelectorTest/CssStyleTest.cs | using System;
using System.IO;
using Ivony.Html;
using Ivony.Html.Parser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SelectorTest
{
[TestClass]
public class CssStyleTest
{
[TestMethod]
public void StyleSettingParseTest()
{
var document = new JumonyParser().Lo... | using System;
using System.IO;
using Ivony.Html;
using Ivony.Html.Parser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SelectorTest
{
[TestClass]
public class CssStyleTest
{
[TestMethod]
public void StyleSettingParseTest()
{
var document = new JumonyParser().Lo... | apache-2.0 | C# |
db24dc5f7f0471ff921972b60c6dd5218461dad2 | update version to 1.5.0.4 | evitself/HTML-Renderer,windygu/HTML-Renderer,drickert5/HTML-Renderer,drickert5/HTML-Renderer,todor-dk/HTML-Renderer,Perspex/HTML-Renderer,todor-dk/HTML-Renderer,verdesgrobert/HTML-Renderer,Perspex/HTML-Renderer,tinygg/graphic-HTML-Renderer,todor-dk/HTML-Renderer,tinygg/graphic-HTML-Renderer,ArthurHub/HTML-Renderer,wind... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.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("HTML Renderer")]
[assembly: AssemblyDesc... | 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("HTML Renderer")]
[assembly: AssemblyDesc... | bsd-3-clause | C# |
8519222cb78a7b497b19cd24e4347b3e4fd87bfc | comment fix | bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,fassadlr/Strat... | Stratis.Bitcoin/Utilities/LinqExtensions.cs | Stratis.Bitcoin/Utilities/LinqExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Stratis.Bitcoin.Utilities
{
/// <summary>
/// Extension methods for IEnumerable interface.
/// </summary>
public static class LinqExtensions
{
/// <summary>
/// Calculates a median value of a collection of... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Stratis.Bitcoin.Utilities
{
/// <summary>
/// Extension methods for collections.
/// </summary>
/// <remarks>TODO: Why is this called LinqExtensions? Wouldn't CollectionsExtensions be better?</remarks>
public static class... | mit | C# |
9ebcba9f70e66e2b0e884343a2ad94e603b21462 | Change assert | bjornharrtell/saule,joukevandermaas/saule | Tests/Http/AttributeTests.cs | Tests/Http/AttributeTests.cs | using System;
using System.Collections.Generic;
using Saule.Http;
using Tests.Models;
using Xunit;
using System.Threading.Tasks;
using Tests.Helpers;
using Xunit.Abstractions;
using System.Linq;
namespace Tests.Http
{
public class AttributeTests
{
[Theory(DisplayName = "PaginatedAttribute does not all... | using System;
using System.Collections.Generic;
using Saule.Http;
using Tests.Models;
using Xunit;
using System.Threading.Tasks;
using Tests.Helpers;
namespace Tests.Http
{
public class AttributeTests
{
[Theory(DisplayName = "PaginatedAttribute does not allow PerPage < 1")]
[InlineData(0)]
... | mit | C# |
db09374bd28e9fa172bf18ad08ef0abbbd44fbda | Improve test method name for clarity. | fixie/fixie | src/Fixie.Tests/Execution/RunnerAppDomainCommunicationTests.cs | src/Fixie.Tests/Execution/RunnerAppDomainCommunicationTests.cs | using Fixie.Execution;
using Fixie.Internal;
namespace Fixie.Tests.Execution
{
public class RunnerAppDomainCommunicationTests
{
public void ShouldAllowRunnersInOtherAppDomainsToProvideTheirOwnListeners()
{
typeof(Listener).ShouldBeSafeAppDomainCommunicationInterface();
}
... | using Fixie.Execution;
using Fixie.Internal;
namespace Fixie.Tests.Execution
{
public class RunnerAppDomainCommunicationTests
{
public void ShouldAllowRunnersInOtherAppDomainsToProvideTheirOwnListeners()
{
typeof(Listener).ShouldBeSafeAppDomainCommunicationInterface();
}
... | mit | C# |
d2804123d18e0aa38234c7d76896b93e45621b22 | Update anti forgery helper as extension methods | geeklearningio/Testavior | src/GeekLearning.Test.Integration/Helpers/AntiForgeryHelper.cs | src/GeekLearning.Test.Integration/Helpers/AntiForgeryHelper.cs | namespace GeekLearning.Test.Integration.Helpers
{
using System;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cooki... | namespace GeekLearning.Test.Integration.Helpers
{
using System;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cooki... | mit | C# |
41ba0bf07f9186d1beb817a2319bb9b23ca9816d | Add export for InlineCommentMarginEnabled | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.InlineReviews/Margins/InlineCommentMarginEnabled.cs | src/GitHub.InlineReviews/Margins/InlineCommentMarginEnabled.cs | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
using Microsoft.VisualStudio.Text.Editor;
namespace GitHub.InlineReviews.Margins
{
[Export(typeof(InlineCommentMarginEnabled))]
[Export(typeof(EditorOptionDefinition)), Name(OptionName)]
public class InlineComme... | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
using Microsoft.VisualStudio.Text.Editor;
namespace GitHub.InlineReviews.Margins
{
[Export(typeof(EditorOptionDefinition))]
[Name(OptionName)]
public class InlineCommentMarginEnabled : ViewOptionDefinition<bool>... | mit | C# |
e69c7ae3b4a9d426d7ca6b9bfffbba14d2ca519a | Improve messaging from SDL2 GL context failures | ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Platform/SDL2/SDL2GraphicsBackend.cs | osu.Framework/Platform/SDL2/SDL2GraphicsBackend.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 SDL2;
namespace osu.Framework.Platform.SDL2
{
/// <summary>
/// Implementation of <see cref="PassthroughGraphicsBackend"/> that uses SDL's Op... | // 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 SDL2;
namespace osu.Framework.Platform.SDL2
{
/// <summary>
/// Implementation of <see cref="PassthroughGraphicsBackend"/> that uses SDL's Op... | mit | C# |
0e38ff07c74de55cfc640361f51b8ea5658171d9 | Check if relax is one of the mods, if so hide. | ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Catch/UI/DrawableCatchRuleset.cs | osu.Game.Rulesets.Catch/UI/DrawableCatchRuleset.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.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Input;
using osu.Game.Beatmaps;
using osu.Gam... | // 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.
#nullable disable
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Input;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
us... | mit | C# |
0a157a3b60a9309bdaef841639d56fc604a6180f | update version | dreign/ComBoost,dreign/ComBoost | Wodsoft.ComBoost/Properties/AssemblyInfo.cs | Wodsoft.ComBoost/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ComBoost")]
[assembly: AssemblyDescription("ComBoost Framework")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Wodsof... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ComBoost")]
[assembly: AssemblyDescription("ComBoost Framework")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Wodsof... | mit | C# |
9320eff8177d51850e7a49bcfd9840a96a455e48 | Add ResolveByName attribute to TargetControl property | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/HideOnLostFocusBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/HideOnLostFocusBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to hide control on lost focus event.
/// </summary>
public class HideOnLostFocusBehavior : Behavior<Control>
{
/// ... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to hide control on lost focus event.
/// </summary>
public class HideOnLostFocusBehavior : Behavior<Control>
{
/// ... | mit | C# |
f3edbf1a2365635d5ebb50ac5ceebf5e333338af | Add debug msg to tell block (#1649) | ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE | Source/ACE.Server/Network/GameAction/Actions/GameActionTell.cs | Source/ACE.Server/Network/GameAction/Actions/GameActionTell.cs | using ACE.Common.Extensions;
using ACE.Entity.Enum;
using ACE.Server.Managers;
using ACE.Server.Network.GameEvent.Events;
using ACE.Server.Network.GameMessages.Messages;
using log4net;
namespace ACE.Server.Network.GameAction.Actions
{
public static class GameActionTell
{
private static readonly ILog lo... | using ACE.Common.Extensions;
using ACE.Entity.Enum;
using ACE.Server.Managers;
using ACE.Server.Network.GameEvent.Events;
using ACE.Server.Network.GameMessages.Messages;
namespace ACE.Server.Network.GameAction.Actions
{
public static class GameActionTell
{
[GameAction(GameActionType.Tell)]
publ... | agpl-3.0 | C# |
2ae20975187a9b1dc821cac31fbfd2706840e7f7 | add blank line | saturn72/saturn72 | src/NetCore/Saturn72.Core.Services/Caching/MemoryCacheManager.cs | src/NetCore/Saturn72.Core.Services/Caching/MemoryCacheManager.cs | #region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Primitives;
using Saturn72.Core.Caching;
#endregion
namespace Saturn72.Core.Services.Caching
{
public clas... | #region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Primitives;
using Saturn72.Core.Caching;
#endregion
namespace Saturn72.Core.Services.Caching
{
public clas... | mit | C# |
7f6222aa60315ecae649238ac3574ad72482b8a1 | Update Applicant.cs | datanets/kask-kiosk,datanets/kask-kiosk | Models/Applicant.cs | Models/Applicant.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class Applicant
{
public int Applicant_ID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public int SSN { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class Applicant
{
public int Pk { get; set; }
public string firstName { get; set; }
public string lastName { get; set; }
public int SSN { get; set; }
pub... | mit | C# |
af37c9760ce50febc20b524a7be2c336041df5d5 | Update Palindrome.cs | michaeljwebb/Algorithm-Practice | Other/Palindrome.cs | Other/Palindrome.cs | //Check to see if given string is a palindrome. Return true or false. Ignore letter casing.
using System;
using System.Collections.Generic;
public class Palindrome
{
public static bool Palindrome(string word)
{
string result = "";
bool flag = false;
string lowerWord = word.ToLower();
for(int i = l... | //Check to see if given string is a palindrome. Return true or false.
using System;
using System.Collections.Generic;
public class Palindrome
{
public static void Main()
{
string testString = "racecar";
CheckPalindrome(testString);
}
public static void CheckPalindrome(string s){
... | mit | C# |
1f0b8c027a10f19b842b0a8bc2302981c3090214 | Make registrations similar to SQLite. | martijn00/Akavache,shana/Akavache,Loke155/Akavache,gimsum/Akavache,jcomtois/Akavache,mms-/Akavache,kmjonmastro/Akavache,PureWeen/Akavache,christer155/Akavache,MathieuDSTP/MyAkavache,akavache/Akavache,ghuntley/AkavacheSandpit,shana/Akavache,MarcMagnin/Akavache,bbqchickenrobot/Akavache | Akavache.Deprecated/Registrations.cs | Akavache.Deprecated/Registrations.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using Splat;
#if UIKIT
using MonoTouch.Foundation;
#endif
#if APPKIT
using MonoMac.Foundation;
#endif
#if ANDROID
using Android.App;
#endif
namespace Akavache.Deprecated
{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Splat;
#if UIKIT
using MonoTouch.Foundation;
#endif
#if APPKIT
using MonoMac.Foundation;
#endif
#if ANDROID
using Android.App;
#endif
namespace Akavache.Deprecated
{
public class Registrati... | mit | C# |
d6e7e06ff3ab3a57043bdb6a0b1e3a8782f8ab72 | Update ZoomHelper.cs | wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom | src/Avalonia.Controls.PanAndZoom/ZoomHelper.cs | src/Avalonia.Controls.PanAndZoom/ZoomHelper.cs | using System;
using static System.Math;
namespace Avalonia.Controls.PanAndZoom
{
/// <summary>
/// Zoom helper methods.
/// </summary>
public static class ZoomHelper
{
/// <summary>
/// Calculate scrollable properties.
/// </summary>
/// <param name="bounds">The vie... | using System;
using static System.Math;
namespace Avalonia.Controls.PanAndZoom
{
/// <summary>
/// Zoom helper methods.
/// </summary>
public static class ZoomHelper
{
/// <summary>
/// Calculate scrollable properties.
/// </summary>
/// <param name="bounds">The vie... | mit | C# |
0ef544267b750fd2b9928e7c2014d9957e1e002a | Change EnumExtensions to public | 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;
#if NET_CORE
using System.Reflection;
#endif
namespace BitFlyer.Apis
{
public static class EnumExtensions
{
private static readonly ConcurrentDictionary<Enum, string> EnumMemberCache = new Concur... | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Runtime.Serialization;
#if NET_CORE
using System.Reflection;
#endif
namespace BitFlyer.Apis
{
internal static class EnumExtensions
{
private static readonly ConcurrentDictionary<Enum, string> EnumMemberCache = new Conc... | mit | C# |
37eafc6ac5f9bc2623be872d166a7e6164b06070 | Allow easier subclassing of metadata dialog | ermshiperete/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso | SIL.Windows.Forms/ClearShare/WinFormsUI/MetadataEditorDialog.cs | SIL.Windows.Forms/ClearShare/WinFormsUI/MetadataEditorDialog.cs | using System;
using System.Windows.Forms;
using L10NSharp;
namespace SIL.Windows.Forms.ClearShare.WinFormsUI
{
public partial class MetadataEditorDialog : SIL.Windows.Forms.Miscellaneous.FormForUsingPortableClipboard
{
private readonly Metadata _originalMetaData;
private Metadata _returnMetaData;
public Meta... | using System;
using System.Windows.Forms;
using L10NSharp;
namespace SIL.Windows.Forms.ClearShare.WinFormsUI
{
public partial class MetadataEditorDialog : SIL.Windows.Forms.Miscellaneous.FormForUsingPortableClipboard
{
private readonly Metadata _originalMetaData;
private Metadata _returnMetaData;
public Meta... | mit | C# |
c2eb0e7f1f0669393317eb918ae4fba475f76329 | add version attributes | coolkev/LewisTech.Utils | src/LewisTech.Utils/Properties/AssemblyInfo.cs | src/LewisTech.Utils/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("Le... | 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("Le... | mit | C# |
cdcbcece579ced70659561f0bab81a7211a8bfea | Replace state file instead of overwriting it | zr40/steamgames | SteamGames/State.cs | SteamGames/State.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using ProtoBuf;
namespace SteamGames
{
[ProtoContract]
internal sealed class State
{
internal static readonly string BasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Applica... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using ProtoBuf;
namespace SteamGames
{
[ProtoContract]
internal sealed class State
{
internal static readonly string BasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Applica... | mit | C# |
aa9a5f08c24036f65e1fe289307c1906af99f8bd | Set new assembly version for release 1.1.0.0 | seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,seiggy/AsterNET.ARI | AsterNET.ARI/Properties/AssemblyInfo.cs | AsterNET.ARI/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("As... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("As... | mit | C# |
53b58c39c35d1a97c8ab9d8204acb87fd7f6337c | Enable cors request from everywhere. | dimitardanailov/cloud_conf_varna_microservices_rest_api,dimitardanailov/cloud_conf_varna_microservices_rest_api,dimitardanailov/cloud_conf_varna_microservices_rest_api | CloudConfVarnaEdition4.0-RestAPI/Controllers/MatchesController.cs | CloudConfVarnaEdition4.0-RestAPI/Controllers/MatchesController.cs | using CloudConfVarnaEdition4._0.Entities;
using CloudConfVarnaEdition4._0.Repositories;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CloudConfVarnaEdition4._0_RestAPI.Controllers
{
// Allow CORS for all origins. (Caution!)
[EnableCors(origins: "*", headers: "*... | using CloudConfVarnaEdition4._0.Entities;
using CloudConfVarnaEdition4._0.Repositories;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CloudConfVarnaEdition4._0_RestAPI.Controllers
{
[EnableCors(origins: "http://cloudconfvarnamicroservices.azurewebsites.net", header... | mit | C# |
1939f7030f75150ee04030215fe5157759b6842c | Use the new valid rename field tag id in integration tests | aelij/roslyn,AmadeusW/roslyn,gafter/roslyn,Giftednewt/roslyn,heejaechang/roslyn,jamesqo/roslyn,panopticoncentral/roslyn,robinsedlaczek/roslyn,tvand7093/roslyn,agocke/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,OmarTawfik/roslyn,mavasani/roslyn,agocke/roslyn,khyperia/roslyn,abock/roslyn,dotnet/roslyn,diryboy/roslyn,Al... | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/InlineRenameDialog_OutOfProc.cs | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/InlineRenameDialog_OutOfProc.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.HighlightTags;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.In... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.IntegrationTest.Utilities.Input;
namespace Microsoft.VisualStudio.IntegrationTes... | mit | C# |
b35aebe48da63881900bb7593707c59ff2e3f30c | add twitter login actions | tblocksharer/tblocksharer,tblocksharer/tblocksharer | src/TBlockSharer/Controllers/HomeController.cs | src/TBlockSharer/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TBlockSharer.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TBlockSharer.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | agpl-3.0 | C# |
08477cf27ec639a8228fd1690434f9a58de1b8c2 | update to show send local | amri/RebusExample | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Rebus.Activation;
using Rebus.Config;
using Rebus.Handlers;
namespace RebusExample
{
class Program
{
private static void Main(strin... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rebus.Activation;
using Rebus.Config;
namespace RebusExample
{
class Program
{
private static void Main(string[] args)
{
using (var ... | mit | C# |
df9a0990f11d22cc8d0fcba81bd10c4da50d686d | Add readonly to Label members | 0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced | src/csharp/Intel/Iced/Intel/Assembler/Label.cs | src/csharp/Intel/Iced/Intel/Assembler/Label.cs | /*
Copyright (C) 2018-2019 de4dot@gmail.com
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, merge, publish,
distr... | /*
Copyright (C) 2018-2019 de4dot@gmail.com
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, merge, publish,
distr... | mit | C# |
d18769b6a85c4cdcba3197b6f5ac703b403a2c52 | Remove unnecessary focus overriding. | Nabile-Rahmani/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,default0/osu-framework,RedNesto/osu-framework,paparony03/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,default0/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAS... | osu.Framework/Graphics/UserInterface/Tab/TabDropDownMenu.cs | osu.Framework/Graphics/UserInterface/Tab/TabDropDownMenu.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
// TODO: Hide header when no items in dropdown
namespace osu.Framework.Graphics.UserInterface.Tab
{
public abstract class TabDropDownMenu<T> : DropD... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Input;
// TODO: Hide header when no items in dropdown
namespace osu.Framework.Graphics.UserInterface.Tab
{
public abstract cl... | mit | C# |
52e9fb4a7ee954d93e02860bd5adebdaad254e6d | Implement Main logic | dirkrombauts/fizz-buzz | ConsoleApp/Program.cs | ConsoleApp/Program.cs | using System;
namespace FizzBuzz.ConsoleApp
{
class Program
{
static void Main()
{
var fizzBuzzer = new FizzBuzzer();
for (int i = 1; i <= 100; i++)
{
Console.WriteLine(fizzBuzzer.Print(i));
}
}
}
}
| using System;
namespace FizzBuzz.ConsoleApp
{
class Program
{
static void Main()
{
}
}
}
| mit | C# |
7c116ff09cafbc7f4cc7e801d4eb477b2ee79b03 | Update assembly version to 1.1.1.0 | lench4991/EasyScaleMod | EasyScale/Properties/AssemblyInfo.cs | EasyScale/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
5cb9dbdf4af177cbcbc8915c2cba780c0d15a285 | Make sure there is an error code available | ArachisH/Eavesdrop | Eavesdrop/Internals/NativeMethods.cs | Eavesdrop/Internals/NativeMethods.cs | using System;
using System.Runtime.InteropServices;
namespace Eavesdrop
{
internal static class NativeMethods
{
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool InternetSetOption(IntPtr hInternet, ... | using System;
using System.Runtime.InteropServices;
namespace Eavesdrop
{
internal static class NativeMethods
{
[DllImport("wininet.dll")]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
}
} | mit | C# |
f0cf524cc4a5ffc982e9628a05af47a0c0b0623c | Set default back to Chrome driver. | dwhelan/atdd_training,dwhelan/atdd_training | cs/WebSpecs/Support/Hooks.cs | cs/WebSpecs/Support/Hooks.cs | using System.Collections.Generic;
using BoDi;
using Coypu;
using Coypu.Drivers;
using TechTalk.SpecFlow;
namespace WebSpecs.Support
{
[Binding]
public class Hooks
{
private readonly IObjectContainer objectContainer;
private BrowserSession browser;
private readonly List<... | using System.Collections.Generic;
using BoDi;
using Coypu;
using Coypu.Drivers;
using TechTalk.SpecFlow;
namespace WebSpecs.Support
{
[Binding]
public class Hooks
{
private readonly IObjectContainer objectContainer;
private BrowserSession browser;
private readonly List<... | mit | C# |
b54f60d9cb4385f3c42dffe6548a563fc261bc00 | Add functionality to ExpenditureDate class to compare dates and format year correctly | xyon1/Expenditure-App | GeneralUseClasses/ExpenditureDate.cs | GeneralUseClasses/ExpenditureDate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GeneralUseClasses.Exceptions;
namespace GeneralUseClasses
{
public class ExpenditureDate
{
public int day;
public int month;
public int year;
public Expen... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeneralUseClasses
{
public class ExpenditureDate
{
public int day { get; set; }
public int month { get; set; }
public int year { get; set; }
public Ex... | apache-2.0 | C# |
d8ba089c3ce98081afa002ea0b7a234598b89adf | Revert "Quarantine all ProjectTemplate tests until dotnet new lock issue is resolved." (#21831) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.cs | src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.E2ETesting;
using Microsoft.AspNetCore.Testing;
using Templates.Test.Helpers;
using Xunit;
[assembly: TestFramework("Microso... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.E2ETesting;
using Microsoft.AspNetCore.Testing;
using Templates.Test.Helpers;
using Xunit;
[assembly: TestFramework("Microso... | apache-2.0 | C# |
938f9c508031bb28a39b690d9ae6f342f5fba2ff | Adjust scene menu position and rotation | miccl/VisualiseR,miccl/VisualiseR | Assets/VisualiseR/Code/Scripts/VisualiseR/Showroom/Controller/ShowShowroomSceneMenuCommand.cs | Assets/VisualiseR/Code/Scripts/VisualiseR/Showroom/Controller/ShowShowroomSceneMenuCommand.cs | using strange.extensions.command.impl;
using strange.extensions.context.api;
using UnityEngine;
namespace VisualiseR.Showroom
{
/// <summary>
/// Command to show the scene menu.
/// </summary>
public class ShowShowroomSceneMenuCommand : Command
{
private static readonly JCsLogger Logger = n... | using strange.extensions.command.impl;
using strange.extensions.context.api;
using UnityEngine;
namespace VisualiseR.Showroom
{
/// <summary>
/// Command to show the scene menu.
/// </summary>
public class ShowShowroomSceneMenuCommand : Command
{
private static readonly JCsLogger Logger = n... | apache-2.0 | C# |
3c7e820773879fbb0e96934e57ab5158ad393d0c | remove the directory check | bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,robertjf/Umbraco-CMS,base33/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,lars-erik/Umbraco-CMS,arknu/Umbraco-CMS,rasmuseeg/Umbr... | src/umbraco.cms/businesslogic/utilities/Zip.cs | src/umbraco.cms/businesslogic/utilities/Zip.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Web;
using umbraco;
namespace umbraco.cms.businesslogic.utilities
{
public class Zip
{
public static void UnPack(string ZipFilePath, string UnPackDirectory, bool Dele... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Web;
using umbraco;
namespace umbraco.cms.businesslogic.utilities
{
public class Zip
{
public static void UnPack(string ZipFilePath, string UnPackDirectory, bool Dele... | mit | C# |
74bc2db8c9675a0e8367c1420b2d4c246f03b16a | Set sink version to match Serilog version. | tugberkugurlu/serilog-sinks-mongodb,serilog/serilog-sinks-mongodb | assets/CommonAssemblyInfo.cs | assets/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.4.204.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
| using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.1.1")]
[assembly: AssemblyInformationalVersion("1.0.0")]
| apache-2.0 | C# |
13612695778ac6b2c6e42302442564efbccfc873 | Correct negative values under arm64 | jherby2k/AudioWorks | AudioWorks/src/AudioWorks.Extensibility/Int24.cs | AudioWorks/src/AudioWorks.Extensibility/Int24.cs | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | agpl-3.0 | C# |
7a502daa265a989bdec1da9b065c6d2ef002ec50 | Update Cake.Issues.Recipe to 0.4.1 | cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe | Cake.Recipe/Content/addins.cake | Cake.Recipe/Content/addins.cake | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.9.1
#addin nuget:?package=Cake.Coveralls&version=0.10.2
#addin nuget:?package=Cake.Coverlet&version=2.5.... | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.9.1
#addin nuget:?package=Cake.Coveralls&version=0.10.2
#addin nuget:?package=Cake.Coverlet&version=2.5.... | mit | C# |
767a6e1ecb25ea85940140df30279e2aff506371 | Bump Version | Bottswana/ShadowUtility | ShadowForm/Properties/AssemblyInfo.cs | ShadowForm/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("Sh... | 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("Sh... | mit | C# |
b65e9df8416af287ea477988586098238ac7259f | Format docs | bartlomiejwolk/TPPCamera | Enums/Mode.cs | Enums/Mode.cs | public enum Mode {
/// <summary>
/// Camera moves with the target transform instantly.
/// </summary>
Instantenous,
/// <summary>
/// If target transform moves withing defined dead zone, camera
/// will not follow.
/// </summary>
DeadZone
} | public enum Mode {
/// <summary>
/// Camera moves with the target transform instantly.
/// </summary>
Instantenous,
/// <summary>
/// If target transform moves withing defined dead zone, camera
/// will not follow.
/// </summary>
DeadZone
} | mit | C# |
ca5d0d00ee6fa02d7bfe9d8a64b541c72142e4cc | Read from log stream and use a simple filter | Ailuridaes/solid-doodle,djmlee013/solid-doodle,Ailuridaes/solid-doodle,onema/solid-doodle,onema/solid-doodle,djmlee013/solid-doodle | LogParser/Function.cs | LogParser/Function.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text.RegularExpressions;
using Amazon.CloudWatchLogs;
using Amazon.Lambda.Core;
using LogParser.Model;
using Newtonsoft.Json;
namespace LogParser {
public class Function {
//--- Fields ---
private read... | using System;
using Amazon.CloudWatchLogs;
using Amazon.Lambda.Core;
namespace LogParser {
//--- Classes ---
public class CloudWatchLogsEvent {
//--- Properties ---
public Awslogs awslogs { get; set; }
}
public class Awslogs {
//--- Properties ---
... | mit | C# |
78633a5950ad25b286fc282f93434e0753578fba | Stop logging to console all text from text editor. | mrward/typescript-addin,mrward/typescript-addin,chrisber/typescript-addin,chrisber/typescript-addin | src/TypeScriptBinding/Hosting/TypeScriptContext.cs | src/TypeScriptBinding/Hosting/TypeScriptContext.cs | //
// TypeScriptContext.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 restrict... | //
// TypeScriptContext.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 restrict... | mit | C# |
9cb00ebd972203787b31ca1e7f9fd48c85d9713b | Check lengths. | Peter-Juhasz/HX-Main | HX-Main/2D.cs | HX-Main/2D.cs | namespace System.Linq
{
using System;
using System.Collections.Generic;
/// <summary>
/// Provides extensions methods to 2-dimensional arrays.
/// </summary>
public static partial class ExtensionsTo2DArrays
{
/// <summary>
/// Determines whether two arrays are equal by comp... | namespace System.Linq
{
using System;
using System.Collections.Generic;
/// <summary>
/// Provides extensions methods to 2-dimensional arrays.
/// </summary>
public static partial class ExtensionsTo2DArrays
{
/// <summary>
/// Determines whether two arrays are equal by comp... | mit | C# |
6bc31f6f2ed63f179fd7269210cd5c497816a031 | Update DockerContainerIdComponent.cs | MatthewKing/DeviceId | src/DeviceId.Linux/Components/DockerContainerIdComponent.cs | src/DeviceId.Linux/Components/DockerContainerIdComponent.cs | using System.IO;
using System.Text.RegularExpressions;
namespace DeviceId.Linux.Components;
/// <summary>
/// An implementation of <see cref="IDeviceIdComponent"/> that uses the cgroup to read the docker container id.
/// </summary>
public class DockerContainerIdComponent : IDeviceIdComponent
{
private readonly ... | using System.IO;
using System.Text.RegularExpressions;
namespace DeviceId.Linux.Components;
/// <summary>
/// An implementation of <see cref="IDeviceIdComponent"/> that uses the cgroup to read the docker container id.
/// </summary>
public class DockerContainerIdComponent : IDeviceIdComponent
{
private readonly ... | mit | C# |
9bf56c8ddd1acb65887f99eb7e142caaed13efdd | Remove extra whitespace | KirillOsenkov/roslyn,abock/roslyn,aelij/roslyn,weltkante/roslyn,genlu/roslyn,tannergooding/roslyn,AmadeusW/roslyn,diryboy/roslyn,agocke/roslyn,mavasani/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,xasx/roslyn,wvdd007/roslyn,KirillOsenkov/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,ErikSchierboom/roslyn,nguer... | src/EditorFeatures/TestUtilities/TestObscuringTipManager.cs | src/EditorFeatures/TestUtilities/TestObscuringTipManager.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
// In 15.6 the ed... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
// In 15.6 the ed... | mit | C# |
25e063359d3902ddc0efe29f7fb560375b11daf6 | Optimize SerializableJsonProperty delegates | QuickenLoans/XSerializer,rlyczynski/XSerializer | XSerializer/SerializableJsonProperty.cs | XSerializer/SerializableJsonProperty.cs | using System;
using System.Linq.Expressions;
using System.Reflection;
namespace XSerializer
{
internal class SerializableJsonProperty
{
private readonly string _name;
private readonly Lazy<IJsonSerializerInternal> _serializer;
private readonly Func<object, object> _getValue;
pri... | using System;
using System.Reflection;
namespace XSerializer
{
internal class SerializableJsonProperty
{
private readonly string _name;
private readonly Lazy<IJsonSerializerInternal> _serializer;
private readonly Func<object, object> _getValue;
private readonly Action<object, ob... | mit | C# |
7f585445ef3d0c937799231cc2c01fe8e36460b6 | Fix repository method call | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Launchpad/Tables/PositionsTable.cs | R7.University.Launchpad/Tables/PositionsTable.cs | //
// PositionsTable.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014-2015 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software... | //
// PositionsTable.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014-2015 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software... | agpl-3.0 | C# |
9efedbe6ec38ae611e5120a3efee25576ac64927 | Disable GroupTopoSort test | rsdn/CodeJam,NN---/CodeJam | Experimental/tests/Collections/GroupTopoSortTest.cs | Experimental/tests/Collections/GroupTopoSortTest.cs | using System.Collections.Generic;
using System.Linq;
using CodeJam.Strings;
using NUnit.Framework;
namespace CodeJam.Collections
{
[TestFixture]
[Ignore("TDB")]
public class GroupTopoSortTest
{
[TestCase(arg: new[] { "a:b", "b:c", "c" }, TestName = "Simple", ExpectedResult = "c, b, a")]
[TestCase(arg: new[]... | using System.Collections.Generic;
using System.Linq;
using CodeJam.Strings;
using NUnit.Framework;
namespace CodeJam.Collections
{
[TestFixture]
public class GroupTopoSortTest
{
[TestCase(arg: new[] { "a:b", "b:c", "c" }, ExpectedResult = "c, b, a")]
[TestCase(arg: new[] { "a:c", "b:c", "c" }, ExpectedResult... | mit | C# |
9c962a4eb8b3c22e688b89f0ffc0edeca385f0a5 | fix tests | SixLabors/Fonts | tests/SixLabors.Fonts.Tests/FontLoaderTests.cs | tests/SixLabors.Fonts.Tests/FontLoaderTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SixLabors.Fonts.Tests
{
using Xunit;
public class FontLoaderTests
{
[Fact]
public void LoadFontMetadata()
{
FontDescription description = FontDescription.LoadDesc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SixLabors.Fonts.Tests
{
using Xunit;
public class FontLoaderTests
{
[Fact]
public void LoadFontMetadata()
{
FontDescription description = FontDescription.LoadDesc... | apache-2.0 | C# |
274958669c826236e48f681b8edb3c00ea8bf2b7 | Add early assert as sanity check | UselessToucan/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Gameplay/TestScenePauseWhenInactive.cs | osu.Game.Tests/Visual/Gameplay/TestScenePauseWhenInactive.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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Platform;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Platform;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
... | mit | C# |
6b43c5aa3b32a8f62a52bfdbc405a602aa1327a0 | Fix For Broken Tests For CustomType List | NServiceKit/NServiceKit.Redis,nataren/NServiceKit.Redis,MindTouch/NServiceKit.Redis | tests/ServiceStack.Redis.Tests/Support/CustomTypeFactory.cs | tests/ServiceStack.Redis.Tests/Support/CustomTypeFactory.cs | using NUnit.Framework;
using ServiceStack.Common.Tests.Models;
namespace ServiceStack.Redis.Tests.Support
{
public class CustomTypeFactory : ModelFactoryBase<CustomType>
{
public CustomTypeFactory()
{
ModelConfig<CustomType>.Id(x => x.CustomId);
}
public override void AssertIsEqual(CustomType actual, Cus... | using NUnit.Framework;
using ServiceStack.Common.Tests.Models;
namespace ServiceStack.Redis.Tests.Support
{
public class CustomTypeFactory : ModelFactoryBase<CustomType>
{
public CustomTypeFactory()
{
ModelConfig<CustomType>.Id(x => x.CustomId);
}
public override void AssertIsEqual(CustomType actual, Cus... | bsd-3-clause | C# |
67a4459203665ff8bfe534dd7dcbec48197cf6db | Add correct table mapping | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Data/Configuration/ApprenticeshipUpdateConfiguration.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Data/Configuration/ApprenticeshipUpdateConfiguration.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SFA.DAS.CommitmentsV2.Models;
namespace SFA.DAS.CommitmentsV2.Data.Configuration
{
public class ApprenticeshipUpdateConfiguration : IEntityTypeConfiguration<ApprenticeshipUpdate>
{
public void Configure(E... | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SFA.DAS.CommitmentsV2.Models;
namespace SFA.DAS.CommitmentsV2.Data.Configuration
{
public class ApprenticeshipUpdateConfiguration : IEntityTypeConfiguration<ApprenticeshipUpdate>
{
public void Configure(E... | mit | C# |
424cc0c4743891f54b9e5ae96938a11dba152bc4 | use methodName convention | Pondidum/Conifer,Pondidum/Conifer | Test.WebApi/App_Start/WebApiConfig.cs | Test.WebApi/App_Start/WebApiConfig.cs | using System.Web.Http;
using RestRouter;
using RestRouter.Conventions;
using StructureMap;
using StructureMap.Graph;
using Test.WebApi.Controllers;
namespace Test.WebApi
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
var router = Router.Create(config, r =>
{
... | using System.Web.Http;
using RestRouter;
using RestRouter.Conventions;
using StructureMap;
using StructureMap.Graph;
using Test.WebApi.Controllers;
namespace Test.WebApi
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
var router = Router.Create(config, r =>
{
... | lgpl-2.1 | C# |
e268937217160734f0b3862773000afd7f4668e3 | Increment version | Benrnz/BudgetAnalyser | BudgetAnalyser.Engine/Properties/AssemblyInfo.cs | BudgetAnalyser.Engine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assembly... | mit | C# |
d49190077a00f9d96d17375282d64ab42061bfea | Clean up namespaces | corsairmarks/csharp-dataaccess-test | src/DataAccessTest/DataAccessTest.Web/DependencyResolution/Registry/DatabaseMigrationRegistry.cs | src/DataAccessTest/DataAccessTest.Web/DependencyResolution/Registry/DatabaseMigrationRegistry.cs | namespace DataAccessTest.Web.DependencyResolution.Registry
{
using System.Diagnostics;
using System.Reflection;
using DataAccessTest.DatabaseMigrations.Migrations;
using FluentMigrator;
using FluentMigrator.Runner;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Initiali... | namespace DataAccessTest.Web.DependencyResolution.Registry
{
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using DataAccessTest.DatabaseMigrations.Migrations;
using FluentMigrator;
using FluentMigrator.Infrastructure;
using FluentMigrator.Runner;
using FluentMigr... | mit | C# |
0d5a573dae6972216091a3f8dfe5905896a5d589 | Update TintedImageRenderer.cs | shrutinambiar/xamarin-forms-tinted-image | src/Plugin.CrossPlatformTintedImage.iOS/TintedImageRenderer.cs | src/Plugin.CrossPlatformTintedImage.iOS/TintedImageRenderer.cs | using Plugin.CrossPlatformTintedImage.iOS;
using Plugin.CrossPlatformTintedImage.Abstractions;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace Plugin.CrossPlatformTintedImage.iOS
{
public class TintedIm... | using Plugin.CrossPlatformTintedImage.iOS;
using Plugin.CrossPlatformTintedImage.Abstractions;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace Plugin.CrossPlatformTintedImage.iOS
{
public class TintedIm... | mit | C# |
33f558d0b9f490fdf5604e1acda233da4de75d29 | Revert "Changed NetworkLevelLoader to be in line with new loading method." | hpoggie/Backstab-Networking | Framework/NetworkLevelLoader.cs | Framework/NetworkLevelLoader.cs | using UnityEngine;
using UnityEngine.Networking;
public class NetworkLevelLoader : NetScript {
static int lastLevel = -108;
bool[] status;
bool hasServerLoaded = false;
public void Start () {
DontDestroyOnLoad(this);
}
public void AllLoadLevel (int level) {
if (!backstab.IsServer) {
Debug.LogError("Ca... | using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
public class NetworkLevelLoader : NetScript {
static int lastLevel = -108;
bool[] status;
bool hasServerLoaded = false;
public void Start () {
DontDestroyOnLoad(this);
}
public void AllLoadLevel (int level) {
if (!backsta... | mit | C# |
8dc3a511a3e9e529874db1f93f166b719482d96a | update versioning info | 0xFireball/FireCryptEx | FireCrypt/FireCryptEx/Properties/AssemblyInfo.cs | FireCrypt/FireCryptEx/Properties/AssemblyInfo.cs | /*
* THIS PROGRAM AND ITS SOURCE CODE ARE PROVIDED TO YOU FREE OF CHARGE.
* YOU ARE PROHIBITED FROM REMOVING THIS NOTICE FROM THIS SOURCE DOCUMENT
* OR OTHERWISE MODIFYING IT.
*
* FireCryptEx is a free (and by now, open-source) program that allows
* the user to create encrypted volumes to store files.
*
* Fir... | /*
* THIS PROGRAM AND ITS SOURCE CODE ARE PROVIDED TO YOU FREE OF CHARGE.
* YOU ARE PROHIBITED FROM REMOVING THIS NOTICE FROM THIS SOURCE DOCUMENT
* OR OTHERWISE MODIFYING IT.
*
* FireCryptEx is a free (and by now, open-source) program that allows
* the user to create encrypted volumes to store files.
*
* Fir... | agpl-3.0 | C# |
066b953896626fb5a29da2a37ac17413c9d70326 | remove DeviceTimestamp from SensorValues model | MCeddy/IoT-core | IoT-Core/Models/SensorValues.cs | IoT-Core/Models/SensorValues.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Models
{
public class SensorValues
{
public int Id { get; set; }
public DateTime Date { get; set; }
//public int? DeviceTim... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Models
{
public class SensorValues
{
public int Id { get; set; }
public DateTime Date { get; set; }
public int? DeviceTimes... | mit | C# |
17c02ae43dade5cd7a881703111b2f90f2279d72 | Bump commit | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | XPlat/ExposureNotification/build.cake | XPlat/ExposureNotification/build.cake | var TARGET = Argument("t", Argument("target", "ci"));
var SRC_COMMIT = "150b9a89553ddef9ef146d5cf51efff31af35404";
var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip";
var OUTPUT_PATH = (DirectoryPath)"./output/";
var NUGET_VERSION = "0.1.0-beta1";
Task("externals")
.Do... | var TARGET = Argument("t", Argument("target", "ci"));
var SRC_COMMIT = "b3ce14af8949829463f07c667125fca024661f36";
var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip";
var OUTPUT_PATH = (DirectoryPath)"./output/";
var NUGET_VERSION = "0.1.0-beta1";
Task("externals")
.Do... | mit | C# |
bebe658fab7a1c32b640c65416087c0fa9daae40 | set parent window in AlertDialogBackend | TheBrainTech/xwt,antmicro/xwt,iainx/xwt,residuum/xwt,directhex/xwt,steffenWi/xwt,hamekoz/xwt,akrisiun/xwt,mminns/xwt,hwthomas/xwt,cra0zy/xwt,mminns/xwt,lytico/xwt,mono/xwt | Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs | Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs | //
// AlertDialogBackend.cs
//
// Author:
// Thomas Ziegler <ziegler.thomas@web.de>
//
// Copyright (c) 2012 Thomas Ziegler
//
// 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 wi... | //
// AlertDialogBackend.cs
//
// Author:
// Thomas Ziegler <ziegler.thomas@web.de>
//
// Copyright (c) 2012 Thomas Ziegler
//
// 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 wi... | mit | C# |
b90aae9847d992523bb6970c7e122b08cdb4c0fc | Add property InvertRepeatAsFloat | mcneel/RhinoCycles | CyclesTextureImage.cs | CyclesTextureImage.cs | /**
Copyright 2014-2016 Robert McNeel and Associates
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 w... | /**
Copyright 2014-2016 Robert McNeel and Associates
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 w... | apache-2.0 | C# |
9aa73df4a646347ec6ffd147280c10ab6500f1f3 | Add comments | tomgrv/PA.Utilities | PA.Utilities.InnoSetupTask/PreprocessFileList.cs | PA.Utilities.InnoSetupTask/PreprocessFileList.cs | using System;
using System.ComponentModel;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using PA.Utilities.InnoSetupTask;
namespace PA.Utilities.InnoSetupTask
{
public class PreprocessFileList : Task
{
TaskLogger logger;
public PreprocessFileList()
{
l... | using System;
using System.ComponentModel;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using PA.Utilities.InnoSetupTask;
namespace PA.Utilities.InnoSetupTask
{
public class PreprocessFileList : Task
{
TaskLogger logger;
public PreprocessFileList()
{
l... | mit | C# |
3c74cf4131c47e11c14f98c3b34300caadba5829 | fix comment | skrusty/AsterNET,AsterNET/AsterNET | Asterisk.2013/Asterisk.NET/Manager/Event/MusicOnHoldEvent.cs | Asterisk.2013/Asterisk.NET/Manager/Event/MusicOnHoldEvent.cs | namespace AsterNET.Manager.Event
{
/// <summary>
/// The MusicOnHoldEvent event triggers when the music starts or ends playing the hold music.<br />
/// See <see target="_blank" href="LINK">LINK</see>
/// </summary>
public class MusicOnHoldEvent : ManagerEvent
{
/// <summary>
... | namespace AsterNET.Manager.Event
{
/// <summary>
/// The MusicOnHoldEvent event triggers when the music starts or ends playing the hold music.<br />
/// See <see target="_blank" href="LINK">LINK</see>
/// </summary>
public class MusicOnHoldEvent : ManagerEvent
{
/// <summary>
... | mit | C# |
e81f550150438741a9da4ee7e26a7899b9d9b673 | Fix hit explosions not being cleaned up correctly when rewinding | peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu | osu.Game.Rulesets.Mania/UI/PoolableHitExplosion.cs | osu.Game.Rulesets.Mania/UI/PoolableHitExplosion.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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Pooling;
using osu.Game.Rulesets.Judgements;
using osu.Game.... | // 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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Pooling;
using osu.Game.Rulesets.Judgements;
using osu.Game.... | mit | C# |
a25ee632dd47aa6e3a6aac8e2bc41fff53ce33d5 | Write full type namespace | peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,default0/osu-framework,default0/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/os... | osu.Framework/Allocation/RecursiveLoadException.cs | osu.Framework/Allocation/RecursiveLoadException.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using System.Reflection;
using System.Text;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphi... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using System.Reflection;
using System.Text;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphi... | mit | C# |
3d99b89633b622b93a59423f72660d2af57eec01 | Add back actually needed change | peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu | osu.Game/Tests/Visual/LegacySkinPlayerTestScene.cs | osu.Game/Tests/Visual/LegacySkinPlayerTestScene.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.Allocation;
using osu.Framework.IO.Stores;
using osu.Game.Rulesets;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual
{... | // 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.Allocation;
using osu.Framework.IO.Stores;
using osu.Game.Rulesets;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual
{... | mit | C# |
7d15acd87af20549052c166e9431c1243a21cfaa | remove whitespace | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance/Infrastructure/OuterApiRequests/GetAccountProjectionSummaryRequest.cs | src/SFA.DAS.EmployerFinance/Infrastructure/OuterApiRequests/GetAccountProjectionSummaryRequest.cs | using SFA.DAS.EmployerFinance.Interfaces.OuterApi;
namespace SFA.DAS.EmployerFinance.Infrastructure.OuterApiRequests
{
public class GetAccountProjectionSummaryRequest : IGetApiRequest
{
private readonly long _accountId;
public string GetUrl => $"Projections/{_accountId}";
public GetAc... | using SFA.DAS.EmployerFinance.Interfaces.OuterApi;
namespace SFA.DAS.EmployerFinance.Infrastructure.OuterApiRequests
{
public class GetAccountProjectionSummaryRequest : IGetApiRequest
{
private readonly long _accountId;
public string GetUrl => $"Projections/{_accountId}";
public GetA... | mit | C# |
e6be58aa56d0c7e7409d8c048955d00ba9b0ac3e | Refactor to the http in GithubClient | skolima/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper | NuKeeper/Github/GithubClient.cs | NuKeeper/Github/GithubClient.cs | using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace NuKeeper.Github
{
public class GithubClient : IGithub
{
private readonly Settings _settings;
private readonly GithubRequestBuilder _requestBuilder;
private static rea... | using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NuGet.Protocol;
namespace NuKeeper.Github
{
public class GithubClient : IGithub
{
private readonly Settings _settings;
private readonly GithubRequestBuilder _requestBuilder;
... | apache-2.0 | C# |
edcc74be3d91f05f8a92cd88d3b8b33c341116d9 | Remove test parallelization (#712) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/IISIntegration.FunctionalTests/Properties/AssemblyInfo.cs | test/IISIntegration.FunctionalTests/Properties/AssemblyInfo.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// All functional tests in this project require a version of IIS express with an updated schema
using Xunit;
[assembly: Microsoft.AspNetCore.Server.IIS... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// All functional tests in this project require a version of IIS express with an updated schema
[assembly: Microsoft.AspNetCore.Server.IISIntegration.Fu... | apache-2.0 | C# |
316d76d8602a62454c4eb7ad5716e8b49883efcb | Use new new syntax for initialized fields | rubberduck203/GitNStats,rubberduck203/GitNStats | src/gitnstats.core/CommitVisitor.cs | src/gitnstats.core/CommitVisitor.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LibGit2Sharp;
using static GitNStats.Core.Tooling;
namespace GitNStats.Core
{
/// <summary>
/// Walks the commit graph back to the beginning of time.
/// Guaranteed to only visit a commit once.
/// </summary>
publi... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LibGit2Sharp;
using static GitNStats.Core.Tooling;
namespace GitNStats.Core
{
/// <summary>
/// Walks the commit graph back to the beginning of time.
/// Guaranteed to only visit a commit once.
/// </summary>
publi... | mit | C# |
c061edb52f361ac8320ce339c41ca5abac7adf92 | Use pattern matching | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Identity/UserClaimsPrincipalFactory.cs | src/LondonTravel.Site/Identity/UserClaimsPrincipalFactory.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Identity
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.As... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Identity
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.As... | apache-2.0 | C# |
efc2ee3a56b04c314fce9ba99817704b446bbedd | make sure you only build .net core on non Windows | MienDev/IdentityServer4,siyo-wang/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4... | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild ... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild ... | apache-2.0 | C# |
e4a65a459e1ce1c811c6704c83da7a77daa15dc4 | Use persistentDataPath. | Silphid/Silphid.Unity,Silphid/Silphid.Unity | Sources/Silphid.Injexit/Sources/Installers/RootInstaller.cs | Sources/Silphid.Injexit/Sources/Installers/RootInstaller.cs | using System.IO;
using System.Xml;
using log4net;
using UnityEngine;
using log4net.Config;
namespace Silphid.Injexit
{
public abstract class RootInstaller : Installer
{
public string LogResourceFile = "Log4net";
private static string DataPath =>
Application.isEditor
... | using System.IO;
using System.Xml;
using log4net;
using UnityEngine;
using log4net.Config;
namespace Silphid.Injexit
{
public abstract class RootInstaller : Installer
{
public string LogResourceFile = "Log4net";
private static string DataPath =>
Application.isEditor
... | mit | C# |
ce65f876761d43ad36c1bd3080dd7ccffd702a5b | Add indexer, IEnumerable, and Add for easier creation of HasArbitraryKey objects | Valetude/Valetude.Rollbar | Rollbar.Net/HasArbitraryKeys.cs | Rollbar.Net/HasArbitraryKeys.cs | using System.Collections;
using System.Collections.Generic;
namespace Rollbar {
public abstract class HasArbitraryKeys : IEnumerable<KeyValuePair<string, object>> {
protected HasArbitraryKeys(Dictionary<string, object> additionalKeys) {
AdditionalKeys = additionalKeys ?? new Dictionary<string, ... | using System.Collections.Generic;
namespace Rollbar {
public abstract class HasArbitraryKeys {
protected HasArbitraryKeys(Dictionary<string, object> additionalKeys) {
AdditionalKeys = additionalKeys ?? new Dictionary<string, object>();
}
public abstract void Normalize();
... | mit | C# |
5f94faf1df7f33ce979fd91a4c511a118a44a2f1 | Save ip after recording, check ip on index, version 1.0 | erooijak/athousandcounts,erooijak/athousandcounts,erooijak/athousandcounts | AThousandCounts/Views/Count/_Count.cshtml | AThousandCounts/Views/Count/_Count.cshtml | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | mit | C# |
5cc46cae8cb6b94b6bd2cddbdc587ff395275011 | Add missing attribute to mouse wave effect | WolfspiritM/Colore,CoraleStudios/Colore | Corale.Colore/Razer/Mouse/Effects/Wave.cs | Corale.Colore/Razer/Mouse/Effects/Wave.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Wave.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associ... | // ---------------------------------------------------------------------------------------
// <copyright file="Wave.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associ... | mit | C# |
2c1e5417a0e305e77af44428caf57aa31410ab82 | Update AssemblyInfo.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | Test/Properties/AssemblyInfo.cs | Test/Properties/AssemblyInfo.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled throu... | 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("Te... | mit | C# |
e679b44245aa569d579241d7b89ff01944848d69 | Update ValidationResult | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Models/ValidationResult.cs | src/WeihanLi.Common/Models/ValidationResult.cs | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Models;
public interface IValidationResult
{
/// <summary>
/// Valid
/// </summary>
bool Valid { get; }
/// <summary>
/// ErrorMessages
/// Key: memberName
/// Value: erro... | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Models;
public class ValidationResult
{
/// <summary>
/// Valid
/// </summary>
public bool Valid { get; set; }
/// <summary>
/// ErrorMessages
/// Key: memberName
/// Valu... | mit | C# |
8080f833e7c46b543ed835c03a1f13804da9ac60 | Remove method override | astorch/motoi | src/plug-ins/motoi.workbench/runtime/AbstractEditor.cs | src/plug-ins/motoi.workbench/runtime/AbstractEditor.cs | using motoi.platform.resources.model.editors;
using motoi.workbench.model;
using Xcite.Csharp.lang;
namespace motoi.workbench.runtime {
/// <summary>
/// Provides an abstract implementation of <see cref="IEditor"/> that is based on <see cref="AbstractSaveableWorkbenchPart"/>.
/// </summary>
pu... | using motoi.platform.resources.model.editors;
using motoi.platform.ui.toolbars;
using motoi.workbench.model;
using Xcite.Csharp.lang;
namespace motoi.workbench.runtime {
/// <summary>
/// Provides an abstract implementation of <see cref="IEditor"/> that is based on <see cref="AbstractSaveableWorkbenchP... | mit | C# |
623099de9cdfa1c4005d43447121dde233e7d313 | Fix Clear-Bitmap disposing cleared bitmap too early. | Prof9/PixelPet | PixelPet/Workbench.cs | PixelPet/Workbench.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace PixelPet {
/// <summary>
/// PixelPet workbench instance.
/// </summary>
public class Workbench {
public IList<Color> Palette { get; }
public Bit... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace PixelPet {
/// <summary>
/// PixelPet workbench instance.
/// </summary>
public class Workbench {
public IList<Color> Palette { get; }
public Bit... | mit | C# |
73d99ea7dd3ba484a57870b9ba4ecc29c49a3acd | Add ResolveByName attribute to TargetControl property | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/HideOnKeyPressedBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/HideOnKeyPressedBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to hide control on key down event.
/// </summary>
public class HideOnKeyPressedBehavior : Behavior<Control>
{
/// <... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to hide control on key down event.
/// </summary>
public class HideOnKeyPressedBehavior : Behavior<Control>
{
/// <... | mit | C# |
1a2208c6623f1cf00615c637f6d8c2b3740165ab | support zip for standalone | tsubaki/UnityZip,tsubaki/UnityZip,tsubaki/UnityZip | Assets/Plugins/Zip.cs | Assets/Plugins/Zip.cs | using UnityEngine;
using System.Collections;
using System;
using System.Runtime.InteropServices;
using Ionic.Zip;
using System.Text;
using System.IO;
public class ZipUtil
{
#if UNITY_IPHONE
[DllImport("__Internal")]
private static extern void unzip (string zipFilePath, string location);
[DllImport("__Internal")]
... | using UnityEngine;
using System.Collections;
using System;
using System.Runtime.InteropServices;
using Ionic.Zip;
using System.Text;
using System.IO;
public class ZipUtil
{
#if UNITY_IPHONE
[DllImport("__Internal")]
private static extern void unzip (string zipFilePath, string location);
[DllImport("__Internal")]
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.