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 |
|---|---|---|---|---|---|---|---|---|
deb167086212faa8d6c51fe911bcd54c1cc85c73 | Use `Array.Empty` instead of constructed list | NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game/Database/EmptyRealmSet.cs | osu.Game/Database/EmptyRealmSet.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 System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using Realms;
using Realms.Sc... | // 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 System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using Realms;
using Realms.Sc... | mit | C# |
2e38b77fa923c747bed25557aade6dd584f3166e | Change name of TwitterWebApplication. | dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs | TwitterWebApplication/Controllers/TwitterFavouriteListController.cs | TwitterWebApplication/Controllers/TwitterFavouriteListController.cs | using System.Web.Http;
using System.Security.Claims;
using System.Collections.Generic;
using TwitterApplicationLibrary;
using TweetSharp;
using TwitterWebApplicationDBContexts;
namespace TwitterWebApplication.Controllers
{
[Authorize]
public class TwitterFavouriteListController : ApiController
{
p... | using System.Web.Http;
using System.Security.Claims;
using System.Collections.Generic;
using TwitterApplicationLibrary;
using TweetSharp;
using TwitterWebApplicationDBContexts;
namespace TwitterWebApplication.Controllers
{
[Authorize]
public class TwitterFavouriteListController : ApiController
{
p... | mit | C# |
db57826e503866d0a81d3f479e03bcd65f251e70 | Add missing "using". | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/TorMonitor.cs | WalletWasabi/Tor/TorMonitor.cs | using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Logging;
using WalletWasabi.Tor.Http;
using WalletWasabi.Tor.Socks5.Exceptions;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor
{... | using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Logging;
using WalletWasabi.Tor.Http;
using WalletWasabi.Tor.Socks5.Exceptions;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor
{... | mit | C# |
dded3c60ddcf4034f821797b7052c290e90e6c11 | update get service feature. | dreign/ComBoost,dreign/ComBoost | Wodsoft.ComBoost/Data/Entity/EntityDescriptorContext.cs | Wodsoft.ComBoost/Data/Entity/EntityDescriptorContext.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Data.Entity
{
/// <summary>
/// Entity descriptor context.
/// </summary>
public class EntityDescriptorContext : ITypeDescriptorContext
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Data.Entity
{
/// <summary>
/// Entity descriptor context.
/// </summary>
public class EntityDescriptorContext : ITypeDescriptorContext
... | mit | C# |
ac0db67b0b8a11b0342bf77c74b7373590ad2782 | Fix from PR 164 (Credit: perfiction) | aloisdeniel/Microcharts | Sources/Microcharts.Uwp/ChartView.cs | Sources/Microcharts.Uwp/ChartView.cs | // Copyright (c) Aloïs DENIEL. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microcharts.Uwp
{
using SkiaSharp;
using SkiaSharp.Views.UWP;
using Windows.UI.Xaml;
public class ChartView : SKXamlCanvas
{
#region Co... | // Copyright (c) Aloïs DENIEL. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microcharts.Uwp
{
using SkiaSharp;
using SkiaSharp.Views.UWP;
using Windows.UI.Xaml;
public class ChartView : SKXamlCanvas
{
#region Co... | mit | C# |
e929e29789e2075484c998e52b17ac7e571eb963 | Fix System.Reflection.Context test to run on Desktop | tijoytom/corefx,tijoytom/corefx,fgreinacher/corefx,Jiayili1/corefx,cydhaselton/corefx,ViktorHofer/corefx,mazong1123/corefx,nchikanov/corefx,seanshpark/corefx,stephenmichaelf/corefx,marksmeltzer/corefx,mmitche/corefx,richlander/corefx,lggomez/corefx,the-dwyer/corefx,jlin177/corefx,lggomez/corefx,Ermiar/corefx,yizhang82/... | src/System.Reflection.Context/tests/CustomReflectionContextTests.cs | src/System.Reflection.Context/tests/CustomReflectionContextTests.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 Xunit;
namespace System.Reflection.Context
{
public class CustomReflectionContextTests
{
[Fac... | // 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 Xunit;
namespace System.Reflection.Context
{
public class CustomReflectionContextTests
{
[Fac... | mit | C# |
e34b17f7ef9f93140e6b3eec223cf5254a380c42 | Update Region.cs | nikola02333/WebKurs,nikola02333/WebKurs,nikola02333/WebKurs | BookingApp/BookingApp/Models/Region.cs | BookingApp/BookingApp/Models/Region.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingApp.Models
{
public class Region
{
public int RegionId { get; set; }
public string name { get; set; }
public List<Place> l_Place { get; set; }
//
public int CountryId... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingApp.Models
{
public class Region
{
public int RegionId { get; set; }
private string name { get; set; }
public List<Place> l_Place { get; set; }
//
public int CountryI... | mit | C# |
fa3aa0114dbb73592978ae28e93b240cfaf5beb2 | Bump version # | rpaquay/mtsuite | src/shared/VersionNumber.cs | src/shared/VersionNumber.cs | // Copyright 2015 Renaud Paquay 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | // Copyright 2015 Renaud Paquay 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | apache-2.0 | C# |
91c327a90f14b151ff3a62710559ab3f96153aa5 | use ModDisplay | UselessToucan/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,smoo... | osu.Game/Screens/Select/FooterButtonMods.cs | osu.Game/Screens/Select/FooterButtonMods.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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.Play.HUD;
using osu.Game.Rulesets.Mods;
usin... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
using Sys... | mit | C# |
166f0c7b86977b437edf724025157180720cd729 | Fix chair perspective (#8964) | 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.Client/Buckle/BuckleComponent.cs | Content.Client/Buckle/BuckleComponent.cs | using Content.Shared.ActionBlocker;
using Content.Shared.Buckle.Components;
using Content.Shared.Vehicle.Components;
using Robust.Client.GameObjects;
namespace Content.Client.Buckle
{
[RegisterComponent]
[ComponentReference(typeof(SharedBuckleComponent))]
public sealed class BuckleComponent : SharedBuckleC... | using Content.Shared.ActionBlocker;
using Content.Shared.Buckle.Components;
using Content.Shared.Vehicle.Components;
using Robust.Client.GameObjects;
namespace Content.Client.Buckle
{
[RegisterComponent]
[ComponentReference(typeof(SharedBuckleComponent))]
public sealed class BuckleComponent : SharedBuckleC... | mit | C# |
efb146e8640bd94fa87db8600ce0d64eafc889ad | Make PoEItemCategory implement IReadOnlyList<PoEItemList> | jcmoyer/Yeena | Yeena/PathOfExile/PoEItemCategory.cs | Yeena/PathOfExile/PoEItemCategory.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# |
3f62d9cec67a4ddb2038605211633104f42d67c4 | Add support for LF record separator | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Core/Addml/Definitions/Separator.cs | src/Arkivverket.Arkade/Core/Addml/Definitions/Separator.cs | using System;
using System.Collections.Generic;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Core.Addml.Definitions
{
public class Separator
{
private static readonly Dictionary<string, string> SpecialSeparators = new Dictionary<string, string>
{
{"CRLF", "\r... | using System;
using System.Collections.Generic;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Core.Addml.Definitions
{
public class Separator
{
private static readonly Dictionary<string, string> SpecialSeparators = new Dictionary<string, string>
{
{"CRLF", "\r... | agpl-3.0 | C# |
fb6dff24a078c9d2c3fcb6d51b873ed6fe5b5549 | fix whitespace in ExceptionUtilsTests | tc-dev/tc-dev.Core | tests/tc-dev.Core.Common.UnitTests/Utilities/ExceptionUtilsTests.cs | tests/tc-dev.Core.Common.UnitTests/Utilities/ExceptionUtilsTests.cs | using System;
using NUnit.Framework;
using tc_dev.Core.Common.Utilities;
namespace tc_dev.Core.Common.UnitTests.Utilities
{
[TestFixture]
public class ExceptionUtilsTests
{
[TestCase(null, null)]
[TestCase("paramName", "message")]
public void ThrowIfNull_NullClass_ThrowsException(stri... | using System;
using NUnit.Framework;
using tc_dev.Core.Common.Utilities;
namespace tc_dev.Core.Common.UnitTests.Utilities
{
[TestFixture]
public class ExceptionUtilsTests
{
[TestCase(null, null)]
[TestCase("paramName", "message")]
public void ThrowIfNull_NullClass_ThrowsException(string paramN... | mit | C# |
dfe3003152ed69421f3743d3ea0d487df7a547c0 | Send the current song index as nullable | punker76/Espera,flagbug/Espera | Espera/Espera.Services/MobileHelper.cs | Espera/Espera.Services/MobileHelper.cs | using Espera.Core;
using Espera.Core.Management;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Threading.Tasks;
namespace Espera.Services
{
public static class MobileHelper
{
public static async Task<byte[]> ... | using Espera.Core;
using Espera.Core.Management;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Threading.Tasks;
namespace Espera.Services
{
public static class MobileHelper
{
public static async Task<byte[]> ... | mit | C# |
e9ef15d08ff451b1ce258cd25cf83ae72ef79e66 | Add Interface to JsonSchemaAbstractAttribute, #909 | RSuter/NJsonSchema,NJsonSchema/NJsonSchema | src/NJsonSchema/Annotations/JsonSchemaAbstractAttribute.cs | src/NJsonSchema/Annotations/JsonSchemaAbstractAttribute.cs | //-----------------------------------------------------------------------
// <copyright file="JsonSchemaDateAttribute.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico Suter... | //-----------------------------------------------------------------------
// <copyright file="JsonSchemaDateAttribute.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico Suter... | mit | C# |
71765a2a5e8f2e50097e2e6f84a5ec1c3cd8cc49 | Make concat add to the eof array | chartjunk/SubMapper | src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs | src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs | using SubMapper.EnumerableMapping;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SubMapper.EnumerableMapping.Adders
{
public static partial class PartialEnumerableMappingExtensions
{
public static PartialEnumerableMapping<TSubA, TSubB, IEnumerable<TSubIItem>, TSubJ, TSub... | using SubMapper.EnumerableMapping;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SubMapper.EnumerableMapping.Adders
{
public static partial class PartialEnumerableMappingExtensions
{
public static PartialEnumerableMapping<TSubA, TSubB, IEnumerable<TSubIItem>, TSubJ, TSub... | apache-2.0 | C# |
a005f4328f8e66af3d8e8bb65f5bf90a9033c1b9 | Fix Open/Close index test for ES 1.2.2 | geofeedia/elasticsearch-net,joehmchan/elasticsearch-net,jonyadamit/elasticsearch-net,azubanov/elasticsearch-net,DavidSSL/elasticsearch-net,tkirill/elasticsearch-net,KodrAus/elasticsearch-net,junlapong/elasticsearch-net,TheFireCookie/elasticsearch-net,robertlyson/elasticsearch-net,RossLieberman/NEST,joehmchan/elasticsea... | src/Tests/Nest.Tests.Integration/Indices/OpenCloseTests.cs | src/Tests/Nest.Tests.Integration/Indices/OpenCloseTests.cs | using Elasticsearch.Net;
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Indices
{
[TestFixture]
public class OpenCloseTests : IntegrationTests
{
[Test]
public void CloseAndOpenIndex()
{
var r = this._client.CloseIndex(ElasticsearchConfigur... | using Elasticsearch.Net;
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Indices
{
[TestFixture]
public class OpenCloseTests : IntegrationTests
{
[Test]
public void CloseAndOpenIndex()
{
var r = this._client.CloseIndex(ElasticsearchConfigur... | apache-2.0 | C# |
48d2c65f3bd0a0be885d974bfef09c29b019c219 | Add public user id loading. | mfilippov/vimeo-dot-net | src/VimeoDotNet.Tests/Settings/SettingsLoader.cs | src/VimeoDotNet.Tests/Settings/SettingsLoader.cs | using System;
using System.IO;
using Newtonsoft.Json;
namespace VimeoDotNet.Tests.Settings
{
internal static class SettingsLoader
{
private const string SettingsFile = "vimeoSettings.json";
public static VimeoApiTestSettings LoadSettings()
{
var fromEnv = GetSettingsFromEn... | using System;
using System.IO;
using Newtonsoft.Json;
namespace VimeoDotNet.Tests.Settings
{
internal static class SettingsLoader
{
private const string SettingsFile = "vimeoSettings.json";
public static VimeoApiTestSettings LoadSettings()
{
var fromEnv = GetSettingsFromEn... | mit | C# |
74072bdd310387fcdb45b3ad2f3a7b55c7ef8745 | バージョンを1.0.9.1にアップ | Koichi-Kobayashi/AipoReminder,Koichi-Kobayashi/AipoReminder,Koichi-Kobayashi/AipoReminder | AipoReminder/Properties/AssemblyInfo.cs | AipoReminder/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Aipoリマインダー")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Aipoリマインダー")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[ass... | apache-2.0 | C# |
126ebca4d9125c13c8eca8a2204e05bda8770532 | Update ZoneInfoCompiler help very slightly. | zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,jskeet/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,nodatime/nodatime,nodatime/nodatime | src/ZoneInfoCompiler/Tzdb/TzdbCompilerOptions.cs | src/ZoneInfoCompiler/Tzdb/TzdbCompilerOptions.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2012 Jon Skeet
//
// 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
//
// ht... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2012 Jon Skeet
//
// 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
//
// ht... | apache-2.0 | C# |
0809770483c754cc374703dc3f59555cbb40d782 | Use the new factory for Typesetting context | verybadcat/CSharpMath | CSharpMath.Ios/IosMath/IosMathLabels.cs | CSharpMath.Ios/IosMath/IosMathLabels.cs | using CSharpMath.Apple;
namespace CSharpMath.Ios
{
static class IosMathLabels
{
public static AppleLatexView LatexView(string latex)
{
var typesettingContext = AppleTypesetters.CreateLatinMath();
var view = new AppleLatexView(typesettingContext);
view.SetLatex(latex);
return view;
... | using CSharpMath.Apple;
namespace CSharpMath.Ios
{
static class IosMathLabels
{
public static AppleLatexView LatexView(string latex)
{
var typesettingContext = AppleTypesetters.CreateTypesettingContext()
var view = new AppleLatexView();
view.SetLatex(latex);
return view;
}
}
... | mit | C# |
8391c88c554043ce9d9855dbbcdbc14a747f5097 | update version | jefking/King.Mapper | King.Mapper/Properties/AssemblyInfo.cs | King.Mapper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Mapper")]
[assembly: AssemblyDescription("King Object Mapper")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("King.Mapper")]
[assembly: AssemblyCopyright("Copyright © Jef K... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Mapper")]
[assembly: AssemblyDescription("King Object Mapper")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("King.Mapper")]
[assembly: AssemblyCopyright("Copyright © Jef K... | mit | C# |
d95b8d85b61490636565363188efe4d3c641678e | Revert "Minor" | Teleopti/Stardust | Node/NodeTest.JobHandlers/TestJobCode.cs | Node/NodeTest.JobHandlers/TestJobCode.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Stardust.Node.ReturnObjects;
namespace NodeTest.JobHandlers
{
public class TestJobCode
{
public void DoTheThing(TestJobParams message,
CancellationTokenSource cancellationTokenSource,
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Stardust.Node.ReturnObjects;
namespace NodeTest.JobHandlers
{
public class TestJobCode
{
public void DoTheThing(TestJobParams message,
CancellationTokenSource cancellationTokenSource,
... | mit | C# |
f893c9b75766913648bbff4570c3c6b2f6c8e2b0 | Remove unused imports | MHeasell/Mappy,MHeasell/Mappy | Mappy/Models/ISelectionCommandModel.cs | Mappy/Models/ISelectionCommandModel.cs | namespace Mappy.Models
{
public interface ISelectionCommandModel
{
void SelectAtPoint(int x, int y);
void ClearSelection();
void DeleteSelection();
void TranslateSelection(int x, int y);
void FlushTranslation();
void DragDropFeature(string name... | namespace Mappy.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public interface ISelectionCommandModel
{
void SelectAtPoint(int x, int y);
void ClearSelection();
void DeleteSelection();
void Trans... | mit | C# |
4c09f423283e779f564ad7b7ac0d6ad2347d18bf | Update DeletingBlankRows.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/Articles/DeleteBlankRowsColumns/DeletingBlankRows.cs | Examples/CSharp/Articles/DeleteBlankRowsColumns/DeletingBlankRows.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.DeleteBlankRowsColumns
{
public class DeletingBlankRows
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Uti... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.DeleteBlankRowsColumns
{
public class DeletingBlankRows
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Ref... | mit | C# |
bb98a0d3fcb2b645b70042b1eb5458be6ef714f5 | Update string consts | drasticactions/Pureisuteshon-App,drasticactions/PlayStation-App,drasticactions/Pureisuteshon-App,drasticactions/PlayStation-App | PSX-Gui/Tools/Debug/StringConstants.cs | PSX-Gui/Tools/Debug/StringConstants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlayStation_Gui.Tools.Debug
{
public class StringConstants
{
public const string UserDatabase = "UserDatabase";
public const string StampDatabase = "StampDatabase";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlayStation_Gui.Tools.Debug
{
public class StringConstants
{
public const string UserDatabase = "UserDatabase";
}
}
| mit | C# |
94ba2b3d3e7e2a1859ae4ce9d5b8199f553c193e | Fix syntax error in Splunk SDK for C# template class. | splunk/splunk-extension-visualstudio | SplunkSDKCSharpProjectTemplate/Class1.cs | SplunkSDKCSharpProjectTemplate/Class1.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text;
using Splunk.Client;
// This is a template for new users of the Splunk SDK for Java.
// The code below connects to a Splunk instance, runs a search,
// and prints out the results in a crude form.
namespace $safeprojectnam... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text;
using Splunk.Client;
// This is a template for new users of the Splunk SDK for Java.
// The code below connects to a Splunk instance, runs a search,
// and prints out the results in a crude form.
namespace $safeprojectnam... | apache-2.0 | C# |
d62f69bf01cc798450c42b02ecffd69a70cc5315 | Remove AllowPartiallyTrustedCallersAttribute (APTCA) | malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime | src/NodaTime/AssemblyInfo.cs | src/NodaTime/AssemblyInfo.cs | // Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.Resources;
using System.Runtime.CompilerServices;
[assembly: CLSCompliant(true)]
[assembly: NeutralResourcesLanguage("en")]
[... | // Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.Resources;
using System.Runtime.CompilerServices;
// TODO: Check whether this is still a good idea
[assembly: System.Security.... | apache-2.0 | C# |
caff4c9b17a242e642df4b9beee887eb69c5c422 | Add `SCardShare.Undefined` | Archie-Yang/PcscDotNet | src/PcscDotNet/SCardShare.cs | src/PcscDotNet/SCardShare.cs | namespace PcscDotNet
{
/// <summary>
/// Indicates whether other applications may form connections to the card.
/// </summary>
public enum SCardShare
{
/// <summary>
/// This application demands direct control of the reader, so it is not available to other applications.
/// <... | namespace PcscDotNet
{
/// <summary>
/// Indicates whether other applications may form connections to the card.
/// </summary>
public enum SCardShare
{
/// <summary>
/// This application demands direct control of the reader, so it is not available to other applications.
/// <... | mit | C# |
8411b604b1b929b35943450fac950611f0b99270 | change encoding for deserializing responses to UTF-8 | solomobro/Instagram,solomobro/Instagram,solomobro/Instagram | src/Solomobro.Instagram.Tests/Serialization/UsersEndpointTests.cs | src/Solomobro.Instagram.Tests/Serialization/UsersEndpointTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Solomobro.Instagram.Models;
namespace Solomobro.Instagram.Tests.Serialization
{
[TestFixture]
class UsersEndpointTests
{
private static ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Solomobro.Instagram.Models;
namespace Solomobro.Instagram.Tests.Serialization
{
[TestFixture]
class UsersEndpointTests
{
private static ... | apache-2.0 | C# |
3bf78e5320c57583d4d26f8cd62fe2631868c080 | test commit | Barsonax/Pathfindax | Source/Code/Pathfindax.Duality/Components/PathfindaxTestComponent.cs | Source/Code/Pathfindax.Duality/Components/PathfindaxTestComponent.cs | using System;
using Duality;
using Duality.Drawing;
using Duality.Editor;
using Pathfindax.PathfindEngine;
using Pathfindax.Primitives;
namespace Pathfindax.Duality.Components
{
/// <summary>
/// Spams path requests as a example
/// </summary>
public class PathfindaxTestComponent : Component, ICmpUpdatable, ICmpR... | using System;
using Duality;
using Duality.Drawing;
using Duality.Editor;
using Pathfindax.PathfindEngine;
using Pathfindax.Primitives;
namespace Pathfindax.Duality.Components
{
public class PathfindaxTestComponent : Component, ICmpUpdatable, ICmpRenderer
{
public PositionF[] Path { get; private set; }
[Editor... | agpl-3.0 | C# |
8054737bd85ebd102d92aa322cfe53552a3f8a75 | add IsDefinition on IGenericParameterProvider | SiliconStudio/Mono.Cecil,xen2/cecil,kzu/cecil,fnajera-rac-de/cecil,mono/cecil,cgourlay/cecil,ttRevan/cecil,jbevain/cecil,joj/cecil,sailro/cecil,gluck/cecil,saynomoo/cecil,furesoft/cecil | Mono.Cecil/IGenericParameterProvider.cs | Mono.Cecil/IGenericParameterProvider.cs | //
// IGenericParameterProvider.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2010 Jb Evain
//
// 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 restr... | //
// IGenericParameterProvider.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2010 Jb Evain
//
// 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 restr... | mit | C# |
c49e9acc1be5c1c3b0a7ec02f1bd3c299e96894c | change IngestResult numeric types to decimal | precog/precog_dotnet_client | PrecogClient/Client/Dto/IngestResult.cs | PrecogClient/Client/Dto/IngestResult.cs | using System;
namespace Precog.Client.Dto
{
public class IngestResult
{
public bool Completed { get; private set; }
public decimal Total { get; set;}
public decimal Ingested { get; set;}
public decimal Failed { get; set;}
public decimal Skipped { get; set;}
public string[] Errors { get; set;}... | using System;
namespace Precog.Client.Dto
{
public class IngestResult
{
public bool Completed { get; private set; }
public float Total { get; set;}
public float Ingested { get; set;}
public float Failed { get; set;}
public float Skipped { get; set;}
public string[] Errors { get; set;}
publ... | mit | C# |
db323619361794854628725d51b4dcf617804d99 | Fix MoveNotOnMapException | EntelectChallenge/2015-SpaceInvaders-TestHarness,EntelectChallenge/2015-SpaceInvaders-TestHarness | SpaceInvaders/Factories/AlienFactory.cs | SpaceInvaders/Factories/AlienFactory.cs | using System.Collections.Generic;
using SpaceInvaders.Core;
using SpaceInvaders.Entities;
using SpaceInvaders.Exceptions;
namespace SpaceInvaders.Factories
{
public static class AlienFactory
{
static bool IsOutOfXBounds(this Map map, int x)
{
// cater for walls
return x... | using System.Collections.Generic;
using SpaceInvaders.Core;
using SpaceInvaders.Entities;
using SpaceInvaders.Exceptions;
namespace SpaceInvaders.Factories
{
public static class AlienFactory
{
public static List<Alien> Build(int playerNumber, int waveSize, int startX, int deltaX)
{
... | mit | C# |
80ab67e741cf4f6b2e156675076c0cf632425f6d | Add constructor with DbContextOptions parameter to ApplicationDbContext | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions op... | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public DbSet<DocumentationProject> Documentatio... | mit | C# |
0096b33b84a3778bbbc0046b2ecb7e95d1963c3e | Fix build error | exceptionless/Foundatio.Repositories | src/Foundatio.Repositories.Elasticsearch/Queries/Query.cs | src/Foundatio.Repositories.Elasticsearch/Queries/Query.cs | using System;
using System.Collections.Generic;
using Foundatio.Repositories.Elasticsearch.Queries.Builders;
using Foundatio.Repositories.Models;
using Foundatio.Repositories.Queries;
using Nest;
using IDateRangeQuery = Foundatio.Repositories.Elasticsearch.Queries.Builders.IDateRangeQuery;
namespace Foundatio.Reposit... | using System;
using System.Collections.Generic;
using Foundatio.Repositories.Elasticsearch.Queries.Builders;
using Foundatio.Repositories.Models;
using Foundatio.Repositories.Queries;
using Nest;
using IDateRangeQuery = Foundatio.Repositories.Elasticsearch.Queries.Builders.IDateRangeQuery;
namespace Foundatio.Reposit... | apache-2.0 | C# |
0504fbd23e7fd9794f239dbeac5cc6f96dbd565d | Clear notification on change in textbox text | dukemiller/twitch-tv-viewer | twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs | twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs | using GalaSoft.MvvmLight;
namespace twitch_tv_viewer.ViewModels.Components
{
internal class MessageDisplayViewModel : ViewModelBase
{
private string _message;
public string Message
{
get { return _message; }
set
{
_message = value;
... | using GalaSoft.MvvmLight;
namespace twitch_tv_viewer.ViewModels.Components
{
internal class MessageDisplayViewModel : ViewModelBase
{
private string _message;
public string Message
{
get { return _message; }
set
{
_message = value;
... | mit | C# |
8096173ad535c17ad977d3887320f207b43fa943 | Make ReportRun.SucceededAt nullable (#1824) | stripe/stripe-dotnet | src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs | src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs | namespace Stripe.Reporting
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ReportRun : StripeEntity<ReportRun>, IHasId, IHasObject
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("obj... | namespace Stripe.Reporting
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ReportRun : StripeEntity<ReportRun>, IHasId, IHasObject
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("obj... | apache-2.0 | C# |
b55c3dcce8ba8eb026bfb67e621b5f468b134363 | Update AzureNotificationHubs.cs | jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs | src/windows/AzureNotificationHubs/AzureNotificationHubs.cs | src/windows/AzureNotificationHubs/AzureNotificationHubs.cs | using System;
using Windows.Networking.PushNotifications;
using Microsoft.WindowsAzure.Messaging;
using Windows.Foundation;
using System.Threading.Tasks;
namespace AzureNotificationHubs
{
public sealed class AzureNotificationHubs
{
private static TaskCompletionSource<string> completionSource = new Tas... | using System;
using Windows.Networking.PushNotifications;
using Microsoft.WindowsAzure.Messaging;
using Windows.Foundation;
using System.Threading.Tasks;
namespace AzureNotificationHubs
{
public sealed class AzureNotificationHubs
{
private static TaskCompletionSource<string> completionSource = new Tas... | mit | C# |
a419c9bd9a6d8f0b3f0125fb6ae2ab639dc2a5ac | Add extra code. | sgetaz/Cosmos,trivalik/Cosmos,MyvarHD/Cosmos,kant2002/Cosmos-1,fanoI/Cosmos,zarlo/Cosmos,zdimension/Cosmos,MyvarHD/Cosmos,Cyber4/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,sgetaz/Cosmos,zarlo/Cosmos,MyvarHD/Cosmos,MetSystem/Cosmos,sgetaz/Cosmos,trivalik/Cosmos,Cyber4/Cosmos,MetSystem/Cosmos,zdimension/Cosmos,Cyber4/Cosmos,jp2... | Users/Sentinel/SentinelKernel/Kernel.cs | Users/Sentinel/SentinelKernel/Kernel.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using SentinelKernel.System.FileSystem.VFS;
using Sys = Cosmos.System;
namespace SentinelKernel
{
public class Kernel : Sys.Kernel
{
private VFSBase myVFS;
protected override void BeforeRun()
{
... | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using SentinelKernel.System.FileSystem.VFS;
using Sys = Cosmos.System;
namespace SentinelKernel
{
public class Kernel : Sys.Kernel
{
private VFSBase myVFS;
protected override void BeforeRun()
{
... | bsd-3-clause | C# |
7478f816d7da0a581cf63d9885e59f1fc35f5af0 | Fix failing integration test | AnthonySteele/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/StatusTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/StatusTests.cs | using System;
using System.Xml.Serialization;
using NUnit.Framework;
using SevenDigital.Api.Schema;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests
{
[XmlRoot("response")]
public class RawStatusResponse
{
[XmlElement("serviceStatus")]
public Status ServiceStatus { get; set; }
... | using System;
using System.Xml.Serialization;
using NUnit.Framework;
using SevenDigital.Api.Schema;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests
{
[XmlRoot("response")]
public class RawStatusResponse
{
public Status Status { get; set; }
}
[TestFixture]
public class Statu... | mit | C# |
1598ee92dddbd5463671f7c2cbc3359822411ba1 | Fix report name | danielwertheim/mynatsclient,danielwertheim/mynatsclient | src/SampleModel/TimedInfo.cs | src/SampleModel/TimedInfo.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace SampleModel
{
public static class TimedInfo
{
public static void Report(string who, List<double> timings, int batchSize, int bodySize)
{
using (var file = File.CreateText($@"D:\Temp\rep-{w... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace SampleModel
{
public static class TimedInfo
{
public static void Report(string who, List<double> timings, int batchSize, int bodySize)
{
using (var file = File.CreateText($@"D:\Temp\rep-{w... | mit | C# |
c2809add4c3a227c04509ffb8fc721c9e8d5bf76 | Correct default serialization strategy to `Default` | jacobdufault/fullserializer,lazlo-bonin/fullserializer,jagt/fullserializer,jagt/fullserializer,karlgluck/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,jagt/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,shadowmint/fullserializer,darress/fullserializer,jacob... | Source/fsConfig.cs | Source/fsConfig.cs | using System;
using UnityEngine;
namespace FullSerializer {
/// <summary>
/// Enables some top-level customization of Full Serializer.
/// </summary>
public static class fsConfig {
/// <summary>
/// The attributes that will force a field or property to be serialized.
/// </summ... | using System;
using UnityEngine;
namespace FullSerializer {
/// <summary>
/// Enables some top-level customization of Full Serializer.
/// </summary>
public static class fsConfig {
/// <summary>
/// The attributes that will force a field or property to be serialized.
/// </summ... | mit | C# |
766d5f18ca335b2ef33bc1ab189f146e9152e0f0 | 排除与makai分支的不同特性。 | herix001/ElectronicObserver,CNA-Bld/ElectronicObserver,tsanie/ElectronicObserver,Arathi/ElectronicObserver,kanonmelodis/ElectronicObserver | ElectronicObserver/Properties/AssemblyInfo.cs | ElectronicObserver/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle( "ElectronicObserver" )]
[assembly: AssemblyDescription( "" )]
[assembly: AssemblyConfiguratio... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle( "ElectronicObserver" )]
[assembly: AssemblyDescription( "" )]
[assembly: AssemblyConfiguratio... | mit | C# |
f0a4137ee89c0ec35000d16d58f62c1bbd459c66 | Fix agreement view | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Views/EmployerAgreement/View.cshtml | src/SFA.DAS.EAS.Web/Views/EmployerAgreement/View.cshtml | @using SFA.DAS.EAS.Domain
@using SFA.DAS.EAS.Domain.Models.EmployerAgreement
@using SFA.DAS.EAS.Web;
@using SFA.DAS.EAS.Web.Extensions
@model OrchestratorResponse<SFA.DAS.EAS.Web.ViewModels.EmployerAgreementViewModel>
@{ViewBag.Title = "Employer agreement";}
<div class="grid-row">
<div class="column... | @using SFA.DAS.EAS.Domain
@using SFA.DAS.EAS.Domain.Models.EmployerAgreement
@using SFA.DAS.EAS.Web;
@using SFA.DAS.EAS.Web.Extensions
@model OrchestratorResponse<SFA.DAS.EAS.Web.ViewModels.EmployerAgreementViewModel>
@{ViewBag.Title = "Employer agreement";}
<div class="grid-row">
<div class="column... | mit | C# |
7d92d12db6d8bf2adb6f08b794c9adfac1df5066 | add cmd arg key on param | ufcpp/UnityTools | CopyDllsAfterBuildLocalTools/CopyDllsAfterBuildLocalTools/Program.cs | CopyDllsAfterBuildLocalTools/CopyDllsAfterBuildLocalTools/Program.cs | using Cocona;
using System;
using System.IO;
namespace CopyDllsAfterBuild
{
partial class Program
{
private static readonly ILogger logger = Logger.Instance;
static void Main(string[] args) => CoconaLiteApp.Run<Program>(args);
/// <summary>
/// Run CopyDlls operation.
... | using Cocona;
using System;
using System.IO;
namespace CopyDllsAfterBuild
{
partial class Program
{
private static readonly ILogger logger = Logger.Instance;
static void Main(string[] args) => CoconaLiteApp.Run<Program>(args);
/// <summary>
/// Run CopyDlls operation.
... | mit | C# |
963ff6c4cc1ffc0cb3748e6bb688470e3bba9d54 | Improve argument exception message of scrobble post. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Post/Scrobbles/TraktScrobblePost.cs | Source/Lib/TraktApiSharp/Objects/Post/Scrobbles/TraktScrobblePost.cs | namespace TraktApiSharp.Objects.Post.Scrobbles
{
using Newtonsoft.Json;
using System;
public abstract class TraktScrobblePost : IValidatable
{
[JsonProperty(PropertyName = "progress")]
public float Progress { get; set; }
[JsonProperty(PropertyName = "app_version")]
pub... | namespace TraktApiSharp.Objects.Post.Scrobbles
{
using Newtonsoft.Json;
using System;
public abstract class TraktScrobblePost : IValidatable
{
[JsonProperty(PropertyName = "progress")]
public float Progress { get; set; }
[JsonProperty(PropertyName = "app_version")]
pub... | mit | C# |
bc7efa579898c3294d64ffb778bde93a2ea9a390 | Update SaveInExcel2007xlsbFormat.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.... | Examples/CSharp/Files/Handling/SaveInExcel2007xlsbFormat.cs | Examples/CSharp/Files/Handling/SaveInExcel2007xlsbFormat.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Handling
{
public class SaveInExcel2007xlsbFormat
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Handling
{
public class SaveInExcel2007xlsbFormat
{
public static void Main(string[] args)
{
//Save in Excel2007 xlsb format
workbook.Save(dataDir + "book1.out.xlsb", SaveFormat.Xlsb);
... | mit | C# |
a1a04a934b85f822980d10abe68896b079daf7ca | Update AssemblyInfo.cs | ms-iot/onedrive-connector,mwmckee/onedrive-connector | OnedriveRESTWrapper/OnedriveRESTWrapper/Properties/AssemblyInfo.cs | OnedriveRESTWrapper/OnedriveRESTWrapper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("On... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("On... | mit | C# |
b29814ddcd383a93b877cbe0b457358f26d0c8d6 | Update TestDbAsyncEnumerable.cs | dlidstrom/MinaGlosor,dlidstrom/MinaGlosor,dlidstrom/MinaGlosor | MinaGlosor.Test/Api/Infrastructure/TestDbAsyncEnumerable.cs | MinaGlosor.Test/Api/Infrastructure/TestDbAsyncEnumerable.cs | using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Linq.Expressions;
namespace MinaGlosor.Test.Api.Infrastructure
{
internal class TestDbAsyncEnumerable<T> : EnumerableQuery<T>, IDbAsyncEnumerable<T>, IQueryable<T>
{
public TestDbAsyncEnu... | using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Linq.Expressions;
namespace MinaGlosor.Test.Api.Infrastructure
{
internal class TestDbAsyncEnumerable<T> : EnumerableQuery<T>, IDbAsyncEnumerable<T>
{
public TestDbAsyncEnumerable(IEnumer... | mit | C# |
e3d61e658ad186119c683cad5f64e06614712f55 | Use default values in telemetry records if not available. (#2303) | Microsoft/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent | src/Agent.Plugins/PipelineArtifact/Telemetry/PipelineTelemetryRecord.cs | src/Agent.Plugins/PipelineArtifact/Telemetry/PipelineTelemetryRecord.cs | using System;
using Agent.Sdk;
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.VisualStudio.Services.Content.Common.Telemetry;
using Microsoft.VisualStudio.Services.BlobStore.Common.Telemetry;
using Microsoft.VisualStudio.Services.Common;
namespace Agent.Plugins.PipelineArtifact.Telemetry
{
... | using System;
using Agent.Sdk;
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.VisualStudio.Services.Content.Common.Telemetry;
using Microsoft.VisualStudio.Services.BlobStore.Common.Telemetry;
namespace Agent.Plugins.PipelineArtifact.Telemetry
{
/// <summary>
/// Generic telemetry record... | mit | C# |
4dad6823e381d0ca5a7512817af8cd10f2b8c97f | fix wrap with clause split | trenoncourt/AutoQueryable | src/AutoQueryable/Core/Clauses/ClauseHandlers/DefaultWrapWithClauseHandler.cs | src/AutoQueryable/Core/Clauses/ClauseHandlers/DefaultWrapWithClauseHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoQueryable.Core.Models;
namespace AutoQueryable.Core.Clauses.ClauseHandlers
{
public class DefaultWrapWithClauseHandler : IWrapWithClauseHandler
{
public IEnumerable<string> Handle(string wrapWithQueryString... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoQueryable.Core.Models;
namespace AutoQueryable.Core.Clauses.ClauseHandlers
{
public class DefaultWrapWithClauseHandler : IWrapWithClauseHandler
{
public IEnumerable<string> Handle(string wrapWithQueryString... | mit | C# |
c4ff7f30dd537005c787c65c11c378b249cb769b | Update src/EditorFeatures/Core/EditorConfigSettings/Extensions/SolutionExtensions.cs | jasonmalinowski/roslyn,sharwell/roslyn,bartdesmet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,sharwell/roslyn,wvdd007/roslyn,dotnet/roslyn,wvdd007/roslyn,KevinRansom/roslyn,mavasani/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,dotnet/roslyn,shyamnamboodiripad... | src/EditorFeatures/Core/EditorConfigSettings/Extensions/SolutionExtensions.cs | src/EditorFeatures/Core/EditorConfigSettings/Extensions/SolutionExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis.PooledObjects;... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis.PooledObjects;... | mit | C# |
7d7b3336b8d3a9e389c1221cce9059a8b864f95b | Make PrintPreviewPage a class | DotNetKit/DotNetKit.Wpf.Printing | DotNetKit.Wpf.Printing.Demo/Printing/PrintPreviewPage.cs | DotNetKit.Wpf.Printing.Demo/Printing/PrintPreviewPage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace DotNetKit.Wpf.Printing.Demo.Printing
{
public sealed class PrintPreviewPage
{
public object Content { get; }
public Size PageSize { get; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace DotNetKit.Wpf.Printing.Demo.Printing
{
public struct PrintPreviewPage
{
public object Content { get; }
public Size PageSize { get; }
publ... | mit | C# |
a13522deaca0ca9bdbf6531c59207f253be1e230 | Update ObjectPostAndDelete.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/NakedObjects.Rest.Test.EndToEnd/ObjectPostAndDelete.cs | Test/NakedObjects.Rest.Test.EndToEnd/ObjectPostAndDelete.cs | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | apache-2.0 | C# |
0c64d81da903e62f5607d532e42adb2767ac3a35 | Add default request header to Payments API httpClient to look for version 2. Since removing the SecureHttpClient from PaymentEventsApiClient this header was lost. This only matters for data locks as that is the only controller action split by api version at present | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.CommitmentPayments.WebJob/DependencyResolution/PaymentsRegistry.cs | src/SFA.DAS.CommitmentPayments.WebJob/DependencyResolution/PaymentsRegistry.cs | using System.Net.Http;
using SFA.DAS.CommitmentPayments.WebJob.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
using SFA.DAS.NLog.Logger.Web.MessageHandlers;
using SFA.DAS.Provider.Events.Api.Client;
using SFA.DAS.Provider.Events.Api.Client.Configuration;
using StructureMap;
namespace SFA.DAS.C... | using System.Net.Http;
using SFA.DAS.CommitmentPayments.WebJob.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
using SFA.DAS.NLog.Logger.Web.MessageHandlers;
using SFA.DAS.Provider.Events.Api.Client;
using SFA.DAS.Provider.Events.Api.Client.Configuration;
using StructureMap;
namespace SFA.DAS.C... | mit | C# |
43e68480eb922e7e9b099abbc79342239f81b56b | tidy up formatting | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal/Application/Services/Commitments/ICommitmentsService.cs | src/SFA.DAS.EAS.Portal/Application/Services/Commitments/ICommitmentsService.cs | using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.Commitments.Api.Types.Commitment;
namespace SFA.DAS.EAS.Portal.Application.Services.Commitments
{
public interface ICommitmentsService
{
Task<CommitmentView> GetProviderCommitment(
long providerId,
long commitme... | using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.Commitments.Api.Types.Commitment;
namespace SFA.DAS.EAS.Portal.Application.Services.Commitments
{
public interface ICommitmentsService
{
Task<CommitmentView> GetProviderCommitment(long providerId, long commitmentId,
Cancell... | mit | C# |
ea95640eb7ee0dfcd07400d089e1c90be5667519 | Remove leftover using | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/Crypto/StringCipherTests.cs | WalletWasabi.Tests/UnitTests/Crypto/StringCipherTests.cs | using NBitcoin;
using System;
using System.Security.Cryptography;
using System.Text;
using WalletWasabi.Crypto;
using WalletWasabi.Logging;
using WalletWasabi.Tests.XunitConfiguration;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Crypto
{
public class StringCipherTests
{
[Fact]
public void CipherTests()
... | using NBitcoin;
using System;
using System.Security.Cryptography;
using System.Text;
using WalletWasabi.Crypto;
using WalletWasabi.Logging;
using WalletWasabi.Tests.XunitConfiguration;
using Xunit;
using static WalletWasabi.Crypto.SchnorrBlinding;
namespace WalletWasabi.Tests.UnitTests.Crypto
{
public class StringCip... | mit | C# |
eb7778807fc93c75b1527953251c9d00ed3d43c4 | Rename value to statusText for clarity | unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl... | PartPreviewWindow/View3D/SliceProgressReporter.cs | PartPreviewWindow/View3D/SliceProgressReporter.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# |
999f05941f2ebe1cb9e2c1171d11aab8be0d4640 | Make to correct work IsMissing property for numeric types. | daniellor/My-FyiReporting,maratoss/My-FyiReporting,majorsilence/My-FyiReporting,majorsilence/My-FyiReporting,majorsilence/My-FyiReporting,chripf/My-FyiReporting,daniellor/My-FyiReporting,daniellor/My-FyiReporting,daniellor/My-FyiReporting,chripf/My-FyiReporting,majorsilence/My-FyiReporting,daniellor/My-FyiReporting,mar... | RdlEngine/Functions/FunctionFieldIsMissing.cs | RdlEngine/Functions/FunctionFieldIsMissing.cs | /* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 Peter Gill <peter@majorsilence.com>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (the "License");
you may... | /* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 Peter Gill <peter@majorsilence.com>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (the "License");
you may... | apache-2.0 | C# |
19690da501581e7b892c76c8c3d31893aa40921a | Add extra tests and missing TestClass attribute. | dlemstra/Magick.NET,dlemstra/Magick.NET | tests/Magick.NET.SystemDrawing.Tests/IMagickImageFactoryExtensionsTests/TheCreateMethod.cs | tests/Magick.NET.SystemDrawing.Tests/IMagickImageFactoryExtensionsTests/TheCreateMethod.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
7a52baf18f881baf10a330f7927210bd0e83be3f | Fix #2054 - make TagHelperResolutionResult internal | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.CodeAnalysis.Razor.Workspaces/TagHelperResolutionResult.cs | src/Microsoft.CodeAnalysis.Razor.Workspaces/TagHelperResolutionResult.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 System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Razor.Language;
namespace Microsoft.CodeAnalysis.Razor
{
internal seale... | // 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 System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Razor.Language;
namespace Microsoft.CodeAnalysis.Razor
{
public sealed ... | apache-2.0 | C# |
0ba29fec6993cc1892d639a67a2c81c390954d89 | Make comment say that 0x001 is RTLD_LOCAL + RTLD_LAZY | peppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framewor... | osu.Framework/Platform/Linux/Native/Library.cs | osu.Framework/Platform/Linux/Native/Library.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | mit | C# |
11f7d8e8a691221d84d9751332743f466bf64322 | Improve Linux.Native.Library.Load documentation. Add space after if. | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smo... | osu.Framework/Platform/Linux/Native/Library.cs | osu.Framework/Platform/Linux/Native/Library.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
... | mit | C# |
2fc6d68fbbfc66e8b8480d9f1eda7ed5486282c8 | Add products to Controllers | NadalinVini/Interdisciplinar.net,NadalinVini/Interdisciplinar.net | TestC/TestC/Controllers/ProductsController.cs | TestC/TestC/Controllers/ProductsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestC.Controllers
{
public class ProductsController : Controller
{
private static IList<Product> products = new List<Product>()
{
new Product() { ProductId = 1, Name... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestC.Controllers
{
public class ProductsController : Controller
{
// GET: Product
public ActionResult Index()
{
return View(new List<Product>());
}
... | apache-2.0 | C# |
9b3570a008567f922c4e261c13a601f1c034c4bb | Make IAmbientLightSensor public | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/Libraries/Treehopper.Libraries/Sensors/Optical/IAmbientLightSensor.cs | NET/Libraries/Treehopper.Libraries/Sensors/Optical/IAmbientLightSensor.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Treehopper.Libraries.Sensors.Optical
{
/// <summary>
/// Ambient light sensor interface
/// </summary>
public interface IAmbientLightSensor : IPollable
{
/// <summary>
/// Gets the ambient light sensor rea... | using System;
using System.Collections.Generic;
using System.Text;
namespace Treehopper.Libraries.Sensors.Optical
{
/// <summary>
/// Ambient light sensor interface
/// </summary>
interface IAmbientLightSensor : IPollable
{
/// <summary>
/// Gets the ambient light sensor reading, i... | mit | C# |
89fa6869af21401c9df0cb1d582e597fe9ea71be | Remove dead code | liemqv/EventFlow,AntoineGa/EventFlow,rasmus/EventFlow | Source/EventFlow/Configuration/Bootstraps/DefinitionServicesInitilizer.cs | Source/EventFlow/Configuration/Bootstraps/DefinitionServicesInitilizer.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | mit | C# |
8ae3d0e26ba1f5a70a3001b8782bd4749f24ddc9 | Bump version to 3.0.0 | Coding-Enthusiast/Watch-Only-Bitcoin-Wallet | WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs | WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
a3b95c3ccbdfdca117a13e2d0f5c81ad0643f055 | Correct AuditLog<TId> classMapping | peopleware/net-ppwcode-vernacular-nhibernate | src/PPWCode.Vernacular.NHibernate.I/MappingByCode/AuditLogMapping.cs | src/PPWCode.Vernacular.NHibernate.I/MappingByCode/AuditLogMapping.cs | // Copyright 2014 by PeopleWare n.v..
//
// 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 ... | // Copyright 2014 by PeopleWare n.v..
//
// 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 ... | apache-2.0 | C# |
382aefba54c32d0f321e2b979e6322b96461ab1a | Update SettingFontSize.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Formatting/DealingWithFontSettings/SettingFontSize.cs | Examples/CSharp/Formatting/DealingWithFontSettings/SettingFontSize.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings
{
public class SettingFontSize
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cell... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings
{
public class SettingFontSize
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | mit | C# |
253d112ac379f59aab213d7f3291c12f424f02b6 | Fix typo for HMAC key states | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/HmacKeyStates.cs | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/HmacKeyStates.cs | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | apache-2.0 | C# |
a710848d100b37555567ae16bb13161d1fa17dc3 | Redefine `PROPVARIANT` | stakx/stakx.WIC.Interop,stakx/stakx.WIC | stakx.WIC.Interop/Structures/PROPVARIANT.cs | stakx.WIC.Interop/Structures/PROPVARIANT.cs | using System;
using System.Runtime.InteropServices;
namespace stakx.WIC.Interop
{
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct PROPVARIANT
{
public VARTYPE Type;
public PROPVARIANT_Value Value;
}
[StructLayout(LayoutKind.Explicit)]
public struct PROPVARIANT_Va... | using System;
using System.Runtime.InteropServices;
namespace stakx.WIC.Interop
{
[StructLayout(LayoutKind.Explicit)]
public struct PROPVARIANT
{
[FieldOffset(0)]
public VARTYPE vt;
[FieldOffset(8)]
public byte bVal;
[FieldOffset(8)]
public short iVal;
... | mit | C# |
7fcde71654c514f786f77ebe96c6c443c38e327a | fix milliseconds | ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7 | CSharp8/SwitchStateSample/SwitchStateSample/LightStatus.cs | CSharp8/SwitchStateSample/SwitchStateSample/LightStatus.cs | namespace SwitchStateSample
{
public readonly struct LightStatus
{
public LightStatus(LightState current, LightState previous, int milliSeconds, int blinkCount) =>
(Current, Previous, Milliseconds, FlashCount) = (current, previous, milliSeconds, blinkCount);
public LightStatus(Ligh... | namespace SwitchStateSample
{
public readonly struct LightStatus
{
public LightStatus(LightState current, LightState previous, int seconds, int blinkCount) =>
(Current, Previous, Milliseconds, FlashCount) = (current, previous, seconds, blinkCount);
public LightStatus(LightState cur... | mit | C# |
b660138b6b69192bab80d2e965621ed9b6df23dd | Update ShowPointerPositionBehavior.cs | XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors | src/Avalonia.Xaml.Interactions/Core/ShowPointerPositionBehavior.cs | src/Avalonia.Xaml.Interactions/Core/ShowPointerPositionBehavior.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia;
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
/// <summary>
/// A behavior t... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia;
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
public sealed class ShowPointerPos... | mit | C# |
6ebb9ca491de385423e7c1d36cfa66482fda484a | Fix error when unserializing json object | 5andr0/PogoLocationFeeder,genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder | PogoLocationFeeder/Helper/JsonSerializerSettingsFactory.cs | PogoLocationFeeder/Helper/JsonSerializerSettingsFactory.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace PogoLocationFeeder.Helper
{
public class JsonSerializerSettingsCultureI... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace PogoLocationFeeder.Helper
{
public class JsonSerializerSettingsCultureInvariant : JsonSerializerSettings
{
public JsonSeriali... | agpl-3.0 | C# |
77a2df173d5707878144aa547f87898ed6a63546 | Make build with CSLA 4. bugid: 748 | ronnymgm/csla-light,rockfordlhotka/csla,BrettJaner/csla,jonnybee/csla,BrettJaner/csla,rockfordlhotka/csla,JasonBock/csla,BrettJaner/csla,JasonBock/csla,jonnybee/csla,JasonBock/csla,ronnymgm/csla-light,ronnymgm/csla-light,jonnybee/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla | Samples/CslaNet/cs/Permissions/Permissions/Window1.xaml.cs | Samples/CslaNet/cs/Permissions/Permissions/Window1.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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;
using System.Windo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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;
using System.Windo... | mit | C# |
1c708f581b1e3f09fd1a17d6953d44aabbe6d003 | Improve EntityLogMessageFactory | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Implementation/Common/EntityLogMessageFactory.cs | CalDavSynchronizer/Implementation/Common/EntityLogMessageFactory.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 | C# |
aac044abd3e309e894cfe0747533462a92ee9380 | rename namespace. | Cologler/jasily.cologler | Jasily.Desktop/Windows/Interactivity/Behaviors/NonSelectBehavior.cs | Jasily.Desktop/Windows/Interactivity/Behaviors/NonSelectBehavior.cs | using System.Windows.Controls.Primitives;
using System.Windows.Interactivity;
namespace Jasily.Windows.Interactivity.Behaviors
{
public class NonSelectBehavior : Behavior<Selector>
{
#region Overrides of Behavior
/// <summary>
/// 在行为附加到 AssociatedObject 后调用。
/// </... | using System.Windows.Controls.Primitives;
using System.Windows.Interactivity;
namespace Jasily.Desktop.Windows.Interactivity.Behaviors
{
public class NonSelectBehavior : Behavior<Selector>
{
#region Overrides of Behavior
/// <summary>
/// 在行为附加到 AssociatedObject 后调用。
... | mit | C# |
abb93ab72d52be1b7bb4856a7516d6981544c6e8 | Update ProtectRowWorksheet.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/As... | Examples/CSharp/Worksheets/Security/Protecting/ProtectRowWorksheet.cs | Examples/CSharp/Worksheets/Security/Protecting/ProtectRowWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Protecting
{
public class ProtectRowWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cell... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Protecting
{
public class ProtectRowWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | mit | C# |
8c93fe155955a8d547fc75529d11b315d6d663c2 | Add explenation for suppression | KodeFoxx/Numaris | Examples/Kf.Numaris.Examples.ConsoleApplication/GlobalSuppressions.cs | Examples/Kf.Numaris.Examples.ConsoleApplication/GlobalSuppressions.cs | using System.Diagnostics.CodeAnalysis;
// Suppress this warning because it is used by "scenario" type of string parameters in theory test methods
[assembly: SuppressMessage("Usage", "xUnit1026:Theory methods should use all of their parameters")] | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Us... | mit | C# |
e582d9d5a8720928e03a792a9b92dc91fbd54baf | Remove unused using statements | ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/Components/SpinnerPiece.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/Components/SpinnerPiece.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.Shapes;
using osu.Game.Graphics;
using osu.Game.Rulesets.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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.G... | mit | C# |
8527cd1dc979b31df5a3c9ee6610de14f591833b | Update ZoomHelper.cs | PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,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;
namespace Avalonia.Controls.PanAndZoom
{
/// <summary>
/// Zoom helper methods.
/// </summary>
public static class ZoomHelper
{
/// <summary>
/// Calculate scrollable properties.
/// </summary>
/// <param name="bounds">The view bounds.</param>
... | mit | C# |
051f80be9012b24b34e7c46f06ad44e8867069c5 | Fix docs typo | grokys/Perspex,Perspex/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,grokys/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkorit... | src/Avalonia.Diagnostics/DevToolsExtensions.cs | src/Avalonia.Diagnostics/DevToolsExtensions.cs | using Avalonia.Controls;
using Avalonia.Diagnostics;
using Avalonia.Input;
namespace Avalonia
{
/// <summary>
/// Extension methods for attaching DevTools..
/// </summary>
public static class DevToolsExtensions
{
/// <summary>
/// Attaches DevTools to a window, to be opened with th... | using Avalonia.Controls;
using Avalonia.Diagnostics;
using Avalonia.Input;
namespace Avalonia
{
/// <summary>
/// Extension methods for attaching DevTools..
/// </summary>
public static class DevToolsExtensions
{
/// <summary>
/// Attaches DevTools to a window, to be opened with th... | mit | C# |
23cb3deb4ce4ed5ccbdfdaca7b283205ee3a9621 | Update ISelection.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/ViewModels/Tools/Core/ISelection.cs | src/Draw2D/ViewModels/Tools/Core/ISelection.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.
namespace Draw2D.ViewModels.Tools
{
public interface ISelection : IDirty
{
void Cut(IToolContext context);
void Copy(IToolContext context)... | // 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.
namespace Draw2D.ViewModels.Tools
{
public interface ISelection : IDirty
{
void Cut(IToolContext context);
void Copy(IToolContext context)... | mit | C# |
553bf26425325ca13347874ba5ae5d4dfe595aa4 | Make AudioObject poolable. | dimixar/audio-controller-unity | AudioController/Assets/Source/AudioObject.cs | AudioController/Assets/Source/AudioObject.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class AudioObject : MonoBehaviour, IPoolable
{
public System.Action<AudioObject> OnFinishedPlaying;
#region private fields
private string _id;
private AudioClip... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class AudioObject : MonoBehaviour
{
public System.Action<AudioObject> OnFinishedPlaying;
#region private fields
private string _id;
private AudioClip _clip;
private Audio... | mit | C# |
ad88839b1434e351bfd1b768c5d39e1a831a58d1 | Exclude never used method | evincarofautumn/referencesource,stormleoxia/referencesource,mono/referencesource,ludovic-henry/referencesource,directhex/referencesource,esdrubal/referencesource | mscorlib/system/runtime/compilerservices/TypeForwardedToAttribute.cs | mscorlib/system/runtime/compilerservices/TypeForwardedToAttribute.cs | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
using System.Reflection;
namespace System.Runtime.CompilerServices
{
using System;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class TypeForwardedToA... | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
using System.Reflection;
namespace System.Runtime.CompilerServices
{
using System;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class TypeForwardedToA... | mit | C# |
c9118304249614cff634599d28aa4125b26aca5b | Fix tests | JetBrains/teamcity-runas-plugin,JetBrains/teamcity-runas-plugin,JetBrains/teamcity-runas,JetBrains/teamcity-runas,JetBrains/teamcity-runas,JetBrains/teamcity-runas | runAs-tool-win32/JetBrains.runAs.IntegrationTests/Dsl/TestContext.cs | runAs-tool-win32/JetBrains.runAs.IntegrationTests/Dsl/TestContext.cs | namespace JetBrains.runAs.IntegrationTests.Dsl
{
using System;
using System.IO;
internal class TestContext
{
public TestContext()
{
SandboxPath = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(new Uri(GetType().Assembly.CodeBase).LocalPath), GetSandboxName()));
CurrentDirectory = SandboxPath;
Co... | namespace JetBrains.runAs.IntegrationTests.Dsl
{
using System;
using System.IO;
internal class TestContext
{
public TestContext()
{
SandboxPath = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, GetSandboxName()));
CurrentDirectory = SandboxPath;
CommandLineSetup = new CommandL... | apache-2.0 | C# |
7b40a3107461c1cfed9c8678f95be0633002d385 | Set LobbyJoin "one" field to default 1 | HelloKitty/Booma.Proxy | src/Booma.Packet.Game/Block/Payloads/Server/BlockLobbyJoinEventPayload.cs | src/Booma.Packet.Game/Block/Payloads/Server/BlockLobbyJoinEventPayload.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma
{
/// <summary>
/// Packet sent to the client telling it to join a lobby.
/// </summary>
[WireDataContract]
[GameServerPacketPayload(GameNetworkOperat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma
{
/// <summary>
/// Packet sent to the client telling it to join a lobby.
/// </summary>
[WireDataContract]
[GameServerPacketPayload(GameNetworkOperat... | agpl-3.0 | C# |
d9bf408bf65d3ab95c92493ef3ae17dbb1cce921 | Fix #437 (wrong order or parameters in doc comments) | baks/code-cracker,GuilhermeSa/code-cracker,modulexcite/code-cracker,adraut/code-cracker,robsonalves/code-cracker,kindermannhubert/code-cracker,carloscds/code-cracker,jwooley/code-cracker,AlbertoMonteiro/code-cracker,eriawan/code-cracker,code-cracker/code-cracker,thorgeirk11/code-cracker,code-cracker/code-cracker,Elemar... | src/CSharp/CodeCracker/Maintainability/XmlDocumentationCodeFixProvider.cs | src/CSharp/CodeCracker/Maintainability/XmlDocumentationCodeFixProvider.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CodeCracker.CSharp.Maintainability
{
... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CodeCracker.CSharp.Maintainability
{
... | apache-2.0 | C# |
385486a2b5ba9da0ce09f6a7216148c907cb9340 | simplify ConditionalValue | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate | src/Abp/Data/ConditionalValue.cs | src/Abp/Data/ConditionalValue.cs | namespace Abp.Data
{
/// Reference from https://github.com/microsoft/service-fabric/blob/c326b801c6c709f36684700edfe7bb88ceec9d7f/src/prod/src/managed/Microsoft.ServiceFabric.Data.Interfaces/ConditionalResult.cs
/// <summary>
/// Result class that may or may not return a value.
/// </summary>
/// <... | namespace Abp.Data
{
/// Reference from https://github.com/microsoft/service-fabric/blob/c326b801c6c709f36684700edfe7bb88ceec9d7f/src/prod/src/managed/Microsoft.ServiceFabric.Data.Interfaces/ConditionalResult.cs
/// <summary>
/// Result class that may or may not return a value.
/// </summary>
/// <... | mit | C# |
6ca16a7fba23ce3551729bbad1a521591a1d481e | Remove BatchResult.ResponseTime | carbon/Amazon | src/Amazon.DynamoDb/BatchResult.cs | src/Amazon.DynamoDb/BatchResult.cs | namespace Amazon.DynamoDb;
public sealed class BatchResult
{
public int BatchCount { get; set; }
public int ItemCount { get; set; }
public int ErrorCount { get; set; }
public int RequestCount { get; set; }
}
| namespace Amazon.DynamoDb;
public sealed class BatchResult
{
public TimeSpan ResponseTime { get; set; }
public int BatchCount { get; set; }
public int ItemCount { get; set; }
public int ErrorCount { get; set; }
public int RequestCount { get; set; }
}
| mit | C# |
3e63f3c21fa4f27988a1cb4f3a4d57f2bf852412 | Split tests. | JohanLarsson/Gu.Roslyn.Asserts | Gu.Roslyn.Asserts.Tests/SolutionFileTests.cs | Gu.Roslyn.Asserts.Tests/SolutionFileTests.cs | namespace Gu.Roslyn.Asserts.Tests
{
using NUnit.Framework;
public class SolutionFileTests
{
[Test]
public void TryFind()
{
Assert.AreEqual(true, SolutionFile.TryFind("Gu.Roslyn.Asserts.sln", out var sln));
Assert.AreEqual("Gu.Roslyn.Asserts.sln", sln.Name);
... | namespace Gu.Roslyn.Asserts.Tests
{
using NUnit.Framework;
public class SolutionFileTests
{
[Test]
public void FindSolutionFile()
{
Assert.AreEqual(true, SolutionFile.TryFind("Gu.Roslyn.Asserts.sln", out var sln));
Assert.AreEqual("Gu.Roslyn.Asserts.sln", sl... | mit | C# |
d6a514c749f50eb6a55e9773c642c88344f2f8e7 | Fix Configuration.cs to be UTF-8 | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Dal.Impl/Migrations/Configuration.cs | JoinRpg.Dal.Impl/Migrations/Configuration.cs | using System;
using System.Data.Entity.Migrations;
using JetBrains.Annotations;
using JoinRpg.DataModel;
namespace JoinRpg.Dal.Impl.Migrations
{
[UsedImplicitly]
internal sealed class Configuration : DbMigrationsConfiguration<MyDbContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = tru... | using System;
using System.Data.Entity.Migrations;
using JetBrains.Annotations;
using JoinRpg.DataModel;
namespace JoinRpg.Dal.Impl.Migrations
{
[UsedImplicitly]
internal sealed class Configuration : DbMigrationsConfiguration<MyDbContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = true... | mit | C# |
73439dc1f82c372aecbb1b7ea00cc8854a50cb63 | update version to 7.1.33.0 | agileharbor/channelAdvisorAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | bsd-3-clause | C# |
3e2314f27842ebb1b25ee3bb0adbd7fa3551ca96 | Correct check direction. (#1737) | stephentoub/corefxlab,ericstj/corefxlab,tarekgh/corefxlab,whoisj/corefxlab,dotnet/corefxlab,whoisj/corefxlab,benaadams/corefxlab,VSadov/corefxlab,ericstj/corefxlab,dotnet/corefxlab,ericstj/corefxlab,ericstj/corefxlab,VSadov/corefxlab,joshfree/corefxlab,ericstj/corefxlab,VSadov/corefxlab,stephentoub/corefxlab,joshfree/c... | src/System.Collections.Sequences/System/Collections/Sequences/Position.cs | src/System.Collections.Sequences/System/Collections/Sequences/Position.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
namespace System.Collections.Sequences
{
public struct Position : IEquatable<Position>
{
public object ObjectPo... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
namespace System.Collections.Sequences
{
public struct Position : IEquatable<Position>
{
public object ObjectPo... | mit | C# |
73e3b47131c5ed5169456826c245099397ee6068 | use async main in Agent | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Agent/Program.cs | src/FilterLists.Agent/Program.cs | using System;
using System.IO;
using System.Threading.Tasks;
using FilterLists.Services.DependencyInjection.Extensions;
using FilterLists.Services.Snapshot;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace FilterLists.Agent
{
public static class Program
{
... | using System;
using System.IO;
using System.Threading.Tasks;
using FilterLists.Services.DependencyInjection.Extensions;
using FilterLists.Services.Snapshot;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace FilterLists.Agent
{
public static class Program
{
... | mit | C# |
a1b867450e58385609f7a18e977f69453b9d8254 | build 0.0.6 | rachmann/qboAccess,rachmann/qboAccess,rachmann/qboAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | bsd-3-clause | C# |
3a04d7ed5bb61a6ebbd03740a80c5995a42a1493 | fix possible false-positive in unit-test | nibblesoft/SubDBSharp | src/Helpers/CsvResponseParser.cs | src/Helpers/CsvResponseParser.cs | using System.Collections.Generic;
namespace SubDBSharp.Helpers
{
public class CsvResponseParser : IResponseParser
{
public IReadOnlyList<Language> ParseGetAvailablesLanguages(string response)
{
var readonlyList = new List<Language>();
foreach (var isoTwoLetter in respon... | using System.Collections.Generic;
namespace SubDBSharp.Helpers
{
public class CsvResponseParser : IResponseParser
{
public IReadOnlyList<Language> ParseGetAvailablesLanguages(string response)
{
var readonlyList = new List<Language>();
foreach (var isoTwoLetter in respon... | mit | C# |
c5085aea24ae4b08890baac8e894ce208d71af7e | Use Child, not InternalChild | johnneijzen/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ReverseArrowPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ReverseArrowPiece.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.Audio.Track;
using osu.Framework.Graphics;
using osuTK;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
usi... | // 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.Audio.Track;
using osu.Framework.Graphics;
using osuTK;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
usi... | mit | C# |
245fdbb62e91cb0df9414cc68a171e29aa95c0e7 | fix build | Eskat0n/NArms | src/NArms.TrenchGun/Benchmark.cs | src/NArms.TrenchGun/Benchmark.cs | namespace NArms.TrenchGun
{
using System;
public class Benchmark
{
private Benchmark(int passesCount, Action<PassInfo> action)
{
PassesCount = passesCount;
Action = action;
}
public static Benchmark Create(int passesCount, Action action)
{
... | namespace NArms.TrenchGun
{
using System;
public class Benchmark
{
private Benchmark(int passesCount, Action<PassInfo> action)
{
PassesCount = passesCount;
Action = action;
}
public static Benchmark Create(int passesCount, Action action)
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.