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 |
|---|---|---|---|---|---|---|---|---|
43547ae1903118a90d2ec1082a38159e056225ad | test commit | FriendlyNPC/MVC6_Mac,FriendlyNPC/MVC6_Mac | DiplomaDataModel/Class1.cs | DiplomaDataModel/Class1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DiplomaDataModel
{
public class Class1
{
public Class1()
{
var test;
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DiplomaDataModel
{
public class Class1
{
public Class1()
{
}
}
}
| mit | C# |
5b3b6a3c3e0a3c12c8c8366108848d101764d36d | Fix access denied issue when access process information in RemoteProcessService | mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | apache-2.0 | C# |
a656e677e4d8c989d4cd20ee6d109471e65d41db | Simplify EqualsHelper by calling WriteInvoke (#192) | jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddi... | objcgen/EqualsHelper.cs | objcgen/EqualsHelper.cs | using System;
using Embeddinator;
namespace ObjC {
public class EqualsHelper : MethodHelper{
public EqualsHelper (SourceWriter headers, SourceWriter implementation) : base (headers, implementation)
{
MonoSignature = "Equals(object)";
ObjCSignature = "isEqual:(id _Nullable)other";
ReturnType = "bool";
... | using System;
using System.IO;
using Embeddinator;
namespace ObjC {
public class EqualsHelper : MethodHelper{
public EqualsHelper (SourceWriter headers, SourceWriter implementation) : base (headers, implementation)
{
MonoSignature = "Equals(object)";
ObjCSignature = "isEqual:(id _Nullable)other";
Retur... | mit | C# |
d7544f570184be26579f32f1bdeee0f17e681768 | Fix test name | bhaveshmaniya/Habitat,GoranHalvarsson/Habitat,zyq524/Habitat,nurunquebec/Habitat,ClearPeopleLtd/Habitat,nurunquebec/Habitat,GoranHalvarsson/Habitat,bhaveshmaniya/Habitat,zyq524/Habitat,ClearPeopleLtd/Habitat | src/Foundation/SitecoreExtensions/Tests/Extensions/StringExtensionsTests.cs | src/Foundation/SitecoreExtensions/Tests/Extensions/StringExtensionsTests.cs | namespace Sitecore.Foundation.SitecoreExtensions.Tests.Extensions
{
using System;
using FluentAssertions;
using NSubstitute;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.FakeDb;
using Sitecore.FakeDb.AutoFixture;
using Sitecore.Foundation.SitecoreExtensions.Extensions;
using Sitecor... | namespace Sitecore.Foundation.SitecoreExtensions.Tests.Extensions
{
using System;
using FluentAssertions;
using NSubstitute;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.FakeDb;
using Sitecore.FakeDb.AutoFixture;
using Sitecore.Foundation.SitecoreExtensions.Extensions;
using Sitecor... | apache-2.0 | C# |
a555e617e8ee94e3cc7d778105d66404243806ff | Update Agent String (#3953) | fassadlr/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.SmartContracts/SmartContractVersionProvider.cs | src/Stratis.Bitcoin.Features.SmartContracts/SmartContractVersionProvider.cs | using Stratis.Bitcoin.Interfaces;
namespace Stratis.Bitcoin.Features.SmartContracts
{
public sealed class SmartContractVersionProvider : IVersionProvider
{
/// <inheritdoc />
public string GetVersion()
{
return "1.0.2.0";
}
}
}
| using Stratis.Bitcoin.Interfaces;
namespace Stratis.Bitcoin.Features.SmartContracts
{
public sealed class SmartContractVersionProvider : IVersionProvider
{
/// <inheritdoc />
public string GetVersion()
{
return "1.0.2.0-beta";
}
}
}
| mit | C# |
d71c4318c1b7e874df27edab7f5ad4f2e4edf2fb | Add new keyword for hiding the none generic generate | inputfalken/Sharpy | GeneratorAPI/IGenerator.cs | GeneratorAPI/IGenerator.cs | namespace GeneratorAPI {
/// <summary>
/// Represents a generic generator which can generate any ammount of elements.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGenerator<out T> : IGenerator {
/// <summary>
/// Generate next element.
/// </... | namespace GeneratorAPI {
/// <summary>
/// Represents a generic generator which can generate any ammount of elements.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGenerator<out T> : IGenerator {
/// <summary>
/// Generate next element.
/// </... | mit | C# |
cd0091dc80a412eadb2941691c23abb3b73677f1 | remove Obsolete from GameType, it's not actually obsolete | HearthSim/HearthDb | HearthDb/Enums/GameType.cs | HearthDb/Enums/GameType.cs | using System;
namespace HearthDb.Enums
{
public enum GameType
{
GT_UNKNOWN = 0,
GT_VS_AI = 1,
GT_VS_FRIEND = 2,
GT_TUTORIAL = 4,
GT_ARENA = 5,
GT_TEST = 6,
GT_RANKED = 7,
GT_UNRANKED = 8,
GT_TAVERNBRAWL = 16,
GT_TB_2P_COOP = 18,
GT_LAST = 17
}
} | using System;
namespace HearthDb.Enums
{
[Obsolete("Use BnetGameType")]
public enum GameType
{
GT_UNKNOWN = 0,
GT_VS_AI = 1,
GT_VS_FRIEND = 2,
GT_TUTORIAL = 4,
GT_ARENA = 5,
GT_TEST = 6,
GT_RANKED = 7,
GT_UNRANKED = 8,
GT_TAVERNBRAWL = 16,
GT_TB_2P_COOP = 18,
GT_LAST = 17
}
} | mit | C# |
e2431d5217fec7a9f489003328a2a3e4b7d08fc5 | Update SMSTodayAMController.cs | dkitchen/bpcc,dkitchen/bpcc | src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs | src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs | using BPCCScheduler.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Twilio;
namespace BPCCScheduler.Controllers
{
public class SMSTodayAMController : SMSApiController
{
//public IEnumerable<SMSMessage> Get... | using BPCCScheduler.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Twilio;
namespace BPCCScheduler.Controllers
{
public class SMSTodayAMController : SMSApiController
{
//public IEnumerable<SMSMessage> Get... | mit | C# |
b27add915b1f113ee416f6f529908f169920b525 | Fix code using old style code-gen factory classes - use GrainClient.GrainFactory | amccool/orleans,rrector/orleans,Liversage/orleans,SoftWar1923/orleans,benjaminpetit/orleans,jokin/orleans,dotnet/orleans,gabikliot/orleans,sergeybykov/orleans,xclayl/orleans,tsibelman/orleans,hoopsomuah/orleans,MikeHardman/orleans,kowalot/orleans,gigya/orleans,bstauff/orleans,rrector/orleans,tsibelman/orleans,LoveElect... | Samples/GPSTracker/GPSTracker.Web/Controllers/HomeController.cs | Samples/GPSTracker/GPSTracker.Web/Controllers/HomeController.cs | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using GPSTracker.Common;
using GPSTracker.GrainInterface;
using Orleans;
namespace GPSTracker.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using GPSTracker.Common;
using GPSTracker.GrainInterface;
namespace GPSTracker.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public async ... | mit | C# |
1d992608d6820fbe85dae7fd2e6fbba6dd8891a8 | Update EntityUnitOfWorkFactoryBase.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityUnitOfWorkFactoryBase.cs | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityUnitOfWorkFactoryBase.cs | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace TIKSN.Data.EntityFrameworkCore
{
public abstract class EntityUnitOfWorkFactoryBase : IUnitOfWorkFactory
{
private readonly IServiceProvider serviceProvider;
protected EntityUnitOfWorkF... | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace TIKSN.Data.EntityFrameworkCore
{
public abstract class EntityUnitOfWorkFactoryBase : IUnitOfWorkFactory
{
private readonly IServiceProvider serviceProvider;
protected EntityUnitOfWorkF... | mit | C# |
5b21d3adc072f9901373d69cc1cdcb041387c9c9 | Change naming in test too | ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework.Tests/MathUtils/TestPathApproximator.cs | osu.Framework.Tests/MathUtils/TestPathApproximator.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Utils;
using osuTK;
namespace osu.Framework.Tests.MathUtils
{
[TestFixture]
public c... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Utils;
using osuTK;
namespace osu.Framework.Tests.MathUtils
{
[TestFixture]
public c... | mit | C# |
91e72772da7650e24a5065071d3a6320181c8941 | Throw proper exception | MortenLiebmann/holoholona,MortenLiebmann/holoholona | Holoholona/Repositories/AnimalRepository/AnimalRepositoryMock.cs | Holoholona/Repositories/AnimalRepository/AnimalRepositoryMock.cs | using System.Collections.Generic;
using Holoholona.Models;
using Holoholona.Models.Enums;
using System;
namespace Holoholona.Repositories.AnimalRepository
{
public class AnimalRepositoryMock : IAnimalRepository
{
public Animal GetAnimal(int id)
{
foreach (Animal item in GetAnimals(... | using System.Collections.Generic;
using Holoholona.Models;
using Holoholona.Models.Enums;
namespace Holoholona.Repositories.AnimalRepository
{
public class AnimalRepositoryMock : IAnimalRepository
{
public Animal GetAnimal(int id)
{
foreach (Animal item in GetAnimals())
... | mit | C# |
d3b1be36a2317d5f043f540d130c0f6e45be17af | Remove unneeded object cloning | protyposis/Aurio,protyposis/Aurio | AudioAlign/AudioAlign.Audio/Matching/HaitsmaKalker2002/DictionaryCollisionMap.cs | AudioAlign/AudioAlign.Audio/Matching/HaitsmaKalker2002/DictionaryCollisionMap.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AudioAlign.Audio.Matching.HaitsmaKalker2002 {
class DictionaryCollisionMap : IFingerprintCollisionMap {
private Dictionary<SubFingerprint, List<SubFingerprintLookupEntry>> lookupTable;
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AudioAlign.Audio.Matching.HaitsmaKalker2002 {
class DictionaryCollisionMap : IFingerprintCollisionMap {
private Dictionary<SubFingerprint, List<SubFingerprintLookupEntry>> lookupTable;
publi... | agpl-3.0 | C# |
fa875ad23101bad0dd848a5a31d2acd908ce31e0 | Fix regex to work with older items | hubbardgary/TaskScheduler,hubbardgary/TaskScheduler,hubbardgary/TaskScheduler | TaskScheduler.Core/TaskTypes/Recording/Extensions/RecordingBaseTaskExtensions.cs | TaskScheduler.Core/TaskTypes/Recording/Extensions/RecordingBaseTaskExtensions.cs | using System;
using System.Text.RegularExpressions;
using TaskScheduler.Core.Models.Recording;
using TaskScheduler.Core.TaskTypes.Base;
namespace TaskScheduler.Core.TaskTypes.Recording.Extensions
{
public static class RecordingBaseTaskExtensions
{
public static int GetDuration(this BaseTask task)
... | using System;
using System.Text.RegularExpressions;
using TaskScheduler.Core.Models.Recording;
using TaskScheduler.Core.TaskTypes.Base;
namespace TaskScheduler.Core.TaskTypes.Recording.Extensions
{
public static class RecordingBaseTaskExtensions
{
public static int GetDuration(this BaseTask task)
... | mit | C# |
0de28354cfa0e5f12b425fd7fa3578c3c445824e | Fix First() for MD | xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,moljac/Xamarin.Mobile | MonoDroid/MonoMobile.Extensions/Contacts/ContactQueryProvider.cs | MonoDroid/MonoMobile.Extensions/Contacts/ContactQueryProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Android.Content;
using Android.Content.Res;
using Android.Database;
using Android.Provider;
using Uri = Android.Net.Uri;
namespace Xamarin.Contacts
{
internal class ContactQueryProvider
: IQueryProvider
{
inte... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Android.Content;
using Android.Content.Res;
using Android.Database;
using Android.Provider;
using Uri = Android.Net.Uri;
namespace Xamarin.Contacts
{
internal class ContactQueryProvider
: IQueryProvider
{
inte... | apache-2.0 | C# |
254e2799626de1bba87e412e56015ac288a48246 | Add more Popup methods | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Popups.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Popups.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public int Popup(int selectedIndex, string[] displayedOptions)
{
return Popup(selectedIndex, displayedOptions, null);
}
public int Popup(int selectedIndex, GUIContent[] displayedOptions)
{
return Popup(selectedIn... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public int Popup(int selectedIndex, string[] displayedOptions)
{
return Popup(selectedIndex, displayedOptions, null);
}
public int Popup(int selectedIndex, string[] displayedOptions, Layout option)
{
return Popup... | mit | C# |
032ae9ebeda7ae9f813655901d284e283a391d6f | test inplace | scottcarr/reviewbot | TestRunner/Program.cs | TestRunner/Program.cs | /*
ReviewBot 0.1
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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 limitat... | /*
ReviewBot 0.1
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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 limitat... | mit | C# |
e2dc2fac32bf104a2686515f565fa1c2ac8a36fe | Save AuthenticationConfiguration.cs as UTF-8 | cnblogs/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore | Enyim.Caching/Configuration/AuthenticationConfiguration.cs | Enyim.Caching/Configuration/AuthenticationConfiguration.cs | using Enyim.Caching.Memcached;
using System;
using System.Collections.Generic;
namespace Enyim.Caching.Configuration
{
public class AuthenticationConfiguration : IAuthenticationConfiguration
{
private Type authenticator;
private Dictionary<string, object> parameters;
Type IAuthenticat... | using System;
using System.Collections.Generic;
using Enyim.Caching.Memcached;
namespace Enyim.Caching.Configuration
{
public class AuthenticationConfiguration : IAuthenticationConfiguration
{
private Type authenticator;
private Dictionary<string, object> parameters;
Type IAuthenticationConfiguration.Type
{... | apache-2.0 | C# |
66e08bd7cfd48d11fee5d7fe0056f301cf32331e | 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.Extras.DomainServices | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DomainServices")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DomainServices")]
[assembly: AssemblyDescription("")]
| mit | C# |
af2e09ab73f04421fdc187a869b97b46ed1dc7c5 | Clean up namespace imports. | mcneel/RhinoCycles | RenderEngine.UploadData.cs | RenderEngine.UploadData.cs | /**
Copyright 2014-2015 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | /**
Copyright 2014-2015 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | apache-2.0 | C# |
30918ab0874ca949ad61dcd4e5683c4bbe7ef064 | Bump Version | WillsB3/WOAI-P3D-Installer | WOAI-P3D-Installer/WOAI-P3D-Installer/Properties/AssemblyInfo.cs | WOAI-P3D-Installer/WOAI-P3D-Installer/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("WO... | 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("WO... | mit | C# |
6674567af1d678f33eb7c54920e3f11cba7301a5 | Use -1 as the default preview time globally in metadata | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Beatmaps/BeatmapMetadata.cs | osu.Game/Beatmaps/BeatmapMetadata.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enab... | // 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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enab... | mit | C# |
5cf370cde220c29d5b73ada8154eecb4f94bc261 | Fix behaviour from calling create multiple times | pekin0609/-,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,pekin0609/-,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,pekin0609/-,pekin0609/- | unity-sample-environment/Assets/Scripts/AgentBehaviour.cs | unity-sample-environment/Assets/Scripts/AgentBehaviour.cs | using UnityEngine;
using MsgPack;
[RequireComponent(typeof (AgentController))]
[RequireComponent(typeof (AgentSensor))]
public class AgentBehaviour : MonoBehaviour {
private LISClient client = new LISClient("myagent");
private AgentController controller;
private AgentSensor sensor;
private MsgPack.C... | using UnityEngine;
using MsgPack;
[RequireComponent(typeof (AgentController))]
[RequireComponent(typeof (AgentSensor))]
public class AgentBehaviour : MonoBehaviour {
private LISClient client = new LISClient("myagent");
private AgentController controller;
private AgentSensor sensor;
private MsgPack.C... | apache-2.0 | C# |
55407b26d4f2fe18721f28dad5e8088570e1ed3f | Support for dynamic types in SetAttributeAction (#89) | commercetools/commercetools-dotnet-sdk | commercetools.NET/Products/UpdateActions/SetAttributeAction.cs | commercetools.NET/Products/UpdateActions/SetAttributeAction.cs | using System;
using commercetools.Common;
using commercetools.Types;
using Newtonsoft.Json;
namespace commercetools.Products.UpdateActions
{
/// <summary>
/// Adds/Removes/Changes a custom attribute.
/// </summary>
/// <see href="http://dev.commercetools.com/http-api-projects-products.html#set-attri... | using System;
using commercetools.Common;
using commercetools.Types;
using Newtonsoft.Json;
namespace commercetools.Products.UpdateActions
{
/// <summary>
/// Adds/Removes/Changes a custom attribute.
/// </summary>
/// <see href="http://dev.commercetools.com/http-api-projects-products.html#set-attri... | mit | C# |
e0d6a1a9a7ffec1bf4dc995fec0e4ca741f12086 | Add quotes | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/DanTsekhanskiy.cs | src/Firehose.Web/Authors/DanTsekhanskiy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DanTsekhanskiy : IAmACommunityMember
{
public string FirstName => "Dan";
public string Las... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DanTsekhanskiy : IAmACommunityMember
{
public string FirstName => "Dan";
public string Las... | mit | C# |
b3f2066f50f968c449011b4dc88369afd4cdff1f | Update AssemblyInfo.cs | EmphaticFist/Fluky,michaeljbaird/Fluky,michaeljbaird/Fluky,EmphaticFistGames/Fluky | src/Fluky.Tests/Properties/AssemblyInfo.cs | src/Fluky.Tests/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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]... | 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: AssemblyConfigurat... | mit | C# |
b5d7d09dca0461aa02d246c1daea4f40f0990b08 | change send message service receive sms to use inboundMessage | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
using PS.Mothership.Core.Common.Dto.Message;
using PS.Mothership.Core.Common.Dto.SendMessage;
namespace PS.Mothership.Core.Common.Contracts
{
[Serv... | using System;
using System.Collections;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
using PS.Mothership.Core.Common.Dto.SendMessage;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ISendMes... | mit | C# |
44cfa2d6f9a19d1c2e9b59df30db7a860bb48c3f | Update src/Abp.AspNetCore/AspNetCore/MultiTenancy/HttpCookieTenantResolveContributor.cs | aspnetboilerplate/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspne... | src/Abp.AspNetCore/AspNetCore/MultiTenancy/HttpCookieTenantResolveContributor.cs | src/Abp.AspNetCore/AspNetCore/MultiTenancy/HttpCookieTenantResolveContributor.cs | using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Extensions;
using Abp.MultiTenancy;
using Microsoft.AspNetCore.Http;
namespace Abp.AspNetCore.MultiTenancy
{
public class HttpCookieTenantResolveContributor : ITenantResolveContributor, ITransientDependency
{
private readonly IHttpContext... | using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Extensions;
using Abp.MultiTenancy;
using Microsoft.AspNetCore.Http;
namespace Abp.AspNetCore.MultiTenancy
{
public class HttpCookieTenantResolveContributor : ITenantResolveContributor, ITransientDependency
{
private readonly IHttpContext... | mit | C# |
f865e0f0042aa494403a1ae6b46faccbab893f87 | Update examples | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-as... | Examples/CSharp/Files/Handling/OpeningTabDelimitedFiles.cs | Examples/CSharp/Files/Handling/OpeningTabDelimitedFiles.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningTabDelimitedFiles
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.C... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFiles
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | mit | C# |
2a61092ef24ada2205ee0219b77e54cea8dbb7d5 | Update GeoPointFieldSettings.cs | petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2 | src/OrchardCore.Modules/OrchardCore.Spatial/Settings/GeoPointFieldSettings.cs | src/OrchardCore.Modules/OrchardCore.Spatial/Settings/GeoPointFieldSettings.cs | namespace OrchardCore.Spatial.Settings
{
public class GeoPointFieldSettings
{
public string Hint { get; set; }
public bool Required { get; set; }
}
}
| namespace OrchardCore.Spatial.Settings
{
public class GeoPointFieldSettings
{
public string Hint { get; set; }
public bool Required { get; set; }
}
} | bsd-3-clause | C# |
c996c29e553ff0e673426f5d926e1420ac0d7f39 | Disable also console logging on AppVeyor. | mchaloupka/DotNetR2RMLStore,mchaloupka/EVI | src/Slp.Evi.Storage/Slp.Evi.Test.System/SPARQL/SPARQL_TestSuite/Db/MSSQLDb.cs | src/Slp.Evi.Storage/Slp.Evi.Test.System/SPARQL/SPARQL_TestSuite/Db/MSSQLDb.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Databas... | using System;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.D... | mit | C# |
185601744b9168e028b2a2f902e8243fbe205fcf | Disable SslStream_SameCertUsedForClientAndServer_Ok test failing on Win7 | twsouthwick/corefx,jlin177/corefx,stephenmichaelf/corefx,zhenlan/corefx,tijoytom/corefx,krytarowski/corefx,ViktorHofer/corefx,axelheer/corefx,JosephTremoulet/corefx,jlin177/corefx,ViktorHofer/corefx,axelheer/corefx,ptoonen/corefx,shimingsg/corefx,billwert/corefx,wtgodbe/corefx,seanshpark/corefx,krk/corefx,stone-li/core... | src/System.Net.Security/tests/FunctionalTests/SslStreamCredentialCacheTest.cs | src/System.Net.Security/tests/FunctionalTests/SslStreamCredentialCacheTest.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.ComponentModel;
using System.Net.Test.Common;
using System.Security.Authentication;
using System.Securi... | // 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.ComponentModel;
using System.Net.Test.Common;
using System.Security.Authentication;
using System.Secur... | mit | C# |
88b5e73c265127fc7f2cbde63cae36921036ec85 | Make WebSocketReceiveResult's fields readonly | BrennanConroy/corefx,billwert/corefx,zhenlan/corefx,weltkante/corefx,rahku/corefx,ptoonen/corefx,alphonsekurian/corefx,ericstj/corefx,cydhaselton/corefx,dotnet-bot/corefx,mazong1123/corefx,richlander/corefx,weltkante/corefx,DnlHarvey/corefx,wtgodbe/corefx,krytarowski/corefx,YoupHulsebos/corefx,iamjasonp/corefx,tijoytom... | src/System.Net.WebSockets/src/System/Net/WebSockets/WebSocketReceiveResult.cs | src/System.Net.WebSockets/src/System/Net/WebSockets/WebSocketReceiveResult.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.Diagnostics;
namespace System.Net.WebSockets
{
public class WebSocketReceiveResult
{
p... | // 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.Diagnostics;
namespace System.Net.WebSockets
{
public class WebSocketReceiveResult
{
p... | mit | C# |
5704e9ee6553de4324dffa802cdf7bbada5108ec | Fix failing at beginning of map | naoey/osu,naoey/osu,DrabWeb/osu,ppy/osu,peppy/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,Nabile-Rahmani/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,ZLima12/osu,johnneijzen/osu,EVAST9919/osu,peppy/os... | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Catch.Judgements;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
namespace osu.Gam... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Catch.Judgements;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
namespace osu.Gam... | mit | C# |
c75d5a8e775b70b255f5f7522ebf0d1619f6915e | add lastUseOn to UserAddress | simplcommerce/SimplCommerce,arst/SimplCommerce,simplcommerce/SimplCommerce,arst/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,arst/SimplCommerce,arst/SimplCommerce | src/Core/Shopcuatoi.Core/Domain/Models/UserAddress.cs | src/Core/Shopcuatoi.Core/Domain/Models/UserAddress.cs | using System;
using Shopcuatoi.Infrastructure.Domain.Models;
namespace Shopcuatoi.Core.Domain.Models
{
public class UserAddress : Entity
{
public long UserId { get; set; }
public virtual User User { get; set; }
public long AddressId { get; set; }
public virtual Address Addre... | using Shopcuatoi.Infrastructure.Domain.Models;
namespace Shopcuatoi.Core.Domain.Models
{
public class UserAddress : Entity
{
public long UserId { get; set; }
public virtual User User { get; set; }
public long AddressId { get; set; }
public virtual Address Address { get; set;... | apache-2.0 | C# |
a0f02a0346f53a50f65b7b36959ce8da64a1509a | Fix typos in NormalizeString P/Invoke signature | elijah6/corefx,gkhanna79/corefx,mmitche/corefx,shmao/corefx,alphonsekurian/corefx,stephenmichaelf/corefx,dhoehna/corefx,zhenlan/corefx,Petermarcu/corefx,weltkante/corefx,MaggieTsang/corefx,ravimeda/corefx,DnlHarvey/corefx,rahku/corefx,ptoonen/corefx,cydhaselton/corefx,alphonsekurian/corefx,Petermarcu/corefx,yizhang82/c... | src/Common/src/Interop/Windows/mincore/Interop.Normalization.cs | src/Common/src/Interop/Windows/mincore/Interop.Normalization.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
// These are error codes w... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
// These are error codes w... | mit | C# |
9e9e9457029869604b3c4fcf7b0cc259cfe7a92d | Fix debugger visualizer | OmarTawfik/roslyn,ljw1004/roslyn,droyad/roslyn,supriyantomaftuh/roslyn,TyOverby/roslyn,GuilhermeSa/roslyn,reaction1989/roslyn,evilc0des/roslyn,HellBrick/roslyn,drognanar/roslyn,kelltrick/roslyn,amcasey/roslyn,diryboy/roslyn,russpowers/roslyn,kelltrick/roslyn,chenxizhang/roslyn,srivatsn/roslyn,rchande/roslyn,ValentinRue... | src/Tools/Source/DebuggerVisualizers/IL/ILDebuggerVisualizer.cs | src/Tools/Source/DebuggerVisualizers/IL/ILDebuggerVisualizer.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.Collections.Immutable;
using System.Diagnostics;
using System.Text;
using Microsoft.CodeAnalysis.EditAndContinue;
using Microsoft.VisualStudio.De... | // 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.Diagnostics;
using System.Text;
using Microsoft.CodeAnalysis.EditAndContinue;
using Microsoft.VisualStudio.DebuggerVisualizers;
using Roslyn.Debu... | mit | C# |
78028c21f2e6933d74a5a1ac716259a0f02d5ade | Remove and sort usings | CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn | src/EditorFeatures/Core/Options/IsRoslynPackageLoadedOption.cs | src/EditorFeatures/Core/Options/IsRoslynPackageLoadedOption.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.Visua... | // 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 Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities.BaseUtility;
using Microsoft.Visua... | mit | C# |
a525bf61d9961abc4c3ad5174c8b8a1086b6cf37 | fix #1105 add default and ignore_missing to timestamp mappings | TheFireCookie/elasticsearch-net,junlapong/elasticsearch-net,UdiBen/elasticsearch-net,joehmchan/elasticsearch-net,wawrzyn/elasticsearch-net,junlapong/elasticsearch-net,CSGOpenSource/elasticsearch-net,robertlyson/elasticsearch-net,gayancc/elasticsearch-net,jonyadamit/elasticsearch-net,tkirill/elasticsearch-net,RossLieber... | src/Nest/Domain/Mapping/SpecialFields/TimestampFieldMapping.cs | src/Nest/Domain/Mapping/SpecialFields/TimestampFieldMapping.cs | using System;
using Newtonsoft.Json;
using System.Linq.Expressions;
using Nest.Resolvers.Converters;
namespace Nest
{
[JsonConverter(typeof(ReadAsTypeConverter<TimestampFieldMapping>))]
public interface ITimestampFieldMapping : ISpecialField
{
[JsonProperty("enabled")]
bool Enabled { get; set; }
[JsonProper... | using System;
using Newtonsoft.Json;
using System.Linq.Expressions;
using Nest.Resolvers.Converters;
namespace Nest
{
[JsonConverter(typeof(ReadAsTypeConverter<TimestampFieldMapping>))]
public interface ITimestampFieldMapping : ISpecialField
{
[JsonProperty("enabled")]
bool Enabled { get; set; }
[JsonProper... | apache-2.0 | C# |
ac86a64e0a57662abff33112d2f2d22597e0faf8 | fix for possible null ref exception | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/V201801/AppCatalogFromModelToSchemaTypeResolver.cs | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/V201801/AppCatalogFromModelToSchemaTypeResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers.V201801
{
internal class AppCatalogFromModelToSchemaTypeResolver : ITypeResolver
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers.V201801
{
internal class AppCatalogFromModelToSchemaTypeResolver : ITypeResolver
... | mit | C# |
b457b41e379673a5e073a7336b876d67ca8c2c69 | Add assembly resolution failure logging to PowerShell console host | mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost/MonoDevelop.PackageManagement.PowerShell.ConsoleHost/Program.cs | src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost/MonoDevelop.PackageManagement.PowerShell.ConsoleHost/Program.cs | //
// Program.cs
//
// Author:
// Matt Ward <matt.ward@microsoft.com>
//
// Copyright (c) 2019 Microsoft
//
// 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, incl... | //
// Program.cs
//
// Author:
// Matt Ward <matt.ward@microsoft.com>
//
// Copyright (c) 2019 Microsoft
//
// 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, incl... | mit | C# |
26cbb279f580a36920569d272c2fe65deb9760a5 | rename method | RyotaMurohoshi/unity_snippets | experimental_2d/Assets/Scripts/Editor/TileMapConvertor.cs | experimental_2d/Assets/Scripts/Editor/TileMapConvertor.cs | using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEditor;
public class TilemapConvertor
{
[MenuItem("Assets/Convert TileMap to Sprites")]
public static void Convert()
{
foreach (var grid in GameObject.FindObjectsOfType<Grid>())
{
foreach (var tilemap in grid.GetComponen... | using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEditor;
public class TilemapConvertor
{
[MenuItem("Assets/Convert TileMap to Sprites")]
public static void Convert()
{
foreach (var grid in GameObject.FindObjectsOfType<Grid>())
{
foreach (var tilemap in grid.GetComponen... | mit | C# |
2d33262d8938f4808d7cfb2ae449c2601df7f476 | add tests for exception event emitting custom properties when toStringDictionary is called | eShopWorld/devopsflex-core | src/Tests/Eshopworld.Core.Tests/ExceptionEventTest.cs | src/Tests/Eshopworld.Core.Tests/ExceptionEventTest.cs | using System;
using System.Globalization;
using System.Net;
using Eshopworld.Core;
using Eshopworld.Tests.Core;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
// ReSharper disable once CheckNamespace
public class ExceptionEventTest
{
[Fact, IsUnit]
public void Ensure_ExceptionIsntSerialized()
... | using System;
using Eshopworld.Core;
using Eshopworld.Tests.Core;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
// ReSharper disable once CheckNamespace
public class ExceptionEventTest
{
[Fact, IsUnit]
public void Ensure_ExceptionIsntSerialized()
{
var json = JsonConvert.SerializeObj... | mit | C# |
a27974785cac927241546e2502e6ac2d2eb562dc | make a generic extension for table providers | northwoodspd/UIA.Extensions,northwoodspd/UIA.Extensions | src/UIA.Extensions/Extensions/AutomationExtensions.cs | src/UIA.Extensions/Extensions/AutomationExtensions.cs | using System;
using System.Windows.Forms;
using UIA.Extensions.AutomationProviders;
using UIA.Extensions.AutomationProviders.Defaults.Tables;
using UIA.Extensions.AutomationProviders.Tables;
namespace UIA.Extensions.Extensions
{
public static class AutomationExtensions
{
public static AutomationConfig... | using System;
using System.Windows.Forms;
using UIA.Extensions.AutomationProviders;
using UIA.Extensions.AutomationProviders.Defaults.Tables;
using UIA.Extensions.AutomationProviders.Tables;
namespace UIA.Extensions.Extensions
{
public static class AutomationExtensions
{
public static AutomationConfig... | mit | C# |
69ce7fda0eac74d8bd52aca0d2f40b60a126e33b | Add test coverage of double disposal crashing | smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework.Tests/Threading/ThreadedTaskSchedulerTest.cs | osu.Framework.Tests/Threading/ThreadedTaskSchedulerTest.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.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Threading;
namespace osu.Framework.Tests.Threading
{
[TestFixture]
... | // 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.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Threading;
namespace osu.Framework.Tests.Threading
{
[TestFixture]
... | mit | C# |
dcc4a75094353c3f002e61f6fe20a4e04e32b469 | Improve help texts for CLI file generation | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs | src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs | using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace Arkivverket.Arkade.CLI.Options
{
[Verb("generate", HelpText = "Generate a specified file. Run this command followed by '--help' for more detailed info.")]
public class GenerateOptions : OutputOptions
{
[Option('m... | using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace Arkivverket.Arkade.CLI.Options
{
[Verb("generate", HelpText = "Generate a specified file. Run this command followed by '--help' for more detailed info.")]
public class GenerateOptions : OutputOptions
{
[Option('m... | agpl-3.0 | C# |
27d2bdb30965e1446a0683321be8e1f77fcdc78c | update httpModuleVersion to 0.0.6 | mdsol/Medidata.ZipkinTracerModule | src/Medidata.ZipkinTracer.HttpModule/Properties/AssemblyInfo.cs | src/Medidata.ZipkinTracer.HttpModule/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("Me... | 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("Me... | mit | C# |
c81eb4b29c92949c6e023b25820940b211b08de0 | Add doc | Krusen/ErgastApi.Net | src/ErgastiApi/Responses/Models/Standings/Standing.cs | src/ErgastiApi/Responses/Models/Standings/Standing.cs | namespace ErgastApi.Responses.Models.Standings
{
public abstract class Standing
{
public int Position { get; set; }
/// <summary>
/// Finishing position.
/// R = Retired, D = Disqualified, E = Excluded, W = Withdrawn, F = Failed to qualify, N = Not classified.
/// </summ... | namespace ErgastApi.Responses.Models.Standings
{
public abstract class Standing
{
public int Position { get; set; }
// TODO: Some of these values are not relevant for standings (if any)
// TODO: Docu: equals Position or "R" retired, "D" disqualified, "E" excluded, "W" withdrawn, "F" fai... | unlicense | C# |
05d9247eaca33dad7c19aa187411545243387965 | Update Informational Version to 1.1.0-pre2 | dansiegel/Prism.Plugin.Popups,dansiegel/Prism.Plugin.Popups | src/Prism.Plugin.Popups.Shared/AssemblyInfo-Shared.cs | src/Prism.Plugin.Popups.Shared/AssemblyInfo-Shared.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "AvantiPoint, LLC" )]
[assembly: AssemblyCopyright( "Copyright © Dan Siegel 2016" )]
[assembly: NeutralResourcesLanguage( "en" )]
[assembly: AssemblyVersion( "1.1.0.0" )]
[assembly: AssemblyFileVersion( "1.1.0.0" )]
[assembly: AssemblyInfor... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "AvantiPoint, LLC" )]
[assembly: AssemblyCopyright( "Copyright © Dan Siegel 2016" )]
[assembly: NeutralResourcesLanguage( "en" )]
[assembly: AssemblyVersion( "1.1.0.0" )]
[assembly: AssemblyFileVersion( "1.1.0.0" )]
[assembly: AssemblyInfor... | mit | C# |
00d7da3e07c9c2792d02d5db48c94e6277e16ba7 | Add explanation to ErrorRecordExtensions | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Services/PowerShell/Utility/ErrorRecordExtensions.cs | src/PowerShellEditorServices/Services/PowerShell/Utility/ErrorRecordExtensions.cs | using Microsoft.PowerShell.EditorServices.Utility;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Management.Automation;
using System.Reflection;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility
{
internal static class ErrorRecordExtension... | using Microsoft.PowerShell.EditorServices.Utility;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Management.Automation;
using System.Reflection;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility
{
internal static class ErrorRecordExtension... | mit | C# |
2d2e336d4342fe75067655b6bc9295f1aad0f7de | Fix - Corretta gestione di Rimozione stato di "In Lavorazione" | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestioneIntervento/RimozioneInLavorazione/RimozioneInLavorazioneCommandHandler.cs | src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestioneIntervento/RimozioneInLavorazione/RimozioneInLavorazioneCommandHandler.cs | //-----------------------------------------------------------------------
// <copyright file="AddInterventoCommandHandler.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... | //-----------------------------------------------------------------------
// <copyright file="AddInterventoCommandHandler.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... | agpl-3.0 | C# |
905b55aeaa02b33596b7f2ff4a82d9e034dde101 | Simplify logic with System.Math | EgorBo/left-pad-net | left-pad/StringExtensions.cs | left-pad/StringExtensions.cs | using System;
namespace left_pad
{
public static class StringExtensions
{
public static string LeftPad(this string str, char ch, int len)
{
if (len <= 0)
throw new InvalidOperationException();
return new string(ch, Math.Max(len - str?.Length ?? 0, 0)) +... | using System;
namespace left_pad
{
public static class StringExtensions
{
public static string LeftPad(this string str, char ch, int len)
{
if (len <= 0)
throw new InvalidOperationException();
if (string.IsNullOrEmpty(str))
return new st... | mit | C# |
81e640194200a6c595f1a9c5e7fe3bf313653a9f | fix #772 fix UnixDateTimeConverter to fixate the epoch in UTC | robertlyson/elasticsearch-net,RossLieberman/NEST,Grastveit/NEST,LeoYao/elasticsearch-net,CSGOpenSource/elasticsearch-net,ststeiger/elasticsearch-net,wawrzyn/elasticsearch-net,RossLieberman/NEST,TheFireCookie/elasticsearch-net,gayancc/elasticsearch-net,abibell/elasticsearch-net,tkirill/elasticsearch-net,azubanov/elastic... | src/Nest/Resolvers/Converters/UnixDateTimeConverter.cs | src/Nest/Resolvers/Converters/UnixDateTimeConverter.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nest.Resolvers.Converters
{
public class UnixDateTimeConverter : DateTimeConverterBase
{
private static readonly DateTime EpochUtc = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) ;
public override void WriteJson(JsonWriter w... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nest.Resolvers.Converters
{
public class UnixDateTimeConverter : DateTimeConverterBase
{
private static readonly DateTime EpochUtc = new DateTime(1970, 1, 1);
public override void WriteJson(JsonWriter writer, object value, JsonSer... | apache-2.0 | C# |
bd86649e658ccb0db1e053edbbafbdec0715dadc | change Invoke method to virtual | AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/Lite,AspectCore/AspectCore-Framework | src/AspectCore.Lite.Abstractions/Descriptors/TargetDescriptor.cs | src/AspectCore.Lite.Abstractions/Descriptors/TargetDescriptor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Abstractions
{
public class TargetDescriptor
{
public object ImplementationInstance { get; }
public MethodInfo ServiceMethod { get; }
public MethodInfo ImplementationMe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Abstractions
{
public sealed class TargetDescriptor
{
public object ImplementationInstance { get; }
public MethodInfo ServiceMethod { get; }
public MethodInfo Implement... | mit | C# |
3fed1f0fc23e85cb7ed77b3bd3b61a4b14183c5a | Comment Guid attribute. Workaround for https://github.com/dotnet/corefx/issues/7387. | matthewvukomanovic/Cryptography,sshnet/Cryptography | src/Renci.Security.Cryptography.UAP10/Properties/AssemblyInfo.cs | src/Renci.Security.Cryptography.UAP10/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Renci.SshNet.Security.Cryptography for UAP 10.0")]
// https://github.com/dotnet/corefx/issues/7387
//[assembly: Guid("EB0D62D0-F031-4CC3-A294-D7B867DA517B")]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Renci.SshNet.Security.Cryptography for UAP 10.0")]
[assembly: Guid("EB0D62D0-F031-4CC3-A294-D7B867DA517B")]
| mit | C# |
458945eb24d6055907de08fa14764bcb5b15cdd8 | Rename Sdl2Functions methods and make internal | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Platform/Sdl2Functions.cs | osu.Framework/Platform/Sdl2Functions.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.Numerics;
using System.Runtime.InteropServices;
using Veldrid.Sdl2;
namespace osu.Framework.Platform
{
internal static unsafe class Sdl2Functions
{
... | // 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.Numerics;
using System.Runtime.InteropServices;
using Veldrid.Sdl2;
// ReSharper disable InconsistentNaming
namespace osu.Framework.Platform
{
public s... | mit | C# |
f669a4563f3d9a42058a77c185a028789a57c003 | Fix networked movement controller | carlossdparaujo/MultiPacMan | MultiPacMan/Assets/Scripts/Player/MovementController/NetworkedMovementController.cs | MultiPacMan/Assets/Scripts/Player/MovementController/NetworkedMovementController.cs | using UnityEngine;
using System.Collections;
namespace MultiPacMan.Player
{
enum NetworkingOptions {
Default,
Interpolation,
InterpolationAndExtrapolation
};
public class NetworkedMovementController : MovementController {
[SerializeField]
private NetworkingOptions option = NetworkingOptions.Default;
... | using UnityEngine;
using System.Collections;
namespace MultiPacMan.Player
{
enum NetworkingOptions {
Default,
Interpolation,
InterpolationAndExtrapolation
};
public class NetworkedMovementController : MovementController {
[SerializeField]
private NetworkingOptions option = NetworkingOptions.Default;
... | mit | C# |
e25503fee385a502dd4b4b28563fdecf1507d969 | Update food box item with fibre | lukecahill/NutritionTracker | food_tracker/FoodBoxItem.cs | food_tracker/FoodBoxItem.cs | using System.Windows.Controls;
using System.Windows.Forms;
namespace food_tracker {
public class FoodBoxItem : ListBoxItem {
public int calories { get; set; }
public int fats { get; set; }
public int saturatedFat { get; set; }
public int carbohydrates { get; set; }
public int sugar { get; set; }
public ... | using System.Windows.Controls;
using System.Windows.Forms;
namespace food_tracker {
public class FoodBoxItem : ListBoxItem {
public int calories { get; set; }
public int fats { get; set; }
public int saturatedFat { get; set; }
public int carbohydrates { get; set; }
public int sugar { get; set; }
public ... | mit | C# |
3e1637cd2e6a0c62c784d03eb9b37c23acbd71a8 | Fix NRE when a ctor is not found | FUR10N/NullContracts,FUR10N/NullContracts | src/FUR10N.NullContracts/FlowAnalysis/CtorFlowAnalysis.cs | src/FUR10N.NullContracts/FlowAnalysis/CtorFlowAnalysis.cs | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace FUR10N.NullContracts.FlowAnalysis
{
internal class CtorFlowAnalysis
{
private ... | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace FUR10N.NullContracts.FlowAnalysis
{
internal class CtorFlowAnalysis
{
private ... | mit | C# |
721ed8d6473b3e2656f07356e406a255cf7d0616 | Add culture changer helper | henriksen/Humanizer,mrchief/Humanizer,nigel-sampson/Humanizer,vgrigoriu/Humanizer,nigel-sampson/Humanizer,schalpat/Humanizer,vgrigoriu/Humanizer,llehouerou/Humanizer,thunsaker/Humanizer,mexx/Humanizer,maximn/Humanizer,kikoanis/Humanizer,HalidCisse/Humanizer,thunsaker/Humanizer,harouny/Humanizer,ErikSchierboom/Humanizer... | src/Humanizer.Tests/Extensions/DateHumanizeTests.ro-RO.cs | src/Humanizer.Tests/Extensions/DateHumanizeTests.ro-RO.cs | using System;
using System.Globalization;
using System.Threading;
using Xunit;
namespace Humanizer.Tests.Extensions
{
public class RomanianDateHumanizeTests
{
[Fact]
public void RomanianTranslationIsCorrectForThreeHoursAgo()
{
using (RomanianCulture())
{
... | using System;
using System.Globalization;
using System.Threading;
using Xunit;
namespace Humanizer.Tests.Extensions
{
public class RomanianDateHumanizeTests
{
[Fact]
public void RomanianTranslationIsCorrectForThreeHoursAgo()
{
var currentCulture = Thread.CurrentThread.Curr... | mit | C# |
98a808861b3e286f5a4a0b7d07d3ab0187298e9a | Fix namespace | TORISOUP/NcmbAsObservable | Assets/NcmbAsObservables/scripts/NcmbPushExtensions.cs | Assets/NcmbAsObservables/scripts/NcmbPushExtensions.cs | using NCMB;
using UniRx;
namespace NcmbAsObservables
{
public static class NcmbPushExtensions
{
/// <summary>
/// プッシュの送信を行います。
/// </summary>
public static IObservable<NCMBPush> SendPushAsync(this NCMBPush origin)
{
return Observable.Create<NCMB... | using NCMB;
using UniRx;
namespace Assets.NcmbAsObservables
{
public static class NcmbPushExtensions
{
/// <summary>
/// プッシュの送信を行います。
/// </summary>
public static IObservable<NCMBPush> SendPushAsync(this NCMBPush origin)
{
return Observable.Crea... | mit | C# |
24f8a18579d4a51d01de34f81c5f6cdba134ba90 | make stringextensions available | TomPallister/Ocelot,geffzhang/Ocelot,geffzhang/Ocelot,TomPallister/Ocelot | src/Ocelot/Infrastructure/Extensions/StringValuesExtensions.cs | src/Ocelot/Infrastructure/Extensions/StringValuesExtensions.cs | using Microsoft.Extensions.Primitives;
using System.Linq;
namespace Ocelot.Infrastructure.Extensions
{
public static class StringValuesExtensions
{
public static string GetValue(this StringValues stringValues)
{
if (stringValues.Count == 1)
{
return strin... | using Microsoft.Extensions.Primitives;
using System.Linq;
namespace Ocelot.Infrastructure.Extensions
{
internal static class StringValuesExtensions
{
public static string GetValue(this StringValues stringValues)
{
if (stringValues.Count == 1)
{
return str... | mit | C# |
d8022904aaaa686d25c44a4d33b8848ca7476871 | Update ExitCode to long. This is because Windows Containers sometimes exit with 3221225725 | mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker | Ductus.FluentDocker/Model/Containers/ContainerState.cs | Ductus.FluentDocker/Model/Containers/ContainerState.cs | using System;
// ReSharper disable InconsistentNaming
namespace Ductus.FluentDocker.Model.Containers
{
public sealed class ContainerState
{
public string Status { get; set; }
public bool Running { get; set; }
public bool Paused { get; set; }
public bool Restarting { get; set; }
public bool OO... | using System;
// ReSharper disable InconsistentNaming
namespace Ductus.FluentDocker.Model.Containers
{
public sealed class ContainerState
{
public string Status { get; set; }
public bool Running { get; set; }
public bool Paused { get; set; }
public bool Restarting { get; set; }
public bool OO... | apache-2.0 | C# |
d055641b18795e6ab95f9745414e737d6154298b | Update QueueCallerJoinEvent.cs | skrusty/AsterNET,AsterNET/AsterNET | Asterisk.2013/Asterisk.NET/Manager/Event/QueueCallerJoinEvent.cs | Asterisk.2013/Asterisk.NET/Manager/Event/QueueCallerJoinEvent.cs | namespace AsterNET.Manager.Event
{
/// <summary>
/// A QueueCallerJoinEvent is triggered when a channel joins a queue.<br/>
/// </summary>
public class QueueCallerJoinEvent : JoinEvent
{
// "Channel" in ManagerEvent.cs
// "Queue" in QueueEvent.cs
/// <summary>
/// Get/Set the Caller*ID number of ... | namespace AsterNET.Manager.Event
{
/// <summary>
/// A QueueCallerJoinEvent is triggered when a channel joins a queue.<br/>
/// </summary>
public class QueueCallerJoinEvent : QueueEvent
{
public string Position { get; set; }
public QueueCallerJoinEvent(ManagerConnection source)
:... | mit | C# |
ab3010f0b692eb51309bc17a08938103341893bb | Make WalletViewModel private and WalletViewModelBase protected. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/WasabiWalletDocumentTabViewModel.cs | WalletWasabi.Gui/ViewModels/WasabiWalletDocumentTabViewModel.cs | using ReactiveUI;
using Splat;
using System;
using System.Reactive.Linq;
using WalletWasabi.Gui.Controls.WalletExplorer;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiWalletDocumentTabViewModel : WasabiDocumentTabViewModel
{
protected WasabiWalletDocumentTabViewMod... | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Gui.Controls.WalletExplorer;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiWalletDocumentTabViewModel : WasabiDocumentTabViewModel
{
protected WasabiWalletDocumentTabViewModel(str... | mit | C# |
888ef19d95a5bd2858dd6ea9d75288aa5f0d4117 | change this back to FullName | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs | src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace GitHub.VisualStudio
{
[Export(typeof(IActiveDocumentSnapshot))]
[PartCreationPolicy(CreationPolicy.NonS... | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace GitHub.VisualStudio
{
[Export(typeof(IActiveDocumentSnapshot))]
[PartCreationPolicy(CreationPolicy.NonS... | mit | C# |
4df466b818d2192fa9a1c002d43b4e68dca92bf4 | Remove unused methods from ContextMenuElement | nunit/nunit-gui,nunit/nunit-gui,NUnitSoftware/nunit-gui,NUnitSoftware/nunit-gui | src/TestCentric/components/Elements/ContextMenuElement.cs | src/TestCentric/components/Elements/ContextMenuElement.cs | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | mit | C# |
b0edd1cd690eee9483d82664b8091a3a85c303aa | Fix typo and use <see langword=""/>. | Alan-Lun/git-p3 | Microsoft.TeamFoundation.Authentication/ITokenStore.cs | Microsoft.TeamFoundation.Authentication/ITokenStore.cs | using System;
namespace Microsoft.TeamFoundation.Authentication
{
public interface ITokenStore
{
/// <summary>
/// Deletes a <see cref="Token"/> from the underlying storage.
/// </summary>
/// <param name="targetUri">The key identifying which token is being deleted.</param>
... | using System;
namespace Microsoft.TeamFoundation.Authentication
{
public interface ITokenStore
{
/// <summary>
/// Deletes a <see cref="Token"/> from the underlying storage.
/// </summary>
/// <param name="targetUri">The key identifying which token is being deleted.</param>
... | mit | C# |
aa25c10703aaafe638a1a14348594cbef0b78513 | set password to empty string. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialogs/EnterPasswordViewModel.cs | WalletWasabi.Fluent/ViewModels/Dialogs/EnterPasswordViewModel.cs | using ReactiveUI;
using System.Reactive.Linq;
using System.Windows.Input;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Models;
using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class EnterPasswordViewModel : DialogViewModelBase<string?>
{
private string? _password;
... | using ReactiveUI;
using System.Reactive.Linq;
using System.Windows.Input;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Models;
using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class EnterPasswordViewModel : DialogViewModelBase<string?>
{
private string _password;
... | mit | C# |
a75e47d01030ae36d91ff29089b823b16493657b | Set ViewData for context/container | restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing | src/RestfulRouting.Tests/Unit/HtmlHelperExtensionsSpec.cs | src/RestfulRouting.Tests/Unit/HtmlHelperExtensionsSpec.cs | using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Machine.Specifications;
using MvcContrib.TestHelper;
using RestfulRouting;
using Rhino.Mocks;
namespace HtmlExtensionsSpecs
{
[Subject(typeof(HtmlHelperExtensions))]
public abstract class base_context
{
protected ... | using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Machine.Specifications;
using MvcContrib.TestHelper;
using RestfulRouting;
using Rhino.Mocks;
namespace HtmlExtensionsSpecs
{
[Subject(typeof(HtmlHelperExtensions))]
public abstract class base_context
{
protected ... | mit | C# |
523032e6ee7ff1123f83a68e91aabc1cad9e9ca9 | Update VersionInfo.cs | blorgbeard/pickles,irfanah/pickles,irfanah/pickles,magicmonty/pickles,picklesdoc/pickles,magicmonty/pickles,picklesdoc/pickles,blorgbeard/pickles,dirkrombauts/pickles,blorgbeard/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,magicmonty/pickles,irfan... | src/Pickles/VersionInfo.cs | src/Pickles/VersionInfo.cs | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProductAttribute("Pickles")]
[assembly: AssemblyCompanyAttribute("Pickles")]
[assembly: AssemblyCopyrightAttribute("Copyright (c) Jeffrey Cameron 2010-2012, PicklesDoc 2012-present")]
[assembly: AssemblyTrademarkAtt... | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProductAttribute("Pickles")]
[assembly: AssemblyCompanyAttribute("Pickles")]
[assembly: AssemblyCopyrightAttribute("Copyright (c) Jeffrey Cameron 2010-2012, PicklesDoc 2012-2013")]
[assembly: AssemblyTrademarkAttrib... | apache-2.0 | C# |
fa1322599fb1cf6df9dd898544694a7e0eadeccb | remove using | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Api/Utilities/DisableFormValueModelBindingAttribute.cs | src/Api/Utilities/DisableFormValueModelBindingAttribute.cs | using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
namespace Bit.Api.Utilities
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class DisableFormValueModelBindingAttribute : Attribute, IResourceFilter
{
public void OnResour... | using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Linq;
namespace Bit.Api.Utilities
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class DisableFormValueModelBindingAttribute : Attribute, IResourceFilter
{
p... | agpl-3.0 | C# |
2a661ec0946f6eb05d14e3f4adda98599600bdd0 | update all players whenever something changes | pako1337/Arena,pako1337/Arena | Arena/Hubs/FightArenaHub.cs | Arena/Hubs/FightArenaHub.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using System.Collections.Concurrent;
using System.Threading;
using ArenaModel;
namespace ArenaUI.Hubs
{
public class FightArenaHub : Hub
{
private ArenaRepository _arenaRepository = new ArenaReposi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using System.Collections.Concurrent;
using System.Threading;
using ArenaModel;
namespace ArenaUI.Hubs
{
public class FightArenaHub : Hub
{
private ArenaRepository _arenaRepository = new ArenaReposi... | mit | C# |
49fc3215783c81e29542954cd9e0edf17f6c0960 | Bump version for release | jehhynes/griddly,programcsharp/griddly,nickdevore/griddly,nickdevore/griddly,jehhynes/griddly,programcsharp/griddly,programcsharp/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | mit | C# |
ef8b833c96bb41b20ba3c59a82cc42e4145eb30c | Fix device network connection infinite recursion (#3121) | 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.Server/DeviceNetwork/DeviceNetworkConnection.cs | Content.Server/DeviceNetwork/DeviceNetworkConnection.cs | using Content.Server.Interfaces;
using Robust.Shared.ViewVariables;
using System.Collections.Generic;
namespace Content.Server.GameObjects.EntitySystems.DeviceNetwork
{
public class DeviceNetworkConnection : IDeviceNetworkConnection
{
private readonly DeviceNetwork _network;
[ViewVariables]
... | using Content.Server.Interfaces;
using Robust.Shared.ViewVariables;
using System.Collections.Generic;
namespace Content.Server.GameObjects.EntitySystems.DeviceNetwork
{
public class DeviceNetworkConnection : IDeviceNetworkConnection
{
private readonly DeviceNetwork _network;
[ViewVariables]
... | mit | C# |
27a299c779df61e5de5e7779e587a4262d8aa6c2 | Update GetSmartMarkerNotifications.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as... | Examples/CSharp/Articles/GetSmartMarkerNotifications.cs | Examples/CSharp/Articles/GetSmartMarkerNotifications.cs | using System;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
class GetSmartMarkerNotifications
{
static void Main() {
//ExStart:1
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
... | using System;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
class GetSmartMarkerNotifications
{
static void Main() {
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
string outputPath = data... | mit | C# |
d55b4061100e11ba508726196fcec8995380ed09 | Support importing of grayscale textures | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Importer/src/texturing/processing/UnmanagedRgbaImage.cs | Importer/src/texturing/processing/UnmanagedRgbaImage.cs | using SharpDX;
using SharpDX.WIC;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
public class UnmanagedRgbaImage : IDisposable {
private static readonly HashSet<Guid> SupportedInputPixelFormats = new HashSet<Guid> {
PixelFormat.Format24bppRGB,
PixelFormat.F... | using SharpDX;
using SharpDX.WIC;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
public class UnmanagedRgbaImage : IDisposable {
private static readonly HashSet<Guid> SupportedInputPixelFormats = new HashSet<Guid> {
PixelFormat.Format24bppRGB,
PixelFormat.F... | mit | C# |
d04b263442af05253b21d8e5841ff13158586d3f | Update version | rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | mit | C# |
a06068a0a0f38156a91ac6bca45f1c805d1645d0 | Fix issue #304 | KevinHorvatin/poshtools,SpotLabsNET/poshtools,daviwil/poshtools,adamdriscoll/poshtools,mgreenegit/poshtools,Microsoft/poshtools,erwindevreugd/poshtools | PowerShellTools/Commands/ExecuteWithParametersAsScriptCommand.cs | PowerShellTools/Commands/ExecuteWithParametersAsScriptCommand.cs | using System.Management.Automation.Language;
using EnvDTE80;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.TextManager.Interop;
using PowerShellTools.Commands.UserInterface;
namespace PowerShellTools.Commands
{
/// <summary>
/// Command for executing a script with parameters promp... | using System.Management.Automation.Language;
using EnvDTE80;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.TextManager.Interop;
using PowerShellTools.Commands.UserInterface;
namespace PowerShellTools.Commands
{
/// <summary>
/// Command for executing a script with parameters promp... | apache-2.0 | C# |
492870ba7b619b83adf20ca06e6004fcdb11aa1f | fix instructor controller route | louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext | Samples/Contoso/Contoso.Web/Controllers/InstructorsController.cs | Samples/Contoso/Contoso.Web/Controllers/InstructorsController.cs | using System.Threading.Tasks;
using Contoso.Application.Instructors.Commands;
using Contoso.Application.Instructors.Queries;
using Contoso.Web.Extensions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace Contoso.Web.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
[ApiContr... | using System.Threading.Tasks;
using Contoso.Application.Instructors.Commands;
using Contoso.Application.Instructors.Queries;
using Contoso.Web.Extensions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace Contoso.Web.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
[ApiContr... | mit | C# |
160459a2c058d14ab7a21bab25a0e8cb9262c0f0 | Update ConfigurationRootSetupBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Configuration/ConfigurationRootSetupBase.cs | TIKSN.Core/Configuration/ConfigurationRootSetupBase.cs | using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using TIKSN.Analytics.Logging.NLog;
using TIKSN.FileSystem;
namespace TIKSN.Configuration
{
public abstract class ConfigurationRootSetupBase
{
protected readonly ConfigurationBuilder _configurationBuilder;
protected rea... | using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using TIKSN.Analytics.Logging.NLog;
using TIKSN.FileSystem;
namespace TIKSN.Configuration
{
public abstract class ConfigurationRootSetupBase
{
protected readonly ConfigurationBuilder _configurationBuilder;
protected rea... | mit | C# |
e7cb93519a9f344a802eb66827052c5ae0421791 | Add information about http status codes in the reporting API | TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk | TimeLog.Api.Documentation/Views/Reporting/Index.cshtml | TimeLog.Api.Documentation/Views/Reporting/Index.cshtml |
@{
ViewBag.Title = "Reporting API - Introduction";
}
<article class="article">
<h1>Introduction to the Reporting API</h1>
<p>
The Reporting API is based on standard web technologies, web services and XML.
Use the Reporting API to extract from TimeLog into intranets, extranets,
... |
@{
ViewBag.Title = "Reporting API - Introduction";
}
<article class="article">
<h1>Introduction to the Reporting API</h1>
<p>
The Reporting API is based on standard web technologies, web services and XML.
Use the Reporting API to extract from TimeLog into intranets, extranets,
... | mit | C# |
5ec5f4d4fa6fe08734bd7e3c460e84890a80c199 | change test to use available port | zhdusurfin/HttpMock,oschwald/HttpMock,mattolenik/HttpMock,hibri/HttpMock | src/HttpMock.Integration.Tests/MultipleTestsUsingTheSameStubServerAndDifferentUris.cs | src/HttpMock.Integration.Tests/MultipleTestsUsingTheSameStubServerAndDifferentUris.cs | using System.Net;
using NUnit.Framework;
namespace HttpMock.Integration.Tests
{
[TestFixture]
public class MultipleTestsUsingTheSameStubServerAndDifferentUris
{
private IHttpServer _httpMockRepository;
private string _host;
[SetUp]
public void SetUp()
{
_host = string.For... | using System.Net;
using NUnit.Framework;
namespace HttpMock.Integration.Tests
{
[TestFixture]
public class MultipleTestsUsingTheSameStubServerAndDifferentUris
{
private IHttpServer _httpMockRepository;
[SetUp]
public void SetUp() {
_httpMockRepository = HttpMockRepository.At("http://localhost... | mit | C# |
e36702ffbd68fcf85592ceabdd5348af4b9bd7b6 | Fix DropFilterFactory namespace | karolz-ms/diagnostics-eventflow | src/Microsoft.Diagnostics.EventFlow.Core/Implementations/Filters/DropFilterFactory.cs | src/Microsoft.Diagnostics.EventFlow.Core/Implementations/Filters/DropFilterFactory.cs | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using Microsoft.Diagnostics... | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using Microsoft.Diagnostics... | mit | C# |
32f5a23835b45a74ffc5dfd04f76cc9bbde4a0a3 | Add ING homepay | foxip/mollie-api-csharp | Mollie.Api/Models/Method.cs | Mollie.Api/Models/Method.cs | namespace Mollie.Api.Models
{
/// <summary>
/// Payment method
/// </summary>
public enum Method
{
ideal,
creditcard,
mistercash,
sofort,
banktransfer,
directdebit,
belfius,
kbc,
bitcoin,
paypal,
paysafecard,
... | namespace Mollie.Api.Models
{
/// <summary>
/// Payment method
/// </summary>
public enum Method
{
ideal,
creditcard,
mistercash,
sofort,
banktransfer,
directdebit,
belfius,
kbc,
bitcoin,
paypal,
paysafecard,
... | bsd-2-clause | C# |
f8cab3353a2f76c933d68254aa9fd502b7b237da | Add CylinderLineRenderer to Graphics namespace | thijser/ARGAME,thijser/ARGAME,thijser/ARGAME | ARGame/Assets/Scripts/Graphics/CylinderLineRenderer.cs | ARGame/Assets/Scripts/Graphics/CylinderLineRenderer.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Graphics
{
/// <summary>
/// Custom LineRenderer for lasers that doesn't have the rendering problems
/// that occur in the Unity LineRenderer implementation.
///
/// NOTE: Implementation assumes that up is al... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CylinderLineRenderer : MonoBehaviour
{
public Vector3[] Positions;
public Material LineMaterial;
public float LineWidth = 1.0f;
public bool UseWorldSpace = true;
private MeshFilter meshFilter;
private ... | mit | C# |
674b30fb3e92e3ebd9ce1edb8d3f784e67382a75 | Add '__GLOBALOFFSET__' variable | whampson/cascara,whampson/bft-spec | Cascara/Src/Interpreter/SpecialVariables.cs | Cascara/Src/Interpreter/SpecialVariables.cs | #region License
/* Copyright (c) 2017-2018 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | #region License
/* Copyright (c) 2017-2018 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | mit | C# |
839fb2028dd540e22803b5b82ed01c806a9c8298 | Make time public | ParkitectNexus/Dodgems | CustomFlatRide/FlatRideScript/BumperCars.cs | CustomFlatRide/FlatRideScript/BumperCars.cs | using BumperCars.CustomFlatRide.BumperCars;
using UnityEngine;
namespace BumperCars.CustomFlatRide.FlatRideScript
{
public class BumperCars : FlatRide
{
public new enum State
{
Stopped,
Running
}
[Serialized]
public State CurrentState;
... | using BumperCars.CustomFlatRide.BumperCars;
using UnityEngine;
namespace BumperCars.CustomFlatRide.FlatRideScript
{
public class BumperCars : FlatRide
{
public new enum State
{
Stopped,
Running
}
[Serialized]
public State CurrentState;
... | mit | C# |
099d0bd502cc49300193492747c79c112e8d33e1 | support options on service bus triggers | aranasoft/cobweb | src/Azure/ServiceBus/Queue.cs | src/Azure/ServiceBus/Queue.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
namespace Cobweb.Azure.ServiceBus {
public abstract class Queue {
private NamespaceManager _namespaceManager;
private QueueClient _queueClient;
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
namespace Cobweb.Azure.ServiceBus {
public abstract class Queue {
private NamespaceManager _namespaceManager;
private QueueClient _queueClient;
... | bsd-3-clause | C# |
45f7ec54aee736d594aa36395df554df249b996a | Fix hair rendering on Linux | ethanmoffat/EndlessClient | EndlessClient/Rendering/CharacterProperties/HatRenderer.cs | EndlessClient/Rendering/CharacterProperties/HatRenderer.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EndlessClient.Content;
using EndlessClient.Rendering.Sprites;
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using Microsoft.Xna.Framewor... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EndlessClient.Content;
using EndlessClient.Rendering.Sprites;
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using Microsoft.Xna.Framewor... | mit | C# |
57b3c07aa4395260417e64781f2dc2137d932888 | Add ContentType of the response. | andyfmiller/LtiLibrary | LtiLibrary.NetCore/Profiles/ToolConsumerProfileResponse.cs | LtiLibrary.NetCore/Profiles/ToolConsumerProfileResponse.cs | using System.Net;
namespace LtiLibrary.NetCore.Profiles
{
public class ToolConsumerProfileResponse
{
public string ContentType { get; set; }
public HttpStatusCode StatusCode { get; set; }
public ToolConsumerProfile ToolConsumerProfile { get; set; }
}
}
| using System.Net;
namespace LtiLibrary.NetCore.Profiles
{
public class ToolConsumerProfileResponse
{
public HttpStatusCode StatusCode { get; set; }
public ToolConsumerProfile ToolConsumerProfile { get; set; }
}
}
| apache-2.0 | C# |
d6911571bd629cb764d10d04091c2d67734b46ab | add azure bdd connection string | NebcoOrganization/Yuffie,NebcoOrganization/Yuffie | WebApp/Models/AppContext.cs | WebApp/Models/AppContext.cs | using System;
using System.IO;
using Microsoft.EntityFrameworkCore;
namespace Yuffie.WebApp.Models {
public class AppContext : DbContext
{
// public AppContext(DbContextOptions<AppContext> options) : base(options)
// { }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)... | using System;
using System.IO;
using Microsoft.EntityFrameworkCore;
namespace Yuffie.WebApp.Models {
public class AppContext : DbContext
{
// public AppContext(DbContextOptions<AppContext> options) : base(options)
// { }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)... | mit | C# |
c8dd2f6ec3fe0eefff65f9c407629bde8e4ffb21 | Add some docs for ITeamExplorerContext | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Exports/Services/ITeamExplorerContext.cs | src/GitHub.Exports/Services/ITeamExplorerContext.cs | using System;
using System.ComponentModel;
using GitHub.Models;
namespace GitHub.Services
{
/// <summary>
/// Responsible for watching the active repository in Team Explorer.
/// A PropertyChanged event is fired when moving to a new repository.
/// A StatusChanged event is fired when the CurrentBranch... | using System;
using System.ComponentModel;
using GitHub.Models;
namespace GitHub.Services
{
public interface ITeamExplorerContext : INotifyPropertyChanged
{
ILocalRepositoryModel ActiveRepository { get; }
event EventHandler StatusChanged;
}
}
| mit | C# |
e4f0d88207025465d392519fa12a64520781e3d9 | Use of LinkedHashMap instead SequencedHashMap | alobakov/nhibernate-core,livioc/nhibernate-core,ngbrown/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,hazzik/nhibernate-core,frede... | src/NHibernate/Tuple/EntityModeToTuplizerMapping.cs | src/NHibernate/Tuple/EntityModeToTuplizerMapping.cs | using System;
using System.Collections.Generic;
using NHibernate.Util;
namespace NHibernate.Tuple
{
/// <summary> Centralizes handling of <see cref="EntityMode"/> to <see cref="ITuplizer"/> mappings. </summary>
[Serializable]
public abstract class EntityModeToTuplizerMapping
{
// map of EntityMode -> T... | using System;
using System.Collections;
using NHibernate.Util;
namespace NHibernate.Tuple
{
/// <summary> Centralizes handling of <see cref="EntityMode"/> to <see cref="ITuplizer"/> mappings. </summary>
[Serializable]
public abstract class EntityModeToTuplizerMapping
{
// map of EntityMode -> Tuplizer
... | lgpl-2.1 | C# |
ce7309721073c17d39f850b1bdab56c628cc5444 | Update to messages v3 | cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber | cucumber-messages/dotnet/Cucumber.Messages.Specs/MessagesSpec.cs | cucumber-messages/dotnet/Cucumber.Messages.Specs/MessagesSpec.cs | using Xunit;
using System.IO;
using static Io.Cucumber.Messages.PickleStepArgument.Types;
namespace Io.Cucumber.Messages.Specs
{
public class MessagesSpec
{
[Fact]
public void SerializesPickeDocString()
{
var pickleDocSring = new PickleDocString
{
... | using Xunit;
using System.IO;
using System;
namespace Io.Cucumber.Messages.Specs
{
public class MessagesSpec
{
[Fact]
public void SerializesPickeDocString()
{
var pickleDocSring = new PickleDocString
{
Location = new Location
{
... | mit | C# |
1451fb7ad627d6fd2262166ca4bcafdf3c54c593 | Fix NPE in ghost controlelr | duaiwe/ld36 | src/Assets/GameObjects/Aletheia/Scripts/GhostController.cs | src/Assets/GameObjects/Aletheia/Scripts/GhostController.cs | using UnityEngine;
using System.Collections.Generic;
public class GhostController : MonoBehaviour
{
bool _isGhost = false;
bool isRecording = false;
public bool isGhost {
get { return _isGhost; }
}
int actionCount;
PlayerFrameAction[] actions;
Vector3 spawnPoint;
private Chronolabe chronolabe;
public G... | using UnityEngine;
using System.Collections.Generic;
public class GhostController : MonoBehaviour
{
bool _isGhost = false;
bool isRecording = false;
public bool isGhost {
get { return _isGhost; }
}
int actionCount;
PlayerFrameAction[] actions;
Vector3 spawnPoint;
private Chronolabe chronolabe;
public G... | mit | C# |
6ecbc16c0c6f1bef5ab6e9431d26f8dae1bc5d96 | Reduce the number of request after refining Watson dialog flow. | ProjectSteward/StewardTRBot,ProjectSteward/StewardTRBot | Steward/Ai/Watson.Conversation/WatsonConverationService.cs | Steward/Ai/Watson.Conversation/WatsonConverationService.cs | using System;
using System.Dynamic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Steward.Ai.Watson.Conversation.Model;
using Steward.Helper;
namespace Steward.Ai.Watson.Conversation
{
[Serializable]
internal class WatsonConverationService : IWatsonConversationService
{
private readon... | using System;
using System.Dynamic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Steward.Ai.Watson.Conversation.Model;
using Steward.Helper;
namespace Steward.Ai.Watson.Conversation
{
[Serializable]
internal class WatsonConverationService : IWatsonConversationService
{
private readon... | mit | C# |
f5eaedcc0fc9d51f0eb021ba652923d47a35fdf6 | Add example of getting root YRD file. | Albiglittle/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,Albiglittle/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,melentyev/YaccConstructor,RomanBelkov/YaccConstructor,fedorovr/YaccConstructor,YaccConstructor/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,melentyev/YaccConstructor,fedorovr/YaccConstruct... | VSYard/VSYard/BraceMatching/BraceMatchingTaggerProvider.cs | VSYard/VSYard/BraceMatching/BraceMatchingTaggerProvider.cs | namespace VSYard.BraceMatching
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.... | namespace VSYard.BraceMatching
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;... | apache-2.0 | C# |
8f7d2811b71d0f1a2ea45103f71c8a12bce1d7a6 | Fix options serialization issue causing the VB language settings to deserialize within a C# project | lorcanmooney/roslyn,thomaslevesque/roslyn,huoxudong125/roslyn,vslsnap/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,dovzhikova/roslyn,budcribar/roslyn,sharadagrawal/Roslyn,tannergooding/roslyn,tmeschter/roslyn,doconnell565/roslyn,MihaMarkic/roslyn-prank,RipCurrent/roslyn,MattWindsor91/roslyn,MichalStrehovsky/roslyn,rea... | src/Features/Core/Portable/Completion/CompletionOptions.cs | src/Features/Core/Portable/Completion/CompletionOptions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Completion
{
internal static class CompletionOptions
{
public const s... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Completion
{
internal static class CompletionOptions
{
public const s... | mit | C# |
198fe94a9f999b4c97e1f9d2d2920eea374d0ada | Add fix for missing method on interface | MilovanovM/cake-yarn,MilovanovM/cake-yarn | src/Cake.Yarn/IYarnRunnerCommands.cs | src/Cake.Yarn/IYarnRunnerCommands.cs | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.