commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
1bae23c584f517777489aef0cd23cfc7ff52107f | ApplicationInsightsXamarinSDK/DemoApp/XamarinTest.cs | ApplicationInsightsXamarinSDK/DemoApp/XamarinTest.cs | using System;
using Xamarin.Forms;
using AI.XamarinSDK.Abstractions;
namespace XamarinTest
{
public class App : Application
{
public App ()
{
var mainNav = new NavigationPage (new XamarinTestMasterView ());
MainPage = mainNav;
}
protected override void OnStart ()
{
ApplicationInsights.Setup ("")... | using System;
using Xamarin.Forms;
using AI.XamarinSDK.Abstractions;
namespace XamarinTest
{
public class App : Application
{
public App ()
{
var mainNav = new NavigationPage (new XamarinTestMasterView ());
MainPage = mainNav;
}
protected override void OnStart ()
{
ApplicationInsights.Setup ("<Y... | Add ikey placeholder to setup() call | Add ikey placeholder to setup() call
| C# | mit | Microsoft/ApplicationInsights-Xamarin |
5bb659e9e6200a342a9519b6bedb2b44ce57047d | Apps/BitChangeSetManager/Api/ChangeSetsController.cs | Apps/BitChangeSetManager/Api/ChangeSetsController.cs | using System.Linq;
using BitChangeSetManager.DataAccess;
using BitChangeSetManager.Dto;
using BitChangeSetManager.Model;
using Foundation.Api.ApiControllers;
using AutoMapper;
using AutoMapper.QueryableExtensions;
namespace BitChangeSetManager.Api
{
public class ChangeSetsController : DefaultDtoSetController<Chan... | using System.Linq;
using BitChangeSetManager.DataAccess;
using BitChangeSetManager.Dto;
using BitChangeSetManager.Model;
using Foundation.Api.ApiControllers;
namespace BitChangeSetManager.Api
{
public class ChangeSetsController : DefaultDtoSetController<ChangeSet, ChangeSetDto>
{
private readonly IBit... | Use IDtoModelMapper instead of IMapper in change sets controller | Use IDtoModelMapper instead of IMapper in change sets controller
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
c7ec1df29c67f785e850447449ecd949ede58f16 | src/HubSpotException.cs | src/HubSpotException.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace Skarp.HubSpotClient
{
[Serializable]
public class HubSpotException : Exception
{
private HttpResponseMessage response;
public string RawJsonResponse { get; set; }
public HubSpotExce... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace Skarp.HubSpotClient
{
[Serializable]
public class HubSpotException : Exception
{
public HttpResponseMessage Response { get; }
public string RawJsonResponse { get; }
public HubSpotE... | Change properties to getters only | Change properties to getters only
| C# | mit | skarpdev/dotnetcore-hubspot-client |
e66c966c0a163ea7010b0d7a7af46ce56ede0957 | BmpListener/Bgp/PathAttributeLargeCommunities.cs | BmpListener/Bgp/PathAttributeLargeCommunities.cs | using System;
namespace BmpListener.Bgp
{
internal class PathAttributeLargeCommunities : PathAttribute
{
public PathAttributeLargeCommunities(ArraySegment<byte> data) : base(ref data)
{
}
}
} | using System;
namespace BmpListener.Bgp
{
internal class PathAttributeLargeCommunities : PathAttribute
{
private int asn;
private int data1;
private int data2;
public PathAttributeLargeCommunities(ArraySegment<byte> data) : base(ref data)
{
DecodeFromByes(d... | Add large BGP communities support | Add large BGP communities support
| C# | mit | mstrother/BmpListener |
0122092e98056228ff50fa86811a3a6d56c749fb | FunctionalitySamples/InitializerChangeBkColor.cs | FunctionalitySamples/InitializerChangeBkColor.cs | using CSharpTo2600.Framework;
using static CSharpTo2600.Framework.TIARegisters;
namespace CSharpTo2600.FunctionalitySamples
{
[Atari2600Game]
static class SingleChangeBkColor
{
[SpecialMethod(MethodType.Initialize)]
[System.Obsolete(CSharpTo2600.Framework.Assembly.Symbols.AUDC0, true)]
... | using CSharpTo2600.Framework;
using static CSharpTo2600.Framework.TIARegisters;
namespace CSharpTo2600.FunctionalitySamples
{
[Atari2600Game]
static class SingleChangeBkColor
{
[SpecialMethod(MethodType.Initialize)]
static void Initialize()
{
BackgroundColor = 0x5E;
... | Remove pointless line from functionality test | Remove pointless line from functionality test
| C# | mit | Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600 |
aa48264a342b8cd792d2f781611278aed9d898dc | BlogTemplate/Services/SlugGenerator.cs | BlogTemplate/Services/SlugGenerator.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using BlogTemplate._1.Models;
namespace BlogTemplate._1.Services
{
public class SlugGenerator
{
private BlogDataStore _... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using BlogTemplate._1.Models;
namespace BlogTemplate._1.Services
{
public class SlugGenerator
{
private BlogDataStore _... | Revert "Created the Regex outside of the method, with a MatchTimeout property." | Revert "Created the Regex outside of the method, with a MatchTimeout property."
This reverts commit c8f6d57b05adf83a25052c661542cc92a410d57a.
| C# | mit | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate |
68582f69738d0722e40ec365aef788af46da6db6 | Browser/Handling/KeyboardHandlerBase.cs | Browser/Handling/KeyboardHandlerBase.cs | using System.Windows.Forms;
using CefSharp;
using TweetDuck.Utils;
namespace TweetDuck.Browser.Handling {
class KeyboardHandlerBase : IKeyboardHandler {
protected virtual bool HandleRawKey(IWebBrowser browserControl, Keys key, CefEventFlags modifiers) {
if (modifiers == (CefEventFlags.ControlDown | CefEventFlag... | using System.Windows.Forms;
using CefSharp;
using TweetDuck.Utils;
namespace TweetDuck.Browser.Handling {
class KeyboardHandlerBase : IKeyboardHandler {
protected virtual bool HandleRawKey(IWebBrowser browserControl, Keys key, CefEventFlags modifiers) {
if (modifiers == (CefEventFlags.ControlDown | CefEventFlag... | Fix not disposing frame object when handling key events | Fix not disposing frame object when handling key events
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
b4f282cad96e0f59c28e4859448a89c4cab6714e | src/Mox/DbSetMockingExtensions.cs | src/Mox/DbSetMockingExtensions.cs | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Moq;
namespace Mox
{
public static class DbSetMockingExtensions
{
public static DbSet<T> MockWithList<T>(this DbSet<T> dbSet, IList<T> data) where T : class
{
var queryable = data.AsQueryable();
... | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Moq;
namespace Mox
{
public static class DbSetMockingExtensions
{
public static DbSet<T> MockWithList<T>(this DbSet<T> dbSet, IList<T> data) where T : class
{
var queryable = data.AsQuer... | Update GetEnumerator binding for more one run support. | Update GetEnumerator binding for more one run support.
| C# | mit | mfilippov/mox |
781faae98a5bb1609b50991a547f008f8a428b02 | Content.Server/GameObjects/Components/PlaceableSurfaceComponent.cs | Content.Server/GameObjects/Components/PlaceableSurfaceComponent.cs | using Content.Server.GameObjects.Components.GUI;
using Content.Shared.GameObjects.Components;
using Content.Shared.Interfaces.GameObjects.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
namespace Content.Server.GameObjects.Components
{
[RegisterComponent]
public class PlaceableS... | using Content.Server.GameObjects.Components.GUI;
using Content.Shared.GameObjects.Components;
using Content.Shared.Interfaces.GameObjects.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
namespace Content.Server.GameObjects.Components
{
[RegisterComponent]
public class Placeable... | Set interaction priority of PlacableSurfaceComponent to 1 | Set interaction priority of PlacableSurfaceComponent to 1
| C# | mit | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 |
1e151baae8cbf2e0c6dc60e20aa8dd90658a290f | osu.Game/Models/RealmUser.cs | osu.Game/Models/RealmUser.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Database;
using osu.Game.Users;
using osu.Game.Utils;
using Realms;
namespace osu.Game.Models
{
public class RealmUser : EmbeddedObject,... | // 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.Game.Database;
using osu.Game.Users;
using osu.Game.Utils;
using Realms;
namespace osu.Game.Models
{
public class RealmUser : EmbeddedObject,... | Use `Unknown` instead of `default` | Use `Unknown` instead of `default`
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu |
f73b629d9402455bc68ad472d06b0a08ce4e8c46 | Messaging/Lotz.Xam.Messaging.iOSUnified/PhoneCallTask.cs | Messaging/Lotz.Xam.Messaging.iOSUnified/PhoneCallTask.cs | using System;
#if __UNIFIED__
using Foundation;
using UIKit;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
#endif
namespace Plugin.Messaging
{
internal class PhoneCallTask : IPhoneCallTask
{
public PhoneCallTask()
{
}
#region IPhoneCallTask Members
public bo... | using System;
#if __UNIFIED__
using Foundation;
using UIKit;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
#endif
namespace Plugin.Messaging
{
internal class PhoneCallTask : IPhoneCallTask
{
public PhoneCallTask()
{
}
#region IPhoneCallTask Members
public bo... | Allow formatted telephone numbers on iOS (e.g. 1800 111 222 333 instead of 1800111222333) | Allow formatted telephone numbers on iOS (e.g. 1800 111 222 333 instead of 1800111222333)
| C# | mit | cjlotz/Xamarin.Plugins,cjlotz/Xamarin.Plugins,BSVN/Xamarin.Plugins,BSVN/Xamarin.Plugins |
fb08f9cfca3938be1b4636f9d1dc26661abc3fd1 | Orationi.CommunicationCore/Model/SlaveConfiguration.cs | Orationi.CommunicationCore/Model/SlaveConfiguration.cs | using System.Runtime.Serialization;
namespace Orationi.CommunicationCore.Model
{
/// <summary>
/// Provide information about slave configuration.
/// </summary>
[DataContract]
public class SlaveConfiguration
{
/// <summary>
/// Versions of slave-assigned modules.
/// </summary>
[DataMember]
public Mod... | using System;
using System.Runtime.Serialization;
namespace Orationi.CommunicationCore.Model
{
/// <summary>
/// Provide information about slave configuration.
/// </summary>
[DataContract]
public class SlaveConfiguration
{
/// <summary>
/// Global slave Id.
/// </summa... | Add id of slave to slave configuration. | Add id of slave to slave configuration.
| C# | mit | Orationi/CommunicationCore |
1496d57b47b2ea87228ca0eb7fc1dd37e65deb77 | src/AutoMapper/Internal/FeatureCollectionBase.cs | src/AutoMapper/Internal/FeatureCollectionBase.cs | using AutoMapper.Configuration;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace AutoMapper.Internal
{
public class FeatureCollectionBase<TValue> : IEnumerable<KeyValuePair<Type, TValue>>
{
private IDictionary<Type, TValue> _feat... | using AutoMapper.Configuration;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace AutoMapper.Internal
{
public class FeatureCollectionBase<TValue> : IEnumerable<KeyValuePair<Type, TValue>>
{
private IDictionary<Type, TValue> _feat... | Change to AddOrUpdate for the feature to make it visible what the method is doing | Change to AddOrUpdate for the feature to make it visible what the method is doing
| C# | mit | BlaiseD/AutoMapper,AutoMapper/AutoMapper,lbargaoanu/AutoMapper,AutoMapper/AutoMapper |
418e15718d4e18ff50f7d608494931b082ee6fb8 | JabbR/Infrastructure/StringExtensions.cs | JabbR/Infrastructure/StringExtensions.cs | using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace JabbR.Infrastructure
{
public static class StringExtensions
{
public static string ToMD5(this string value)
{
if (String.IsNullOrEmpty(value))
{
return null... | using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
namespace JabbR.Infrastructure
{
public static class StringExtensions
{
public static string ToMD5(this string value)
{
if (String.IsNullOrEmpty(value))
... | Add ToSlug and ToFileNameSlug string extensions | Add ToSlug and ToFileNameSlug string extensions
| C# | mit | M-Zuber/JabbR,borisyankov/JabbR,lukehoban/JabbR,timgranstrom/JabbR,SonOfSam/JabbR,18098924759/JabbR,LookLikeAPro/JabbR,fuzeman/vox,JabbR/JabbR,JabbR/JabbR,borisyankov/JabbR,yadyn/JabbR,e10/JabbR,CrankyTRex/JabbRMirror,CrankyTRex/JabbRMirror,18098924759/JabbR,lukehoban/JabbR,e10/JabbR,borisyankov/JabbR,ajayanandgit/Jabb... |
ecc69a519afb807beefb8c860865d59164b6750b | src/MvcRouteTester.Test/Areas/SomeArea/SomeAreaAreaRegistration.cs | src/MvcRouteTester.Test/Areas/SomeArea/SomeAreaAreaRegistration.cs | using System.Web.Mvc;
using NUnit.Framework.Constraints;
namespace MvcRouteTester.Test.Areas.SomeArea
{
public class SomeAreaAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "SomeArea";
}
}
public override void RegisterArea(AreaRegistrationContext context)
... | using System.Web.Mvc;
namespace MvcRouteTester.Test.Areas.SomeArea
{
public class SomeAreaAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "SomeArea";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"... | Remove NUnit.Framework.Constraint (unused - accident) | Remove NUnit.Framework.Constraint (unused - accident)
| C# | apache-2.0 | AlexisArce/MvcRouteTester,AnthonySteele/MvcRouteTester |
59e3edd66d815735a13b88c52abf5ae9bac77a71 | src/Dangl.WebDocumentation/Views/Home/Privacy.cshtml | src/Dangl.WebDocumentation/Views/Home/Privacy.cshtml | <h1>Legal Notice & Privacy</h1>
<p>Dangl.<strong>Docu</strong> hosts all documentation and help pages for products and services offered by Dangl<strong>IT</strong> as well as for multiple open source projects.</p>
<p>
This website is operated and hosted by <a href="https://www.dangl-it.com/legal-notice/">Dan... | <h1>Legal Notice & Privacy</h1>
<p>Dangl.<strong>Docu</strong> hosts all documentation and help pages for products and services offered by Dangl<strong>IT</strong> as well as for multiple open source projects.</p>
<p>
This website is operated and hosted by <a href="https://www.dangl-it.com/legal-notice/">Dan... | Include app info in legal notice and privacy page | Include app info in legal notice and privacy page
| C# | mit | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu |
df9c996a3c772971ac5889413c24c06d5fa7bbae | Assets/Scripts/Player/Autopilot.cs | Assets/Scripts/Player/Autopilot.cs | using System.Collections;
using System.Collections.Generic;
using System.Net;
using UnityEngine;
using UnityEngine.Networking;
public class Autopilot : NetworkBehaviour {
public string serverUrl;
public float smoothing;
private SerializableTransform targetTransform;
private void Start ()
{
if (isLocalPlayer... | using System.Collections;
using System.Collections.Generic;
using System.Net;
using UnityEngine;
using UnityEngine.Networking;
public class Autopilot : NetworkBehaviour {
public string serverUrl;
public float smoothing;
private SerializableTransform targetTransform;
private void Start ()
{
if (isLocalPlayer... | Check before trying to deserialize transform | Check before trying to deserialize transform
| C# | mit | Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR |
c6e3a6f7669b395af5f5945e899b2b31b7f7d0bf | Paymetheus/ViewModels/CreateAccountDialogViewModel.cs | Paymetheus/ViewModels/CreateAccountDialogViewModel.cs | // Copyright (c) 2016 The btcsuite developers
// Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using Paymetheus.Framework;
using System;
using System.Windows;
using System.Windows.Input;
namespace Paymetheus.ViewModels
... | // Copyright (c) 2016 The btcsuite developers
// Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using Grpc.Core;
using Paymetheus.Framework;
using System;
using System.Threading.Tasks;
using System.Windows;
using System.W... | Make "add account" button nonexecutable when running. | Make "add account" button nonexecutable when running.
Prevents double clicking the button to send the CreateAccount RPC
twice, the second time failing with errors due to already having an
account by that name.
While here, improve the error handling slightly.
Fixes #113.
| C# | isc | decred/Paymetheus,jrick/Paymetheus |
bac1b6cf5df4a2b3d08ad0c9804178bce15fd6e3 | src/RestfulRouting.Sample/Controllers/BlogsController.cs | src/RestfulRouting.Sample/Controllers/BlogsController.cs | using System.Web.Mvc;
using RestfulRouting.Sample.Infrastructure;
using RestfulRouting.Sample.Models;
namespace RestfulRouting.Sample.Controllers
{
public class BlogsController : Controller
{
public ActionResult Index()
{
return View(SampleData.Blogs());
}
public A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using RestfulRouting.Sample.Infrastructure;
using RestfulRouting.Sample.Models;
namespace RestfulRouting.Sample.Controllers
{
public class BlogsController : Controller
{
protected ActionResult RespondTo(Action<For... | Add sample to blogs index | Add sample to blogs index
| C# | mit | restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing |
af8972c85c60db4f360bc2dd3d28427940a4e2b7 | MAB.PCAPredictCapturePlus.TestHarness/Controllers/HomeController.cs | MAB.PCAPredictCapturePlus.TestHarness/Controllers/HomeController.cs | using System.Configuration;
using System.Linq;
using System.Web.Mvc;
namespace MAB.PCAPredictCapturePlus.TestHarness.Controllers
{
public class HomeController : Controller
{
private CapturePlusClient _client = new CapturePlusClient(
apiVersion: "2.10",
key: ConfigurationManager... | using System.Configuration;
using System.Linq;
using System.Web.Mvc;
namespace MAB.PCAPredictCapturePlus.TestHarness.Controllers
{
public class HomeController : Controller
{
private CapturePlusClient _client = new CapturePlusClient(
apiVersion: "2.10",
key: ConfigurationManager... | Change default find country code | Change default find country code
| C# | mit | markashleybell/MAB.PCAPredictCapturePlus,markashleybell/MAB.PCAPredictCapturePlus,markashleybell/MAB.PCAPredictCapturePlus |
3933dd2138fbf9d7af8ce49144574da58251df7b | Game_Algo/Game_Algo/Tile.cs | Game_Algo/Game_Algo/Tile.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Game_Algo
{
class Tile
{
/// <summary>
/// 0 - Floor
/// 1 - Wall
/// </summary>
public int TypeId { get; set; }
public Tile(int MapCellId)
{
thi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Game_Algo
{
class Tile
{
/// <summary>
/// 0 - Floor
/// 1 - Wall
/// </summary>
public int TypeId { get; set; }
public Tile(int MapCellId)
{
thi... | Allow player to walk through unlocked doors | Allow player to walk through unlocked doors
| C# | mit | jooeycheng/xna-prison-break-game,hhoulin94/game-algo-assignment,jooeycheng/game-algo-assignment |
063e0d460182cbaea49cf8f161c14c0f395102a2 | QuantConnect.ToolBox/Log.cs | QuantConnect.ToolBox/Log.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuantConnect.ToolBox
{
/// <summary>
/// Provides time stamped writing to the console
/// </summary>
public static class Log
{
/// <summary>
/// Writes the ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuantConnect.ToolBox
{
/// <summary>
/// Provides time stamped writing to the console
/// </summary>
public static class Log
{
/// <summary>
/// Defines the... | Make logging configurable by external consumers | Make logging configurable by external consumers
| C# | apache-2.0 | young-zhang/Lean,young-zhang/Lean,bizcad/LeanJJN,devalkeralia/Lean,bdilber/Lean,Mendelone/forex_trading,Jay-Jay-D/LeanSTP,jameschch/Lean,redmeros/Lean,Mendelone/forex_trading,Jay-Jay-D/LeanSTP,bizcad/Lean,Obawoba/Lean,bdilber/Lean,kaffeebrauer/Lean,AnObfuscator/Lean,bizcad/Lean,QuantConnect/Lean,tomhunter-gh/Lean,bizca... |
b6b7e17fc63abbfcad8ba3587c27cd4263cf5cdd | Source/EventFlow/EventStores/ICommittedDomainEvent.cs | Source/EventFlow/EventStores/ICommittedDomainEvent.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | Remove properties from interface as they are no longer needed | Remove properties from interface as they are no longer needed
| C# | mit | liemqv/EventFlow,AntoineGa/EventFlow,rasmus/EventFlow |
bee49608f61ce18e68d54ff2c4ba6e42d2a3f51e | src/ExcelFormsTest/ExcelFormsTest/ExcelFormsTest.iOS/AppDelegate.cs | src/ExcelFormsTest/ExcelFormsTest/ExcelFormsTest.iOS/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace ExcelFormsTest.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding... | using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace ExcelFormsTest.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding... | Update the appdelegate to make sure FreshEssentials is deployed | Update the appdelegate to make sure FreshEssentials is deployed
| C# | mit | coatsy/xplat-graph |
bc5596e81eb68b981db6e9aab72a0f2a4e823d8f | HermaFx.SimpleConfig/CompositeConfigurationValidator.cs | HermaFx.SimpleConfig/CompositeConfigurationValidator.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.Configuration;
using System.Linq;
using System.Text;
namespace HermaFx.SimpleConfig
{
internal class CompositeConfigurationValidator : ConfigurationValidatorBase
{
private readonly ValidationAttribute[] _validationAttributes;
... | using System;
using System.ComponentModel.DataAnnotations;
using System.Configuration;
using System.Linq;
using System.Text;
namespace HermaFx.SimpleConfig
{
internal class CompositeConfigurationValidator : ConfigurationValidatorBase
{
private readonly ValidationAttribute[] _validationAttributes;
... | Use net4+ validation API on SimpleConfig, so we have detailed error messages. | Use net4+ validation API on SimpleConfig, so we have detailed error messages.
| C# | mit | evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx |
40b0e04e3e78e97ba4b27706e28cab9f13e32a57 | Schedutalk/Schedutalk/Schedutalk/Logic/KTHPlaces/RoomDataContract.cs | Schedutalk/Schedutalk/Schedutalk/Logic/KTHPlaces/RoomDataContract.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic.KTHPlaces
{
[DataContract]
public class RoomDataContract
{
[DataMember(Name = "floorUid")]
public string FloorU... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic.KTHPlaces
{
[DataContract]
public class RoomDataContract
{
[DataMember(Name = "floorUid")]
public string FloorU... | Add fields related to 5b3c493 | Add fields related to 5b3c493
| C# | mit | Zalodu/Schedutalk,Zalodu/Schedutalk |
0eb82c3cb69be9d6d5a48158b70056ca31f3d0a7 | Source/ChromeCast.Desktop.AudioStreamer/Discover/DiscoveredDevice.cs | Source/ChromeCast.Desktop.AudioStreamer/Discover/DiscoveredDevice.cs | using ChromeCast.Desktop.AudioStreamer.Application;
namespace ChromeCast.Desktop.AudioStreamer.Discover
{
public class DiscoveredDevice
{
private const string GroupIdentifier = "\"md=Google Cast Group\"";
public string Name { get; set; }
public string IPAddress { get; set; }
p... | using ChromeCast.Desktop.AudioStreamer.Application;
using System.Xml.Serialization;
namespace ChromeCast.Desktop.AudioStreamer.Discover
{
public class DiscoveredDevice
{
private const string GroupIdentifier = "\"md=Google Cast Group\"";
public string Name { get; set; }
public string I... | Fix for persisting the known devices. | Fix for persisting the known devices.
| C# | mit | SamDel/ChromeCast-Desktop-Audio-Streamer |
388679a20f2e7ce7446c9d03fb88a912ff401a3b | StructuredXmlEditor/App.xaml.cs | StructuredXmlEditor/App.xaml.cs | using StructuredXmlEditor.View;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace StructuredXmlEditor
{
/// <summary>
/// Interaction logic f... | using StructuredXmlEditor.View;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace StructuredXmlEditor
{
/// <summary>
/// Interaction logic f... | Change the padding on the exception message | Change the padding on the exception message
| C# | apache-2.0 | infinity8/StructuredXmlEditor |
805d72a7d89d5c64788a13e84af3d1de62977851 | templates/footer.cs | templates/footer.cs | <script type="text/javascript">searchHighlight()</script>
<?cs if:len(links.alternate) ?>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul><?cs each:link = links.alternate ?>
<li<?cs if:name(link) == len(links.alternate) - #1 ?> class="last"<?cs /if ?>>
<a href="<?cs var:link.href ?>"<?cs if:link.cla... | <script type="text/javascript">searchHighlight()</script>
<?cs if:len(links.alternate) ?>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul><?cs each:link = links.alternate ?>
<li<?cs if:name(link) == len(links.alternate) - #1 ?> class="last"<?cs /if ?>>
<a href="<?cs var:link.href ?>"<?cs if:link.cla... | Add a link to "about trac" on the trac version number at the end | Add a link to "about trac" on the trac version number at the end
git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@883 af82e41b-90c4-0310-8c96-b1721e28e2e2
| C# | bsd-3-clause | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac |
a71519da9d249003f52a7e2dc1087da2a1238a96 | WebServer/RequestInformation.cs | WebServer/RequestInformation.cs | using System;
using System.Collections.Specialized;
using System.IO;
using System.Web;
using Newtonsoft.Json;
namespace WebServer
{
public class RequestInformation
{
public NameValueCollection Headers { get; private set; }
public string BodyContent { get; private set; }
public int B... | using System;
using System.Collections.Specialized;
using System.IO;
using System.Web;
using Newtonsoft.Json;
namespace WebServer
{
public class RequestInformation
{
public string Verb { get; private set; }
public string Url { get; private set; }
public NameValueCollection Headers {... | Add HTTP request verb and url to echo response | Add HTTP request verb and url to echo response
| C# | mit | davidsh/NetworkingTestServer,davidsh/NetworkingTestServer,davidsh/NetworkingTestServer |
8acb6de497996ed4126765c7b592beb5fa1e5728 | src/DotVVM.Framework/Diagnostics/Models/HttpHeaderItem.cs | src/DotVVM.Framework/Diagnostics/Models/HttpHeaderItem.cs | using System.Collections.Generic;
namespace DotVVM.Framework.Diagnostics.Models
{
public class HttpHeaderItem
{
public string Key { get; set; }
public string Value { get; set; }
public static HttpHeaderItem FromKeyValuePair(KeyValuePair<string, string[]> pair)
{
re... | using System.Collections.Generic;
namespace DotVVM.Framework.Diagnostics.Models
{
public class HttpHeaderItem
{
public string Key { get; set; }
public string Value { get; set; }
public static HttpHeaderItem FromKeyValuePair(KeyValuePair<string, string[]> pair)
{
re... | Add sending of all http header values | Add sending of all http header values
| C# | apache-2.0 | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm |
716affb33ed53daff02e69e8e7c2152cd9250eba | src/AmplaWeb.Sample/Views/shared/_LoginPartial.cshtml | src/AmplaWeb.Sample/Views/shared/_LoginPartial.cshtml |
@if (Request.IsAuthenticated)
{
<div class="btn-group">
<a class="btn btn-inverse" href="#"><i class="icon-user icon-white"></i> @User.Identity.Name</a>
<a class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
<ul class="dropdown-menu">
... |
@if (Request.IsAuthenticated)
{
<li>
<div class="btn-group">
<a class="btn btn-inverse" href="#"><i class="icon-user icon-white"></i> @User.Identity.Name</a>
<a class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
<ul c... | Fix up menu for IE | Fix up menu for IE
| C# | mit | Ampla/Ampla-Data,Ampla/Ampla-Data |
a2239c3d411eec6ed86f94469612206ae86bd79e | src/Glimpse.Agent.AspNet.Mvc/ActionSelectedMessage.cs | src/Glimpse.Agent.AspNet.Mvc/ActionSelectedMessage.cs | using System;
using System.Collections.Generic;
namespace Glimpse.Agent.AspNet.Mvc
{
internal class ActionSelectedMessage : IMessage
{
public Guid Id { get; } = Guid.NewGuid();
public DateTime Time { get; } = DateTime.Now;
public string ActionId { get; set; }
public string D... | using System;
using System.Collections.Generic;
namespace Glimpse.Agent.AspNet.Mvc
{
internal class ActionSelectedMessage : IMessage
{
public Guid Id { get; } = Guid.NewGuid();
public DateTime Time { get; } = DateTime.Now;
public string ActionId { get; set; }
public string D... | Fix some spacing in class | Fix some spacing in class
| C# | mit | Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,z... |
e0636a8276788473ec1148516c2bf0a07f660cc3 | PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetById_Should.cs | PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetById_Should.cs | using Moq;
using NUnit.Framework;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
namespace PhotoLife.Services.Tests.UserServiceTests
{
[TestFixture]
public class GetById_Should
{
[TestCase("some id")]
[TestCase("other id")]
public void _CallRepository_GetByIdMethod(string ... | using Moq;
using NUnit.Framework;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
namespace PhotoLife.Services.Tests.UserServiceTests
{
[TestFixture]
public class GetById_Should
{
[TestCase("some id")]
[TestCase("other id")]
public void _CallRepository_GetByIdMethod(string ... | Add more tests for get by id | Add more tests for get by id
| C# | mit | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife |
07a1c39fe525dc11f06917fc3d7f3510c21e4d27 | osu.Game/Screens/Backgrounds/BackgroundScreenDefault.cs | osu.Game/Screens/Backgrounds/BackgroundScreenDefault.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Threading;
using osu.Game.Graphics.Backgrounds;
namespace osu.Game.Screens.Background... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.MathUtils;
using osu.Framework.Threading;
using osu.Game.Graphics.Backgrounds;
namespa... | Use random default background on starting the game | Use random default background on starting the game
| C# | mit | peppy/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,ppy/osu,DrabWeb/osu,smoogipooo/osu,peppy/osu-new,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,DrabWeb/... |
0017d1a2e41fe7bc0f58489ade7ebec3b6cb3d99 | source/SylphyHorn/UI/Controls/UnlockImageConverter.cs | source/SylphyHorn/UI/Controls/UnlockImageConverter.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using SylphyHorn.Services;
namespace SylphyHorn.UI.Controls
{
public class UnlockImageConve... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using SylphyHorn.Services;
namespace SylphyHorn.UI.Controls
{
public class UnlockImageConve... | Fix issue to throw exception when wallpaper isn't set. | Fix issue to throw exception when wallpaper isn't set.
| C# | mit | mntone/SylphyHorn |
db4eea81a07b0a7fc93ae0d16657a85b2ef92459 | GitTfs/GitTfsConstants.cs | GitTfs/GitTfsConstants.cs | using System.Text.RegularExpressions;
namespace Sep.Git.Tfs
{
public static class GitTfsConstants
{
public static readonly Regex Sha1 = new Regex("[a-f\\d]{40}", RegexOptions.IgnoreCase);
public static readonly Regex Sha1Short = new Regex("[a-f\\d]{4,40}", RegexOptions.IgnoreCase);
publ... | using System.Text.RegularExpressions;
namespace Sep.Git.Tfs
{
public static class GitTfsConstants
{
public static readonly Regex Sha1 = new Regex("[a-f\\d]{40}", RegexOptions.IgnoreCase);
public static readonly Regex Sha1Short = new Regex("[a-f\\d]{4,40}", RegexOptions.IgnoreCase);
publ... | Add regex for associating work items | Add regex for associating work items
| C# | apache-2.0 | git-tfs/git-tfs,steveandpeggyb/Public,pmiossec/git-tfs,irontoby/git-tfs,irontoby/git-tfs,guyboltonking/git-tfs,allansson/git-tfs,hazzik/git-tfs,TheoAndersen/git-tfs,irontoby/git-tfs,allansson/git-tfs,adbre/git-tfs,modulexcite/git-tfs,WolfVR/git-tfs,guyboltonking/git-tfs,TheoAndersen/git-tfs,kgybels/git-tfs,modulexcite/... |
a7bdb169fddc9c9b130055a6672dccdcd2435b2c | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | Use proper input instead of log message to request manual DNS change | Use proper input instead of log message to request manual DNS change
| C# | apache-2.0 | Lone-Coder/letsencrypt-win-simple |
f5f102f09fd9cdf799b3fa99db777908cfebb828 | MongoDB.Net-Tests/Connections/TestConnectionFactory.cs | MongoDB.Net-Tests/Connections/TestConnectionFactory.cs | using System;
using NUnit.Framework;
namespace MongoDB.Driver.Connections
{
[TestFixture]
public class TestConnectionFactory
{
[TearDown]
public void TearDown (){
ConnectionFactory.Shutdown ();
}
[Test]
public void TestGetConnection (){
... | using System;
using NUnit.Framework;
namespace MongoDB.Driver.Connections
{
[TestFixture]
public class TestConnectionFactory
{
[TearDown]
public void TearDown (){
ConnectionFactory.Shutdown ();
}
[Test]
public void TestGetConnection (){
... | Fix compiler warning and rename test to be more clear. | Fix compiler warning and rename test to be more clear.
| C# | apache-2.0 | samus/mongodb-csharp,mongodb-csharp/mongodb-csharp,zh-huan/mongodb |
52a9e81dc0592d5ccbb329f5acda9d0eb6c1148f | src/OneWayMirror/ReportingConsoleHost.cs | src/OneWayMirror/ReportingConsoleHost.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using OneWayMirror.Core;
namespace OneWayMirror
{
internal sealed class ReportingConsoleHost : ConsoleHost
{
private readonly string _reportEmailAddress;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using OneWayMirror.Core;
namespace OneWayMirror
{
internal sealed class ReportingConsoleHost : ConsoleHost
{
private readonly string _reportEmailAddress;
... | Use UserName instead of UserDomainName | Use UserName instead of UserDomainName
| C# | apache-2.0 | jaredpar/ConversionTools |
388991336c0b3956a7624e171c915ef0e7a9ac98 | Fotografix/DelegateCommand.cs | Fotografix/DelegateCommand.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Fotografix
{
public sealed class DelegateCommand : ICommand
{
private readonly Func<bool> canExecute;
private readonly Func<Task> execute;
private bool executing;
public... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Fotografix
{
public sealed class DelegateCommand : ICommand
{
private readonly Func<bool> canExecute;
private readonly Func<Task> execute;
private bool executing;
public... | Disable commands while they are executing | Disable commands while they are executing
| C# | mit | lmadhavan/fotografix |
10ec4cd8e07950b8a48e8da8931e3e39b16559b8 | osu.Game/Overlays/OnlineOverlay.cs | osu.Game/Overlays/OnlineOverlay.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online;
namespace osu.Game.Overlays
{
p... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online;
namespace osu.Game.Overlays
{
p... | Revert change to loading layer's default state | Revert change to loading layer's default state
| C# | mit | ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu |
b6075c76ad6534d3b8767fb70fba01746207a6fa | osu.Framework/Localisation/LocalisableEnumAttribute.cs | osu.Framework/Localisation/LocalisableEnumAttribute.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Extensions.TypeExtensions;
namespace osu.Framework.Localisation
{
/// <summary>
/// Indicates that the members of an enum can b... | // 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.Extensions;
using osu.Framework.Extensions.TypeExtensions;
namespace osu.Framework.Localisation
{
/// <summary>
/// Indicates t... | Add description indicating retrieval method | Add description indicating retrieval method
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework |
b7edd7db54f9de2721ea0c793e33d26fb86355cd | src/Hosts/Hadouken.Hosts.WindowsService/HdknService.cs | src/Hosts/Hadouken.Hosts.WindowsService/HdknService.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using Hadouken.Common;
using Hadouken.Hosting;
namespace Hadouken.Hosts.WindowsService
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using Hadouken.Common;
using Hadouken.Hosting;
using System.Threading;
namespace Hadou... | Load the service in the main thread, once more. | Load the service in the main thread, once more.
| C# | mit | yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,Robo210/hadouken,yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,vktr/hadouken |
6b271f8f54389022ecdf579ee69b9d87db63eb0e | src/Orchard.Web/Core/Common/Drivers/TextFieldDriver.cs | src/Orchard.Web/Core/Common/Drivers/TextFieldDriver.cs | using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Fields;
namespace Orchard.Core.Common.Drivers {
[UsedImplicitly]
public class TextFieldDriver : ContentFieldDriver<TextField> {
public IOrchardServices Services { ge... | using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Fields;
using Orchard.Core.Common.Settings;
namespace Orchard.Core.Common.Drivers {
[UsedImplicitly]
public class TextFieldDriver : ContentFieldDriver<TextField> {
... | Create Display/Editor location settings for Parts and Fields | Create Display/Editor location settings for Parts and Fields
--HG--
branch : dev
| C# | bsd-3-clause | DonnotRain/Orchard,OrchardCMS/Orchard-Harvest-Website,Morgma/valleyviewknolls,AdvantageCS/Orchard,Fogolan/OrchardForWork,jtkech/Orchard,rtpHarry/Orchard,IDeliverable/Orchard,tobydodds/folklife,dcinzona/Orchard-Harvest-Website,Praggie/Orchard,openbizgit/Orchard,qt1/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCod... |
15954d1dc5ac605863d01c104635286cccb6a004 | tests/Perspex.Styling.UnitTests/Properties/AssemblyInfo.cs | tests/Perspex.Styling.UnitTests/Properties/AssemblyInfo.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
[assembly: AssemblyTitle("Perspex.Styling.UnitTests")]
| // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Perspex.Styling.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBehavi... | Fix intermittent Style unit test failures. | Fix intermittent Style unit test failures.
| C# | mit | Perspex/Perspex,AvaloniaUI/Avalonia,OronDF343/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,DavidKarlas/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,bbqchickenrobot/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,kekekeks/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,susloparovdeni... |
1a1f8b223500d5186b962fc94abbeab1d8441c9e | Torch.Mod/TorchModCore.cs | Torch.Mod/TorchModCore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox.ModAPI;
using VRage.Game.Components;
namespace Torch.Mod
{
[MySessionComponentDescriptor(MyUpdateOrder.AfterSimulation)]
public class TorchModCore : MySessionComponentBase
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox.ModAPI;
using VRage.Game.Components;
namespace Torch.Mod
{
[MySessionComponentDescriptor(MyUpdateOrder.AfterSimulation)]
public class TorchModCore : MySessionComponentBase
{
... | Fix dumb in torch mod | Fix dumb in torch mod
| C# | apache-2.0 | TorchAPI/Torch |
9bf70e4e97ed84c95bb5d19eb4e7cf59391f7e8c | osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.cs | osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Utils;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
name... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Utils;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
name... | Add slider test step for visual inspection purposes | Add slider test step for visual inspection purposes
| C# | mit | smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu |
ecbf4c95a72bb2ac844e1200f8af8692a78514b7 | Toxy/Common/Winmm.cs | Toxy/Common/Winmm.cs | using System;
using System.Runtime.InteropServices;
using System.Resources;
using System.IO;
namespace Win32
{
public static class Winmm
{
public static void PlayMessageNotify()
{
if (_soundData == null)
{
using (UnmanagedMemoryStream sound ... | using System;
using System.Runtime.InteropServices;
using System.Resources;
using System.IO;
namespace Win32
{
public static class Winmm
{
public static void PlayMessageNotify()
{
if (_soundData == null)
{
using (UnmanagedMemoryStream sound ... | Check if _soundData is null before attempting to play the sound | Check if _soundData is null before attempting to play the sound
| C# | mit | TimBo93/Toxy,Umriyaev/Toxy,Reverp/Toxy,Reverp/Toxy |
3b9afd7ce4881f53dffcd4ad2b85b5f5061b9ee1 | src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs | src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs | using System;
namespace Arkivverket.Arkade.Metadata
{
public static class MetsTranslationHelper
{
public static bool IsValidSystemType(string systemType)
{
// TODO: Use Enum ExternalModels.Mets.type (not ExternalModels.Info.type) when/if supported in built in mets schema
... | using System;
using Arkivverket.Arkade.Core;
namespace Arkivverket.Arkade.Metadata
{
public static class MetsTranslationHelper
{
public static bool IsValidSystemType(string systemType)
{
return Enum.IsDefined(typeof(ArchiveType), systemType);
}
public static bool I... | Use local definition of ArchiveTypes to validate metadata systemtypes | Use local definition of ArchiveTypes to validate metadata systemtypes
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
9c39f4ba4061fae4e061d35c6f701e663308de23 | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
[OperationContract]
ValidUserInfoDto Vali... | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
[OperationContract]
ValidUserInfoDto Vali... | Remove userGuid on ValidateUser method | Remove userGuid on ValidateUser method
git-svn-id: 0f264f6d45e0d91283c3b90d5150277c66769c5f@230 0f896bb5-3ab0-2d4e-82a7-85ef10020915
| C# | mit | Paymentsense/Dapper.SimpleSave |
575b3b8b8f58f5525968abd16ff407181c62ac27 | src/Elders.Cronus/MessageProcessing/DynamicMessageHandle.cs | src/Elders.Cronus/MessageProcessing/DynamicMessageHandle.cs | using Elders.Cronus.Workflow;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
namespace Elders.Cronus.MessageProcessing
{
/// <summary>
/// Work-flow which gets an object from the passed context and calls a method 'Handle' pass... | using Elders.Cronus.Workflow;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
namespace Elders.Cronus.MessageProcessing
{
/// <summary>
/// Work-flow which gets an object from the passed context and calls a method 'Handle' pass... | Revert "fix: Uses async to log an error message" | Revert "fix: Uses async to log an error message"
This reverts commit f1583924af8af681f8fca81ed13973996ec2b937.
| C# | apache-2.0 | Elders/Cronus,Elders/Cronus |
5605759c826b1475e68b14115ccbba9cfd87bfd8 | src/GiveCRM.Web/Views/Donation/DonationList.cshtml | src/GiveCRM.Web/Views/Donation/DonationList.cshtml | @model IEnumerable<GiveCRM.Models.Donation>
@{
Layout = null;
}
<table>
<tr>
<th>Date</th><th>Amount</th>
</tr>
@foreach (var donation in Model)
{
<tr>
<td>@donation.Date.ToLongDateString()</td>
<td>@donation.Amount</td>
</tr>
}
</table> | @using System.Globalization
@model IEnumerable<GiveCRM.Models.Donation>
@{
Layout = null;
}
<table>
<tr>
<th>Date</th><th>Amount</th>
</tr>
@foreach (var donation in Model)
{
<tr>
<td>@donation.Date.ToLongDateString()</td>
<td>@donation.Amount.ToString("C2", NumberFormatInfo.CurrentInfo)... | Fix a niggle from the wiki: display donation amounts to two decimal places. Also format them as a currency, and respect the current culture. | Fix a niggle from the wiki: display donation amounts to two decimal places. Also format them as a currency, and respect the current culture.
| C# | mit | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM |
637bc0f7afdfc29d4878f3a93a17ea5e1420e01e | src/System.ObjectModel/tests/KeyedCollection/Serialization.netstandard.cs | src/System.ObjectModel/tests/KeyedCollection/Serialization.netstandard.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.Generic;
using System.Runtime.Serialization.Formatters.Tests;
using Xunit;
namespace Syste... | // 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.Generic;
using System.Runtime.Serialization.Formatters.Tests;
using Xunit;
namespace Syste... | Remove CoreCLR pull 6423, run msbuild System.ObjectModel.Tests.csproj /t:BuildAndTest, succeeded. | Remove CoreCLR pull 6423, run msbuild System.ObjectModel.Tests.csproj /t:BuildAndTest, succeeded.
| C# | mit | wtgodbe/corefx,nchikanov/corefx,the-dwyer/corefx,Petermarcu/corefx,tijoytom/corefx,wtgodbe/corefx,tijoytom/corefx,rjxby/corefx,weltkante/corefx,rubo/corefx,nbarbettini/corefx,JosephTremoulet/corefx,rahku/corefx,billwert/corefx,Ermiar/corefx,axelheer/corefx,fgreinacher/corefx,DnlHarvey/corefx,krk/corefx,rahku/corefx,ste... |
8cdf95c349b851c8709e50464b4a4c3f63c3b198 | Contentful.Core/Models/Asset.cs | Contentful.Core/Models/Asset.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents a single asset of a <see cref="Space"/>.
/// </summary>
public class Asset : IContentfulResource
{
/// <su... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents a single asset of a <see cref="Space"/>.
/// </summary>
public class Asset : IContentfulResource
{
/// <su... | Remove JsonProperty Mapping for "file" | Remove JsonProperty Mapping for "file"
This is an inconsistency as you either have all the fields mapped to the localized models like the following:
```
public class Asset : IContentfulResource
{
/// <summary>
/// Common system managed metadata properties.
/// </summary>
... | C# | mit | contentful/contentful.net |
480cdb2a5643c2892b9c294958be08bea30a615a | src/CypherTwo.Core/NeoClient.cs | src/CypherTwo.Core/NeoClient.cs | namespace CypherTwo.Core
{
using System;
using System.Linq;
using System.Threading.Tasks;
public class NeoClient : INeoClient
{
private readonly ISendRestCommandsToNeo neoApi;
public NeoClient(string baseUrl) : this(new ApiClientFactory(baseUrl, new JsonHttpClientWrapper()))
... | namespace CypherTwo.Core
{
using System;
using System.Linq;
using System.Threading.Tasks;
public class NeoClient : INeoClient
{
private readonly ISendRestCommandsToNeo neoApi;
public NeoClient(string baseUrl) : this(new ApiClientFactory(baseUrl, new JsonHttpClientWrapper()))
... | Add throw error on Neo exception in ExecuteCore | Add throw error on Neo exception in ExecuteCore
| C# | mit | mikehancock/CypherNetCore |
772c6f066ac565ae98941a1c67371ab7a9fbb57f | hangman.cs | hangman.cs | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
Table table = new Table(2, 3);
string output = table.Draw();
Console.WriteLine(output);
}
}
}
| using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// Table table = new Table(2, 3);
// string output = table.Draw();
// Console.WriteLine(output);
}
}
}
| Comment out the code in Hangman that uses Table | Comment out the code in Hangman that uses Table
To focus on the development of game logic
| C# | unlicense | 12joan/hangman |
dbe048cdc6b6d893e92109d50fd3fa5732fa294c | osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.cs | osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.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.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining a spectator client instance.
/// </summ... | // 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.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining a spectator client instance.
/// </summ... | Add client method for notifying about host changes | Add client method for notifying about host changes
| C# | mit | NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu |
6675f9dffbf32d9df2a2100973d7c3324a605a5e | HeartBeat.cs | HeartBeat.cs | using System;
using System.Threading;
using Microsoft.SPOT;
namespace AgentIntervals
{
public delegate void HeartBeatEventHandler(object sender, EventArgs e);
public class HeartBeat
{
private Timer _timer;
private int _period;
public event HeartBeatEventHandler On... | using System;
using System.Threading;
using Microsoft.SPOT;
namespace AgentIntervals
{
public delegate void HeartBeatEventHandler(object sender, EventArgs e);
public class HeartBeat
{
private Timer _timer;
private int _period;
public event HeartBeatEventHandler On... | Add parameter-less defaults for Start, Toggle, Reset. | Add parameter-less defaults for Start, Toggle, Reset.
| C# | mit | jcheng31/AgentIntervals |
93b06dcbb3d0355ed355754fab316fdf3612b15f | FibCSharp/Program.cs | FibCSharp/Program.cs | using System;
using System.Linq;
namespace FibCSharp
{
class Program
{
static void Main(string[] args)
{
var max = 50;
Enumerable.Range(0, int.MaxValue)
.Select(Fib)
.TakeWhile(x => x <= 50)
.ToList()
.ForE... | using System;
using System.Linq;
namespace FibCSharp
{
class Program
{
static void Main(string[] args)
{
var max = 50;
Enumerable.Range(0, int.MaxValue)
.Select(Fib)
.TakeWhile(x => x <= max)
.ToList()
.For... | Use the defined max value | Use the defined max value | C# | unlicense | treymack/fibonacci |
e3ddeec491dfc5944d4329444336ae84e8264b0e | IvionSoft/History.cs | IvionSoft/History.cs | using System;
using System.Collections.Generic;
namespace IvionSoft
{
public class History<T>
{
int length;
HashSet<T> hashes;
Queue<T> queue;
object _locker;
public History(int length)
{
if (length < 1)
throw new ArgumentException("... | using System;
using System.Collections.Generic;
namespace IvionSoft
{
public class History<T>
{
public int Length { get; private set; }
HashSet<T> hashes;
Queue<T> queue;
object _locker = new object();
public History(int length) : this(length, null)
{}
... | Add the option of specifying a comparer. | Add the option of specifying a comparer. | C# | bsd-2-clause | IvionSauce/MeidoBot |
883c6f1eb30f460790d4d74fbe16e96f08e866e6 | osu.Game/Screens/OnlinePlay/Lounge/Components/RoomSpecialCategoryPill.cs | osu.Game/Screens/OnlinePlay/Lounge/Components/RoomSpecialCategoryPill.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.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osuTK.... | // 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.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Gam... | Update colour of spotlights playlist to match new specs | Update colour of spotlights playlist to match new specs
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu |
eff88a66d1fab0189627cf758e4db321adf850bf | Src/PegSharp/External/BlockChain.cs | Src/PegSharp/External/BlockChain.cs | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | Add blocks not in order | Add blocks not in order
| C# | mit | ajlopez/PegSharp |
0997077aa63252e211173de5de9cb34322791eec | BitCommitment/BitCommitmentEngine.cs | BitCommitment/BitCommitmentEngine.cs | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages.
/// </summary>
public class BitCommitmentEngine
{
#region properties
public byte[]... | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function method for committing bits
/// </summary>
public cl... | Use one way function protocol for bit commitment | Use one way function protocol for bit commitment
| C# | mit | 0culus/ElectronicCash |
9c01585567431924cecb663016b36e334b13f7f8 | webstats/Modules/RootMenuModule.cs | webstats/Modules/RootMenuModule.cs | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:54
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Text;
using Nancy;
using SubmittedData;
namespace Modules
{
/// <summary>
/// Description of WebService.
/// </s... | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:54
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Text;
using Nancy;
using SubmittedData;
namespace Modules
{
/// <summary>
/// Description of WebService.
/// </s... | Make a proper view model | Make a proper view model
| C# | mit | lmno/cupster,lmno/cupster,lmno/cupster |
141976a9fb18aaeaac854f6116957d2a635c899e | DesktopWidgets/Classes/IntroData.cs | DesktopWidgets/Classes/IntroData.cs | using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Intro Settings")]
public class IntroData
{
[DisplayName("Duration")]
public int Duration { get; set; } = -1;
[DisplayName("Reversab... | using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Intro Settings")]
public class IntroData
{
[DisplayName("Duration")]
public int Duration { get; set; } = -1;
[DisplayName("Reversab... | Change some intro settings property names | Change some intro settings property names
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
f3e533f2e33469fc917cac290ae7b41d459345aa | SignalRDemo/SignalRDemo/Hubs/Chat.cs | SignalRDemo/SignalRDemo/Hubs/Chat.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using Microsoft.AspNet.SignalR;
namespace SignalRDemo.Hubs
{
public class Chat : Hub
{
public void SayHello()
{
while (true)
{
Clients.All.addMes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Timers;
using System.Web;
using Microsoft.AspNet.SignalR;
using Timer = System.Timers.Timer;
namespace SignalRDemo.Hubs
{
public class Chat : Hub
{
static string messageToSend = DateTime.Now.ToString();
Timer t = n... | Use timer rather than blocking sleep | Use timer rather than blocking sleep
| C# | apache-2.0 | wbsimms/SignalRDemo,wbsimms/SignalRDemo |
34954000008e8e663bde584fd7ad55608cd03436 | Battery-Commander.Web/Controllers/API/EmbedsController.cs | Battery-Commander.Web/Controllers/API/EmbedsController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
public class EmbedsController : ApiController
{
public EmbedsContr... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
public class EmbedsController : ApiController
{
public EmbedsContr... | Switch to not serialize the full embed object | Switch to not serialize the full embed object
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
1d06a0ac9ae4ff123209206e83389a23650df07a | Roguelike/Roguelike/Entities/Components/FighterComponent.cs | Roguelike/Roguelike/Entities/Components/FighterComponent.cs | using Roguelike.UI;
using System;
namespace Roguelike.Entities.Components
{
public class FighterComponent : Component
{
public int MaximumHealth { get; set; }
public int CurrentHealth { get; set; }
public int Power { get; set; }
public int Defense { get; set; }
public ... | using Roguelike.UI;
using System;
namespace Roguelike.Entities.Components
{
public class FighterComponent : Component
{
public const float CriticalHitChance = 0.05f;
public int MaximumHealth { get; set; }
public int CurrentHealth { get; set; }
public int Power { get; set; }
... | Add a 5% chance for attacks to be critical hits, which ignore defense. | Add a 5% chance for attacks to be critical hits, which ignore defense.
| C# | mit | pjk21/roguelikedev-does-the-complete-roguelike-tutorial |
58025b2f5c514ea2925336f174a683a573d4df55 | CodeFirstMigrations/Address.cs | CodeFirstMigrations/Address.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFirstMigrations
{
public class Address
{
public Int32 Id { get; set; }
public Int32 HouseNumber { get; set; }
public String Street { get; set; }
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFirstMigrations
{
public class Address
{
public Int32 Id { get; set; }
public Int32 HouseNumber { get; set; }
public String Street { get; set; }
pub... | Change model and EF errors with schema change | Change model and EF errors with schema change
| C# | mit | johnproctor/EFMigrations |
fbae4b2657c1780f979c9b889bf3e9f9eed85f07 | BSParser/Writers/StrictCSVWriter.cs | BSParser/Writers/StrictCSVWriter.cs | using BSParser.Data;
using CsvHelper;
using System.IO;
using System.Text;
namespace BSParser.Writers
{
public class StrictCSVWriter : Writer
{
private string _fileName;
public StrictCSVWriter(string fileName)
{
_fileName = fileName;
}
public override bool ... | using BSParser.Data;
using CsvHelper;
using System.IO;
using System.Linq;
using System.Text;
namespace BSParser.Writers
{
public class StrictCSVWriter : Writer
{
private string _fileName;
public StrictCSVWriter(string fileName)
{
_fileName = fileName;
}
pu... | Change the order of the columns in CSV export | Change the order of the columns in CSV export
| C# | mit | dodbrian/BSParser |
9c712375a3449dba29d007b5eb59087fac7a3cc1 | CompatBot/Utils/ResultFormatters/IrdSearchResultFormattercs.cs | CompatBot/Utils/ResultFormatters/IrdSearchResultFormattercs.cs | using CompatApiClient.Utils;
using DSharpPlus.Entities;
using IrdLibraryClient;
using IrdLibraryClient.POCOs;
namespace CompatBot.Utils.ResultFormatters
{
public static class IrdSearchResultFormattercs
{
public static DiscordEmbedBuilder AsEmbed(this SearchResult searchResult)
{
va... | using CompatApiClient.Utils;
using DSharpPlus.Entities;
using IrdLibraryClient;
using IrdLibraryClient.POCOs;
namespace CompatBot.Utils.ResultFormatters
{
public static class IrdSearchResultFormattercs
{
public static DiscordEmbedBuilder AsEmbed(this SearchResult searchResult)
{
va... | Add game version to the results (for e.g. heavy rain) | Add game version to the results (for e.g. heavy rain)
| C# | lgpl-2.1 | RPCS3/discord-bot,Nicba1010/discord-bot |
7b878acc5d66660fcdd66e62972cedb21f5510e4 | LivrariaTest/AutorTest.cs | LivrariaTest/AutorTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Livraria;
namespace LivrariaTest
{
[TestClass]
public class AutorTest
{
[TestMethod]
public void TestProperties()
{
Autor autor = new Autor();
autor.CodAutor = 999;
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Livraria;
using System.Collections.Generic;
namespace LivrariaTest
{
[TestClass]
public class AutorTest
{
[TestMethod]
public void TestProperties()
{
Autor autor = new Autor();
... | Add test for ListaAutores method | Add test for ListaAutores method
| C# | mit | paulodiovani/feevale-cs-livraria-2015 |
2992012e045cebd52c1f01799097ec93e4ae2c9e | demos/CoreClrConsoleApplications/HelloWorld/HelloWorld.cs | demos/CoreClrConsoleApplications/HelloWorld/HelloWorld.cs | using System;
class Program {
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
foreach (var arg in args)
{
Console.Write("Hello ");
Console.Write(arg);
Console.WriteLine("!");
}
Console.WriteLine("Press ENTER to exit ...");
Console.ReadLine();
}
} | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello World!");
foreach (var arg in args)
... | Make coding style consistent with corefx | Make coding style consistent with corefx
| C# | mit | benaadams/corefxlab,ericstj/corefxlab,whoisj/corefxlab,alexperovich/corefxlab,nguerrera/corefxlab,stephentoub/corefxlab,Vedin/corefxlab,ericstj/corefxlab,mafiya69/corefxlab,stephentoub/corefxlab,ericstj/corefxlab,stephentoub/corefxlab,weshaggard/corefxlab,Vedin/corefxlab,tarekgh/corefxlab,livarcocc/corefxlab,whoisj/cor... |
4af90871e166293d31668dfeff513265f70029bb | UnitySDK/Assets/TiltBrush/Scripts/Editor/GammaSettings.cs | UnitySDK/Assets/TiltBrush/Scripts/Editor/GammaSettings.cs | // Copyright 2016 Google Inc.
//
// 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... | // Copyright 2016 Google Inc.
//
// 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... | Use correct TBT_LINEAR_TARGET shader feature keyword. | Use correct TBT_LINEAR_TARGET shader feature keyword.
Change-Id: Iaa498426ff3ec9c678ca0e02e5c510121654eded
| C# | apache-2.0 | googlevr/tilt-brush-toolkit,googlevr/tilt-brush-toolkit |
a9e4979db93549716d38e7b19bca4797531328bc | osu.Framework/Audio/Sample/SampleBass.cs | osu.Framework/Audio/Sample/SampleBass.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using ManagedBass;
using System;
using System.Collections.Concurrent;
namespace osu.Framework.Audio.Sample
{
internal class SampleBass : Sample,... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using ManagedBass;
using System;
using System.Collections.Concurrent;
namespace osu.Framework.Audio.Sample
{
internal class SampleBass : Sample,... | Allow bass sample channels to overwrite older ones by default. | Allow bass sample channels to overwrite older ones by default.
| C# | mit | smoogipooo/osu-framework,ppy/osu-framework,naoey/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,RedNesto/osu-framework,default0/osu-frame... |
ad54ba3c2264869a73bc743aa07fb134ea36dbb4 | src/backend/SO115App.SignalR/Sender/GestioneUtenti/NotificationDeleteUtente.cs | src/backend/SO115App.SignalR/Sender/GestioneUtenti/NotificationDeleteUtente.cs | using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;
using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti;
using System;
using System.Threading.Tasks;
namespace SO1... | using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;
using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;
using SO115App.Models.Servizi.Infrastruttura.Notification.GestioneUtenti;
using System;
using System.Threading.Tasks;
namespace SO1... | Fix - Modificata notifica delete utente | Fix - Modificata notifica delete utente
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
49fbbafa4683d1763fc228ef0165ee931984bad9 | src/Hosting/PageLocationExpander.cs | src/Hosting/PageLocationExpander.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.RazorPages;
name... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.RazorPages;
name... | Add explanation of why having 2 yield return | Add explanation of why having 2 yield return
| C# | apache-2.0 | wangkanai/Detection |
645542356a4c3863f9f34f211b447593c39f9a7c | Battery-Commander.Web/Program.cs | Battery-Commander.Web/Program.cs | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | Remove Seq compact flag, default now | Remove Seq compact flag, default now | C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
b46645b9a83c5bf143dcc15e50989eb0229927ec | src/Dommel.Json/JsonObjectTypeHandler.cs | src/Dommel.Json/JsonObjectTypeHandler.cs | using System;
using System.Data;
using System.Text.Json;
using Dapper;
namespace Dommel.Json
{
internal class JsonObjectTypeHandler : SqlMapper.ITypeHandler
{
private static readonly JsonSerializerOptions JsonOptions = new JsonSerializerOptions
{
AllowTrailingCommas = true,
... | using System;
using System.Data;
using System.Text.Json;
using System.Text.Json.Serialization;
using Dapper;
namespace Dommel.Json
{
internal class JsonObjectTypeHandler : SqlMapper.ITypeHandler
{
private static readonly JsonSerializerOptions JsonOptions = new()
{
AllowTrailingComm... | Allow reading numbers from strings in JSON | Allow reading numbers from strings in JSON
| C# | mit | henkmollema/Dommel |
b51b017005e73e4b5694547631204b74eb8d4d4b | Plugins/PluginScriptGenerator.cs | Plugins/PluginScriptGenerator.cs | using System.Text;
namespace TweetDck.Plugins{
static class PluginScriptGenerator{
public static string GenerateConfig(PluginConfig config){
return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"",config.DisabledPlugins)+"\"];" : string.Empty;
}
publ... | using System.Text;
namespace TweetDck.Plugins{
static class PluginScriptGenerator{
public static string GenerateConfig(PluginConfig config){
return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"",config.DisabledPlugins)+"\"];" : string.Empty;
}
publ... | Fix plugin script generator causing JS syntax error | Fix plugin script generator causing JS syntax error
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
37bcf85b7242c5fc2a19d5378eb8dd783786b345 | tests/FreecraftCore.Serializer.Tests/Tests/StringTests.cs | tests/FreecraftCore.Serializer.Tests/Tests/StringTests.cs | using FreecraftCore.Serializer.KnownTypes;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FreecraftCore.Serializer.Tests
{
[TestFixture]
public class StringTests
{
[Test]
public static void Test_String_Seriali... | using FreecraftCore.Serializer.KnownTypes;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FreecraftCore.Serializer.Tests
{
[TestFixture]
public class StringTests
{
[Test]
public static void Test_String_Seriali... | Add empty to null check | Add empty to null check
| C# | agpl-3.0 | FreecraftCore/FreecraftCore.Payload.Serializer,FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer |
7ddb5346e8632660698a0d0df3e508157554f325 | AudioWorks/AudioWorks.Extensions/ExtensionContainerBase.cs | AudioWorks/AudioWorks.Extensions/ExtensionContainerBase.cs | using System;
using System.Composition.Hosting;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
namespace AudioWorks.Extensions
{
abstract class ExtensionContainerBase
{
static readonly DirectoryInfo _extensionRoot = new DirectoryInfo(Path.Combine(
... | using System;
using System.Composition.Hosting;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Loader;
namespace AudioWorks.Extensions
{
abstract class ExtensionContainerBase
{
static readonly DirectoryInfo _extensionRoot = new D... | Resolve binding exception on netfx. | Resolve binding exception on netfx.
| C# | agpl-3.0 | jherby2k/AudioWorks |
bc6f672f73f6a3b3923b037820fc646a1189cc2e | Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml | Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml | @model JoinRpg.DataModel.MarkdownString
@{
var requiredMsg = new MvcHtmlString("");
var validation = false;
foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetadata))
{
if (attr.Key == "data-val-required")
{
requiredMs... | @model JoinRpg.DataModel.MarkdownString
@{
var requiredMsg = new MvcHtmlString("");
var validation = false;
foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetadata))
{
if (attr.Key == "data-val-required")
{
requiredMs... | Add link to Markdown help | Add link to Markdown help
| C# | mit | leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net |
93b3d5bc88a161913d36ee5e576b7ef7e080fbac | Examples/TweetAnalysis/TweetAnalysisClass/TweetAnalysis.cs | Examples/TweetAnalysis/TweetAnalysisClass/TweetAnalysis.cs | using Microsoft.Analytics.Interfaces;
using Microsoft.Analytics.Types.Sql;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
// TweetAnalysis Assembly
// Show the use of a U-SQL user-defined function (UDF)
//
// Register this assembly at master.TweetAnalysis e`ithe... | using Microsoft.Analytics.Interfaces;
using Microsoft.Analytics.Types.Sql;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
// TweetAnalysis Assembly
// Show the use of a U-SQL user-defined function (UDF)
//
// Register this assembly at master.TweetAnalysis either... | Fix a typo in comment | Fix a typo in comment
| C# | mit | Azure/usql |
50729f1bab989d176019033d88853f53c8a46cde | src/Tasks/Microsoft.NET.Build.Tasks/CheckForImplicitPackageReferenceOverrides.cs | src/Tasks/Microsoft.NET.Build.Tasks/CheckForImplicitPackageReferenceOverrides.cs | using Microsoft.Build.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Microsoft.NET.Build.Tasks
{
public class CheckForImplicitPackageReferenceOverrides : TaskBase
{
const string MetadataKeyForItemsToRemove = "IsImp... | using Microsoft.Build.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Microsoft.NET.Build.Tasks
{
public class CheckForImplicitPackageReferenceOverrides : TaskBase
{
const string MetadataKeyForItemsToRemove = "IsImp... | Switch to OrdinalIgnoreCase comparison for PackageReference deduplication | Switch to OrdinalIgnoreCase comparison for PackageReference deduplication
| C# | mit | nkolev92/sdk,nkolev92/sdk |
ea2896a7c2a1767a030404bf8078dedab7a92341 | editor/Resources/scripttemplate.csx | editor/Resources/scripttemplate.csx | using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Collections.Generic;
using System.Linq;
namespace S... | using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Collections.Generic;
using System.Linq;
namespace S... | Remove extra tab in the script template. | Remove extra tab in the script template.
| C# | mit | Damnae/storybrew |
849d16f485b67929d05ce528d330b6b59f4b89c1 | Ooui/Iframe.cs | Ooui/Iframe.cs | namespace Ooui
{
public class Iframe : Element
{
public string Source
{
get => GetStringAttribute ("src", null);
set => SetAttributeProperty ("src", value);
}
public Iframe ()
: base ("iframe")
{
}
}
}
| namespace Ooui
{
public class Iframe : Element
{
public string Source
{
get => GetStringAttribute ("src", null);
set => SetAttributeProperty ("src", value);
}
public Iframe ()
: base ("iframe")
{
}
protected override ... | Fix closing tag on iframe | Fix closing tag on iframe
Fixes #223
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui |
92300d011c48b4142c62f5b237812f04c18d31f9 | UnityProject/Assets/Scripts/Weapons/Projectiles/Behaviours/ProjectileDecalOnDespawn.cs | UnityProject/Assets/Scripts/Weapons/Projectiles/Behaviours/ProjectileDecalOnDespawn.cs | using UnityEngine;
namespace Weapons.Projectiles.Behaviours
{
/// <summary>
/// Identical to ProjectileDecal.cs, but creates a decal upon despawning instead of on hitting something.
/// </summary>
public class ProjectileDecalOnDespawn : MonoBehaviour, IOnDespawn
{
[SerializeField] private GameObject decal = nu... | using UnityEngine;
namespace Weapons.Projectiles.Behaviours
{
/// <summary>
/// Identical to ProjectileDecal.cs, but creates a decal upon despawning instead of on hitting something.
/// </summary>
public class ProjectileDecalOnDespawn : MonoBehaviour, IOnDespawn
{
[SerializeField] private GameObject decal = nu... | Make decal on despawn script use void. | Make decal on despawn script use void.
| C# | agpl-3.0 | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation |
8f14afc3fb2d0bef209940d27123f42481137b03 | src/Hops/Views/Search/Results.cshtml | src/Hops/Views/Search/Results.cshtml | @using Hops.Models;
@model ListModel<HopModel>
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@{
ViewBag.Title = "Search results - Hops";
}
@if (!string.IsNullOrEmpty(Model.Pagination.SearchTerm))
{
<h3>Search results for "@Model.Pagination.SearchTerm":</h3>
}
@Html.Partial("~/Views/Hop/List", Model) | @using Hops.Models;
@model ListModel<HopModel>
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@{
ViewBag.Title = "Search results - Hops";
}
@if (!string.IsNullOrEmpty(Model.Pagination.SearchTerm))
{
<h3>Search results for "@Model.Pagination.SearchTerm":</h3>
}
@Html.Partial("~/Views/Hop/List.cshtml", M... | Fix search result when returning multiple results | Fix search result when returning multiple results
| C# | mit | sboulema/Hops,sboulema/Hops,sboulema/Hops |
d3ca07c04a7ea74bc76a93c7b55e28207c594bd0 | src/Glob/Properties/AssemblyInfo.cs | src/Glob/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("Gl... | 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("Gl... | Fix extra assembly info attributes since they are generated by nuget | Fix extra assembly info attributes since they are generated by nuget
| C# | mit | kthompson/csharp-glob,kthompson/glob,kthompson/glob |
6408705f82979db60e2a7d1ec81fb56a2f81c3df | src/Markdig.WebApp/ApiController.cs | src/Markdig.WebApp/ApiController.cs | using System;
using System.Text;
using Microsoft.AspNetCore.Mvc;
namespace Markdig.WebApp
{
public class ApiController : Controller
{
// GET api/to_html?text=xxx&extensions=advanced
[Route("api/to_html")]
[HttpGet()]
public object Get([FromQuery] string text, [FromQuery] string... | using System;
using System.Text;
using Microsoft.AspNetCore.Mvc;
namespace Markdig.WebApp
{
public class ApiController : Controller
{
[HttpGet()]
[Route("")]
public string Empty()
{
return string.Empty;
}
// GET api/to_html?text=xxx&extensions=advanc... | Return an empty string for / on markdig webapi | Return an empty string for / on markdig webapi
| C# | bsd-2-clause | lunet-io/markdig |
7d6e27a23ec88138ada829f50e473cea394df189 | src/runtime/Codecs/EnumPyIntCodec.cs | src/runtime/Codecs/EnumPyIntCodec.cs | using System;
namespace Python.Runtime.Codecs
{
[Obsolete]
public sealed class EnumPyIntCodec : IPyObjectEncoder, IPyObjectDecoder
{
public static EnumPyIntCodec Instance { get; } = new EnumPyIntCodec();
public bool CanDecode(PyType objectType, Type targetType)
{
return... | using System;
namespace Python.Runtime.Codecs
{
[Obsolete]
public sealed class EnumPyIntCodec : IPyObjectEncoder, IPyObjectDecoder
{
public static EnumPyIntCodec Instance { get; } = new EnumPyIntCodec();
public bool CanDecode(PyType objectType, Type targetType)
{
return... | Allow conversion of UInt64 based enums | Allow conversion of UInt64 based enums
| C# | mit | pythonnet/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet |
9a22b6e1df22c8e7de3f8dce967d296a8c662385 | Examples/LeagueGeneration/Program.cs | Examples/LeagueGeneration/Program.cs | /*
Copyright © Iain McDonald 2010-2020
This file is part of Decider.
*/
using System;
using System.Collections.Generic;
using System.Linq;
namespace Decider.Example.LeagueGeneration
{
public class Program
{
static void Main(string[] args)
{
var leagueGeneration = new LeagueGeneration((args.Len... | /*
Copyright © Iain McDonald 2010-2020
This file is part of Decider.
*/
using System;
using System.Collections.Generic;
using System.Linq;
namespace Decider.Example.LeagueGeneration
{
public class Program
{
static void Main(string[] args)
{
var leagueGeneration = new LeagueGeneration((args.Len... | Create first automated acceptance test | Create first automated acceptance test
| C# | mit | lifebeyondfife/Decider |
cfa1ebd7c0d11c574e1967ed947501d16f674921 | Source/Nett/TomlConverter.cs | Source/Nett/TomlConverter.cs | using System;
using System.Diagnostics;
namespace Nett
{
[DebuggerDisplay("{FromType} -> {ToType}")]
internal sealed class TomlConverter<TFrom, TTo> : TomlConverterBase<TFrom, TTo>
{
private readonly Func<TFrom, TTo> convert;
public TomlConverter(Func<TFrom, TTo> convert)
{
... | using System;
namespace Nett
{
internal sealed class TomlConverter<TFrom, TTo> : TomlConverterBase<TFrom, TTo>
{
private readonly Func<TFrom, TTo> convert;
public TomlConverter(Func<TFrom, TTo> convert)
{
if (convert == null) { throw new ArgumentNullException(nameof(conver... | Remove DebuggerDisplay attribute not applicable anymore | Remove DebuggerDisplay attribute not applicable anymore
| C# | mit | paiden/Nett |
e970acad7f21c954a8808f603a07ad884addae5f | TAUtil/Tdf/TdfNodeAdapter.cs | TAUtil/Tdf/TdfNodeAdapter.cs | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | Make all strings in loaded TdfNodes lowercase | Make all strings in loaded TdfNodes lowercase
This fixes aliasing issues in TDFs
since TDF authors don't follow consistent case style.
| C# | mit | MHeasell/TAUtil,MHeasell/TAUtil |
dcbf91a8ca18886c9a651327079c2a995a484a5f | Views/ChatView.cshtml | Views/ChatView.cshtml | @model ChatApp.Controllers.ChatMessagesViewModel
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@using ChatApp.Models
<!DOCTYPE html>
<html>
<head>
<title>ChatApp</title>
</head>
<body>
<table>
@foreach (Message msg in Model.OldMessages)
{
<tr>
<td class="aut... | @model ChatApp.Controllers.ChatMessagesViewModel
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@using ChatApp.Models
<!DOCTYPE html>
<html>
<head>
<title>ChatApp</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w... | Update UI look and feel | Update UI look and feel
| C# | mit | RubenLaube-Pohto/asp.net-project |
1dfc18cb9a20df554ecf55cd59c1114e568d22f9 | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright(XsdDocMetadata.Copyright)]
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("XML Schema Documenter")]
[assembly: CLSComplian... | using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright(XsdDocMetadata.Copyright)]
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("XML Schema Documenter")]
[assembly: CLSComplian... | Align XSD Doc version number with SHFB | Align XSD Doc version number with SHFB
| C# | mit | terrajobst/xsddoc |
8118ef4d218ba9b90ee2aa127861735c0af35f3d | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2018")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2019")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | Increment copyright year of projects to 2019 | Increment copyright year of projects to 2019
| C# | apache-2.0 | atata-framework/atata-sample-app-tests |
b2196b8cfed91c67738bd39d068c551c77e683b8 | src/SimpleStack.Orm.PostgreSQL/PostgreSQLExpressionVisitor.cs | src/SimpleStack.Orm.PostgreSQL/PostgreSQLExpressionVisitor.cs | using SimpleStack.Orm.Expressions;
namespace SimpleStack.Orm.PostgreSQL
{
/// <summary>A postgre SQL expression visitor.</summary>
/// <typeparam name="T">Generic type parameter.</typeparam>
public class PostgreSQLExpressionVisitor<T>:SqlExpressionVisitor<T>
{
public PostgreSQLExpressionVisitor(IDialect... | using System.Linq.Expressions;
using SimpleStack.Orm.Expressions;
namespace SimpleStack.Orm.PostgreSQL
{
/// <summary>A postgre SQL expression visitor.</summary>
/// <typeparam name="T">Generic type parameter.</typeparam>
public class PostgreSQLExpressionVisitor<T>:SqlExpressionVisitor<T>
{
public Postg... | Add support for XOR in PostgreSQL | Add support for XOR in PostgreSQL
| C# | bsd-3-clause | SimpleStack/simplestack.orm,SimpleStack/simplestack.orm |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.