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 |
|---|---|---|---|---|---|---|---|---|
b9242170bc061fe5616178f95eacd0666cbf5fcb | remove comments | 421p/grekd | GrekanMonoDaemon/Program.cs | GrekanMonoDaemon/Program.cs | using GrekanMonoDaemon.Job;
using GrekanMonoDaemon.Logging;
using GrekanMonoDaemon.Server;
namespace GrekanMonoDaemon
{
internal class Program
{
public static void Main(string[] args)
{
Logger.InitLogger();
var scheduler = new Scheduler();
scheduler.Engage(... | using System;
using GrekanMonoDaemon.Job;
using GrekanMonoDaemon.Logging;
using GrekanMonoDaemon.Server;
using GrekanMonoDaemon.Util;
using GrekanMonoDaemon.Vk;
namespace GrekanMonoDaemon
{
internal class Program
{
public static void Main(string[] args)
{
Logger.InitLogger(false);
... | bsd-3-clause | C# |
3921e560acd60b9809796d204840f86d5f397194 | Add ranged dictionary | caronyan/CSharpRecipe | CSharpRecipe/Recipe.IteratorAndEnumerator/MaxMinValueDictionary.cs | CSharpRecipe/Recipe.IteratorAndEnumerator/MaxMinValueDictionary.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Recipe.IteratorAndEnumerator
{
[Serializable]
public class MaxMinValueDictionary<T, TU> where TU : IComparable<TU>
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recipe.IteratorAndEnumerator
{
class MaxMinValueDictionary
{
}
}
| mit | C# |
2d66723115a02260925cbd48c4e4ff5c819a82f2 | Fix a dialog display glitch on Linux (20190725) | StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/Bloom... | src/BloomExe/WebLibraryIntegration/OverwriteWarningDialog.cs | src/BloomExe/WebLibraryIntegration/OverwriteWarningDialog.cs | using System.Windows.Forms;
namespace Bloom.WebLibraryIntegration
{
public partial class OverwriteWarningDialog : Form
{
public OverwriteWarningDialog()
{
InitializeComponent();
}
protected override void OnLoad(System.EventArgs e)
{
base.OnLoad(e);
// Fix a display glitch on Linux with the Mono ... | using System.Windows.Forms;
namespace Bloom.WebLibraryIntegration
{
public partial class OverwriteWarningDialog : Form
{
public OverwriteWarningDialog()
{
InitializeComponent();
}
}
}
| mit | C# |
1bfc317d12fe7251544135dd747f34d35de74a16 | Tidy up BitmapConverter. | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,tshcherban/Perspex,MrDaedra/Avalonia,ncarrillo/Perspex,DavidKarlas/Perspex,wieslawsoltes/Perspex,MrDaedra/Avalonia,OronDF343/Avalonia,kekekeks/Perspex,jkoritzinsky/Avalonia,danwalmsley/Perspex,susloparovdenis/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,... | src/Markup/Perspex.Markup.Xaml/Converters/BitmapConverter.cs | src/Markup/Perspex.Markup.Xaml/Converters/BitmapConverter.cs | // -----------------------------------------------------------------------
// <copyright file="BitmapConverter.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Mark... | // -----------------------------------------------------------------------
// <copyright file="BitmapConverter.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Mark... | mit | C# |
e639e6171075251d779b1cf30e6b1d0791d95af1 | Add realm information for Authenticate API (#3725) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs | src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
public class RealmInfo
{
[DataMember(Name = "name")]
public string Name { get; internal set; }
[DataMember(Name = "type")]
public string Type { get; internal set; }
}
public class AuthenticateResponse : ResponseBase
... | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
public class AuthenticateResponse : ResponseBase
{
[DataMember(Name = "email")]
public string Email { get; internal set; }
[DataMember(Name = "full_name")]
public string FullName { get; internal set; }
[DataMember(Nam... | apache-2.0 | C# |
87def4a1fe1af32d8263be86e408e5071fa56bb0 | Test password for new students. | henkmollema/StudentFollowingSystem,henkmollema/StudentFollowingSystem | src/StudentFollowingSystem/Controllers/StudentsController.cs | src/StudentFollowingSystem/Controllers/StudentsController.cs | using System.Collections.Generic;
using System.Web.Helpers;
using System.Web.Mvc;
using AutoMapper;
using StudentFollowingSystem.Data.Repositories;
using StudentFollowingSystem.Filters;
using StudentFollowingSystem.Models;
using StudentFollowingSystem.ViewModels;
namespace StudentFollowingSystem.Controllers
{
[Au... | using System.Collections.Generic;
using System.Web.Mvc;
using AutoMapper;
using StudentFollowingSystem.Data.Repositories;
using StudentFollowingSystem.Filters;
using StudentFollowingSystem.Models;
using StudentFollowingSystem.ViewModels;
using Validatr.Filters;
namespace StudentFollowingSystem.Controllers
{
[Auth... | mit | C# |
f51a8842f0d99765fb4778bd5efbf99d0e0984a6 | Fix hand-written Monitoring snippet to use resource names | benwulfe/google-cloud-dotnet,evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,... | apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Snippets/MetricServiceClientSnippets.cs | apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Snippets/MetricServiceClientSnippets.cs | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | apache-2.0 | C# |
dc4f4b00988c4e8bdb283a9565288b797e2f4d21 | Add a simple route example for version # | alwynlombaard/MicroService.Nancy.Scaffold,mattgwagner/MicroService.Nancy.Scaffold | Nancy/Modules/HomeModule.cs | Nancy/Modules/HomeModule.cs | using log4net;
using MicroService.Nancy.Nancy.Models;
using Nancy;
using System;
namespace MicroService.Nancy.Nancy.Modules
{
public class HomeModule : NancyModule
{
public HomeModule(ILog log)
: base("/")
{
Get["/"] = x =>
{
log.Info("Loadin... | using System;
using log4net;
using MicroService.Nancy.Nancy.Models;
using Nancy;
namespace MicroService.Nancy.Nancy.Modules
{
public class HomeModule : NancyModule
{
public HomeModule(ILog log) : base("/")
{
Get["/"] = x => {
log.Info("Loading home pag... | mit | C# |
3621462f4a9648c89d825d17d9c25ae554704351 | Update ShootEvent.cs | Notulp/Pluton,Notulp/Pluton | Pluton/Events/ShootEvent.cs | Pluton/Events/ShootEvent.cs | namespace Pluton.Events
{
public class ShootEvent : CountedInstance
{
private BaseEntity.RPCMessage _rpcMessage;
private BaseProjectile _projectile;
private Player _pl;
public ShootEvent(BaseProjectile baseProjectile, BaseEntity.RPCMessage msg)
{
this._pl = ... | namespace Pluton.Events
{
public class ShootEvent
{
private BaseEntity.RPCMessage _rpcMessage;
private BaseProjectile _projectile;
private Player _pl;
public ShootEvent(BaseProjectile baseProjectile, BaseEntity.RPCMessage msg)
{
this._pl = new Player(msg.pla... | mit | C# |
eed48eab24ce9d483016e7bf033be76789757963 | use simple random string for table name | miltador/AspNetCore.Identity.DynamoDB,miltador/AspNetCore.Identity.DynamoDB | tests/AspNetCore.Identity.DynamoDB.Tests/Common/TestUtils.cs | tests/AspNetCore.Identity.DynamoDB.Tests/Common/TestUtils.cs | using System;
using System.Linq;
namespace AspNetCore.Identity.DynamoDB.Tests.Common
{
internal static class TestUtils
{
private static readonly Random Random = new Random();
/// <remarks>
/// See http://stackoverflow.com/a/1344242/463785.
/// </remarks>
public static ... | using System;
using System.Linq;
namespace AspNetCore.Identity.DynamoDB.Tests.Common
{
internal static class TestUtils
{
private static readonly Random Random = new Random();
/// <remarks>
/// See http://stackoverflow.com/a/1344242/463785.
/// </remarks>
public static ... | mit | C# |
0f0b6f3893c553f9c5b1763a87430aafb9077a76 | Update HashTests.cs | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Util/Xamarin.Build.Download/source/Xamarin.Build.Download.Tests/HashTests.cs | Util/Xamarin.Build.Download/source/Xamarin.Build.Download.Tests/HashTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Xamarin.Build.Download;
using Xunit;
namespace NativeLibraryDownloaderTests
{
public class HashTests
{
[Theory]
[InlineData("C:\\path\\to\\file.aar")]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Xamarin.Build.Download;
using Xunit;
namespace NativeLibraryDownloaderTests
{
public class HashTests
{
[Theory]
[InlineData("C:\\path\\to\\file.aar")]
... | mit | C# |
e1a6e3a5477bd54b18bf253c84ac92e8bbdd8124 | Add controller changes | akkirilov/SoftUniProject,akkirilov/SoftUniProject,akkirilov/SoftUniProject,akkirilov/SoftUniProject,akkirilov/SoftUniProject,akkirilov/SoftUniProject,akkirilov/SoftUniProject,akkirilov/SoftUniProject | 02_SoftwareTechnologies/14_AspNetBlog_AdminFunc/Blog/Blog/Controllers/ArticleController.cs | 02_SoftwareTechnologies/14_AspNetBlog_AdminFunc/Blog/Blog/Controllers/ArticleController.cs | using Blog.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
namespace Blog.Controllers
{
public class ArticleController : Controller
{
//GET: Article/List
public ActionResult List()
... | using Blog.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
namespace Blog.Controllers
{
public class ArticleController : Controller
{
//GET: Article/List
public ActionResult List()
... | mit | C# |
574d7f8bba83437c49b77f16b1e9d8c9aeef0a3b | Make explicit | CyrusNajmabadi/roslyn,eriawan/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,diryboy/roslyn,AmadeusW/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,jasonmalinowski/roslyn,physhi/roslyn,bartdesmet/roslyn,tannergooding/roslyn,dotnet/roslyn,AmadeusW/roslyn,AlekseyTs/roslyn,bartdesmet/rosly... | src/Analyzers/CSharp/CodeFixes/RemoveConfusingSuppression/CSharpRemoveConfusingSuppressionFixAllProvider.cs | src/Analyzers/CSharp/CodeFixes/RemoveConfusingSuppression/CSharpRemoveConfusingSuppressionFixAllProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
namespac... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
namespac... | mit | C# |
73d62700a0c6811c037e0e98e87965e0060fa688 | refactor and use Location class | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/Map/Location.cs | TCC.Core/Data/Map/Location.cs | using System.Windows;
using TCC.Data.Databases;
namespace TCC.Data.Map
{
public class Location
{
public uint World { get; }
public uint Guard { get; }
public uint Section { get; }
public string SectionName => SessionManager.MapDatabase.GetName(Guard, Section);
public... | using System.Windows;
namespace TCC.Data.Map
{
public class Location
{
public uint World, Guard, Section;
public Point Position;
public Location(uint w, uint g, uint s, double x, double y)
{
World = w;
Guard = g;
Section = s;
Posi... | mit | C# |
3a4dced46edfba9815692b359ec7500f40724952 | Add get method for teacher name | victoria92/university-program-generator,victoria92/university-program-generator | UniProgramGen/Data/Teacher.cs | UniProgramGen/Data/Teacher.cs | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Teacher
{
public Requirements requirements { get; internal set; }
public string name { get; internal set; }
public string Name
{
get { return name; }
}
public Teacher(Req... | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Teacher
{
public Requirements requirements { get; internal set; }
public string name { get; internal set; }
public Teacher(Requirements requirements, string name)
{
this.requirements = re... | bsd-2-clause | C# |
f0528e76b20ca47c37d2bd9a4e4642859851d9f3 | Make styling consistent between files | It423/todo-list,wrightg42/todo-list | Todo-List/Todo-List/Note.cs | Todo-List/Todo-List/Note.cs | // Note.cs
// <copyright file="Note.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
namespace Todo_List
{
/// <summary>
/// A data representation of a note.
/// </summary>
public class Note
{
/// <summary>
/// Initializes a new inst... | // Note.cs
// <copyright file="Note.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
namespace Todo_List
{
/// <summary>
/// A data representation of a note.
/// </summary>
public class Note
{
/// <summary>
/// Initializes a new inst... | mit | C# |
44bae2877bc9f18c8ccda6e8ddbb625070a133f6 | Make Fact as Theory | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/ExchangeRateService/ExchangeRateServiceBaseTests.cs | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/ExchangeRateService/ExchangeRateServiceBaseTests.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Globalization;
using Xunit;
namespace TIKSN.Finance.ForeignExchange.ExchangeRateService.IntegrationTests
{
[Collection("LiteDbServiceProviderCollection")... | using System;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Globalization;
using Xunit;
namespace TIKSN.Finance.ForeignExchange.ExchangeRateService.IntegrationTests
{
[Collection("LiteDbServiceProviderCollection")]
public class ExchangeRateSer... | mit | C# |
bf6d45292915ce18755a84fb1bbd831ed3d5db57 | Fix bug when deactivating ibus keyboards Setting the Keyboard to null in GlobalInputContext.Clear prevented the IbusKeyboardAdaptor.SetIMEKeyboard method from disabling the keyboard. | tombogle/libpalaso,andrew-polk/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,marksvc/libpalaso,darcywong00/libpalaso,hatton/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,ddaspit/libpalaso,dd... | PalasoUIWindowsForms/Keyboarding/Linux/GlobalCachedInputContext.cs | PalasoUIWindowsForms/Keyboarding/Linux/GlobalCachedInputContext.cs | #if __MonoCS__
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using IBusDotNet;
using NDesk.DBus;
namespace Palaso.UI.WindowsForms.Keyboarding.Linux
{
/// <summary>
/// a global cache used only to reduce traffic with ibus via dbus.
/// </summary>
internal static class GlobalCachedInp... | #if __MonoCS__
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using IBusDotNet;
using NDesk.DBus;
namespace Palaso.UI.WindowsForms.Keyboarding.Linux
{
/// <summary>
/// a global cache used only to reduce traffic with ibus via dbus.
/// </summary>
internal static class GlobalCachedInp... | mit | C# |
55c28220d900a04bc6aefb9ffc0b0790ee994ba8 | Remove old serialization check that is no longer required | hach-que/Dx | Dx.Runtime/DefaultObjectWithTypeSerializer.cs | Dx.Runtime/DefaultObjectWithTypeSerializer.cs | using System;
using System.IO;
using System.Runtime.Serialization;
using ProtoBuf;
using ProtoBuf.Meta;
namespace Dx.Runtime
{
public class DefaultObjectWithTypeSerializer : IObjectWithTypeSerializer
{
private readonly ILocalNode m_LocalNode;
public DefaultObjectWithTypeSerializer(ILocalNode ... | using System;
using System.IO;
using System.Runtime.Serialization;
using ProtoBuf;
using ProtoBuf.Meta;
namespace Dx.Runtime
{
public class DefaultObjectWithTypeSerializer : IObjectWithTypeSerializer
{
private readonly ILocalNode m_LocalNode;
public DefaultObjectWithTypeSerializer(ILocalNode ... | mit | C# |
2f2ecfbf6368adc66f51c24220c199b560cb618f | convert endpoint scheme tcp to 'http' internally | ahmetalpbalkan/Docker.DotNet,jterry75/Docker.DotNet,jterry75/Docker.DotNet | Docker.DotNet/DockerClientConfiguration.cs | Docker.DotNet/DockerClientConfiguration.cs | using System;
using System.Globalization;
namespace Docker.DotNet
{
public class DockerClientConfiguration
{
public Uri EndpointBaseUri { get; private set; }
public Credentials Credentials { get; private set; }
public DockerClientConfiguration(Uri endpoint) : this(endpoint, new Anony... | using System;
namespace Docker.DotNet
{
public class DockerClientConfiguration
{
public Uri EndpointBaseUri { get; private set; }
public Credentials Credentials { get; private set; }
public DockerClientConfiguration(Uri endpoint) : this(endpoint, new AnonymousCredentials())
{... | apache-2.0 | C# |
e2e7e73835634df4ad8229b116742ad1366ae2ff | Clean code with using instead of fixed namespaces | projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection | TheCollection.Domain/Contracts/Repository/ILinqSearchRepository.cs | TheCollection.Domain/Contracts/Repository/ILinqSearchRepository.cs | namespace TheCollection.Domain.Contracts.Repository {
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
public interface ILinqSearchRepository<T> where T : class {
Task<IEnumerable<T>> SearchItemsAsync(Expression<Func<T, bool>> pred... | namespace TheCollection.Domain.Contracts.Repository {
using System.Collections.Generic;
using System.Threading.Tasks;
public interface ILinqSearchRepository<T> where T : class {
Task<IEnumerable<T>> SearchItemsAsync(System.Linq.Expressions.Expression<System.Func<T, bool>> predicate = null, int page... | apache-2.0 | C# |
922384267c6d468b98c63047a4104a04c3417ff9 | Fix test | agilepartner/SandTigerShark | GameServer.Tests/TicTacToe/TicTacToe_specs.cs | GameServer.Tests/TicTacToe/TicTacToe_specs.cs | using FakeItEasy;
using Microsoft.Extensions.Options;
using SandTigerShark.GameServer.Services.Commands;
using SandTigerShark.GameServer.Services.Configurations;
using SandTigerShark.GameServer.Services.Http;
using SandTigerShark.GameServer.Services.TicTacToe;
using System;
using Xunit;
namespace SandTigerShark.GameS... | using FakeItEasy;
using Microsoft.Extensions.Options;
using SandTigerShark.GameServer.Services.Commands;
using SandTigerShark.GameServer.Services.Configurations;
using SandTigerShark.GameServer.Services.Http;
using SandTigerShark.GameServer.Services.TicTacToe;
using System;
using Xunit;
namespace SandTigerShark.GameS... | mit | C# |
447b6b8e0f6842032ad1bdcf5b92127edee7358c | Simplify logic in user profile validation | mikesigs/allReady,mikesigs/allReady,mikesigs/allReady,mikesigs/allReady | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | mit | C# |
3ca6d4a15b3db19d44f3270b13b9c16d57f5915f | add ToIntUnchecked(), GetLowWord(), GetHighWord() | TakeAsh/cs-WpfUtility | WpfUtility/NativeMethods.cs | WpfUtility/NativeMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace WpfUtility.Native {
static class NativeMethods {
[DllImport("user32.dll")]
public static extern bool SetWindowPlacement(
IntPtr hWnd,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace WpfUtility.Native {
class NativeMethods {
[DllImport("user32.dll")]
public static extern bool SetWindowPlacement(
IntPtr hWnd,
... | mit | C# |
922e84d146e33752b379ba78f24105c79286c1d2 | Add collide without manifold generation | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Physics/Collider/Collider.cs | MadCat/NutEngine/Physics/Collider/Collider.cs | using NutEngine.Physics.Shapes;
namespace NutEngine.Physics
{
public static partial class Collider
{
public static bool Collide(IBody<IShape> a, IBody<IShape> b, out Manifold manifold)
{
return Collide((dynamic)a, (dynamic)b, out manifold);
}
public static bool Col... | using NutEngine.Physics.Shapes;
namespace NutEngine.Physics
{
public static partial class Collider
{
public static bool Collide(IBody<IShape> a, IBody<IShape> b, out Manifold manifold)
{
return Collide((dynamic)a, (dynamic)b, out manifold);
}
}
}
| mit | C# |
ce00bca73ed0fb2d4ef928c990683cd96a352a47 | replace initonload with menu item | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Providers/Experimental/WindowsSceneUnderstanding/Editor/WindowsSceneUnderstandingConfigChecker.cs | Assets/MRTK/Providers/Experimental/WindowsSceneUnderstanding/Editor/WindowsSceneUnderstandingConfigChecker.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.IO;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.WindowsSceneUnderstanding.Experimental
{
/// <summary>
/// Class to perform checks for configuration ... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.IO;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.WindowsSceneUnderstanding.Experimental
{
/// <summary>
/// Class to perform checks for configuration ... | mit | C# |
aff455eacebbd63330797677a2b01f4057165a60 | fix DecodeBlockSZ at CompressionMagicHelper helper class | DarkCaster/DotNetBlocks,DarkCaster/DotNetBlocks | CustomBlocks/DataTransfer/Compression/Private/CompressionMagicHelper.cs | CustomBlocks/DataTransfer/Compression/Private/CompressionMagicHelper.cs | // CompressionMagicHelper.cs
//
// The MIT License (MIT)
//
// Copyright (c) 2017 DarkCaster <dark.caster@outlook.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | // CompressionMagicHelper.cs
//
// The MIT License (MIT)
//
// Copyright (c) 2017 DarkCaster <dark.caster@outlook.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | mit | C# |
fa7359d3c9680f56739ae1a4c9cb61a4256746b3 | Delete comment. | harujoh/KelpNet,harujoh/KelpNet | KelpNet.Function/Optimizers/WeightDecay.cs | KelpNet.Function/Optimizers/WeightDecay.cs | using System;
using System.Collections.Generic;
#if DOUBLE
using Real = System.Double;
#elif NETSTANDARD2_1
using Real = System.Single;
using Math = System.MathF;
#elif NETSTANDARD2_0
using Real = System.Single;
using Math = KelpNet.MathF;
#endif
namespace KelpNet
{
#if !DOUBLE
public class WeightDecay<T> : Optim... | using System;
using System.Collections.Generic;
#if DOUBLE
using Real = System.Double;
#elif NETSTANDARD2_1
using Real = System.Single;
using Math = System.MathF;
#elif NETSTANDARD2_0
using Real = System.Single;
using Math = KelpNet.MathF;
#endif
namespace KelpNet
{
#if !DOUBLE
//与えられたthresholdで頭打ちではなく、全パラメータのL2N... | apache-2.0 | C# |
837c82c3652f3d55ea64a184f3357328ab65af50 | Clean up | Free1man/SeleniumTestsRunner,Free1man/SeleniumTestFramework | SeleniumFramework/SeleniumInfrastructure/Runner/SeleniumDriverRunner.cs | SeleniumFramework/SeleniumInfrastructure/Runner/SeleniumDriverRunner.cs | using SeleniumFramework.SeleniumInfrastructure.AppDirectory;
using SeleniumFramework.SeleniumInfrastructure.Browsers;
using SeleniumFramework.SeleniumInfrastructure.Config;
namespace SeleniumFramework.SeleniumInfrastructure.Runner
{
public class SeleniumDriverRunner
{
private static SeleniumDriverRunn... | using SeleniumFramework.SeleniumInfrastructure.AppDirectory;
using SeleniumFramework.SeleniumInfrastructure.Browsers;
using SeleniumFramework.SeleniumInfrastructure.Config;
namespace SeleniumFramework.SeleniumInfrastructure.Runner
{
public class SeleniumDriverRunner
{
private static SeleniumDriverRunn... | mit | C# |
3555c08757ba5682670e7c75a11074ff092aa4a3 | Update EventStoreSessionInstaller.cs | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | Snittlistan.Web/Infrastructure/Installers/EventStoreSessionInstaller.cs | Snittlistan.Web/Infrastructure/Installers/EventStoreSessionInstaller.cs | using System;
using Castle.Core;
using Castle.MicroKernel;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using EventStoreLite;
using Raven.Client;
namespace Snittlistan.Web.Infrastructure.Installers
{
public class EventStoreSessionInstal... | using Castle.Core;
using Castle.MicroKernel;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using EventStoreLite;
using Raven.Client;
namespace Snittlistan.Web.Infrastructure.Installers
{
public class EventStoreSessionInstaller : IWindsorI... | mit | C# |
567a380351d95a09f637f875d39ef91cc8dd45d6 | Update BundleConfig.cs - include "NinjaHive_CategoryPage.js" script | NinjaVault/NinjaHive,NinjaVault/NinjaHive | NinjaHive.WebApp/App_Start/BundleConfig.cs | NinjaHive.WebApp/App_Start/BundleConfig.cs | using System.Web.Optimization;
namespace NinjaHive.WebApp
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bu... | using System.Web.Optimization;
namespace NinjaHive.WebApp
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bu... | apache-2.0 | C# |
ee30ee48a6eae90a45a438dc182b30b1672e79cc | Fix uri concatenation in HttpClientExt | eoin55/HoneyBear.HalClient | Src/HoneyBear.HalClient/Http/HttpClientExt.cs | Src/HoneyBear.HalClient/Http/HttpClientExt.cs | using System;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
namespace HoneyBear.HalClient.Http
{
static class HttpClientEx
{
public const string MimeJson = "application/json";
public static Task<HttpResponseMessage> PatchAsync(this HttpClient client, s... | using System;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
namespace HoneyBear.HalClient.Http
{
static class HttpClientEx
{
public const string MimeJson = "application/json";
public static Task<HttpResponseMessage> PatchAsync(this HttpClient client, s... | mit | C# |
5f471d517a7bca9edb896176228a9fd8e9b35651 | add null check | marihachi/MSharp | src/MSharp/Misskey.cs | src/MSharp/Misskey.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MSharp.Core;
using MSharp.Core.Utility;
namespace MSharp
{
/// <summary>
/// リクエストメソッドの種類を表します
/// </summary>
public enum MethodType
{
GET,
POST
}
public class Misskey
{
public string AppKey { private set; get; }
pub... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MSharp.Core;
using MSharp.Core.Utility;
namespace MSharp
{
/// <summary>
/// リクエストメソッドの種類を表します
/// </summary>
public enum MethodType
{
GET,
POST
}
public class Misskey
{
public string AppKey { private set; get; }
pub... | mit | C# |
d4c34e2513dba1fe9195948af78ddc0874039ff2 | Fix exception message | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CrashReport/CrashReporter.cs | WalletWasabi.Gui/CrashReport/CrashReporter.cs | using System;
using System.Diagnostics;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.CrashReport
{
public class CrashReporter
{
private const int MaxRecursiveCalls = 5;
public int Attempts { get; private set; }
public string Base64Exception... | using System;
using System.Diagnostics;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.CrashReport
{
public class CrashReporter
{
private const int MaxRecursiveCalls = 5;
public int Attempts { get; private set; }
public string Base64Exception... | mit | C# |
0075ffc17bc15fefb6814fa5f584942209dbde96 | Update cache version | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CacheVersion.cs | resharper/resharper-unity/src/CacheVersion.cs | using JetBrains.Annotations;
using JetBrains.Application.PersistentMap;
using JetBrains.Serialization;
namespace JetBrains.ReSharper.Plugins.Unity
{
// Cache version
[PolymorphicMarshaller(3)]
public class CacheVersion
{
[UsedImplicitly] public static UnsafeReader.ReadDelegate<object> ReadDeleg... | using JetBrains.Annotations;
using JetBrains.Application.PersistentMap;
using JetBrains.Serialization;
namespace JetBrains.ReSharper.Plugins.Unity
{
// Cache version
[PolymorphicMarshaller(2)]
public class CacheVersion
{
[UsedImplicitly] public static UnsafeReader.ReadDelegate<object> ReadDeleg... | apache-2.0 | C# |
72b46f603a15b912cb2ef05637360d10f57daac6 | Support for pre-alpha 6 | pollend/ParkitectCheats,nozols/ParkitectCheats | Main.cs | Main.cs | using UnityEngine;
namespace CheatMod
{
public class Main : IMod
{
public GameObject _go;
public string Description
{
get
{
return "Cheats for Parkitect.";
}
}
public string Name
{
get
... | using UnityEngine;
namespace CheatMod
{
public class Main : IMod
{
public GameObject _go;
public string Description
{
get
{
return "Cheats for Parkitect.";
}
}
public string Name
{
get
... | apache-2.0 | C# |
53d3bea8a35696369bb633375f291bb547c68951 | Arrange Widgets Using Boxes | HenriqueRocha/gtkcontacts | Main.cs | Main.cs | using System;
using Gtk;
class MainClass {
public static void Main (string[] args)
{
Application.Init();
SetUpGui ();
Application.Run ();
}
static void SetUpGui ()
{
Window w = new Window ("Gtk# Contacts");
VBox v = new VBox();
v.BorderWidth = 6;
v.Spacing = 6;
w.Add(v);
HBox h = new HBox ();... | using System;
using Gtk;
class MainClass {
public static void Main (string[] args)
{
Application.Init();
Window w = new Window ("Gtk# Basics");
Button b = new Button ("Hit me");
// set up event handling: verbose to illustrate
// the use of delegates.
w.DeleteEvent += new DeleteEventHandler (Window_Dele... | mit | C# |
ccb47c289e4a04fc494b0e9741bbb0639220183c | Remove unused import | MHeasell/Mappy,MHeasell/Mappy | Mappy/Models/IMainFormModel.cs | Mappy/Models/IMainFormModel.cs | namespace Mappy.Models
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using Mappy.Data;
using Mappy.Database;
public interface IMainFormModel : INotifyPropertyChanged
{
IFeatureDatabase FeatureRecords { get; }
IList<Sec... | namespace Mappy.Models
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using Geometry;
using Mappy.Data;
using Mappy.Database;
public interface IMainFormModel : INotifyPropertyChanged
{
IFeatureDatabase FeatureRecords { get;... | mit | C# |
ec86700f2903bca40fd9cbc7f5a0d062e0373466 | Add the nullable disable annotation back becuse it will cause the api broken if remove the nullable disable annotation in the mania ruleset. | peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game.Rulesets.Mania/Configuration/ManiaRulesetConfigManager.cs | osu.Game.Rulesets.Mania/Configuration/ManiaRulesetConfigManager.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespa... | mit | C# |
d8bc7670d78f538c3a6eb5126e8471ed3bbf725b | change scope of response JSON result | shortcutmedia/shortcut-deeplink-sdk-wp | ShortcutDeepLinkingPcl/SCServerResponse.cs | ShortcutDeepLinkingPcl/SCServerResponse.cs | using System;
using Newtonsoft.Json.Linq;
namespace Shortcut.DeepLinking.Pcl
{
public class SCServerResponse
{
private JObject mJson;
public SCServerResponse(JObject json)
{
this.mJson = json;
}
public JObject Json
{
get
{
... | using System;
using Newtonsoft.Json.Linq;
namespace Shortcut.DeepLinking.Pcl
{
public class SCServerResponse
{
private JObject mJson;
public SCServerResponse(JObject json)
{
this.mJson = json;
}
public JObject Json
{
get
{
... | mit | C# |
3028259f29fc39cd3f383708a13d27443975b22d | Update SerializerBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/SerializerBase.cs | TIKSN.Core/Serialization/SerializerBase.cs | using System;
namespace TIKSN.Serialization
{
public abstract class SerializerBase<TSerial> : ISerializer<TSerial> where TSerial : class
{
public TSerial Serialize(object obj)
{
try
{
return SerializeInternal(obj);
}
catch (Except... | using System;
namespace TIKSN.Serialization
{
public abstract class SerializerBase<TSerial> : ISerializer<TSerial> where TSerial : class
{
public TSerial Serialize(object obj)
{
if (obj == null)
return null;
try
{
return Seri... | mit | C# |
b970867929928c50c2e07eaf9dc4e67803f87175 | refactor update command | louthy/language-ext,StanJav/language-ext,StefanBertels/language-ext | Samples/Contoso/Contoso.Application/Students/Commands/UpdateStudentHandler.cs | Samples/Contoso/Contoso.Application/Students/Commands/UpdateStudentHandler.cs | using System.Threading;
using System.Threading.Tasks;
using Contoso.Core;
using Contoso.Core.Domain;
using Contoso.Core.Interfaces.Repositories;
using LanguageExt;
using MediatR;
using static LanguageExt.Prelude;
namespace Contoso.Application.Students.Commands
{
public class UpdateStudentHandler : IRequestHandler... | using System.Threading;
using System.Threading.Tasks;
using Contoso.Core;
using Contoso.Core.Domain;
using Contoso.Core.Interfaces.Repositories;
using LanguageExt;
using MediatR;
using static LanguageExt.Prelude;
namespace Contoso.Application.Students.Commands
{
public class UpdateStudentHandler : IRequestHandler... | mit | C# |
9679491d7c747cafe266a33ec313dcfa23583460 | Use Const.tau in Program.cs | lou1306/CIV,lou1306/CIV | CIV/Program.cs | CIV/Program.cs | using System;
using Antlr4.Runtime;
using Antlr4.Runtime.Tree;
using CIV.Ccs;
using CIV.Hml;
using System.Linq;
using CIV.Processes;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
// Parse the file
var inputStream = CreateInputStream("prisoners.ccs.txt");
... | using System;
using System.Collections.Generic;
using Antlr4.Runtime;
using Antlr4.Runtime.Tree;
using CIV.Ccs;
using System.Linq;
using System.Text;
using CIV.Processes;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
// Parse the file
var in... | mit | C# |
f26ab68fa6a4ead4920582a6e147e39e168a8732 | Update IndexRequest | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Api/Requests/Requests.NoNamespace.cs | src/Nest/Api/Requests/Requests.NoNamespace.cs | using System;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using Elastic.Transport;
namespace Nest
{
public partial interface IIndexRequest<TDocument> : ICustomJsonWriter
{
TDocument Document { get; set; } // TODO - This should be generated based on the spec
Id? Id { get; }
}
... | namespace Nest
{
//public partial interface IIndexRequest<TDocument> : IProxyRequest
//{
// TDocument Document { get; set; } // TODO - This should be generated based on the spec
// Id? Id { get; }
//}
//public partial class IndexRequest<TDocument> : IProxyRequest
//{
// protected override HttpMethod? DynamicHt... | apache-2.0 | C# |
90d6445914b1217a1a7875392837880060c3f8f9 | Add unit test for partition change | vishalmane/MVCScrolling,dncuug/X.PagedList,lingsu/PagedList,gary75952/PagedList,troygoode/PagedList,weiwei695/PagedList,kpi-ua/X.PagedList,troygoode/PagedList,lingsu/PagedList,ernado-x/X.PagedList,kpi-ua/X.PagedList,ernado-x/X.PagedList,vishalmane/MVCScrolling,weiwei695/PagedList,lingsu/PagedList,gary75952/PagedList,we... | src/PagedList.Tests/SplitAndPartitionFacts.cs | src/PagedList.Tests/SplitAndPartitionFacts.cs | using System.Linq;
using Xunit;
namespace PagedList.Tests
{
public class SplitAndPartitionFacts
{
[Fact]
public void Partition_Works()
{
//arrange
var list = Enumerable.Range(1, 9999);
//act
var splitList = list.Partition(1000);
//assert
Assert.Equal(10, splitList.Count());
Assert.Equal... | using System.Linq;
using Xunit;
namespace PagedList.Tests
{
public class SplitAndPartitionFacts
{
[Fact]
public void Partition_Works()
{
//arrange
var list = Enumerable.Range(1, 9999);
//act
var splitList = list.Partition(1000);
//assert
Assert.Equal(10, splitList.Count());
Assert.Equal... | mit | C# |
c96c56430380e87662e008b7366b206369c4eefb | Fix conversion of zoneEmphasis | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Utilities/JsonConverters/EmphasisJsonConverter.cs | Core/OfficeDevPnP.Core/Utilities/JsonConverters/EmphasisJsonConverter.cs | using Newtonsoft.Json;
using System;
namespace OfficeDevPnP.Core.Utilities.JsonConverters
{
/// <summary>
/// Converts Emphasis values into the supported integer format
/// </summary>
public class EmphasisJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
... | using Newtonsoft.Json;
using System;
namespace OfficeDevPnP.Core.Utilities.JsonConverters
{
/// <summary>
/// Converts Emphasis values into the supported integer format
/// </summary>
public class EmphasisJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
... | mit | C# |
9aab197d480da2f6db3031e0c92399e3a8321426 | fix of framework desc | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.Framework/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.Framework/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | apache-2.0 | C# |
e8ad1240cfb285dde60dbf4e91fc7decfea22ef7 | Disable debug attached | Fody/Costura,Fody/Costura | src/Costura.Fody/ModuleWeaver.cs | src/Costura.Fody/ModuleWeaver.cs | using System.Collections.Generic;
using System.Diagnostics;
using Fody;
using Mono.Cecil;
public partial class ModuleWeaver: BaseModuleWeaver
{
public IAssemblyResolver AssemblyResolver { get; set; }
public override void Execute()
{
//#if DEBUG
// if (!Debugger.IsAttached)
// {
// ... | using System.Collections.Generic;
using System.Diagnostics;
using Fody;
using Mono.Cecil;
public partial class ModuleWeaver: BaseModuleWeaver
{
public IAssemblyResolver AssemblyResolver { get; set; }
public override void Execute()
{
#if DEBUG
if (!Debugger.IsAttached)
{
Debugg... | mit | C# |
f2a954e2b28c041a1e0a65587f908cdf7d6f630c | Update ServiceContext.cs | hprose/hprose-dotnet | src/Hprose.RPC/ServiceContext.cs | src/Hprose.RPC/ServiceContext.cs | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | mit | C# |
63a2182c27f9895986e5493ca65db51ab7d177b6 | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
68cb5cd6af8e5d36c761afb9b452de64f21b8367 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
830c4e648894ae79358c9e23b8ca563708a3b225 | make addressprefix mandatory in subnet | bgold09/azure-powershell,hallihan/azure-powershell,SarahRogers/azure-powershell,rohmano/azure-powershell,stankovski/azure-powershell,pankajsn/azure-powershell,hallihan/azure-powershell,shuagarw/azure-powershell,praveennet/azure-powershell,arcadiahlyy/azure-powershell,zaevans/azure-powershell,stankovski/azure-powershell... | src/ResourceManager/Network/Commands.NetworkResourceProvider/VirtualNetwork/Subnet/CommonAzureVirtualNetworkSubnetConfigCmdlet.cs | src/ResourceManager/Network/Commands.NetworkResourceProvider/VirtualNetwork/Subnet/CommonAzureVirtualNetworkSubnetConfigCmdlet.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
e559a1143e1ffa5f8e67d267f3a227d4446c5b5f | add the framework version so that MSBuild can be found | apache/npanday,apache/npanday,apache/npanday,apache/npanday | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/ASPNetPomConverter.cs | dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/ASPNetPomConverter.cs | #region Apache License, Version 2.0
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, ... | #region Apache License, Version 2.0
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, ... | apache-2.0 | C# |
fca699e3e7a2dd8d451cc00d32356033fd2152cb | Fix messaging for Stop-AzureEmulator cmdlet | Madhukarc/azure-sdk-tools,markcowl/azure-sdk-tools,Madhukarc/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,antonba/azure-sdk-tools,johnkors/azure-sdk-tools,DinoV/azure-sdk-tools,antonba/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,johnkors/azure-sdk-tools,ak... | WindowsAzurePowershell/src/Management.CloudService/Cmdlet/StopAzureEmulator.cs | WindowsAzurePowershell/src/Management.CloudService/Cmdlet/StopAzureEmulator.cs | // ----------------------------------------------------------------------------------
//
// Copyright 2011 Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | // ----------------------------------------------------------------------------------
//
// Copyright 2011 Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | apache-2.0 | C# |
d2f1c39d12002c0d283d05e07f5f3f91f737de46 | Format time | ne1ro/desperation | Assets/Scripts/Timer.cs | Assets/Scripts/Timer.cs | using UnityEngine;
using UnityEngine.UI;
using System;
public class Timer : MonoBehaviour {
private float startTime;
void Awake() {
startTime = Time.time;
}
void Update() {
TimeSpan t = TimeSpan.FromSeconds(Time.time - startTime);
GetComponent<Text>().text = string.Format("{0:D2}:{1:D2}", t.Minu... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Timer : MonoBehaviour {
private float startTime;
void Awake() {
startTime = Time.time;
}
void Update() {
float elapsedTime = Time.time - startTime;
GetComponent<Text>().text = elapsedTime.ToString();
}
}
| mit | C# |
6210e9388939d47ee1ef6b8017c2aae5da405d51 | Use LineEditor instead of Console.ReadLine. | alldne/school,alldne/school | School/REPL.cs | School/REPL.cs | using System;
using Mono.Terminal;
namespace School
{
public class REPL
{
public REPL()
{
}
public void Run()
{
Evaluator evaluator = new Evaluator();
LineEditor editor = new LineEditor("School");
Console.WriteLine("School REPL:");
... | using System;
namespace School
{
public class REPL
{
public REPL()
{
}
public void Run()
{
Evaluator evaluator = new Evaluator();
string line;
Console.WriteLine("School REPL:");
do
{
Console.W... | apache-2.0 | C# |
5fb4764742afa4857d43c7332527f77cf2973c19 | add update to IoC | mattiasliljenzin/load-testing-simulator | src/simulation/App.cs | src/simulation/App.cs | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Autofac;
using Microsoft.Extensions.Configuration;
using RequestSimulation.Configuration;
using RequestSimulation.Datasources;
using RequestSimulation.Executing;
using RequestSimulation.Executing.Interceptors;
using RequestSimulation.... | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Autofac;
using Microsoft.Extensions.Configuration;
using RequestSimulation.Configuration;
using RequestSimulation.Datasources;
using RequestSimulation.Executing;
using RequestSimulation.Executing.Interceptors;
using RequestSimulation.... | mit | C# |
f25be9a461756d84508fa0d4f8683506d6b88e07 | Add regions to StackTrace class | bartlomiejwolk/FileLogger | StackInfo.cs | StackInfo.cs | using System;
using System.Reflection;
using System.Diagnostics;
namespace ATP.LoggingTools {
public class StackInfo {
#region FIELDS
private StackTrace stackTrace = new StackTrace();
private StackFrame frame;
private MethodBase method;
private Type classType;
#endr... | using System;
using System.Reflection;
using System.Diagnostics;
namespace ATP.LoggingTools {
public class StackInfo {
private StackTrace stackTrace = new StackTrace();
private StackFrame frame;
private MethodBase method;
private Type classType;
public string MethodName {
get {
if (frame != null) ... | mit | C# |
487b60d45b367760c2c6c1e3a8d38c49314bb9d6 | Update assembly description attribute in elbsms_core | eightlittlebits/elbsms | elbsms_core/Properties/AssemblyInfo.cs | elbsms_core/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("elb... | 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("elb... | mit | C# |
6021c83e23c31b028dcba108c961813766ba767c | update variable name | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Application.UnitTests/Queries/GetProviders/WhenHandlingGetProvidersQuery.cs | src/SFA.DAS.Commitments.Application.UnitTests/Queries/GetProviders/WhenHandlingGetProvidersQuery.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoFixture;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.Commitments.Application.Queries.GetProviders;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities;
namespace SFA.DAS... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoFixture;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.Commitments.Application.Queries.GetProviders;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities;
namespace SFA.DAS... | mit | C# |
0d38ec4a26bc5a888af84ae92a78a2529f163012 | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
e008ceca1d8c5ff1942640b846fcc0798c4c1a26 | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
c543a0a7ecfe27600da43b757d63c2b66402a808 | Remove unused Reinterpret reference | FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer | src/FreecraftCore.Serializer/Serializers/Primitives/GenericTypePrimitiveSerializerStrategy.cs | src/FreecraftCore.Serializer/Serializers/Primitives/GenericTypePrimitiveSerializerStrategy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace FreecraftCore.Serializer
{
//TODO: Cannot support Char due to encoding differences.
/// <summary>
/// Contract for type serializer that is a primitive... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Reinterpret.Net;
namespace FreecraftCore.Serializer
{
//TODO: Cannot support Char due to encoding differences.
/// <summary>
/// Contract for type seriali... | agpl-3.0 | C# |
376834b2eb020b209b228f3387ffb545a3c96672 | Improve error message when BlogPost.Content markdown to html fails | croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-... | source/CroquetAustraliaWebsite.Application/app/home/BlogPostViewModel.cs | source/CroquetAustraliaWebsite.Application/app/home/BlogPostViewModel.cs | using System;
using System.Web;
using Anotar.NLog;
using Casper.Domain.Features.BlogPosts;
using CroquetAustraliaWebsite.Library.Content;
namespace CroquetAustraliaWebsite.Application.App.home
{
public class BlogPostViewModel
{
private readonly BlogPost _blogPost;
private readonly Lazy<IHtmlStr... | using System;
using System.Web;
using Casper.Domain.Features.BlogPosts;
using CroquetAustraliaWebsite.Library.Content;
namespace CroquetAustraliaWebsite.Application.App.home
{
public class BlogPostViewModel
{
private readonly BlogPost _blogPost;
private readonly Lazy<IHtmlString> _contentFactor... | mit | C# |
7fa1aba972ad8635296e15311aac9594c8d69a30 | Add new constructor to CCPlace that takes a X,Y position. | mono/CocosSharp,mono/CocosSharp,hig-ag/CocosSharp,haithemaraissia/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,netonjm/CocosSharp,netonjm/CocosSharp,MSylvia/CocosSharp,hig-ag/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp | cocos2d/actions/action_instants/CCPlace.cs | cocos2d/actions/action_instants/CCPlace.cs | namespace CocosSharp
{
public class CCPlace : CCActionInstant
{
public CCPoint Position { get; private set; }
#region Constructors
public CCPlace(CCPoint pos)
{
Position = pos;
}
public CCPlace(int posX, int posY)
{
Position = new CCPoint (posX, posY);
... | namespace CocosSharp
{
public class CCPlace : CCActionInstant
{
public CCPoint Position { get; private set; }
#region Constructors
public CCPlace(CCPoint pos)
{
Position = pos;
}
#endregion Constructors
protected internal override CCActionState Start... | mit | C# |
280cd048f662090d5bdde09191daa9ff978190dc | Fix joystick settings changing enabled state of config level bindables | ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Overlays/Settings/Sections/Input/JoystickSettings.cs | osu.Game/Overlays/Settings/Sections/Input/JoystickSettings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Handlers.Joystick;
using osu.Framework.Localisation... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Handlers.Joystick;
using osu.Framework.Localisation... | mit | C# |
a01896a652ee042cc66149a99ccf5b76dddef535 | Fix misordered hit error in score meter types | peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Configuration/ScoreMeterType.cs | osu.Game/Configuration/ScoreMeterType.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.ComponentModel;
namespace osu.Game.Configuration
{
public enum ScoreMeterType
{
[Description("None")]
None,
[Description("... | // 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.ComponentModel;
namespace osu.Game.Configuration
{
public enum ScoreMeterType
{
[Description("None")]
None,
[Description("... | mit | C# |
3ce744674c18f2ebf7545caccac341ef08af26b6 | change username property in received notification | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/Notification/NotificationReceivedDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/Notification/NotificationReceivedDto.cs | using PS.Mothership.Core.Common.Template.Event;
namespace PS.Mothership.Core.Common.Dto.Event.Notification
{
public class NotificationReceivedDto
{
public EventTypeEnum EventType { get; set; }
public int EventTypeTotalNotifications { get; set; }
public string Username { get; set; }
... | using System.Collections.Generic;
using PS.Mothership.Core.Common.Template.Event;
namespace PS.Mothership.Core.Common.Dto.Event.Notification
{
public class NotificationReceivedDto
{
public EventTypeEnum EventType { get; set; }
public int EventTypeTotalNotifications { get; set; }
public... | mit | C# |
28ad4ed3bd7cdaa8778d443a829f133426ce421d | Handle returnURL and also grab ticket and query | ucdavis/CasAuthenticationMiddleware,ucdavis/CasAuthenticationMiddleware,ucdavis/CasAuthenticationMiddleware | src/CasAuthenticationMiddleware/CasAuthenticationHandler.cs | src/CasAuthenticationMiddleware/CasAuthenticationHandler.cs | using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Authentication;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Features.Authentication;
namespace CasAuthenticationMiddleware
{
public class CasAuthenticationHandler<TOptions... | using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Authentication;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Features.Authentication;
namespace CasAuthenticationMiddleware
{
public class CasAuthenticationHandler<TOptions> : RemoteAuthenticationHandler<T... | mit | C# |
4118f44f0199bcd414675ba705c6337ede19cb14 | Bump version to 1.4 | kevinkuszyk/FluentAssertions.Ioc.Ninject,kevinkuszyk/FluentAssertions.Ioc.Ninject | src/FluentAssertions.Ioc.Ninject/Properties/AssemblyInfo.cs | src/FluentAssertions.Ioc.Ninject/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("Fl... | 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("Fl... | apache-2.0 | C# |
d2af76859987a42a50843d75b87cb2f6b74707e4 | Add widget name to automation FileSave dialog for tests | MatterHackers/agg-sharp,jlewin/agg-sharp,larsbrubaker/agg-sharp | Gui/FileDialogs/AutomationFileDialogCreator.cs | Gui/FileDialogs/AutomationFileDialogCreator.cs | using System;
using System.Linq;
namespace MatterHackers.Agg.UI
{
internal class AutomationFileDialogCreator : FileDialogCreator
{
public override bool OpenFileDialog(OpenFileDialogParams openParams, Action<OpenFileDialogParams> callback)
{
ShowFileDialog((fileText) =>
{
if (fileText.Length > 2)
{... | using System;
using System.Linq;
namespace MatterHackers.Agg.UI
{
internal class AutomationFileDialogCreator : FileDialogCreator
{
public override bool OpenFileDialog(OpenFileDialogParams openParams, Action<OpenFileDialogParams> callback)
{
ShowFileDialog((fileText) =>
{
if (fileText.Length > 2)
{... | bsd-2-clause | C# |
e539a4421a3554673d6edb341d16165cac843ff5 | Replace hardcoded string with constant | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/ClaimsTransformation/Controllers/AccountController.cs | samples/ClaimsTransformation/Controllers/AccountController.cs | using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
namespace AuthSamples.ClaimsTransformer.Controllers
{
public class AccountController : Contro... | using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
namespace AuthSamples.ClaimsTransformer.Controllers
{
public class AccountController : Controller
{
[HttpGet]
public IAction... | apache-2.0 | C# |
a1cc9a970de2679359bfe7ff8f6f29b51f1c4053 | Change subcommand60 packet test case name in VS | HelloKitty/Booma.Proxy | tests/Booma.Proxy.Packets.Tests/UnitTests/PacketCaptureTestEntry.cs | tests/Booma.Proxy.Packets.Tests/UnitTests/PacketCaptureTestEntry.cs | namespace Booma.Proxy
{
public sealed partial class CapturedPacketsTests
{
public class PacketCaptureTestEntry
{
public short OpCode { get; }
public byte[] BinaryData { get; }
public string FileName { get; }
/// <inheritdoc />
public PacketCaptureTestEntry(short opCode, byte[] binaryData, strin... | namespace Booma.Proxy
{
public sealed partial class CapturedPacketsTests
{
public class PacketCaptureTestEntry
{
public short OpCode { get; }
public byte[] BinaryData { get; }
public string FileName { get; }
/// <inheritdoc />
public PacketCaptureTestEntry(short opCode, byte[] binaryData, strin... | agpl-3.0 | C# |
6de92962118b43b70cc409e8833d4eba23e6731c | Add spacing after heart icon | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Oogstplanner.Web/Views/Calendar/NoCrops.cshtml | Oogstplanner.Web/Views/Calendar/NoCrops.cshtml | @{
ViewBag.Title = "Zaaikalender";
}
@Scripts.Render("~/Scripts/oogstplanner.likes")
<div id="top"></div>
<div id="yearCalendar">
<h1>Zaaikalender</h1>
<div class="row">
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div>
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-8">
<div class="panel ... | @{
ViewBag.Title = "Zaaikalender";
}
@Scripts.Render("~/Scripts/oogstplanner.likes")
<div id="top"></div>
<div id="yearCalendar">
<h1>Zaaikalender</h1>
<div class="row">
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div>
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-8">
<div class="panel ... | mit | C# |
e7b38087692910e0e9d3aacdf90b6d2ed36ba115 | add TODO | dimaaan/pgEdit | PgEdit/Program.cs | PgEdit/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | mit | C# |
e603038d66463c03d190e8d0c63b4eb9c4795ef6 | Work around for bug | mavasani/roslyn,diryboy/roslyn,brettfo/roslyn,davkean/roslyn,sharwell/roslyn,heejaechang/roslyn,bartdesmet/roslyn,weltkante/roslyn,eriawan/roslyn,AlekseyTs/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,KirillOsenkov/rosly... | src/EditorFeatures/TestUtilities/TestExtensionErrorHandler.cs | src/EditorFeatures/TestUtilities/TestExtensionErrorHandler.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.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Runtime.Com... | // 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.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Runtime.Com... | mit | C# |
989b21e81356d591bdcea9fb4c7bb042e0c12578 | fix documentation spelling | SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore | src/SqlStreamStore/Subscriptions/CreateStreamStoreNotifier.cs | src/SqlStreamStore/Subscriptions/CreateStreamStoreNotifier.cs | namespace SqlStreamStore.Subscriptions
{
using SqlStreamStore;
/// <summary>
/// Represents an operation to create a stream store notifier.
/// </summary>
/// <param name="readonlyStreamStore"></param>
/// <returns></returns>
public delegate IStreamStoreNotifier CreateStreamStoreNotifi... | namespace SqlStreamStore.Subscriptions
{
using SqlStreamStore;
/// <summary>
/// Represents an operaion to create a stream store notifier.
/// </summary>
/// <param name="readonlyStreamStore"></param>
/// <returns></returns>
public delegate IStreamStoreNotifier CreateStreamStoreNotifie... | mit | C# |
7f268529f0feabebb09b982711b624329d9dee5b | add OfflineSldr to SIL.Archiving.Tests | ermshiperete/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso | SIL.Archiving.Tests/Properties/AssemblyInfo.cs | SIL.Archiving.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using SIL.TestUtilities;
// 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("SIL.Archiving.Test... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SIL.Archiving.Tests")]
[assembly: Assembly... | mit | C# |
3ef6641583aac5eb63379e265143a8691e7aca2e | Remove unneccessary usings | PearMed/Pear-Interaction-Engine | Assets/PearCore/Examples/KeyboardController/Scripts/SelectWithKeyboard.cs | Assets/PearCore/Examples/KeyboardController/Scripts/SelectWithKeyboard.cs | using Pear.Core.Controllers;
using Pear.Core.Controllers.Behaviors;
using Pear.Core.Interactables;
using UnityEngine;
public class SelectWithKeyboard : ControllerBehavior<Controller> {
public KeyCode SelectKey = KeyCode.P;
HoverOnGaze _hoverOnGaze;
InteractableObject _lastSelected;
// Use this for in... | using Pear.Core.Controllers;
using Pear.Core.Controllers.Behaviors;
using Pear.Core.Interactables;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SelectWithKeyboard : ControllerBehavior<Controller> {
public KeyCode SelectKey = KeyCode.P;
HoverOnGaze _hoverOnGaze;... | mit | C# |
a6f895b5e524612db82f432d892bdd188fe0ef94 | Package info updated | nicopaez/System.IO.Utilities | System.IO.Utilities/Properties/AssemblyInfo.cs | System.IO.Utilities/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("Sy... | 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("Sy... | mit | C# |
7c41497e67a416accfe083494d8b0a28d51695db | Fix format for DateTimeOffset input | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Infrastructure/Tags/DefaultAspNetMvcHtmlConventions.cs | SupportManager.Web/Infrastructure/Tags/DefaultAspNetMvcHtmlConventions.cs | using System;
using System.ComponentModel.DataAnnotations;
using HtmlTags;
using HtmlTags.Conventions;
namespace SupportManager.Web.Infrastructure.Tags
{
public class DefaultAspNetMvcHtmlConventions : HtmlConventionRegistry
{
public DefaultAspNetMvcHtmlConventions()
{
Editors.Alway... | using System;
using System.ComponentModel.DataAnnotations;
using HtmlTags;
using HtmlTags.Conventions;
namespace SupportManager.Web.Infrastructure.Tags
{
public class DefaultAspNetMvcHtmlConventions : HtmlConventionRegistry
{
public DefaultAspNetMvcHtmlConventions()
{
Editors.Alway... | mit | C# |
09d0b9970849f6446afdade1fb1fd136739fcdea | add int to boolean test | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | test/WeihanLi.Common.Test/ExtensionsTest/CoreExtensionTest.cs | test/WeihanLi.Common.Test/ExtensionsTest/CoreExtensionTest.cs | using WeihanLi.Extensions;
using Xunit;
namespace WeihanLi.Common.Test.ExtensionsTest
{
/// <summary>
/// CoreExtensionTest
/// </summary>
public class CoreExtensionTest
{
#region ObjectExtension
[Fact]
public void ToTest()
{
var num1 = 1.2;
... | using WeihanLi.Extensions;
using Xunit;
namespace WeihanLi.Common.Test.ExtensionsTest
{
/// <summary>
/// CoreExtensionTest
/// </summary>
public class CoreExtensionTest
{
#region ObjectExtension
[Fact]
public void ToTest()
{
var num1 = 1.2;
... | mit | C# |
77937c08e5eef547c002b113f55caa374e46aabf | Update IMixedRealityCameraSystem.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Interfaces/CameraSystem/IMixedRealityCameraSystem.cs | Assets/MixedRealityToolkit/Interfaces/CameraSystem/IMixedRealityCameraSystem.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.MixedReality.Toolkit.CameraSystem
{
/// <summary>
/// Manager interface for a camera system in the Mixed Reality Toolkit.
/// The cam... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.MixedReality.Toolkit.CameraSystem
{
public interface IMixedRealityCameraSystem : IMixedRealityEventSystem, IMixedRealityEventSource, IMixedRe... | mit | C# |
fae85ab90b4d5794ab397b4be0b10aed286f60c3 | Change Version | smo-key/NXTLib,smo-key/NXTLib | nxtlib/Properties/AssemblyInfo.cs | nxtlib/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("NX... | 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("NX... | mit | C# |
b42cd1c04889fcade60ee3ebd2abb0c29c652006 | Tweak screenshot notification script (minor edit) | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Notification/Screenshot/FormNotificationScreenshotable.cs | Core/Notification/Screenshot/FormNotificationScreenshotable.cs | using System;
using System.Windows.Forms;
using CefSharp;
using TweetDck.Core.Bridge;
using TweetDck.Core.Controls;
using TweetDck.Resources;
namespace TweetDck.Core.Notification.Screenshot{
sealed class FormNotificationScreenshotable : FormNotification{
public FormNotificationScreenshotable(Action callba... | using System;
using System.Windows.Forms;
using CefSharp;
using TweetDck.Core.Bridge;
using TweetDck.Core.Controls;
using TweetDck.Resources;
namespace TweetDck.Core.Notification.Screenshot{
sealed class FormNotificationScreenshotable : FormNotification{
public FormNotificationScreenshotable(Action callba... | mit | C# |
fc9e43b0e8e938da2c8c210ea07c0ef28eda07db | Update default package sources | InfinniPlatform/Infinni.Node | Infinni.Node/Packaging/NuGetPackageRepositoryManagerFactory.cs | Infinni.Node/Packaging/NuGetPackageRepositoryManagerFactory.cs | using System.Linq;
using Infinni.Node.Settings;
using NuGet.Logging;
namespace Infinni.Node.Packaging
{
public class NuGetPackageRepositoryManagerFactory : IPackageRepositoryManagerFactory
{
private const string DefaultPackagesPath = "packages";
private static readonly string[] DefaultPacka... | using System.Linq;
using Infinni.Node.Settings;
using NuGet.Logging;
namespace Infinni.Node.Packaging
{
public class NuGetPackageRepositoryManagerFactory : IPackageRepositoryManagerFactory
{
private const string DefaultPackagesPath = "packages";
private static readonly string[] DefaultPacka... | mit | C# |
d28d22be333d86604e7b392dc153686b85b69334 | update network factory interface | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/Factories/INeuralNetworkFactory.cs | NeuralNetwork/NeuralNetwork/Factories/INeuralNetworkFactory.cs | using ArtificialNeuralNetwork.Genes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork.Factories
{
public interface INeuralNetworkFactory
{
INeuralNetwork Create(int numInputs, int numOutputs, int numHi... | using ArtificialNeuralNetwork.Genes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtificialNeuralNetwork.Factories
{
public interface INeuralNetworkFactory
{
INeuralNetwork Create(int numInputs, int numOutputs, int numHi... | mit | C# |
18844272fafa25fac6665b9c577e010512db7290 | Add temporary warning of upcoming lab closure. | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<p class="lead">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</p>
<p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p>
<... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p>
<p>Analytical Laboratory clients are University of California academics, other educational instituti... | mit | C# |
14975b0ff5bd9a0cb67566a2a895d49949f7423f | Fix IP look up page broken | blrchen/AzureSpeed,blrchen/AzureSpeed,blrchen/AzureSpeed,blrchen/AzureSpeed | AzureSpeed.WebUI/Models/Prefix.cs | AzureSpeed.WebUI/Models/Prefix.cs | using Newtonsoft.Json;
namespace AzureSpeed.WebUI.Models
{
public class Prefix
{
[JsonProperty("ip_prefix")]
public string IpPrefix { get; set; }
[JsonProperty("region")]
public string Region { get; set; }
[JsonProperty("service")]
public string Service { get;... | using Newtonsoft.Json;
namespace AzureSpeed.WebUI.Models
{
public class Prefix
{
[JsonProperty("ip_prefix")]
public string IpPrefix { get; set; }
[JsonProperty("region")]
public string Region { get; set; }
[JsonProperty("region")]
public string Service { get; ... | mit | C# |
687ccee1005b2f1e40ed2847b33f91c749ed69e5 | Fix assembly version | leekelleher/Umbraco-CMS,tcmorris/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,rasmuseeg/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbraco-CMS,umbraco/Umbraco-CMS,... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: AssemblyVersion("8.0.0")]
[assembly:... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: AssemblyVersion("1.0.*")]
[assembl... | mit | C# |
a8a8f991ad9bb78865cf4868b909636f6fbefc33 | Add DocumentEncoutner AppointmentType | SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentTypeCode.cs | SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentTypeCode.cs | namespace SnapMD.VirtualCare.ApiModels.Scheduling
{
/// <summary>
/// Types of appointments.
/// </summary>
public enum AppointmentTypeCode
{
/// <summary>
/// Not specified.
/// </summary>
None,
/// <summary>
/// Clinician scheduled.
/// </s... | namespace SnapMD.VirtualCare.ApiModels.Scheduling
{
/// <summary>
/// Types of appointments.
/// </summary>
public enum AppointmentTypeCode
{
/// <summary>
/// Not specified.
/// </summary>
None,
/// <summary>
/// Clinician scheduled.
/// </s... | apache-2.0 | C# |
c58721e8f8b3921d334979fbf4825f0969248f76 | Add xml docs | dreamrain21/Portable.Licensing,dreamrain21/Portable.Licensing,dnauck/Portable.Licensing,dnauck/Portable.Licensing | src/Portable.Licensing/Model/Customer.cs | src/Portable.Licensing/Model/Customer.cs | //
// Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 wit... | //
// Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 wit... | mit | C# |
8c80f2c685e8657d32595d13cd1f6e5cf11a95de | Remove Idle timeout in IIS | SkillsFundingAgency/das-referencedata,SkillsFundingAgency/das-referencedata | src/SFA.DAS.ReferenceData.Api/WebRole.cs | src/SFA.DAS.ReferenceData.Api/WebRole.cs | using System;
using System.Diagnostics;
using Microsoft.Web.Administration;
using Microsoft.WindowsAzure.ServiceRuntime;
using System.Linq;
namespace SFA.DAS.ReferenceData.Api
{
public class WebRole : RoleEntryPoint
{
public override void Run()
{
using (var serverManager = new Serv... | using System;
using System.Diagnostics;
using Microsoft.Web.Administration;
using Microsoft.WindowsAzure.ServiceRuntime;
using System.Linq;
namespace SFA.DAS.ReferenceData.Api
{
public class WebRole : RoleEntryPoint
{
public override void Run()
{
using (var serverManager = new Serv... | mit | C# |
ce5533180664b81b450be711ed69207499ba6175 | Use switch-case instead of else-if in TraktErrorObjectJsonReader | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/JsonReader/Basic/TraktErrorObjectJsonReader.cs | Source/Lib/TraktApiSharp/Objects/JsonReader/Basic/TraktErrorObjectJsonReader.cs | namespace TraktApiSharp.Objects.JsonReader.Basic
{
using Newtonsoft.Json;
using Objects.Basic;
using System.IO;
internal class TraktErrorObjectJsonReader : ITraktObjectJsonReader<TraktError>
{
private const string PROPERTY_NAME_ERROR = "error";
private const string PROPERTY_NAME_ER... | namespace TraktApiSharp.Objects.JsonReader.Basic
{
using Newtonsoft.Json;
using Objects.Basic;
using System.IO;
internal class TraktErrorObjectJsonReader : ITraktObjectJsonReader<TraktError>
{
private const string PROPERTY_NAME_ERROR = "error";
private const string PROPERTY_NAME_ER... | mit | C# |
72155a7c525818431fef2c76565eb3995a1f769a | Replace if pattern-matching check with switch cases instead | smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySpinnerApproachCircle.cs | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacySpinnerApproachCircle.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
... | mit | C# |
b85a7ce3ef5e28e02c41e3963f7cd8e8ae3887b9 | Remove docker compose rm | syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service | build.cake | build.cake | #addin Cake.Coveralls
#addin Cake.Docker
#tool "nuget:?package=OpenCover"
#tool "nuget:?package=ReportGenerator"
#tool "nuget:?package=coveralls.io"
var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj";
var testSettings = new DotNetCoreTestSettings
{
Framework = "netcore... | #addin Cake.Coveralls
#addin Cake.Docker
#tool "nuget:?package=OpenCover"
#tool "nuget:?package=ReportGenerator"
#tool "nuget:?package=coveralls.io"
var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj";
var testSettings = new DotNetCoreTestSettings
{
Framework = "netcore... | mit | C# |
fb716ccc38f4cdc9ecad35cbb8755b027334131c | fix bug. | tangxuehua/ecommon,Aaron-Liu/ecommon | src/ECommon/Properties/AssemblyInfo.cs | src/ECommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | mit | C# |
cdc73e93380a46f6951dcd44edc577e70375a673 | Add WebException handling to WrapHttpWebRequest | patchkit-net/patchkit-library-dotnet,patchkit-net/patchkit-library-dotnet | src/PatchKit.Api/WrapHttpWebRequest.cs | src/PatchKit.Api/WrapHttpWebRequest.cs | using System;
using System.Net;
namespace PatchKit.Api
{
public class WrapHttpWebRequest : IHttpWebRequest
{
private readonly HttpWebRequest _httpWebRequest;
public int Timeout
{
get { return _httpWebRequest.Timeout; }
set { _httpWebRequest.Timeout = value; }
... | using System;
using System.Net;
namespace PatchKit.Api
{
public class WrapHttpWebRequest : IHttpWebRequest
{
private readonly HttpWebRequest _httpWebRequest;
public int Timeout
{
get { return _httpWebRequest.Timeout; }
set { _httpWebRequest.Timeout = value; }
... | mit | C# |
ec0dc74116e141c0190fd86ac0a13812a46d8ef8 | Update src/Abp.Zero.Common/Notifications/NotificationSubscriptionSynchronizer.cs | ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate | src/Abp.Zero.Common/Notifications/NotificationSubscriptionSynchronizer.cs | src/Abp.Zero.Common/Notifications/NotificationSubscriptionSynchronizer.cs | using System;
using Abp.Authorization.Users;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
namespace Abp.Notifications
{
public class NotificationSubscriptionSynchronizer : IEventHandler<EntityDeletedEventData<AbpUserBase>>... | using System;
using Abp.Authorization.Users;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
namespace Abp.Notifications
{
public class NotificationSubscriptionSynchronizer : IEventHandler<EntityDeletedEventData<AbpUserBase>>... | mit | C# |
4b88d69cd1e92fe12b130a2e839b29a03154a693 | add comment. | reaction1989/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,diryboy/roslyn,reaction1989/roslyn,aelij/roslyn,tannergooding/roslyn,panopticoncentral/roslyn,weltkante/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,jmarolf/roslyn,mavasani/roslyn,panopticoncentral/roslyn,KirillOsenkov/roslyn,b... | src/Features/Core/Portable/EmbeddedLanguages/IEmbeddedLanguageFeatures.cs | src/Features/Core/Portable/EmbeddedLanguages/IEmbeddedLanguageFeatures.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.CodeStyle;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnaly... | // 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.CodeStyle;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.DocumentHighlighting;
using Microsoft.CodeAnaly... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.