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 |
|---|---|---|---|---|---|---|---|---|
f23d49fa51e9c99edf194cecf68d695a5dd3be90 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: December 8, 2020<br /><br />
<strong>Please Note Holiday Closure Information:</strong><br /><br />
The Lab wi... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: December 8, 2020<br /><br />
<strong>Please Note Holiday Closure Information:</strong><br /><br />
The Lab wi... | mit | C# |
2b9f4823e82aa68df0a58ec21d1f29fc4d3b6dad | Update BackgroundMusic.cs | erdenbatuhan/Venture | Assets/Scripts/BackgroundMusic.cs | Assets/Scripts/BackgroundMusic.cs | //
// BackgroundMusic.cs
// Venture
//
// Created by Batuhan Erden.
// Copyright © 2016 Batuhan Erden. All rights reserved.
//
using UnityEngine;
using System.Collections;
public class BackgroundMusic : MonoBehaviour {
public static float volume = 0.5f;
private void Start() {
if (GameMaster.loggedUser == n... | //
// BackgroundMusic.cs
// A Vaila Ball - Computer
//
// Created by Batuhan Erden.
// Copyright © 2016 Batuhan Erden. All rights reserved.
//
using UnityEngine;
using System.Collections;
public class BackgroundMusic : MonoBehaviour {
public static float volume = 0.5f;
private void Start() {
if (GameMaster... | mit | C# |
f6642f3fdfdc1d7ef77822f5ebac1e5e11e8961d | Update BaseShapeViewModelExtensions.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/ViewModels/Shapes/BaseShapeViewModelExtensions.cs | src/Core2D/ViewModels/Shapes/BaseShapeViewModelExtensions.cs | #nullable enable
using System.Collections.Generic;
using System.Linq;
namespace Core2D.ViewModels.Shapes
{
public static class BaseShapeViewModelExtensions
{
public static IEnumerable<BaseShapeViewModel> GetAllShapes(this IEnumerable<BaseShapeViewModel>? shapes)
{
if (shapes is nul... | #nullable disable
using System.Collections.Generic;
using System.Linq;
namespace Core2D.ViewModels.Shapes
{
public static class BaseShapeViewModelExtensions
{
public static IEnumerable<BaseShapeViewModel> GetAllShapes(this IEnumerable<BaseShapeViewModel> shapes)
{
if (shapes is nul... | mit | C# |
153130aa5ab237f8f97b3f0eca1f08ff53a4dbd9 | Remove need to call Close() | arnovb-github/CmcLibNet | CmcLibNet.Export/IExportEngine.cs | CmcLibNet.Export/IExportEngine.cs | using System.Runtime.InteropServices;
namespace Vovin.CmcLibNet.Export
{
/// <summary>
/// interface for ExportEngine.
/// </summary>
[ComVisible(true)]
[Guid("F7E7295C-7151-41BC-BACE-4CB789EDA5B1")]
public interface IExportEngine : IExportEngineEvents
{
/// <summary>
/// C... | using System.Runtime.InteropServices;
namespace Vovin.CmcLibNet.Export
{
/// <summary>
/// interface for ExportEngine.
/// </summary>
[ComVisible(true)]
[Guid("F7E7295C-7151-41BC-BACE-4CB789EDA5B1")]
public interface IExportEngine : IExportEngineEvents
{
/// <summary>
/// C... | mit | C# |
2de6ec2526b935f1a23235149f9d6a6539c1b7c6 | fix routing from rider to driver [#136036659] | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Client/Controllers/DriverController.cs | revashare-svc-webapi/revashare-svc-webapi.Client/Controllers/DriverController.cs | using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace revashare_svc_webapi.Client.Controllers {
[RoutePrefix("driver")]
public class DriverCo... | using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace revashare_svc_webapi.Client.Controllers {
[RoutePrefix("rider")]
public class DriverCon... | mit | C# |
ecf768b90d96195b4574016a214e68d7cd69158e | Move ordering if types around | zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.... | src/Glimpse.Agent.AspNet.Mvc/Messages/BeforeActionMessage.cs | src/Glimpse.Agent.AspNet.Mvc/Messages/BeforeActionMessage.cs |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class BeforeActionMessage : IActionRouteFoundMessage
{
public string ActionId { get; set; }
public string DisplayName { get; set; }
public string ActionName { get; set; }
public string ControllerName { get; set; }
... |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class BeforeActionMessage : IActionRouteFoundMessage
{
public string ActionId { get; set; }
public string DisplayName { get; set; }
public RouteData RouteData { get; set; }
public string ActionName { get; set; }
p... | mit | C# |
0efb5e2e8252eb59733deff88aec1d6ce818500a | Fix HandleQueuedPackageEditsJob to use ExecuteTask | JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,JetBrains/ReSharperGallery,KuduApps/NuGetGallery,grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,mtian/SiteExtensionGallery,sk... | src/NuGetGallery.Backend/Jobs/HandleQueuedPackageEditsJob.cs | src/NuGetGallery.Backend/Jobs/HandleQueuedPackageEditsJob.cs | using System;
using System.ComponentModel.Composition;
using System.Data.SqlClient;
using NuGetGallery.Operations.Tasks;
namespace NuGetGallery.Backend.Jobs
{
[Export(typeof(WorkerJob))]
public class HandleQueuedPackageEditsJob : WorkerJob
{
public override TimeSpan Period
{
ge... | using System;
using System.ComponentModel.Composition;
using System.Data.SqlClient;
using NuGetGallery.Operations.Tasks;
namespace NuGetGallery.Backend.Jobs
{
[Export(typeof(WorkerJob))]
public class HandleQueuedPackageEditsJob : WorkerJob
{
public override TimeSpan Period
{
ge... | apache-2.0 | C# |
f1074050e6e3ca9aa67aacf7baf151682e7509e2 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
ae0fda1072a9764a934769745515c7d891934047 | Remove unnecessary method overrides | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Items/ColourChangingInk.cs | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Items/ColourChangingInk.cs | using System.Linq;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Transfiguration.Items
{
[UsedImplicitly]
public class ColourChangingInk : BaseItem
{
public override bool CanPerformInPlayAction()
{
return Player.CanUseActions() && Player.Hand.Cards.Count > 0;
... | using System.Collections.Generic;
using System.Linq;
using HarryPotterUnity.Cards.Interfaces;
using JetBrains.Annotations;
using UnityEngine;
namespace HarryPotterUnity.Cards.Transfiguration.Items
{
[UsedImplicitly]
public class ColourChangingInk : BaseItem
{
public override bool CanPerformInPlay... | mit | C# |
f337eb31133e88d7bcafe99f67edeeb147eee5eb | Fix Bottle.direction to string type via Creer re-raun | siggame/Joueur.cs,siggame/Joueur.cs,JacobFischer/Joueur.cs,JacobFischer/Joueur.cs | Games/Saloon/Bottle.cs | Games/Saloon/Bottle.cs | // A bottle thrown by a bartender at a Tile.
// DO NOT MODIFY THIS FILE
// Never try to directly create an instance of this class, or modify its member variables.
// Instead, you should only be reading its variables and calling its functions.
using System;
using System.Collections.Generic;
using System.Linq;
using Sy... | // A bottle thrown by a bartender at a Tile.
// DO NOT MODIFY THIS FILE
// Never try to directly create an instance of this class, or modify its member variables.
// Instead, you should only be reading its variables and calling its functions.
using System;
using System.Collections.Generic;
using System.Linq;
using Sy... | mit | C# |
51bddd4a0ff00fce883583852a2d225d5b41117c | Rename functions, and add NextInt. | NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu | osu.Game/Utils/StatelessRNG.cs | osu.Game/Utils/StatelessRNG.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;
namespace osu.Game.Utils
{
/// <summary>
/// Provides a fast stateless function that can be used in randomly-looking visual elements.
/// </sum... | // 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.
namespace osu.Game.Utils
{
/// <summary>
/// Provides a fast stateless function that can be used in randomly-looking visual elements.
/// </summary>
publi... | mit | C# |
87c4d3c53ec0404b240a6195487f9783fd3fa4ff | Cover case-insensitive child component parameter names in E2E test | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/testapps/BasicTestApp/CounterComponentUsingChild.cshtml | test/testapps/BasicTestApp/CounterComponentUsingChild.cshtml | <h1>Counter</h1>
<!-- Note: passing 'Message' parameter with lowercase name to show it's case insensitive -->
<p>Current count: <MessageComponent message=@currentCount.ToString() /></p>
<button @onclick(IncrementCount)>Click me</button>
@functions {
int currentCount = 0;
void IncrementCount()
{
... | <h1>Counter</h1>
<p>Current count: <MessageComponent Message=@currentCount.ToString() /></p>
<button @onclick(IncrementCount)>Click me</button>
@functions {
int currentCount = 0;
void IncrementCount()
{
currentCount++;
}
}
| apache-2.0 | C# |
50f27a9b407ef9fae78a2f09d98501fc1d283376 | Rename AdcPin interface | 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/API/Treehopper/IAdcPin.cs | NET/API/Treehopper/IAdcPin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Treehopper
{
public interface AdcPin
{
void MakeAnalogIn();
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Treehopper
{
public interface IAdcPin
{
void MakeAnalogIn();
}
}
| mit | C# |
e63bbe88828bc73a0e500afacea34450f34965ad | add prompt | vogon/nomic,vogon/nomic,vogon/nomic | Nomic/LocalConsoleReplView.cs | Nomic/LocalConsoleReplView.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nomic
{
internal sealed class LocalConsoleReplView : IReplView
{
internal LocalConsoleReplView() { }
async Task<string> IReplView.Read()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nomic
{
internal sealed class LocalConsoleReplView : IReplView
{
internal LocalConsoleReplView() { }
async Task<string> IReplView.Read()
{
... | mit | C# |
81dac383d3100b4b59cae580a2c6a668ba40a7be | Add cleandatabase call in global steps | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs | src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs | using Moq;
using SFA.DAS.EAS.TestCommon.DbCleanup;
using SFA.DAS.EAS.TestCommon.DependencyResolution;
using SFA.DAS.EAS.Web;
using SFA.DAS.EAS.Web.Authentication;
using SFA.DAS.Messaging;
using StructureMap;
using TechTalk.SpecFlow;
namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps
{
[Binding]
... | using Moq;
using SFA.DAS.EAS.TestCommon.DbCleanup;
using SFA.DAS.EAS.TestCommon.DependencyResolution;
using SFA.DAS.EAS.Web;
using SFA.DAS.EAS.Web.Authentication;
using SFA.DAS.Messaging;
using StructureMap;
using TechTalk.SpecFlow;
namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps
{
[Binding]
... | mit | C# |
5fd521ea016a9ae17ee3cc46c5dc3bcb2487e9a1 | Change SafeMemoryMappedFileHandle to use IntPtr.Zero instead of new IntPtr(0) | cydhaselton/corefx,zmaruo/corefx,twsouthwick/corefx,cartermp/corefx,alexperovich/corefx,rajansingh10/corefx,Jiayili1/corefx,viniciustaveira/corefx,MaggieTsang/corefx,vrassouli/corefx,cartermp/corefx,richlander/corefx,zhenlan/corefx,stephenmichaelf/corefx,iamjasonp/corefx,shimingsg/corefx,ravimeda/corefx,alexandrnikitin... | src/System.IO.MemoryMappedFiles/src/Microsoft/Win32/SafeMemoryMappedFileHandle.cs | src/System.IO.MemoryMappedFiles/src/Microsoft/Win32/SafeMemoryMappedFileHandle.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;
using System.Runtime.InteropServices;
using System.Security;
namespace Microsoft.Win32.SafeHandles
{
// Reliability notes:
// ReleaseHandle has r... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace Microsoft.Win32.SafeHandles
{
// Reliability notes:
// ReleaseHandle has r... | mit | C# |
28fc9b9b6da9d05000863686de70c8956c0b6268 | Allow instantiating jQueryPosition | nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp | src/Libraries/jQuery/jQuery.Core/jQueryPosition.cs | src/Libraries/jQuery/jQuery.Core/jQueryPosition.cs | // jQueryPosition.cs
// Script#/Libraries/jQuery/Core
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
using System.Collections;
namespace jQueryApi {
/// <summary>
/// Provides information about the position of... | // jQueryPosition.cs
// Script#/Libraries/jQuery/Core
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
using System.Collections;
namespace jQueryApi {
/// <summary>
/// Provides information about the position of... | apache-2.0 | C# |
6afbc78395fdfe1266ee43ddedd7c4758d29cfce | Make Orchard.Core.Common.Utilities.LazyField<T> [Obsolete] | jagraz/Orchard,hbulzy/Orchard,dcinzona/Orchard,LaserSrl/Orchard,yersans/Orchard,Codinlab/Orchard,angelapper/Orchard,SouleDesigns/SouleDesigns.Orchard,jtkech/Orchard,escofieldnaxos/Orchard,OrchardCMS/Orchard,arminkarimi/Orchard,grapto/Orchard.CloudBust,IDeliverable/Orchard,aaronamm/Orchard,patricmutwiri/Orchard,jagraz/O... | src/Orchard.Web/Core/Common/Utilities/LazyField.cs | src/Orchard.Web/Core/Common/Utilities/LazyField.cs | using System;
namespace Orchard.Core.Common.Utilities {
[Obsolete("Use Orchard.ContentManagement.Utilities.LazyField instead.")]
public class LazyField<T> {
private T _value;
private Func<T> _loader;
private Func<T, T> _setter;
public T Value {
get { retur... | using System;
namespace Orchard.Core.Common.Utilities {
public class LazyField<T> {
private T _value;
private Func<T> _loader;
private Func<T, T> _setter;
public T Value {
get { return GetValue(); }
set { SetValue(value); }
}
pu... | bsd-3-clause | C# |
2328a53a9b643a9f7ea094e313743b19d3b9cf42 | Set the recttransform on Awake instead of Onvalidate, as suggested in a pr comment. Also this fixes a bug which broke near interaction on device. | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Services/InputSystem/NearInteractionTouchableUnityUI.cs | Assets/MixedRealityToolkit.Services/InputSystem/NearInteractionTouchableUnityUI.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Use a Unity UI RectTra... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Use a Unity UI RectTra... | mit | C# |
f6bff7cef5f81ee9f53434e0b3a715a2c80e5577 | refactor seed method | vankooch/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,brockallen/BrockAllen.MembershipReboot,tomascassidy/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot | BrockAllen.MembershipReboot/Repository/EF/EFMembershipRebootDatabaseInitializer.cs | BrockAllen.MembershipReboot/Repository/EF/EFMembershipRebootDatabaseInitializer.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace BrockAllen.MembershipReboot
{
class EFMembershipRebootDatabaseInitializer : CreateDatabaseIfNotExists<EFMembershipRebootDatabase>
... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace BrockAllen.MembershipReboot
{
class EFMembershipRebootDatabaseInitializer : CreateDatabaseIfNotExists<EFMembershipRebootDatabase>
... | bsd-3-clause | C# |
1388b7b8292510db74fffb49e932ed623b9a0ffa | fix to the stratum model | SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud | NetMud.Data/LookupData/Stratum.cs | NetMud.Data/LookupData/Stratum.cs | using NetMud.Data.System;
using NetMud.DataStructure.Base.Place;
using NetMud.DataStructure.Base.Supporting;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Web.Script.Serialization;
namespace NetMud.Data.LookupData
{
/// <summary>
/// Composes the various horizontal layers... | using NetMud.Data.System;
using NetMud.DataStructure.Base.Place;
using NetMud.DataStructure.Base.Supporting;
using System;
using System.Collections.Generic;
namespace NetMud.Data.LookupData
{
[Serializable]
public class Stratum : BackingDataPartial, IStratum
{
/// <summary>
/// Diameter of... | mit | C# |
1fb0477fd3fdfee62d3be93801e97139036da26b | fix spacing? | kade-robertson/SharpThemes | SharpThemes/Utilities/Http.cs | SharpThemes/Utilities/Http.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using ModernHttpClient;
namespace SharpThemes.Utilities
{
public static class Http
{
public static async Task<string> DoGet(string url) {
using (var client = new HttpClient(new NativeMessageHandler())) {
try {
return await client.GetSt... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using ModernHttpClient;
namespace SharpThemes.Utilities
{
public static class Http
{
public static async Task<string> DoGet(string url) {
using (var client = new HttpClient(new NativeMessageHandler())) {
return await client.GetStringAsync(u... | mit | C# |
a33396a97a3de0749de64f93fe5dca48ecd0b41e | Remove navigatable attribute from MainViewModel. | nuitsjp/KAMISHIBAI | Sample/SampleBrowser/SampleBrowser.ViewModel/MainViewModel.cs | Sample/SampleBrowser/SampleBrowser.ViewModel/MainViewModel.cs | using Kamishibai;
using SampleBrowser.ViewModel.Page;
namespace SampleBrowser.ViewModel;
public class MainViewModel : INavigatedAsyncAware
{
private MenuItem _selectedMenuItem;
private readonly IPresentationService _presentationService;
public MainViewModel(IPresentationService presentationService)
... | using Kamishibai;
using SampleBrowser.ViewModel.Page;
namespace SampleBrowser.ViewModel;
[Navigatable]
public class MainViewModel : INavigatedAsyncAware
{
private MenuItem _selectedMenuItem;
private readonly IPresentationService _presentationService;
public MainViewModel(IPresentationService presentati... | mit | C# |
0a3f68ee76b2f2d96bcce43ca18d0c69d27a03b0 | Introduce TimeoutError(). | AIWolfSharp/AIWolf_NET,AIWolfSharp/AIWolfCore | AIWolfLib/Error.cs | AIWolfLib/Error.cs | //
// Error.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Diagnostics;
namespace AIWolf.Lib
{
/// <summary>
/// Error handling class.
/// </summary>
public static class ... | //
// Error.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Diagnostics;
namespace AIWolf.Lib
{
/// <summary>
/// Error handling class.
/// </summary>
public static class ... | mit | C# |
ed4f6233f1dbd404b694d94ca32f201badd7dd45 | Add docs to PropertyChangedBase, and create OnPropertyChanged method to integrate with Fody.PropertyChanged | canton7/Stylet,canton7/Stylet,cH40z-Lord/Stylet,cH40z-Lord/Stylet | Stylet/PropertyChangedBase.cs | Stylet/PropertyChangedBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Stylet
{
public class PropertyChangedBase : INotifyPropertyChanged, INotifyPropertyChange... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Stylet
{
public class PropertyChangedBase : INotifyPropertyChanged, INotifyPropertyChange... | mit | C# |
13f459205c5d4450ba9bd0aa8a92a0c061d8dd36 | add FileWriter Test | ufcpp/UnityTools | CopyDllsAfterBuildLocalTool/CopyDllsAfterBuildLocalToolUnitTest/FileWriterTest.cs | CopyDllsAfterBuildLocalTool/CopyDllsAfterBuildLocalToolUnitTest/FileWriterTest.cs | using CopyDllsAfterBuildLocalTool;
using System;
using System.IO;
using System.Linq;
using Xunit;
namespace CopyDllsAfterBuildLocalToolUnitTest
{
public class FileWriterTest : IDisposable
{
private readonly string _path;
// setup
public FileWriterTest()
{
_path = P... | using CopyDllsAfterBuildLocalTool;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace CopyDllsAfterBuildLocalToolUnitTest
{
public class FileWriterTest
{
// todo: add Binary Compare test
// todo: add Write test. Binary match file should skipp... | mit | C# |
7c52ffb53e037bdf28fb3b5d056c4aa3f85793f4 | rename method name | lemestrez/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,SXTSOFT/aspnetboilerplate,AlexGeller/aspnetboilerplate,beratcarsi/aspnetboilerplate,jaq316/aspnetboilerplate,oceanho/aspnetboilerplate,ryancyq/aspnetboilerplate,690486439/aspnetboilerplate,fengyeju/aspnetboilerplate,nineconsul... | src/Abp.Web.Api.Swagger/Configuration/Startup/AbpSwaggerConfigurationExtensions.cs | src/Abp.Web.Api.Swagger/Configuration/Startup/AbpSwaggerConfigurationExtensions.cs | using Abp.WebApi.Swagger.Configuration;
namespace Abp.Configuration.Startup
{
/// <summary>
/// Defines extension methods to <see cref="IModuleConfigurations"/> to allow to configure Abp.Web.Api.Swagger module.
/// </summary>
public static class AbpSwaggerConfigurationExtensions
{
/// <sum... | using Abp.WebApi.Swagger.Configuration;
namespace Abp.Configuration.Startup
{
/// <summary>
/// Defines extension methods to <see cref="IModuleConfigurations"/> to allow to configure Abp.Web.Api.Swagger module.
/// </summary>
public static class AbpSwaggerConfigurationExtensions
{
/// <sum... | mit | C# |
13dd99a8b6dab2e484837308d7a76a6ba737bd81 | Switch BannerProvider to property. | antmicro/AntShell | AntShell/ShellSettings.cs | AntShell/ShellSettings.cs | /*
Copyright (c) 2013 Ant Micro <www.antmicro.com>
Authors:
* Mateusz Holenko (mholenko@antmicro.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limita... | /*
Copyright (c) 2013 Ant Micro <www.antmicro.com>
Authors:
* Mateusz Holenko (mholenko@antmicro.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limita... | apache-2.0 | C# |
33c496f0cb3c8520878a0d27f8ca22f2fe539740 | Comment fix. | dlemstra/Magick.NET,dlemstra/Magick.NET | Magick.NET.Web/Configuration/CacheControlMode.cs | Magick.NET.Web/Configuration/CacheControlMode.cs | //=================================================================================================
// Copyright 2013-2015 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy... | //=================================================================================================
// Copyright 2013-2015 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy... | apache-2.0 | C# |
ca151bba65ee855509531365b963d7b52b353676 | Add NFluent-like versions | dirkrombauts/pickles,irfanah/pickles,magicmonty/pickles,picklesdoc/pickles,irfanah/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,irfanah/pickles,picklesdoc/pickles,picklesdoc/pickles,magicmonty/pickles,magicmonty/pickles,blorgbeard/pickles,magicmonty/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,dirkrombauts/... | src/Pickles/Pickles.Test/AssertExtensions.cs | src/Pickles/Pickles.Test/AssertExtensions.cs | using System;
using System.Linq;
using System.Xml.Linq;
using NFluent;
using NFluent.Extensibility;
using NUnit.Framework;
using PicklesDoc.Pickles.Test.Extensions;
namespace PicklesDoc.Pickles.Test
{
public static class AssertExtensions
{
public static void HasAttribute(this ICheck<XElement> check, s... | using System;
using System.Linq;
using System.Xml.Linq;
using NFluent;
using NUnit.Framework;
using PicklesDoc.Pickles.Test.Extensions;
namespace PicklesDoc.Pickles.Test
{
public static class AssertExtensions
{
public static void ShouldHaveAttribute(this XElement element, string name, string value)
... | apache-2.0 | C# |
e9c3cba121655cca081431034348a3fc95059b6f | Add #region | hidari/WhatNeedToBeDone | WhatNeedToBeDone/ViewModels/TodoListViewModel.cs | WhatNeedToBeDone/ViewModels/TodoListViewModel.cs | using System;
using System.Collections.ObjectModel;
using System.Linq;
using Hidari0415.WhatNeedToBeDone.Common;
using Hidari0415.WhatNeedToBeDone.Models;
namespace Hidari0415.WhatNeedToBeDone.ViewModels
{
public class TodosViewModel: ViewModelBase
{
#region SelectedCount 変更通知プロパティ
private int _SelectedCount;
... | using System;
using System.Collections.ObjectModel;
using System.Linq;
using Hidari0415.WhatNeedToBeDone.Common;
using Hidari0415.WhatNeedToBeDone.Models;
namespace Hidari0415.WhatNeedToBeDone.ViewModels
{
public class TodosViewModel: ViewModelBase
{
#region SelectedCount 変更通知プロパティ
private int _SelectedCount;
... | mit | C# |
c57fdfa5727a57f5d7b48f2572d0fb85dbfffe31 | Remove unnecessary null check. | bartdesmet/roslyn,KirillOsenkov/roslyn,basoundr/roslyn,DustinCampbell/roslyn,ljw1004/roslyn,brettfo/roslyn,bkoelman/roslyn,AArnott/roslyn,tmeschter/roslyn,budcribar/roslyn,tannergooding/roslyn,panopticoncentral/roslyn,mavasani/roslyn,a-ctor/roslyn,lorcanmooney/roslyn,AnthonyDGreen/roslyn,jasonmalinowski/roslyn,akrisiun... | src/Workspaces/Core/Portable/Shared/Extensions/ITypeInferenceServiceExtensions.cs | src/Workspaces/Core/Portable/Shared/Extensions/ITypeInferenceServiceExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.LanguageServices;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespa... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.LanguageServices;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespa... | mit | C# |
607a24fc896d0ff7cf56898e8cb1a35d13cf33e3 | Fix class name | CamTechConsultants/CvsntGitImporter | CvsGitTest/RevisionTest.cs | CvsGitTest/RevisionTest.cs | /*
* John Hall <john.hall@xjtag.com>
* Copyright (c) Midas Yellow Ltd. All rights reserved.
*/
using System;
using CvsGitConverter;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CvsGitTest
{
[TestClass]
public class RevisionTest
{
[TestMethod]
public void IsBranch_NonBranchRe... | /*
* John Hall <john.hall@xjtag.com>
* Copyright (c) Midas Yellow Ltd. All rights reserved.
*/
using System;
using CvsGitConverter;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CvsGitTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void IsBranch_NonBranchRevis... | mit | C# |
fd089ec26474c3d87e6cb1f4acdc824af38cbfce | Remove AirTime Productions from the component menu | bartlomiejwolk/AnimationPathAnimator | Editor/ComponentCreator.cs | Editor/ComponentCreator.cs | /*
* Copyright (c) 2015 Bartłomiej Wołk (bartlomiejwolk@gmail.com).
*
* This file is part of the AnimationPath Animator Unity extension.
* Licensed under the MIT license. See LICENSE file in the project root folder.
*/
using AnimationPathTools.AnimatorComponent;
using AnimationPathTools.AnimatorEventsComponent;... | /*
* Copyright (c) 2015 Bartłomiej Wołk (bartlomiejwolk@gmail.com).
*
* This file is part of the AnimationPath Animator Unity extension.
* Licensed under the MIT license. See LICENSE file in the project root folder.
*/
using AnimationPathTools.AnimatorComponent;
using AnimationPathTools.AnimatorEventsComponent;... | mit | C# |
00441f7be5573ae5d44b90d9f82a5826dcaf3e5f | 更新版本号,Cache.Memcached v1.1.0 支持 .NET Core 2.0 | JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK | src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Properties/AssemblyInfo.cs | src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Cache.Memcached")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[a... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Cache.Memcached")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[a... | apache-2.0 | C# |
58c9655c4d883c56f232e070f46e45d30abb3beb | Fix RuntimeInformation tests according to the platform runs. | ericstj/corefx,billwert/corefx,krytarowski/corefx,BrennanConroy/corefx,ptoonen/corefx,nbarbettini/corefx,Jiayili1/corefx,stephenmichaelf/corefx,dhoehna/corefx,dotnet-bot/corefx,ravimeda/corefx,ptoonen/corefx,Ermiar/corefx,tijoytom/corefx,rahku/corefx,JosephTremoulet/corefx,zhenlan/corefx,wtgodbe/corefx,the-dwyer/corefx... | src/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.cs | src/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.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.Reflection;
using Xunit;
namespace System.Runtime.InteropServices.RuntimeInformationTests
{
public... | // 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.Reflection;
using Xunit;
namespace System.Runtime.InteropServices.RuntimeInformationTests
{
public... | mit | C# |
b3067e8dbc3b8277d657223b1a70a210cc3e1348 | Delete an incomplete function from CubeBox script | RokKos/DragonHack2017 | Assets/Scripts/CubeBox.cs | Assets/Scripts/CubeBox.cs | //Author: Rok Kos<kosrok97@gmail.com>
//File: CubeBox.cs
//File path: /D/Documents/Unity/DragonHack2017/CubeBox.cs
//Date: 20.05.2017
//Description: Scipt that controls cube box (9x9)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CubeBox : MonoBehav... | //Author: Rok Kos<kosrok97@gmail.com>
//File: CubeBox.cs
//File path: /D/Documents/Unity/DragonHack2017/CubeBox.cs
//Date: 20.05.2017
//Description: Scipt that controls cube box (9x9)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CubeBox : MonoBehav... | mit | C# |
d23a6321768c8ad3cdb7d82f66b4905678751008 | Expand bird flock randomization on forward axis | christiancrt/POVbird,christiancrt/POVbird | Flock/Assets/BirdTarget.cs | Flock/Assets/BirdTarget.cs | using UnityEngine;
using System.Collections;
public class BirdTarget : MonoBehaviour {
[SerializeField]
private int _flockSize = 5;
[SerializeField]
private GameObject _birdPrefab;
[SerializeField] private Vector3[] _path;
public Vector3[] Path { get { return _path; }}
private int _targetNode = 0;
public floa... | using UnityEngine;
using System.Collections;
public class BirdTarget : MonoBehaviour {
[SerializeField]
private int _flockSize = 5;
[SerializeField]
private GameObject _birdPrefab;
[SerializeField] private Vector3[] _path;
public Vector3[] Path { get { return _path; }}
private int _targetNode = 0;
public floa... | cc0-1.0 | C# |
c2e2f04e26a1a52d84630d4cf8147062ff7773bb | Synchronize version with Nuget | cnurse/Naif.Data | src/Naif.Data/Properties/AssemblyInfo.cs | src/Naif.Data/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("Naif.Data")]
[assembly: AssemblyDescription("Naif.Data")]
[assembly: AssemblyCo... | using System.Reflection;
// 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("Naif.Data")]
[assembly: AssemblyDescription("Naif.Data")]
[assembly: AssemblyCo... | mit | C# |
c492dbb492db2ad1f8eb7efb80a3fe3ed2daf919 | fix bug | marihachi/MSharp | src/MSharp/Entity/Status.cs | src/MSharp/Entity/Status.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MSharp.Core.Utility;
namespace MSharp.Entity
{
/// <summary>
/// ステータスオブジェクトを表します。
/// </summary>
public class Status
{
/// <summary>
/// 新しいインスタンスを生成します。
/// </summary>
/// <param n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MSharp.Core.Utility;
namespace MSharp.Entity
{
/// <summary>
/// ステータスオブジェクトを表します。
/// </summary>
public class Status
{
/// <summary>
/// 新しいインスタンスを生成します。
/// </summary>
/// <param n... | mit | C# |
5efa635c31cb468136765e2a9ed768a7cc7dea94 | Bump version to 0.0.2 | queueRAM/BlastCorpsEditor | BlastCorpsEditor/Properties/AssemblyInfo.cs | BlastCorpsEditor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
76bd0da2015cd943dfec4cc399f055cab3ad71ed | Add code to calculate NTLM hashes | fredatgithub/UsefulFunctions | ConsoleAppNTLM/Program.cs | ConsoleAppNTLM/Program.cs | using FonctionsUtiles.Fred.Csharp;
using System;
using System.Collections.Generic;
namespace ConsoleAppNTLM
{
class Program
{
static void Main()
{
Action<string> display = Console.WriteLine;
ulong count = 0;
bool addToListe = false;
List<string> liste = new List<string>();
st... | using FonctionsUtiles.Fred.Csharp;
using System;
namespace ConsoleAppNTLM
{
class Program
{
static void Main(string[] args)
{
Action<string> display = Console.WriteLine;
string alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ&é'(-è_çà)=$£*%â";
for (int i = 0; i ... | mit | C# |
6d406181780948b5ab68da3f5c9ef8bd4e53713a | Bump to version 0.6 | cameronism/ConsoleDump | ConsoleDump/Properties/AssemblyInfo.cs | ConsoleDump/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("Co... | 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("Co... | apache-2.0 | C# |
2e44bd076d3b325ba477a680c2929672740d40b8 | Add graduate flag as additional property | seekasia-oss/jobstreet-ad-posting-api-client | src/SEEK.AdPostingApi.Client/Models/AdditionalPropertyType.cs | src/SEEK.AdPostingApi.Client/Models/AdditionalPropertyType.cs | namespace SEEK.AdPostingApi.Client.Models
{
public enum AdditionalPropertyType
{
ResidentsOnly = 1,
Graduate
}
} | namespace SEEK.AdPostingApi.Client.Models
{
public enum AdditionalPropertyType
{
ResidentsOnly = 1
}
}
| mit | C# |
b94397376c135ffc33bb3c9ae2c059c8b9c3eb2b | Bump version to 0.33.1 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
3a7e20db561d26b009925b4a343965c8754589fa | Test Scan being lazy | mzahor/morelinq,guygervais/morelinq,kenwilcox/morelinq,amithegde/morelinq,meh-uk/morelinq,RandallFlagg/morelinq,evilz/morelinq,anders9ustafsson/morelinq-portable,swcook1310/morelinq,hardborn/morelinq,Prince2690/morelinq,atknatk/morelinq,s1495k043/morelinq,xingh/morelinq,dee-donny/morelinq,whut/morelinq,amithegde/moreli... | MoreLinq.Test/ScanTest.cs | MoreLinq.Test/ScanTest.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//... | apache-2.0 | C# |
457d52c3b9ac11971ff6311874d5404488d893f5 | Make sure that base path is an entire segment of the URL | codevlabs/QuartzNetWebConsole | SampleApp.Owin/Program.cs | SampleApp.Owin/Program.cs | using System;
using Microsoft.Owin.Hosting;
using Owin;
using Quartz;
using Quartz.Impl;
namespace SampleApp.Owin {
class Program {
static void Start(IAppBuilder app) {
// First, initialize Quartz.NET as usual. In this sample app I'll configure Quartz.NET by code.
var s... | using System;
using Microsoft.Owin.Hosting;
using Owin;
using Quartz;
using Quartz.Impl;
namespace SampleApp.Owin {
class Program {
static void Start(IAppBuilder app) {
// First, initialize Quartz.NET as usual. In this sample app I'll configure Quartz.NET by code.
var s... | apache-2.0 | C# |
e6f947f5f7499cb44aa7d2dd2dd350a6a70c32ec | Allow zip+4 lacking dashes. | ctl-global/ctl-core | Ctl.Core/Validation/ZipCodeAttribute.cs | Ctl.Core/Validation/ZipCodeAttribute.cs | /*
Copyright (c) 2014, CTL Global, Inc.
Copyright (c) 2014, iD Commerce + Logistics
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
Redistributions of source code must retain th... | /*
Copyright (c) 2014, CTL Global, Inc.
Copyright (c) 2014, iD Commerce + Logistics
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
Redistributions of source code must retain th... | bsd-2-clause | C# |
d632e6730f75818a267beed64051518028b3e270 | fix catch mechanism | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Utils.cs | WalletWasabi.Gui/Utils.cs | using Avalonia.Threading;
using System;
using System.IO;
using System.Threading.Tasks;
namespace WalletWasabi.Gui
{
public static class Utils
{
public static string GetNextWalletName()
{
for (int i = 0; i < int.MaxValue; i++)
{
if (!File.Exists(Path.Combine(Global.WalletsDir, $"Wallet{i}.json")))
... | using Avalonia.Threading;
using System;
using System.IO;
namespace WalletWasabi.Gui
{
public static class Utils
{
public static string GetNextWalletName()
{
for (int i = 0; i < int.MaxValue; i++)
{
if (!File.Exists(Path.Combine(Global.WalletsDir, $"Wallet{i}.json")))
{
return $"Wallet{i}";
... | mit | C# |
dcd27a5f7a547ca454428260dd26af996b156cba | Add more NonNull check | Wox-launcher/Wox,qianlifeng/Wox,lances101/Wox,qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,lances101/Wox | Wox.Infrastructure/Wox.cs | Wox.Infrastructure/Wox.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Wox.Infrastructure
{
public static class Constant
{
public const string Wox = "Wox";
public const string Plugins = "Plugins";
private static readonly Assembly Assembly = Assembly.GetExecutingAs... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Wox.Infrastructure
{
public static class Constant
{
public const string Wox = "Wox";
public const string Plugins = "Plugins";
private static readonly Assembly Assembly = Assembly.GetExecutingAs... | mit | C# |
6122dc6385dec2c67cb3d44a7d06099b98e8769b | Make Score.cs immutable. | Sankra/NDC2015,Hammerstad/NDC2015 | NDC2015/Score.cs | NDC2015/Score.cs | using System;
namespace NDC2015
{
[Serializable]
public struct Score
{
public Score(TimeSpan elapsedTime, string contestantName, string phone)
{
ElapsedTime = elapsedTime;
ContestantName = contestantName;
Phone = phone;
}
public readonly... | using System;
namespace NDC2015
{
[Serializable]
public struct Score
{
public Score(TimeSpan elapsedTime, string contestantName, string phone) : this()
{
ElapsedTime = elapsedTime;
ContestantName = contestantName;
Phone = phone;
}
public... | mit | C# |
b784a1106902063152a19f9ba751983b03efcc8b | Update src/Features/CSharp/Portable/CodeFixes/AddExplicitCast/InheritanceDistanceComparer.cs | bartdesmet/roslyn,genlu/roslyn,davkean/roslyn,dotnet/roslyn,physhi/roslyn,tannergooding/roslyn,weltkante/roslyn,aelij/roslyn,brettfo/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,reaction1989/roslyn,stephentoub/roslyn,KirillOsenkov/roslyn,AmadeusW/roslyn,brettfo/roslyn,dotnet/roslyn,heejaechang/roslyn,jasonmalinowski... | src/Features/CSharp/Portable/CodeFixes/AddExplicitCast/InheritanceDistanceComparer.cs | src/Features/CSharp/Portable/CodeFixes/AddExplicitCast/InheritanceDistanceComparer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.CSharp.CodeFixe... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.CSharp.CodeFixe... | mit | C# |
aaa9acd42808649f78347b65bbb7a18bad01e494 | Fix comment typo | simpleinjector/SimpleInjector | src/SimpleInjector.Integration.Web.Mvc/SimpleInjectorFilterAttributeFilterProvider.cs | src/SimpleInjector.Integration.Web.Mvc/SimpleInjectorFilterAttributeFilterProvider.cs | // Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Integration.Web.Mvc
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using... | // Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Integration.Web.Mvc
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using... | mit | C# |
4cb50c07172966b0abedea1b6d2f65a4299e286d | Fix failing style check | goo32/saule | Saule/Serialization/ResourceDeserializer.cs | Saule/Serialization/ResourceDeserializer.cs | using System;
using Newtonsoft.Json.Linq;
namespace Saule.Serialization
{
internal class ResourceDeserializer
{
private readonly JToken _object;
private readonly Type _target;
public ResourceDeserializer(JToken @object, Type target)
{
_object = @object;... | using System;
using Newtonsoft.Json.Linq;
namespace Saule.Serialization
{
internal class ResourceDeserializer
{
private readonly JToken _object;
private readonly Type _target;
public ResourceDeserializer(JToken @object, Type target)
{
_object = @object;... | mit | C# |
4c2b5722c8688d8def67bce9fc23993994ce463f | Bump version | nixxquality/WebMConverter,o11c/WebMConverter,Yuisbean/WebMConverter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | mit | C# |
f4baa3ae7eb4f4ce052608c09726174b2da3e6e1 | fix issue where assembly did not show the correct version number | sachatrauwaen/openform,sachatrauwaen/openform,sachatrauwaen/openform | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OpenForm")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OpenForm")]
[assembly: AssemblyDescriptio... | mit | C# |
bb10fee53b33fa713653801d307b179690ad5a1e | Update AssemblyCopyright in "AssemblyInfo.cs" | miunet0123/FileDropBehavior | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle( "miunet.Windows.FileDrop" )]
[assembly: AssemblyDescription( "Behavior and Command for file drop on WP... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("miunet.Windows.FileDrop")]
[assembly: AssemblyDescription( "Behavior and Command for file drop on WPF.... | unlicense | C# |
c8aac76aaea92bb7d4c41053611ab4b62a1c8e11 | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | autofac/Autofac.Mef | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Mef")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Mef, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Mef")]
[assembly: AssemblyDescription("Autofac MEF Integration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Mef, PublicKey=00240000048... | mit | C# |
c84bcdfdaba6a796b3bf611660f325e8112156b7 | Update version to 1.3.5 | anonymousthing/ListenMoeClient | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | mit | C# |
9184ad4112cf9bdd070469e289428828ae27e1a7 | Store settings as plain strings, without SettingsHelper | arthurrump/Zermelo.App.UWP | Zermelo.App.UWP/Services/SettingsService.cs | Zermelo.App.UWP/Services/SettingsService.cs | using Template10.Mvvm;
using Template10.Services.SettingsService;
using Windows.Storage;
namespace Zermelo.App.UWP.Services
{
public class SettingsService : BindableBase, ISettingsService
{
ApplicationDataContainer _settings;
public SettingsService()
{
_settings = Applicat... | using Template10.Mvvm;
using Template10.Services.SettingsService;
namespace Zermelo.App.UWP.Services
{
public class SettingsService : BindableBase, ISettingsService
{
ISettingsHelper _helper;
public SettingsService(ISettingsHelper settingsHelper)
{
_helper = settingsHelper... | mit | C# |
e805ef258b170e73a6b593dec8b1fec476c09a51 | Update AccountTests.cs | Workshop2/Put.io.Wp | Put.io.Tests/Tests/Rest/AccountTests.cs | Put.io.Tests/Tests/Rest/AccountTests.cs | using Microsoft.Phone.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Put.io.Tests.Tests.Rest
{
[TestClass]
public class AccountTests : WorkItemTest
{
[Asynchronous]
[TestMethod]
public void GetAccountInfo()
{
var rester = new ... | using Microsoft.Phone.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Put.io.Tests.Tests.Rest
{
[TestClass]
public class AccountTests : WorkItemTest
{
[Asynchronous]
[TestMethod]
public void GetAccountInfo()
{
var rester = new ... | mit | C# |
4dc00f371891978f59d2ece54d061901fef9e99b | add coma replace | ChizhovYuI/tasks | Eval/EvalProgram.cs | Eval/EvalProgram.cs | using System;
using System.Linq;
namespace EvalTask
{
class EvalProgram
{
static void Main(string[] args)
{
string input = Console.In.ReadToEnd();
var lines = input.Split(new[] {'\r', '\n'}, StringSplitOptions.RemoveEmptyEntries);
var expr = lines[0].Replace... | using System;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace EvalTask
{
class EvalProgram
{
static void Main(string[] args)
{
string input = Console.In.ReadToEnd();
var lines = input.Split(new[] {'\r', '\n'}, StringSplitOptions.RemoveEmptyEntries);
... | mit | C# |
92039b735d3d1508931959d6d04a4a15542b1adc | Add DomainException constructor overloads | biarne-a/Zebus,Abc-Arbitrage/Zebus | src/Abc.Zebus/DomainException.cs | src/Abc.Zebus/DomainException.cs | using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Abc.Zebus.Util.Extensions;
namespace Abc.Zebus
{
public class DomainException : Exception
{
public int ErrorCode { get; private set; }
public DomainException(Exception i... | using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Abc.Zebus.Util.Extensions;
namespace Abc.Zebus
{
public class DomainException : Exception
{
public int ErrorCode { get; private set; }
public DomainException(Exception i... | mit | C# |
3a2063feeb5bd6b6cdd1fa8df11d9eb51139e804 | build 0.0.3 | 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# |
3cc7182155241c973db96a3e9ccdad2e5d52b8a4 | Change to DI HttpClient in HttpService | schwamster/HttpService,schwamster/HttpService | src/HttpService/HttpService.cs | src/HttpService/HttpService.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using System.Net.Http;
using Microsoft.AspNetCore.Authentication;
namespace HttpService
{
public class HttpService : IHttpService
{
private readonly IContextReader _tokenExtractor;
private HttpClient _client;
public HttpService(IHttpContextAccess... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using System.Net.Http;
using Microsoft.AspNetCore.Authentication;
namespace HttpService
{
public class HttpService : IHttpService
{
private readonly IContextReader _tokenExtractor;
private HttpClient _client;
public HttpService(IHttpContextAccess... | mit | C# |
b6b1ee25a53a4bbf8870f583d42f21432c4e4335 | Build Release | JakeGinnivan/VSTOContrib,JakeGinnivan/VSTOContrib | src/Information/VersionInfo.cs | src/Information/VersionInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.431
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.431
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | mit | C# |
c5b7a404f464996427a07037e20c61ec0a309220 | Align node index display in ToString | lionpeloux/Ivy | src/IvyCore/Parametric/Node.cs | src/IvyCore/Parametric/Node.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IvyCore.Parametric
{
public class Node : Point, ISortedGridElement<Node>
{
/// <summary>
/// The index in the Grid list of nodes.
/// </summary>
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IvyCore.Parametric
{
public class Node : Point, ISortedGridElement<Node>
{
/// <summary>
/// The index in the Grid list of nodes.
/// </summary>
public ... | mit | C# |
54f1a3d0d755a2355c05003793c5e9021c8ba167 | Update BandBlock.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO.Gdal/BandBlock.cs | src/RasterIO.Gdal/BandBlock.cs | // Contributors:
// James Domingo, Green Code LLC
using Landis.SpatialModeling;
using System;
namespace Landis.RasterIO.Gdal
{
/// <summary>
/// A block of data for a raster band.
/// </summary>
public class BandBlock<T>
where T : struct
{
public T[] Buffer ... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
ca64dd74d510be29a5ec5b08a3c2eb44e9debca2 | Update XML documentation comment of `LimitPrice` (#6381) | AlexCatarino/Lean,QuantConnect/Lean,QuantConnect/Lean,AlexCatarino/Lean,AlexCatarino/Lean,QuantConnect/Lean,QuantConnect/Lean,AlexCatarino/Lean | Common/Orders/OrderField.cs | Common/Orders/OrderField.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 o... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 o... | apache-2.0 | C# |
e92488624c4bd3dad377d0dc68327d126b491997 | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
11b6274dc6ccb0c99fa0deb454ffaa31e13a5957 | make ProductId writeable | mrklintscher/libfintx | src/libfintx/Helper/Program.cs | src/libfintx/Helper/Program.cs | /*
*
* This file is part of libfintx.
*
* Copyright (c) 2016 - 2018 Torsten Klinger
* E-Mail: torsten.klinger@googlemail.com
*
* libfintx is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Founda... | /*
*
* This file is part of libfintx.
*
* Copyright (c) 2016 - 2018 Torsten Klinger
* E-Mail: torsten.klinger@googlemail.com
*
* libfintx is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Founda... | lgpl-2.1 | C# |
be9a3f37945383147dd21398df9149e9488c3773 | Add initialization of additional providers | Seddryck/NBi,Seddryck/NBi | NBi.Core/Query/Connection/OleDbConnectionFactory.cs | NBi.Core/Query/Connection/OleDbConnectionFactory.cs | using NBi.Core.Configuration;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Common;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Query.Connection
{
class OleDbConnectionFactory : DbConnecti... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Common;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Query.Connection
{
class OleDbConnectionFactory : DbConnectionFactory
{
privat... | apache-2.0 | C# |
22af3cd923a9e16e5a4643a511086b9d0b925fa5 | Handle possible null reference; | 2yangk23/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,pep... | osu.Game/Graphics/StreamColour.cs | osu.Game/Graphics/StreamColour.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics.Colour;
using System.Collections.Generic;
namespace osu.Game.Graphics
{
public class StreamColour
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics.Colour;
using System.Collections.Generic;
namespace osu.Game.Graphics
{
public class StreamColour
{
... | mit | C# |
d174e1d40fc54f2239d6c75cafb21d7448f24a2b | Fix to handle relative file names correctly (#27) | vers-one/EpubReader,versfx/EpubReader | Source/VersOne.Epub/Utils/ZipPathUtils.cs | Source/VersOne.Epub/Utils/ZipPathUtils.cs | using System;
namespace VersOne.Epub.Internal
{
internal static class ZipPathUtils
{
public static string GetDirectoryPath(string filePath)
{
int lastSlashIndex = filePath.LastIndexOf('/');
if (lastSlashIndex == -1)
{
return String.Empty;
... | using System;
namespace VersOne.Epub.Internal
{
internal static class ZipPathUtils
{
public static string GetDirectoryPath(string filePath)
{
int lastSlashIndex = filePath.LastIndexOf('/');
if (lastSlashIndex == -1)
{
return String.Empty;
... | unlicense | C# |
c246ebdef7aad7bc6ddb75c9c69c203617543cea | handle big messages | unclebob/nslim,neilthompson19/nslim | source/fitnesse/slim/Messenger.cs | source/fitnesse/slim/Messenger.cs | // Copyright © Syterra Software Inc. All rights reserved.
// The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion, you ... | // Copyright © Syterra Software Inc. All rights reserved.
// The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion, you ... | epl-1.0 | C# |
8e3cb5dceb86d9671f9bf07e2b2d2856ccb34868 | Handle null/missing category and tags | MacLeanElectrical/servicestack-introspec | src/ServiceStack.IntroSpec/ServiceStack.IntroSpec/Services/ApiSpecMetadataService.cs | src/ServiceStack.IntroSpec/ServiceStack.IntroSpec/Services/ApiSpecMetadataService.cs | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace ServiceStack.IntroSpec.Services
{
using System.Linq;
using DTO;
public class ApiSpecMetadata... | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace ServiceStack.IntroSpec.Services
{
using System.Linq;
using DTO;
public class ApiSpecMetadata... | mpl-2.0 | C# |
70abf69f467a8ae6697ddf16af7e5292d9fa9d97 | Add TabPage documentation (closes #38) | felipebz/ndapi | Ndapi/TabPage.cs | Ndapi/TabPage.cs | using Ndapi.Core.Handles;
using Ndapi.Enums;
using System.Collections.Generic;
namespace Ndapi
{
/// <summary>
/// Represents a tab page.
/// </summary>
public class TabPage : NdapiObject
{
/// <summary>
/// Creates a tab page.
/// </summary>
/// <param name="canvas... | using Ndapi.Core.Handles;
using Ndapi.Enums;
using System.Collections.Generic;
namespace Ndapi
{
public class TabPage : NdapiObject
{
public TabPage(Canvas module, string name)
{
Create(name, ObjectType.TabPage, module);
}
internal TabPage(ObjectSafeHandle handle) ... | mit | C# |
cda5fdf4c2944b8555aac516fe9166429635e3a4 | Update asset version number | PhannGor/unity3d-rainbow-folders | Assets/Plugins/RainbowFolders/Editor/Scripts/Info/AssetInfo.cs | Assets/Plugins/RainbowFolders/Editor/Scripts/Info/AssetInfo.cs | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | apache-2.0 | C# |
63729b3a47f977f6ab4b5c6346c8c9c7d8a0d564 | Update CompactBinaryBondDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/CompactBinaryBondDeserializer.cs | TIKSN.Core/Serialization/Bond/CompactBinaryBondDeserializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondDeserializer : DeserializerBase<byte[]>
{
protected override T DeserializeInternal<T>(byte[] serial)
{
var input = new InputBuffer(serial);
var reader = new Comp... | using Bond.IO.Safe;
using Bond.Protocols;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondDeserializer : DeserializerBase<byte[]>
{
public CompactBinaryBondDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
... | mit | C# |
0b1ea53058990199ddd8a526bdbe83b9cccc02f3 | Update equality test | StanJav/language-ext,StefanBertels/language-ext,louthy/language-ext | Samples/Records/Program.cs | Samples/Records/Program.cs | using LanguageExt;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Records
{
class Program
{
static void Main(string[] args)
{
var opt1 = Maybe.Just(100);
var opt2 = Maybe.Just(100);
var optN =... | using LanguageExt;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Records
{
class Program
{
static void Main(string[] args)
{
var opt1 = Maybe.Just(100);
var opt2 = Maybe.Nothing<int>();
var ... | mit | C# |
666a7ae692dbfdb93c7ac50878c95289ffbade5e | fix a test | IdentityModel/IdentityModel,IdentityModel/IdentityModel2,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel,IdentityModel/IdentityModel2,IdentityModel/IdentityModelv2 | test/UnitTests/RequestUrlTests.cs | test/UnitTests/RequestUrlTests.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel.Client;
using System.Collections.Generic;
using Xunit;
namespace IdentityModel.UnitTests
{
pu... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel.Client;
using System.Collections.Generic;
using Xunit;
namespace IdentityModel.UnitTests
{
pu... | apache-2.0 | C# |
715e115f9e7123e44eb47f4e4a8619b47215f86e | Fix - Corretto disaccoppiamento schede contatto | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneSchedeContatto/UpDateSchedeContatto.cs | src/backend/SO115App.Persistence.MongoDB/GestioneSchedeContatto/UpDateSchedeContatto.cs | //-----------------------------------------------------------------------
// <copyright file="UpDateRichiesta.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public Lice... | //-----------------------------------------------------------------------
// <copyright file="UpDateRichiesta.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public Lice... | agpl-3.0 | C# |
b7207d2639aab624c273ed73a030e88c5270ba3b | Use GTK for OSX | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Program.cs | WalletWasabi.Gui/Program.cs | using Avalonia;
using AvalonStudio.Shell;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui
{
internal class Program
{
#pragma warning disable IDE1006 // Naming Styles
privat... | using Avalonia;
using AvalonStudio.Shell;
using System;
using System.IO;
using System.Threading.Tasks;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui
{
internal class Program
{
#pragma warning disable IDE1006 // Naming Styles
private static async Task Main(string[] args... | mit | C# |
0ef62429123e33044b57e93d214c4f7691fbbd7a | Fix merge | mavasani/roslyn,AmadeusW/roslyn,eriawan/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,heejaechang/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,AmadeusW/roslyn,mgoertz-msft/roslyn,physhi/roslyn,jasonmalinowski/roslyn,heejaechang/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,panopticoncentral/roslyn,step... | src/VisualStudio/Core/Def/Implementation/LanguageClient/LiveShareLanguageServerClient.cs | src/VisualStudio/Core/Def/Implementation/LanguageClient/LiveShareLanguageServerClient.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Diagnostics;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Diagnostics;
... | mit | C# |
7c5dd74dbedb850fda6c647d30c80affaa4b10c8 | Add GravatarEmail in UserProfile | surrealist/git-newhand,surrealist/git-newhand | git-newhand.Web/Models/AccountModels.cs | git-newhand.Web/Models/AccountModels.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Globalization;
using System.Web.Security;
namespace git_newhand.Web.Models {
public class UsersContext : DbContext {
public User... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Globalization;
using System.Web.Security;
namespace git_newhand.Web.Models {
public class UsersContext : DbContext {
public User... | mit | C# |
bb1aacb360758c2c5e21e172bcb9f1985933a2b9 | Fix SkinnableSprite initialising a drawable even when the texture is not available | peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game/Skinning/SkinnableSprite.cs | osu.Game/Skinning/SkinnableSprite.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Ga... | mit | C# |
5326f504cc2dbcd5485fc27fd106bd17452c1103 | Make CLI work with paths containing spaces. | activescott/lessmsi,activescott/lessmsi,activescott/lessmsi | src/LessMsi.Cli/OpenGuiCommand.cs | src/LessMsi.Cli/OpenGuiCommand.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class OpenGuiCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
if (args.Count < 2)
throw new OptionException("You must specify the name o... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class OpenGuiCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
if (args.Count < 2)
throw new OptionException("You must specify the name o... | mit | C# |
ea23b4a831a9b5886ce781f8cc45870377083fad | Fix shell-completion.yml to exclude unlisted targets for invocation | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Execution/HandleShellCompletionAttribute.cs | source/Nuke.Common/Execution/HandleShellCompletionAttribute.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Common.IO;
using static Nuke.Common.Constants;
namespace Nuke.Common.Execution
{
[AttributeUsage(Attr... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Common.IO;
namespace Nuke.Common.Execution
{
[AttributeUsage(AttributeTargets.Class)]
internal cl... | mit | C# |
f4520c7532764dbb6be32be4a5cdb3aa8667c5b4 | Update PixelBandAccessor.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO/PixelBandAccessor.cs | src/RasterIO/PixelBandAccessor.cs | // Contributors:
// James Domingo, Green Code LLC
using Landis.SpatialModeling;
namespace Landis.RasterIO
{
/// <summary>
/// Accessor for getting or seting a particular pixel band.
/// </summary>
public abstract class PixelBandAccessor<T>
where T : struct
{
protecte... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
27b6565b4c1c4a0e26ad52118cf517988834f6ba | Update comments | cshung/clrmd,cshung/clrmd,Microsoft/clrmd,Microsoft/clrmd | src/Microsoft.Diagnostics.Runtime/src/Common/ClrStaticField.cs | src/Microsoft.Diagnostics.Runtime/src/Common/ClrStaticField.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.
namespace Microsoft.Diagnostics.Runtime
{
/// <summary>
/// Represents a static field in the target process... | // 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.
namespace Microsoft.Diagnostics.Runtime
{
/// <summary>
/// Represents a static field in the target process... | mit | C# |
90eb88c56755717609f38ca3cea5897a3b7e8f72 | Fix conditional in interface | ginach/onedrive-sdk-csharp,gitasaurus/onedrive-sdk-csharp,OneDrive/onedrive-sdk-csharp | src/OneDriveSdk.Common/Authentication/IAuthenticationResult.cs | src/OneDriveSdk.Common/Authentication/IAuthenticationResult.cs | // ------------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation
//
// 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 witho... | // ------------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation
//
// 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 witho... | mit | C# |
9d7715a0ec042f7220663fb49286e6e7e19f4626 | Add some comments to DataMigration (#8623) | xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore/OrchardCore.Data.Abstractions/DataMigration.cs | src/OrchardCore/OrchardCore.Data.Abstractions/DataMigration.cs | using YesSql.Sql;
namespace OrchardCore.Data.Migration
{
/// <summary>
/// A <see cref="DataMigration"/> is discovered through method reflection
/// and runs sequentially from the Create() method through UpdateFromX().
/// </summary>
/// <example>
/// Usage of method implementations:
/// <c... | using YesSql.Sql;
namespace OrchardCore.Data.Migration
{
/// <summary>
/// Represents a database migration.
/// </summary>
public abstract class DataMigration : IDataMigration
{
/// <inheritdocs />
public ISchemaBuilder SchemaBuilder { get; set; }
}
}
| bsd-3-clause | C# |
ac11de7efb5d71125d07eb0efc9ce230e88e841a | Correct order of params in diff highlighter tests | chaitanyagurrapu/shouldly,JoeMighty/shouldly,AmadeusW/shouldly,ankurMalhotra/shouldly | src/Shouldly.Tests/InternalTests/StringDiffHighlighterTests.cs | src/Shouldly.Tests/InternalTests/StringDiffHighlighterTests.cs | using NUnit.Framework;
using Shouldly.DifferenceHighlighting2;
using System;
namespace Shouldly.Tests.InternalTests
{
[TestFixture]
public static class StringDiffHighlighterTests
{
private static IStringDifferenceHighlighter _sut;
[SetUp]
public static void Setup()
{
... | using NUnit.Framework;
using Shouldly.DifferenceHighlighting2;
using System;
namespace Shouldly.Tests.InternalTests
{
[TestFixture]
public static class StringDiffHighlighterTests
{
private static IStringDifferenceHighlighter _sut;
[SetUp]
public static void Setup()
{
... | bsd-3-clause | C# |
363af72a5a3d15d5b4f7914b054009d61b13ee48 | Add equality checks to Link annotation | skonves/Konves.TextGraph | src/Konves.TextGraph/Annotations/Link.cs | src/Konves.TextGraph/Annotations/Link.cs | using Konves.TextGraph.Models;
namespace Konves.TextGraph.Annotations
{
public sealed class Link : Annotation
{
public Link(int offset, int length, string uri) : base(offset, length)
{
Uri = uri;
}
public string Uri { get; }
public override string Subtype { get { return "link"; } }
public override... | using Konves.TextGraph.Models;
namespace Konves.TextGraph.Annotations
{
public sealed class Link : Annotation
{
public Link(int offset, int length, string uri) : base(offset, length)
{
Uri = uri;
}
public string Uri { get; }
public override string Subtype { get { return "link"; } }
public override... | apache-2.0 | C# |
edb057d115e3590418d35d8db4b7e162bcf44f21 | Update Tester class implementation due to the recent changes in Tester implementation | JonesTwink/MPP.Tracer | Tracer/Tester/SingleThreadTest.cs | Tracer/Tester/SingleThreadTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tracer;
using System.Threading;
namespace Tester
{
class SingleThreadTest : ITest
{
private ITracer tracer = new Tracer.Tracer();
public void Run()
{
tra... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tracer;
namespace Tester
{
class SingleThreadTest : ITest
{
private ITracer tracer = new Tracer.Tracer();
public void Run()
{
tracer.StartTrace();
... | mit | C# |
3bc3406b359fee7125cda693c373d3977049a588 | Add configuration getting/setting | Zyrio/ictus,Zyrio/ictus | src/Yio/Startup.cs | src/Yio/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Yio.Data.Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace Yio
{
public class Startup
{
... | mit | C# |
3d845abdb7fecead1a0506f3a50f57108a05f86a | Test on null input string | maxkoryukov/MK.WebLib,maxkoryukov/MK.Lib | src/MK.Lib.T/Ext/StringExt__AppendRandom_Test.cs | src/MK.Lib.T/Ext/StringExt__AppendRandom_Test.cs | using System;
using NUnit.Framework;
namespace MK.Ext
{
[TestFixture]
public class StringExt__AppendRandom_Test
{
[Test]
public void NotTheSameOnSimilarTests()
{
const string dict = "ab1";
foreach (var init in new string[] { "12", "", "a", "-", "12", "%" })
{
for (int len = 2; len < 50; len++)
... | using System;
using NUnit.Framework;
namespace MK.Ext
{
[TestFixture]
public class StringExt__AppendRandom_Test
{
[Test]
public void NotTheSameOnSimilarTests()
{
const string dict = "ab1";
foreach (var init in new string[] { "12", "", "a", "-", "12", "%" })
{
for (int len = 2; len < 50; len++)
... | mit | C# |
a51f7fb112194ca43697c04c5fc9724aea7d11cd | Comment IsoYearOfEraDateTimeField a little (it's horrible!) but fix a bug at the same time. (It's a bug which couldn't be shown via the public API.) | zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,nodatime/nodatime,jskeet/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime | src/NodaTime/Fields/IsoYearOfEraDateTimeField.cs | src/NodaTime/Fields/IsoYearOfEraDateTimeField.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 NodaTime.Calendars;
using NodaTime.Utility;
namespace NodaTime.Fields
{
/// <summary>
/// Field which is never use... | // 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 NodaTime.Calendars;
using NodaTime.Utility;
namespace NodaTime.Fields
{
internal sealed class IsoYearOfEraDateTimeField... | apache-2.0 | C# |
32068e2dba00bb63f78d28c8c932d14004c3a8e7 | Update fixture path for specs | taxjar/taxjar.net | src/Taxjar.Tests/Infrastructure/TaxjarFixture.cs | src/Taxjar.Tests/Infrastructure/TaxjarFixture.cs | using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Taxjar.Tests
{
public class TaxjarFixture
{
public static string GetJSON(string fixturePath)
{
using (StreamReader file = File.OpenText(Path.Combine("../../../", "Fixtures", fixturePath)))
usi... | using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Taxjar.Tests
{
public class TaxjarFixture
{
public static string GetJSON(string fixturePath)
{
using (StreamReader file = File.OpenText(Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "../../..... | mit | C# |
69e87ab98910d99f7568e7aa5270c70f794c971c | update version | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Properties/AssemblyInfo.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/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("App... | 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("App... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.