commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
355b439eed7347c58f128835580ef40b3fcaf8a7 | Update center header. | flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | FlubuCore.WebApi/Views/UpdateCenter/Index.cshtml | FlubuCore.WebApi/Views/UpdateCenter/Index.cshtml | <div class="text-center">
<h1 class="display-4">Update center</h1>
<p>Update FlubuCore web api automatically from github releases.</p>
</div> | Test
| bsd-2-clause | C# |
708dce4fc956374e4b6b148524a37d617d80e5a4 | Use IE on MT to work around #3028 | haithemaraissia/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,nexussays/Xamarin.Mobile | MonoTouch/Xamarin.Mobile/Contacts/AddressBook.cs | MonoTouch/Xamarin.Mobile/Contacts/AddressBook.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using MonoTouch.AddressBook;
using System.Collections.Generic;
namespace Xamarin.Contacts
{
public class AddressBook
: IEnumerable<Contact> //IQueryable<Contact>
{
public AddressBook()
{
this.addressBook = new ABAddressBook();
this.provider ... | using System;
using System.Linq;
using System.Linq.Expressions;
using MonoTouch.AddressBook;
using System.Collections.Generic;
namespace Xamarin.Contacts
{
public class AddressBook
: IQueryable<Contact>
{
public AddressBook()
{
this.addressBook = new ABAddressBook();
this.provider = new ContactQueryProvi... | apache-2.0 | C# |
f4dc604dbf5928e8142573562d18274030bbdd0f | Fix dragging tournament ladder too far causing it to disappear | peppy/osu-new,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,NeoAdonis/osu | osu.Game.Tournament/Screens/Ladder/LadderDragContainer.cs | osu.Game.Tournament/Screens/Ladder/LadderDragContainer.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Input.Events;
using osuT... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Input.Events;
using osuT... | mit | C# |
3b7c49d5c3dfcfcb8476a0129e1729af72a04495 | Set only just one torch | BlueBearGaming/Moria,BlueBearGaming/Moria | Assets/Scripts/Light/LightDiminuer.cs | Assets/Scripts/Light/LightDiminuer.cs | using UnityEngine;
using System.Collections;
using System;
public class LightDiminuer : MonoBehaviour {
public float intensity = 15;
public float intensityRate = 0.001F;
public float ambientIntensity = 3;
public float torchNoiseRange = 1;
public bool lightOn = false;
private GameObject player;
private Light ... | using UnityEngine;
using System.Collections;
using System;
public class LightDiminuer : MonoBehaviour {
public float intensity = 15;
public float intensityRate = 0.001F;
public float ambientIntensity = 3;
public float torchNoiseRange = 1;
private GameObject player;
private Light playerLight;
private Light am... | unlicense | C# |
5ad57496bb71bd95effb086fbd23061d9a92ef7b | Add comment on line that is being ignored by DotCover... | edandersen/Edsoft.Hypermedia,mdsol/crichton-dotnet,edandersen/Edsoft.Hypermedia | src/Crichton.Client/HttpClientTransitionRequestHandler.cs | src/Crichton.Client/HttpClientTransitionRequestHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Crichton.Representors;
using Crichton.Representors.Serializers;
using Newtonsoft.Json;
namespace Crichton.Client
{
public class HttpClientTransitionRequestHandler : ITra... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Crichton.Representors;
using Crichton.Representors.Serializers;
using Newtonsoft.Json;
namespace Crichton.Client
{
public class HttpClientTransitionRequestHandler : ITra... | mit | C# |
38545cfbfb47a834d3eb1af95329eb25a7ee05fc | Update file userAuth.cpl.cs | ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate | userAuth.cpl/userAuth.cpl/userAuth.cpl.cs | userAuth.cpl/userAuth.cpl/userAuth.cpl.cs | using System;
using Xamarin.Forms;
namespace userAuth.cpl
{
public class App : Application
{
public App ()
{
// The root page of your application
MainPage = new ContentPage {
Content = new StackLayout {
VerticalOptions = LayoutOptions.Center,
Children = {
new Label {
XAlign = T... | using System;
using Xamarin.Forms;
namespace userAuth.cpl
{
public class App : Application
{
public App ()
{
// The root page of your application
MainPage = new ContentPage {
Content = new StackLayout {
VerticalOptions = LayoutOptions.Center,
Children = {
new Label {
XAlign = T... | mit | C# |
0589d9511274f0a4574e1204d914ddc936accf6b | fix composition for test | IxMilia/BCad,IxMilia/BCad | BCad.Test/TestHost.cs | BCad.Test/TestHost.cs | using System;
using System.Composition;
using System.Composition.Hosting;
using System.Reflection;
using BCad.Services;
using BCad.UI;
namespace BCad.Test
{
public class TestHost : IDisposable
{
[Import]
public IWorkspace Workspace { get; set; }
[Import]
public IInputService I... | using System;
using System.Composition;
using System.Composition.Hosting;
using System.IO;
using System.Reflection;
using BCad.Services;
namespace BCad.Test
{
public class TestHost : IDisposable
{
[Import]
public IWorkspace Workspace { get; set; }
[Import]
public IInputService... | apache-2.0 | C# |
f4513e079c4cb656bec0392c19982d48ee36a5d4 | Switch to list instead of Dictionnary | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 | Proto/Assets/Scripts/Helpers/MultipleDelegate.cs | Proto/Assets/Scripts/Helpers/MultipleDelegate.cs | using System;
using System.Collections.Generic;
using UnityEngine;
public class MultipleDelegate
{
private readonly List<Func<int, int>> _delegates = new List<Func<int, int>>();
private Type _typeOf;
private int _pos = 0;
public int Suscribe(Func<int, int> item)
{
_delegates.Add(item);
... | using System;
using System.Collections.Generic;
public class MultipleDelegate
{
private readonly Dictionary<int, Func<int, int>> _delegates = new Dictionary<int, Func<int, int>>();
private Type _typeOf;
private int _pos = 0;
public int Suscribe(Func<int, int> item)
{
_delegates.Add(_pos, ... | mit | C# |
6255b548fd031b7162abe1500bb9c507a6e70892 | Update Population.cs | sharonikechi/babaomo,sharonikechi/babaomo,sharonikechi/babaomo | BabaOmo/Population.cs | BabaOmo/Population.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BabaOmo
{
public class Population
{
public class Codes
{
public const string Sudan = "SDN";
public const string Nigeria = "NIG";
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BabaOmo
{
public class Population
{
public class Codes
{
public const string Sudan = "SDN";
public const string Canada = "CND";
publ... | mit | C# |
dc062e84eb6e46a33858310d1475bef1f7f3f799 | Disable warning | ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,Tom94/osu-framewor... | osu.Framework/Configuration/IBindableCollection.cs | osu.Framework/Configuration/IBindableCollection.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections;
using System.Collections.Generic;
namespace osu.Framework.Configuration
{
// ReSharper disable PossibleInterfaceMemberAmbiguity... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections;
using System.Collections.Generic;
namespace osu.Framework.Configuration
{
public interface IBindableCollection : ... | mit | C# |
502c8ab5c777d1b1ea17ca77c1f89acdb5c35afb | Remove unused reference | virtualcca/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,andmattia/aspnetboilerplate,carldai0106/aspnetboilerplate,andmattia/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,beratcarsi/aspnetboilerplate,carldai0106/... | test/aspnet-core-demo/AbpAspNetCoreDemo/AbpAspNetCoreDemoModule.cs | test/aspnet-core-demo/AbpAspNetCoreDemo/AbpAspNetCoreDemoModule.cs | using Abp.AspNetCore;
using Abp.AspNetCore.Configuration;
using Abp.Castle.Logging.Log4Net;
using Abp.EntityFrameworkCore;
using Abp.EntityFrameworkCore.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using AbpAspNetCoreDemo.Core;
using AbpAspNetCoreDemo.Db;
using Microsoft.AspNetCore.Builder;
using... | using System.Reflection;
using Abp.AspNetCore;
using Abp.AspNetCore.Configuration;
using Abp.Castle.Logging.Log4Net;
using Abp.EntityFrameworkCore;
using Abp.EntityFrameworkCore.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using AbpAspNetCoreDemo.Core;
using AbpAspNetCoreDemo.Db;
using Microsoft.... | mit | C# |
1b7b8adc314d3fe27e6c4a81f6eec5306f1f758f | Update description | DotNetToscana/TranslatorService | Src/TranslatorService/Properties/AssemblyInfo.cs | Src/TranslatorService/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | mit | C# |
dfc0cc489e885690e12603f79fae488c48557d75 | Fix mapping | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement | Commencement.Core/Domain/HonorsReport.cs | Commencement.Core/Domain/HonorsReport.cs | using System;
using System.ComponentModel.DataAnnotations;
using Commencement.Core.Helpers;
using FluentNHibernate.Mapping;
using UCDArch.Core.DomainModel;
namespace Commencement.Core.Domain
{
public class HonorsReport : DomainObject
{
public HonorsReport()
{
DateReques... | using System;
using System.ComponentModel.DataAnnotations;
using Commencement.Core.Helpers;
using FluentNHibernate.Mapping;
using UCDArch.Core.DomainModel;
namespace Commencement.Core.Domain
{
public class HonorsReport : DomainObject
{
public HonorsReport()
{
DateReques... | mit | C# |
33a28e4a19d1588517c45c8df70f3bf54d20bc0b | update cuckoo example | brandonprry/gray_hat_csharp_code | ch8_automating_cuckoo/Program.cs | ch8_automating_cuckoo/Program.cs | using System;
using cuckoosharp;
using Newtonsoft.Json.Linq;
namespace Example
{
class MainClass
{
public static void Main (string[] args)
{
CuckooSession session = new CuckooSession ("192.168.1.105", 8090);
JObject response = session.ExecuteCommand ("/cuckoo/status", "GET");
Console.WriteLine(respons... | using System;
using cuckoosharp;
namespace Example
{
class MainClass
{
public static void Main (string[] args)
{
CuckooSession session = new CuckooSession ("127.0.0.1", 8090);
using (CuckooManager manager = new CuckooManager(session))
{
FileTask task = new FileTask();
task.Filepath = "/var/www... | bsd-3-clause | C# |
80c7675f378fc59cfc3b68f319ca8bb877aeaa35 | Fix array out of index issue @neico | LaserHydra/Oxide,LaserHydra/Oxide,Visagalis/Oxide,Visagalis/Oxide | Extensions/Oxide.Ext.Lua/Libraries/LuaGlobal.cs | Extensions/Oxide.Ext.Lua/Libraries/LuaGlobal.cs | using Oxide.Core.Libraries;
using Oxide.Core.Logging;
namespace Oxide.Ext.Lua.Libraries
{
/// <summary>
/// A global library containing game-agnostic Lua utilities
/// </summary>
public class LuaGlobal : Library
{
/// <summary>
/// Returns if this library should be loaded into the ... | using Oxide.Core.Libraries;
using Oxide.Core.Logging;
namespace Oxide.Ext.Lua.Libraries
{
/// <summary>
/// A global library containing game-agnostic Lua utilities
/// </summary>
public class LuaGlobal : Library
{
/// <summary>
/// Returns if this library should be loaded into the ... | mit | C# |
52f6cad93b7d8f677c5f0a358214b32ee3fbcda0 | Set right permissions on the deploy.sh on Linux. (#2863) | projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,shibayan/kudu,EricSten-MSFT/kudu,projectkudu/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,projectkudu/kudu | Kudu.Core/Deployment/Generator/CustomBuilder.cs | Kudu.Core/Deployment/Generator/CustomBuilder.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Kudu.Contracts.Settings;
using Kudu.Core.Helpers;
namespace Kudu.Core.Deployment.Generator
{
public class CustomBuilder : ExternalCommandBuilder
{
private readonly string _command;
public CustomBuilder(IEnvironment environment,... | using System;
using System.Threading.Tasks;
using Kudu.Contracts.Settings;
namespace Kudu.Core.Deployment.Generator
{
public class CustomBuilder : ExternalCommandBuilder
{
private readonly string _command;
public CustomBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBu... | apache-2.0 | C# |
1929f60ea8209c2482a5f018e6f727909568e07d | Update the webservices version | countrywide/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,m0wo/Umbraco-CMS,wtct/Umbraco-CMS,Tronhus/Umbraco-CMS,nvisage-gf/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,hfloyd/Umbraco-CMS,neilgaietto/Umbraco-CMS,yannisgu/Umbraco-CMS,Pyuuma/Umbraco-CMS,sargin48/Umbraco-CMS,mstodd/Umbraco-CMS,marcemarc/Umbraco-CMS... | src/umbraco.webservices/maintenance/maintenanceService.cs | src/umbraco.webservices/maintenance/maintenanceService.cs | using System;
using System.ComponentModel;
using System.Web.Services;
namespace umbraco.webservices.maintenance
{
[WebService(Namespace = "http://umbraco.org/webservices/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
public class maintenanceService : Bas... | using System;
using System.ComponentModel;
using System.Web.Services;
namespace umbraco.webservices.maintenance
{
[WebService(Namespace = "http://umbraco.org/webservices/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
public class maintenanceService : Bas... | mit | C# |
15171d957d22459073a3ee0754df81a8e0dbfd66 | Call widget "Special Event" on "Search" search | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/Search/ViewModel.cs | DesktopWidgets/Widgets/Search/ViewModel.cs | using System.Diagnostics;
using System.Windows.Input;
using DesktopWidgets.Helpers;
using DesktopWidgets.WidgetBase;
using DesktopWidgets.WidgetBase.ViewModel;
using GalaSoft.MvvmLight.Command;
namespace DesktopWidgets.Widgets.Search
{
public class ViewModel : WidgetViewModelBase
{
private string _sea... | using System.Diagnostics;
using System.Windows.Input;
using DesktopWidgets.Helpers;
using DesktopWidgets.WidgetBase;
using DesktopWidgets.WidgetBase.ViewModel;
using GalaSoft.MvvmLight.Command;
namespace DesktopWidgets.Widgets.Search
{
public class ViewModel : WidgetViewModelBase
{
private string _sea... | apache-2.0 | C# |
2d0b0833bdd5967c616af14935814ed23e9d1bc0 | Update AssemblyInfo.cs | JamesStuddart/debonair | Debonair.Data/Properties/AssemblyInfo.cs | Debonair.Data/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("De... | 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("De... | mit | C# |
d102f166685fa62aa3d3f2e87b03b83ef43d42b7 | Update IValuesOperator.cs | Flepper/flepper,Flepper/flepper | Flepper.QueryBuilder/Operators/Values/Interfaces/IValuesOperator.cs | Flepper.QueryBuilder/Operators/Values/Interfaces/IValuesOperator.cs | namespace Flepper.QueryBuilder
{
/// <summary>
/// Values Operator Interface
/// </summary>
public interface IValuesOperator : IQueryCommand
{
/// <summary>
/// Values Operator Contract
/// </summary>
/// <param name="values">Array of values</param>
/// <retu... | namespace Flepper.QueryBuilder
{
/// <summary>
/// Values Operator Interface
/// </summary>
public interface IValuesOperator : IQueryCommand
{
/// <summary>
/// Values Operator Contract
/// </summary>
/// <param name="values">Values</param>
/// <returns></ret... | mit | C# |
dd2b9b148b4831a06b08ef54edcfe8f724fc4e3a | Bump for v0.6.0 | jrick/Paymetheus,decred/Paymetheus | Paymetheus/Properties/AssemblyInfo.cs | Paymetheus/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | isc | C# |
3e875f1d3987bdf66793775242967bd806b5fa66 | Change the Db name for the object context. | Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer | RWXViewer/Models/ObjectPathContext.cs | RWXViewer/Models/ObjectPathContext.cs | using System.Data.Entity;
namespace RWXViewer.Models
{
public class ObjectPathContext : DbContext
{
public ObjectPathContext() : base("ObjectPathDb")
{
}
public DbSet<World> Worlds { get; set; }
public DbSet<ObjectPathItem> ObjectPathItem { get; set; }
... | using System.Data.Entity;
namespace RWXViewer.Models
{
public class ObjectPathContext : DbContext
{
public ObjectPathContext() : base("ObjectPathContext")
{
}
public DbSet<World> Worlds { get; set; }
public DbSet<ObjectPathItem> ObjectPathItem { get; set; ... | apache-2.0 | C# |
893faf86dd13abd57ad3a8b7b4054c04f80c858b | Use bower version of gfs-checkout-widget | ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop | OpenOrderFramework/Views/P4M/P4MDelivery.cshtml | OpenOrderFramework/Views/P4M/P4MDelivery.cshtml | @model OpenOrderFramework.Models.Order
@{
ViewBag.Title = "Delivery";
Layout = "";
}
<script src="/Scripts/Lib/webcomponentsjs/webcomponents.min.js"></script>
<link rel="stylesheet" href="~/Content/bootstrap.min.css">
<link rel="stylesheet" href="~/Content/Site.css">
@Scripts.Render("~/bundles/modernizr")
<li... | @model OpenOrderFramework.Models.Order
@{
ViewBag.Title = "Delivery";
Layout = "";
}
<script src="/Scripts/Lib/webcomponentsjs/webcomponents.min.js"></script>
<link rel="stylesheet" href="~/Content/bootstrap.min.css">
<link rel="stylesheet" href="~/Content/Site.css">
@Scripts.Render("~/bundles/modernizr")
<li... | mit | C# |
389b9b098b106e23cbf1289ffc8a3ea11e3be422 | switch back to physical, possible bug in react with non-physical file systems | Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate | Sample.Host/MagistrateWebInterface.cs | Sample.Host/MagistrateWebInterface.cs | using System.Reflection;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using Owin;
using React.Owin;
namespace Sample.Host
{
public class MagistrateWebInterface
{
public void Configure(IAppBuilder app)
{
var fs = new PhysicalFileSystem("../../content");
//var fs = new AssemblyResourc... | using System.Reflection;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using Owin;
using React.Owin;
namespace Sample.Host
{
public class MagistrateWebInterface
{
public void Configure(IAppBuilder app)
{
//var fs = new PhysicalFileSystem("../../content");
var fs = new AssemblyResourc... | lgpl-2.1 | C# |
dd444a8b562bcea5375d9629acf70d811ff77dcc | Add xmldoc in Command | xPaw/WendySharp | Command.cs | Command.cs | using System.Text.RegularExpressions;
namespace WendySharp
{
abstract class Command
{
/// <summary>
/// Name of the command, used in command listing and usage text.
/// </summary>
public string Name { get; protected set; }
/// <summary>
/// If specified, is a r... | using System.Text.RegularExpressions;
namespace WendySharp
{
abstract class Command
{
public string Name { get; protected set; }
public string Match { get; protected set; }
public string ArgumentMatch { get; protected set; }
public string Usage { get; protected set; }
p... | mit | C# |
4c22914116f3a45c91682e583d8be51858a481b3 | Update InputManager with new keys | Xeeynamo/KingdomHearts | OpenKh.Game/Infrastructure/InputManager.cs | OpenKh.Game/Infrastructure/InputManager.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace OpenKh.Game.Infrastructure
{
public class InputManager
{
private GamePadState pad;
private KeyboardState keyboard;
private KeyboardState prevKeyboard;
public bool IsExit => pad.Buttons.Back == Button... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace OpenKh.Game.Infrastructure
{
public class InputManager
{
private GamePadState pad;
private KeyboardState keyboard;
private KeyboardState prevKeyboard;
public bool IsExit => pad.Buttons.Back == Button... | mit | C# |
b226855d347c9114541d2e0b37ef780a05933f57 | Change VersionInfo string from: "OpenSimulator trunk (post 0.5.7)" to "OpenSimulator release 0.5.8" in preparation for tagging this minor release. | ft-/opensim-optimizations-wip-tests,RavenB/opensim,RavenB/opensim,M-O-S-E-S/opensim,OpenSimian/opensimulator,AlphaStaxLLC/taiga,N3X15/VoxelSim,ft-/arribasim-dev-tests,ft-/arribasim-dev-extras,rryk/omp-server,Michelle-Argus/ArribasimExtract,allquixotic/opensim-autobackup,ft-/arribasim-dev-extras,AlexRa/opensim-mods-Alex... | OpenSim/Framework/Servers/VersionInfo.cs | OpenSim/Framework/Servers/VersionInfo.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
af5857c1af19005c5b0f10420d8e0a8fab708970 | Fix Raven configuration. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/NinjectModules/RavenModule.cs | src/CGO.Web/NinjectModules/RavenModule.cs | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | mit | C# |
9b03b9729fa78aa7331a5275537d7f9723710052 | remove unnecessary TrimEnd | StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis | service/DotNetApis.Logic/ReferenceAssemblies.cs | service/DotNetApis.Logic/ReferenceAssemblies.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetApis.Nuget;
using DotNetApis.Storage;
using Microsoft.Extensions.Logging;
namespace DotNetApis.Logic
{
/// <summary>
/// Maintains a list of all known reference assemblies, organized by target framewor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetApis.Nuget;
using DotNetApis.Storage;
using Microsoft.Extensions.Logging;
namespace DotNetApis.Logic
{
/// <summary>
/// Maintains a list of all known reference assemblies, organized by target framewor... | mit | C# |
40fef4976cbc7e5396c8a441d8ce50f874e73625 | fix comment. | AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Ava... | src/Avalonia.Base/Logging/LogArea.cs | src/Avalonia.Base/Logging/LogArea.cs | namespace Avalonia.Logging
{
/// <summary>
/// Specifies the area in which a log event occurred.
/// </summary>
public static class LogArea
{
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = "Property";
... | namespace Avalonia.Logging
{
/// <summary>
/// Specifies the area in which a log event occurred.
/// </summary>
public static class LogArea
{
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = "Property";
... | mit | C# |
c36a86084b582d011c28571d208175eca39a6863 | remove unused usings | onovotny/MiFare | src/MiFare.Shared.Win32/PcSc/PcscUtils.cs | src/MiFare.Shared.Win32/PcSc/PcscUtils.cs | /* Copyright (c) Microsoft Corporation
*
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* THIS CODE IS PROVIDED *AS... | /* Copyright (c) Microsoft Corporation
*
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* THIS CODE IS PROVIDED *AS... | mit | C# |
020740497ad0fab191d2fa3da4550526839ceb55 | Update copyright info in AssemblyInfo.cs | OatmealDome/SplatoonUtilities | MusicRandomizer/MusicRandomizer/Properties/AssemblyInfo.cs | MusicRandomizer/MusicRandomizer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
f977a1e581124b9e10d0789e6de36aea8188576f | Add response body to SquareException | claytondus/Claytondus.Square | src/Claytondus.Square/Models/SquareException.cs | src/Claytondus.Square/Models/SquareException.cs | using System;
using System.Net;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Claytondus.Square.Models
{
public class SquareException : Exception
{
[JsonConstructor]
public SquareException(string type, string message) : base(message)
{
SquareType = type;
ResponseBody = message;... | using System;
using System.Net;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Claytondus.Square.Models
{
public class SquareException : Exception
{
[JsonConstructor]
public SquareException(string type, string message) : base(message)
{
SquareType = type;
}
protected SquareExcept... | mit | C# |
612a12d71d385c615e6fcb6b21f1bfd7e48de9a1 | Add comments | mspons/DiceApi | src/DiceApi.WebApi/Controllers/DieController.cs | src/DiceApi.WebApi/Controllers/DieController.cs | using Microsoft.AspNetCore.Mvc;
using DiceApi.Core;
namespace DiceApi.WebApi.Controllers
{
[Route("api/[controller]")]
public class DieController : Controller
{
// GET api/die
[HttpGet]
public IActionResult Get([FromQuery] int sides)
{
// If sides weren't... | using Microsoft.AspNetCore.Mvc;
using DiceApi.Core;
namespace DiceApi.WebApi.Controllers
{
[Route("api/[controller]")]
public class DieController : Controller
{
// GET api/die
[HttpGet]
public IActionResult Get([FromQuery] int sides)
{
if (sides == 0) {
... | mit | C# |
a7a22afa1f6961d4bcf2e5006c3529221b42cee7 | Improve comment | jmarolf/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,genlu/roslyn,diryboy/roslyn,physhi/roslyn,mavasani/roslyn,agocke/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,davkean/roslyn,agocke/roslyn,tannergooding/roslyn,AmadeusW/roslyn,nguerrera/roslyn,sharwell/roslyn,reaction1989/ro... | src/Features/Core/Portable/Diagnostics/IBuiltInAnalyzer.cs | src/Features/Core/Portable/Diagnostics/IBuiltInAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Diagnostics
{
/// <summary>
/// This interface is a marker for all the analyzers that are built in.
/// We will ... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Diagnostics
{
/// <summary>
/// This interface is a marker for all the analyzers that are built in.
/// We will ... | mit | C# |
e332709740d0b44fe60aa5bfedf0f2d59accdb29 | Undo accidental sample change | Deadpikle/NetSparkle,Deadpikle/NetSparkle | src/NetSparkle.Samples.NetFramework.WPF/MainWindow.xaml.cs | src/NetSparkle.Samples.NetFramework.WPF/MainWindow.xaml.cs | using NetSparkleUpdater.SignatureVerifiers;
using System.Drawing;
using System.Windows;
namespace NetSparkleUpdater.Samples.NetFramework.WPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private SparkleUpdater _sparkle;
... | using NetSparkleUpdater.SignatureVerifiers;
using System.Drawing;
using System.Windows;
namespace NetSparkleUpdater.Samples.NetFramework.WPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private SparkleUpdater _sparkle;
... | mit | C# |
b142fbbba4eba23926956e04418ade9cf62162de | add documentation for NeedsUpdate event. | AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,grokys/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Aval... | src/Avalonia.Controls/NativeMenu.cs | src/Avalonia.Controls/NativeMenu.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using Avalonia.Collections;
using Avalonia.Metadata;
namespace Avalonia.Controls
{
public partial class NativeMenu : AvaloniaObject, IEnumerable<NativeMenuItemBase>, INativeMenuExporterEventsImplBridge
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using Avalonia.Collections;
using Avalonia.Metadata;
namespace Avalonia.Controls
{
public partial class NativeMenu : AvaloniaObject, IEnumerable<NativeMenuItemBase>, INativeMenuExporterEventsImplBridge
... | mit | C# |
187c201f9e2af3f570e2f2d0965630381d6e5f84 | Rename Error category to Danger | Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger | src/HtmlLogger/Model/LogCategory.cs | src/HtmlLogger/Model/LogCategory.cs | namespace HtmlLogger.Model
{
public enum LogCategory
{
Info,
Warning,
Danger
}
} | namespace HtmlLogger.Model
{
public enum LogCategory
{
Info,
Warning,
Error
}
} | mit | C# |
343d4fb7d4f8dafbedd70950a7f835f80237151d | Update (#218) | InPvP/MiNET,yungtechboy1/MiNET | src/MiNET/MiNET/Net/PlayerAction.cs | src/MiNET/MiNET/Net/PlayerAction.cs | namespace MiNET.Net
{
public enum PlayerAction
{
StartBreak = 0,
AbortBreak = 1,
StopBreak = 2,
ReleaseItem = 5,
StopSleeping = 6,
Respawn = 7,
Jump = 8,
StartSprint = 9,
StopSprint = 10,
StartSneak = 11,
StopSneak = 12,
DimensionChange = 13,
AbortDimensionChange = 14,
WorldImmutable = 17... | namespace MiNET.Net
{
public enum PlayerAction
{
StartBreak = 0,
AbortBreak = 1,
StopBreak = 2,
ReleaseItem = 5,
StopSleeping = 6,
Respawn = 7,
Jump = 8,
StartSprint = 9,
StopSprint = 10,
StartSneak = 11,
StopSneak = 12,
DimensionChange = 13,
AbortDimensionChange = 14,
WorldImmutable = 15... | mpl-2.0 | C# |
cec7251bc3c1c5fb5d32704e144bc55361beae86 | Update default rendering partial view | marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimingt... | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | @inherits UmbracoViewPage<BlockListModel>
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) { continue; }
var data = layout.Data;
... | @inherits UmbracoViewPage<BlockListModel>
@using ContentModels = Umbraco.Web.PublishedModels;
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) {... | mit | C# |
6a7d43341bcbd948fecea504309b422b4008a113 | Remove unused variable | attemoi/MoistureBot | Addins/UrlInfo/UrlInfo.cs | Addins/UrlInfo/UrlInfo.cs | using System;
using Mono.Addins;
using MoistureBot;
using System.Text.RegularExpressions;
using MoistureBot.Model;
namespace MoistureBot
{
public class UrlInfo : IReceiveFriendChatMessages, IReceiveGroupChatMessages
{
IMoistureBot Bot;
IContext Context;
[Provide]
public UrlI... | using System;
using Mono.Addins;
using MoistureBot;
using System.Text.RegularExpressions;
using MoistureBot.Model;
namespace MoistureBot
{
public class UrlInfo : IReceiveFriendChatMessages, IReceiveGroupChatMessages
{
IMoistureBot Bot;
IContext Context;
[Provide]
public UrlI... | mit | C# |
554fec1447a2e0d54f8557ea299cda75f99379c6 | Fix response helper when no content is present | rocky0904/mozu-dotnet,Mozu/mozu-dotnet,sanjaymandadi/mozu-dotnet,ezekielthao/mozu-dotnet | SDK/Mozu.Api/Utilities/ResponseHelper.cs | SDK/Mozu.Api/Utilities/ResponseHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Mozu.Api.Utilities
{
public class ResponseHelper
{
public static void EnsureSuccess(Htt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Mozu.Api.Utilities
{
public class ResponseHelper
{
public static void EnsureSuccess(Htt... | mit | C# |
4ec75f3cbc7567ef0e7d000b83782150119d3477 | Repair ZOI calculation | MPrtenjak/SLOTax | SharedService/Services/ProtectiveMark.cs | SharedService/Services/ProtectiveMark.cs | // <copyright file="ProtectiveMark.cs" company="MNet">
// Copyright (c) Matjaz Prtenjak All rights reserved.
// </copyright>
// <author>Matjaz Prtenjak</author>
//-----------------------------------------------------------------------
using System.Security.Cryptography;
using System.Text;
using System.Xml;
using ... | // <copyright file="ProtectiveMark.cs" company="MNet">
// Copyright (c) Matjaz Prtenjak All rights reserved.
// </copyright>
// <author>Matjaz Prtenjak</author>
//-----------------------------------------------------------------------
using System.Security.Cryptography;
using System.Text;
using System.Xml;
using ... | mit | C# |
9936ba256836e849682307af766a5fcce7937a41 | Set Message.Recoverable to true | shailendrabirthare/snowplow-dotnet-tracker,snowplow/snowplow-dotnet-tracker,yonglehou/snowplow-dotnet-tracker | Snowplow.Tracker/Emitters/MsmqEmitter.cs | Snowplow.Tracker/Emitters/MsmqEmitter.cs | /*
* MsmqEmitter.cs
*
* Copyright (c) 2014 Snowplow Analytics Ltd. All rights reserved.
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License
* Version 2.0. You may obtain a copy of the Apache License Version 2.0 at
... | /*
* MsmqEmitter.cs
*
* Copyright (c) 2014 Snowplow Analytics Ltd. All rights reserved.
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License
* Version 2.0. You may obtain a copy of the Apache License Version 2.0 at
... | apache-2.0 | C# |
a918ecc4a12e84318eafd6116212bc267b15afb6 | Implement the leading documentation trivia method | Rhaeo/Rhaeo.Roslyn | Sources/Rhaeo.Roslyn/RoslynExtensions.cs | Sources/Rhaeo.Roslyn/RoslynExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RoslynExtensions.cs" company="Rhaeo.org">
// Licenced under the MIT license.
// </copyright>
// <summary>
// Defines the RoslynExtensions type.
// </summary>
// --------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RoslynExtensions.cs" company="Rhaeo.org">
// Licenced under the MIT license.
// </copyright>
// <summary>
// Defines the RoslynExtensions type.
// </summary>
// --------------... | mit | C# |
39c05d4a591302ceb8bb6ff65c615bf33ea3628d | Add OS and Version information to telemetry | nachmore/unBand,jehy/unBand | src/unBand/Telemetry.cs | src/unBand/Telemetry.cs | using Microsoft.ApplicationInsights;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unBand
{
public static class Telemetry
{
public static TelemetryClient Client {get; private set;}
static Telemetry()
{
... | using Microsoft.ApplicationInsights;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unBand
{
public static class Telemetry
{
public static TelemetryClient Client {get; private set;}
static Telemetry()
{
... | mit | C# |
9d40a4b040e6b4a22a36dd8815e1aa1363733134 | Disable unused parameter | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/TestableRpcService.cs | WalletWasabi.Tests/TestableRpcService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Rpc;
namespace WalletWasabi.Tests
{
internal class TestableRpcService
{
public void UnpublishedProcedure()
{
}
[JsonRpcMethod("say")]
public string Echo(string text) => text;
[JsonRpcMethod("substract")]
public... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Rpc;
namespace WalletWasabi.Tests
{
internal class TestableRpcService
{
public void UnpublishedProcedure()
{
}
[JsonRpcMethod("say")]
public string Echo(string text) => text;
[JsonRpcMethod("substract")]
public... | mit | C# |
c56f59b9d133df772e6977e1a4839e7209c7b5b8 | Update ServiceCollectionExtensions.cs | khellang/nancy-bootstrapper-prototype | src/Nancy.AspNet/ServiceCollectionExtensions.cs | src/Nancy.AspNet/ServiceCollectionExtensions.cs | namespace Nancy.AspNet
{
using System;
using Microsoft.Extensions.DependencyInjection;
using Nancy.Bootstrappers.AspNet;
using Nancy.Core;
using Nancy.Core.Configuration;
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddNancy(this IServiceCollect... | namespace Nancy.AspNet
{
using System;
using Microsoft.Extensions.DependencyInjection;
using Nancy.Bootstrappers.AspNet;
using Nancy.Core;
using Nancy.Core.Configuration;
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddNancy(this IServiceCollect... | apache-2.0 | C# |
78ddd2cfeb63a66349a71c9511e5871d9eaa3257 | add UnixTimeStampToUtc() method | iolevel/peachpie-concept,iolevel/peachpie,iolevel/peachpie,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie | src/Peachpie.Runtime/Utilities/DateTimeUtils.cs | src/Peachpie.Runtime/Utilities/DateTimeUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pchp.Core.Utilities
{
public static class DateTimeUtils
{
/// <summary>
/// Time 0 in terms of Unix TimeStamp.
/// </summary>
public static readonly DateTime/*!*/UtcStartO... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pchp.Core.Utilities
{
public static class DateTimeUtils
{
/// <summary>
/// Time 0 in terms of Unix TimeStamp.
/// </summary>
public static readonly DateTime/*!*/UtcStartO... | apache-2.0 | C# |
61c8481d06244ff1259c5c2f0a25d9afcb6d75fd | Add X-ApiKey header to promote API. | lvermeulen/ProGet.Net | src/ProGet.Net/PackagePromotion/ProGetClient.cs | src/ProGet.Net/PackagePromotion/ProGetClient.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Flurl.Http;
using ProGet.Net.Common;
using ProGet.Net.PackagePromotion.Models;
// ReSharper disable CheckNamespace
namespace ProGet.Net
{
public partial class ProGetClient
{
private IFlurlClient GetPackagePromotionApiClient(string ... | using System.Collections.Generic;
using System.Threading.Tasks;
using Flurl.Http;
using ProGet.Net.Common;
using ProGet.Net.PackagePromotion.Models;
// ReSharper disable CheckNamespace
namespace ProGet.Net
{
public partial class ProGetClient
{
private IFlurlClient GetPackagePromotionApiClient(string ... | mit | C# |
514f6659fccc6ec5219c3810b3e13eaa81ec9d78 | Use TypeNameHelper instead of private method | khellang/Scrutor | src/Scrutor/MissingTypeRegistrationException.cs | src/Scrutor/MissingTypeRegistrationException.cs | using System;
using Microsoft.Extensions.Internal;
namespace Scrutor
{
public class MissingTypeRegistrationException : InvalidOperationException
{
public MissingTypeRegistrationException(Type serviceType)
: base($"Could not find any registered services for type '{TypeNameHelper.GetTypeDispl... | using System;
using System.Linq;
using System.Reflection;
namespace Scrutor
{
public class MissingTypeRegistrationException : InvalidOperationException
{
public MissingTypeRegistrationException(Type serviceType)
: base($"Could not find any registered services for type '{GetFriendlyName(serv... | mit | C# |
fbd8884944da3f1415e101745f7e330604536472 | Fix routing tests, we DO need a database for these | Door3Dev/HRI-Umbraco,arknu/Umbraco-CMS,tompipe/Umbraco-CMS,Phosworks/Umbraco-CMS,MicrosoftEdge/Umbraco-CMS,VDBBjorn/Umbraco-CMS,Tronhus/Umbraco-CMS,WebCentrum/Umbraco-CMS,corsjune/Umbraco-CMS,christopherbauer/Umbraco-CMS,ordepdev/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,lars-erik/Umbraco-CMS,lingxyd/Umbraco-CMS,arvaris/HR... | src/Umbraco.Tests/Routing/LookupByAliasTests.cs | src/Umbraco.Tests/Routing/LookupByAliasTests.cs | using NUnit.Framework;
using Umbraco.Tests.TestHelpers;
using Umbraco.Web.Routing;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.template;
namespace Umbraco.Tests.Routing
{
[TestFixture]
public class LookupByAliasTests : BaseRoutingTest
{
public override void Initialize()
{
base.I... | using NUnit.Framework;
using Umbraco.Tests.TestHelpers;
using Umbraco.Web.Routing;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.template;
namespace Umbraco.Tests.Routing
{
[TestFixture]
public class LookupByAliasTests : BaseRoutingTest
{
public override void Initialize()
{
base.I... | mit | C# |
530c8bfac01026510d929f5f90d70955ce50e5be | implement ISequenced | Pondidum/Ledger,Pondidum/Ledger | Ledger/DomainEvent.cs | Ledger/DomainEvent.cs | namespace Ledger
{
public class DomainEvent : ISequenced
{
public int SequenceID { get; set; }
}
}
| namespace Ledger
{
public class DomainEvent
{
public int SequenceID { get; set; }
}
}
| lgpl-2.1 | C# |
3a9750caa1c5c7b3abe1b5719ded97cd4bfc1b14 | Remove WrapValueToClass | ufcpp/UniRx,cruwel/UniRx,endo0407/UniRx,OC-Leon/UniRx,cruwel/UniRx,OrangeCube/UniRx,ataihei/UniRx,ppcuni/UniRx,kimsama/UniRx,m-ishikawa/UniRx,cruwel/UniRx,saruiwa/UniRx,TORISOUP/UniRx,neuecc/UniRx | Assets/UniRx/Scripts/UnityEngineBridge/AotSafeExtensions.cs | Assets/UniRx/Scripts/UnityEngineBridge/AotSafeExtensions.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace UniRx
{
public static class AotSafeExtensions
{
public static IEnumerable<T> AsSafeEnumerable<T>(this IEnumerable<T> source)
{
var e = ((IEnumerable)source).GetEnumerator();
using (e as ... | using System;
using System.Collections;
using System.Collections.Generic;
namespace UniRx
{
public static class AotSafeExtensions
{
public static IEnumerable<T> AsSafeEnumerable<T>(this IEnumerable<T> source)
{
var e = ((IEnumerable)source).GetEnumerator();
using (e as ... | mit | C# |
3dce59e70b5244437511f1b3fb490ff837b438be | Load Asset from Base64 | Thundernerd/Unity3D-ExtendedEditor,Miguel-Barreiro/ExtendedEditor,Thundernerd/ExtendedEditor,Miguel-Barreiro/ExtendedEditor,Thundernerd/ExtendedEditor,Miguel-Barreiro/ExtendedEditor,Thundernerd/ExtendedEditor | ExtendedEditor/Assets/ExtendedEditor/Core/ExtendedAssets.cs | ExtendedEditor/Assets/ExtendedEditor/Core/ExtendedAssets.cs | #if UNITY_EDITOR
using System.Collections.Generic;
using System.IO;
using TNRD.Json;
using UnityEngine;
namespace TNRD.Editor.Core {
public class ExtendedAssets {
[JsonIgnore]
private Dictionary<string, Texture2D> textures;
[JsonProperty]
private string path;
public ExtendedAssets() {
textures = new D... | #if UNITY_EDITOR
using System.Collections.Generic;
using System.IO;
using TNRD.Json;
using UnityEngine;
namespace TNRD.Editor.Core {
public class ExtendedAssets {
[JsonIgnore]
private Dictionary<string, Texture2D> textures;
[JsonProperty]
private string path;
public ExtendedAssets() {
textures = new D... | mit | C# |
a938af39bdde0b47a0db684327359d86991b521d | Make EvaluationResult.Empty readonly. | Unity-Technologies/debugger-libs,joj/debugger-libs,joj/debugger-libs,mono/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs | Mono.Debugging/Mono.Debugging.Backend/IObjectValueSource.cs | Mono.Debugging/Mono.Debugging.Backend/IObjectValueSource.cs | // IObjectValueSource.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Sof... | // IObjectValueSource.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Sof... | mit | C# |
65bf92dbee3c697397ae3535fd7b6e2a18b35d26 | Fix label/input binding in attachment form | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac | templates/attachment.cs | templates/attachment.cs | <?cs include "header.cs" ?>
<?cs include "macros.cs" ?>
<div id="page-content">
<h3>Add Attachment to
<a href="<?cs var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
<div id="main">
<div id="main-content">
<fieldset>
<form action="<?cs var:cgi_location ?>" method="post"
enc... | <?cs include "header.cs" ?>
<?cs include "macros.cs" ?>
<div id="page-content">
<h3>Add Attachment to
<a href="<?cs var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
<div id="main">
<div id="main-content">
<fieldset>
<form action="<?cs var:cgi_location ?>" method="post"
enc... | bsd-3-clause | C# |
829ed16517944bf9fdb461e582187d21eccf3c82 | Improve message. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | src/HelloCoreClrApp/Health/CpuMonitor.cs | src/HelloCoreClrApp/Health/CpuMonitor.cs | using System;
using System.Diagnostics;
using Serilog;
namespace HelloCoreClrApp.Health
{
public class CpuMonitor: IMonitor
{
private static readonly ILogger Log = Serilog.Log.ForContext<CpuMonitor>();
public void LogUsage()
{
var runningTime = DateTime.Now - Process.GetCu... | using System;
using System.Diagnostics;
using Serilog;
namespace HelloCoreClrApp.Health
{
public class CpuMonitor: IMonitor
{
private static readonly ILogger Log = Serilog.Log.ForContext<CpuMonitor>();
public void LogUsage()
{
var runningTime = DateTime.Now - Process.GetCu... | mit | C# |
737b410246af8d989b83a957f6ff0c86e83b0f2d | Fix an error with console client test | SoftuniTeamBlackOlive/SupermarketChain,SoftuniTeamBlackOlive/SupermarketChain | SupermarketChain/SupermarketChain.Client.Console/Program.cs | SupermarketChain/SupermarketChain.Client.Console/Program.cs | namespace SupermarketChain.Client.Console
{
using System;
using System.Linq;
using SupermarketChain.Data.SqlServer;
using SupermarketChain.Model;
using SupermarketChain.Data.SqlServer.Repositories;
class Program
{
static void Main(string[] args)
{
// Testing Su... | namespace SupermarketChain.Client.Console
{
using System;
using System.Linq;
using SupermarketChain.Data.SqlServer;
using SupermarketChain.Model;
using SupermarketChain.Data.SqlServer.Repositories;
class Program
{
static void Main(string[] args)
{
// Testing Su... | mit | C# |
96e9da314181ca3152b3d2cc3ab0e36bec45a894 | Update Layout to Use Editable Popovers | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Views/Shared/_Layout.cshtml | Portal.CMS.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en-gb">
<head>
<title>@SettingHelper.Get("Website Name"): @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="description" content="@SettingHelper.Get("Description Meta Tag")">
@RenderSe... | <!DOCTYPE html>
<html lang="en-gb">
<head>
<title>@SettingHelper.Get("Website Name"): @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="description" content="@SettingHelper.Get("Description Meta Tag")">
@RenderSe... | mit | C# |
941037985fd5fa0b801d04289e32a6c8bde39d0e | update version number | hillin/ue4launcher | ProjectLauncher/Properties/AssemblyInfo.cs | ProjectLauncher/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ProjectLauncher")]
... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ProjectLauncher")]
... | apache-2.0 | C# |
f3884d0cd323358a3a89603d251577d7a1757e55 | Use RVA instead of file offset | ZixiangBoy/dnlib,ilkerhalil/dnlib,kiootic/dnlib,modulexcite/dnlib,0xd4d/dnlib,jorik041/dnlib,yck1509/dnlib,Arthur2e5/dnlib,picrap/dnlib | dot10/dotNET/DotNetFile.cs | dot10/dotNET/DotNetFile.cs | using System;
using System.Collections.Generic;
using System.IO;
using dot10.PE;
namespace dot10.dotNET {
public class DotNetFile {
public static DotNetFile Load(string filename) {
return Load(new PEImage(filename));
}
public static DotNetFile Load(byte[] data) {
return Load(new PEImage(data));
}
p... | using System;
using System.Collections.Generic;
using System.IO;
using dot10.PE;
namespace dot10.dotNET {
public class DotNetFile {
public static DotNetFile Load(string filename) {
return Load(new PEImage(filename));
}
public static DotNetFile Load(byte[] data) {
return Load(new PEImage(data));
}
p... | mit | C# |
99ec98681b3142d21b47d64ee8d26a1b5e62fd2c | Split ctor for the future. See #14. | saidmarouf/Doccou,aloisdg/Doccou,aloisdg/CountPages | Counter/Document.cs | Counter/Document.cs | using Counter.Documents;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Counter.Documents.Archives;
namespace Counter
{
/// <summary>
/// Document is the class wrapping every other class in this library.
/// If you are an user, everything you need come from her... | using Counter.Documents;
using System;
using System.Collections.Generic;
using System.IO;
using Counter.Documents.Archives;
namespace Counter
{
/// <summary>
/// Document is the class wrapping every other class in this library.
/// If you are an user, everything you need come from here.
/// </summary>
public cla... | mit | C# |
422218898d2fb6d33e1eea582a14d23eacde8ce6 | Update Program.cs | heinrichelsigan/TwitterTestLogon | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TwitterTestLogon
{
static class Program
{
/// <summary>
/// The main entry point for every windows forms C# .NET application.
/// </summary>
[STAThread]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TwitterTestLogon
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
... | apache-2.0 | C# |
cc97fabe906e0ac09361f57243fbc926e02ec2fa | Add cancellation field to progress object. | dbarowy/Depends | Depends/Progress.cs | Depends/Progress.cs | using System;
using System.Threading;
namespace Depends
{
public delegate void ProgressBarIncrementer();
public class Progress
{
private bool _cancelled = false;
private long _total = 0;
private ProgressBarIncrementer _progBarIncr;
private long _workMultiplier = 1;
... | using System;
using System.Threading;
namespace Depends
{
public delegate void ProgressBarIncrementer();
public class Progress
{
private long _total = 0;
private ProgressBarIncrementer _progBarIncr;
private long _workMultiplier = 1;
public static Progress NOPProgress()
... | bsd-2-clause | C# |
0c25812d5ff57d339b51490430594277842e83bc | Implement TextWriterCustomization#Customize | appharbor/appharbor-cli | src/AppHarbor.Tests/TextWriterCustomization.cs | src/AppHarbor.Tests/TextWriterCustomization.cs | using System;
using System.IO;
using Ploeh.AutoFixture;
namespace AppHarbor.Tests
{
public class TextWriterCustomization : ICustomization
{
public void Customize(IFixture fixture)
{
fixture.Customize<TextWriter>(x => x.FromFactory(() => { return Console.Out; }));
}
}
}
| using System;
using Ploeh.AutoFixture
namespace AppHarbor.Tests
{
public class TextWriterCustomization : ICustomization
{
public void Customize(IFixture fixture)
{
throw new NotImplementedException();
}
}
}
| mit | C# |
44b38d9de0e8c4d0725214b5ab8f554820fed0c6 | Update DataValidationRules.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-sh... | Examples/CSharp/Articles/DataValidationRules.cs | Examples/CSharp/Articles/DataValidationRules.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Articles
{
public class DataValidationRules
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetD... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Articles
{
public class DataValidationRules
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection... | mit | C# |
317ba6469502b224bce354375f2f935ff1a99d71 | remove region | alexrster/SAML2,elerch/SAML2 | src/SAML2/Config/HttpAuthCredentialsElement.cs | src/SAML2/Config/HttpAuthCredentialsElement.cs | using System.Configuration;
namespace SAML2.Config
{
/// <summary>
/// Http Basic Authentication configuration element.
/// </summary>
public class HttpAuthCredentialsElement
{
/// <summary>
/// Gets or sets the username.
/// </summary>
/// <value>The username.</va... | using System.Configuration;
namespace SAML2.Config
{
/// <summary>
/// Http Basic Authentication configuration element.
/// </summary>
public class HttpAuthCredentialsElement
{
#region Attributes
/// <summary>
/// Gets or sets the username.
/// </summary>
/... | mpl-2.0 | C# |
64089bebf6dc6bb373ccf22979fd7afa011cf829 | Fix comment | Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module | Activities/ManagePersonsPermissionCheckerTask.cs | Activities/ManagePersonsPermissionCheckerTask.cs | using Lombiq.TrainingDemo.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
using OrchardCore.Users.Models;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using OrchardCore.Workflows.Models;
using O... | using Lombiq.TrainingDemo.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using OrchardCore.Users.Models;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using O... | bsd-3-clause | C# |
e48df9813475da052b78dbeb78f35e92836bf653 | Update Program.cs | royalsapper/GuessNum | GuessNum/Program.cs | GuessNum/Program.cs | // GuessNum Created by Kim Ju-hwan
// jaiuer@hotmail.com
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GuessNum
{
class Program
{
static void Main(string[] args)
{
Random randint = new Random();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GuessNum
{
class Program
{
static void Main(string[] args)
{
Random randint = new Random();
int i = (int)Math.Round(randint.NextDouble() * 1000,... | mit | C# |
af64d3c316b3e847ec4ecd0256973ec9599e1049 | Fix in SensorDataContract | Azure/connectthedots,BretStateham/connectthedots,jomolinare/connectthedots,HydAu/ConnectTheDots2,noopkat/connectthedots,BretStateham/connectthedots,ZingPow/connectthedots,HydAu/ConnectTheDots2,Azure/connectthedots,jeffwilcox/connectthedots,Azure/connectthedots,zack076/connectthedots,noopkat/connectthedots,BretStateham/... | Devices/Gateways/GatewayService/Gateway/Models/SensorDataContract.cs | Devices/Gateways/GatewayService/Gateway/Models/SensorDataContract.cs | using System.Runtime.Serialization;
namespace Gateway.Models
{
[DataContract]
public class SensorDataContract
{
[DataMember(Name = "Value")]
public double Value { get; set; }
[DataMember(Name = "GUID")]
public int Guid { get; set; }
[DataMember(Name = "Organizatio... | using System.Runtime.Serialization;
namespace Gateway.Models
{
[DataContract]
public class SensorDataContract
{
[DataMember(Name = "Value")]
public double Value { get; set; }
[DataMember(Name = "GUID")]
public int Guid { get; set; }
[DataMember(Name = "Organizatio... | mit | C# |
cbb1176d831a620b076725c16f3be081cd03e4aa | Fix RemoteModManager implementation | asarium/FSOLauncher | Libraries/ModInstallation/Implementations/DefaultRemoteModManager.cs | Libraries/ModInstallation/Implementations/DefaultRemoteModManager.cs | #region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ModInstallation.Interfaces;
using ModInstallation.Interfaces.Mods;
using ModInstallation.Util;
#endregion
namespace ModInstallation.I... | #region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ModInstallation.Interfaces;
using ModInstallation.Interfaces.Mods;
using ModInstallation.Util;
#endregion
namespace ModInstallation.I... | mit | C# |
f44b8fdb5de03426ae42abd3915ffeea804a697a | change dbContext and ModelsFactory fields in CommandsFactory to readonly | olebg/Movie-Theater-Project | MovieTheater/MovieTheater.Framework/Core/Commands/CommandsFactory.cs | MovieTheater/MovieTheater.Framework/Core/Commands/CommandsFactory.cs | using System;
using Bytes2you.Validation;
using MovieTheater.Data;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Models.Factory.Contracts;
namespace MovieTheater.Framework.Core.Commands
{
public class CommandsFactory : ICommandsFactory
{
private readonly MovieTheaterDbContex... | using System;
using Bytes2you.Validation;
using MovieTheater.Data;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Models.Factory.Contracts;
namespace MovieTheater.Framework.Core.Commands
{
public class CommandsFactory : ICommandsFactory
{
private MovieTheaterDbContext dbConte... | mit | C# |
5d820efbe3aa637d90d635a1fdf42ab5c3da6fd3 | Fix formatting of dates when the year comes first (JP) | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Win/Extensions/DateTimeExtensions.cs | MultiMiner.Win/Extensions/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
public static class DateTimeExtensions
{
public static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateString = dateTime.ToShortDateString();
... | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
static class DateTimeExtensions
{
public static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateValue = dateTime.ToShortDateString();
... | mit | C# |
8028ee5125607af7a48ac4802fa3aa005f85b9f8 | Tweak select list for eval edit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Evaluations/Edit.cshtml | Battery-Commander.Web/Views/Evaluations/Edit.cshtml | @model Evaluation
@using (Html.BeginForm("Save", "Evaluations", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.HiddenFor(model => model.Status)
@Html.ValidationSummary()
<div class="form-group form-group-lg"... | @model Evaluation
@using (Html.BeginForm("Save", "Evaluations", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.HiddenFor(model => model.Status)
@Html.ValidationSummary()
<div class="form-group form-group-lg"... | mit | C# |
4db8728f3b94f2c3b065fad63acdab80419de89c | Fix Build | drasticactions/AwfulForumsLibrary | AwfulForumsLibrary/Entity/ForumCategoryEntity.cs | AwfulForumsLibrary/Entity/ForumCategoryEntity.cs | using System.Collections.Generic;
using Newtonsoft.Json;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace AwfulForumsLibrary.Entity
{
public class ForumCategoryEntity
{
public ForumCategoryEntity()
{
ForumList = new List<ForumEntity>();
}
... | using System.Collections.Generic;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace AwfulForumsLibrary.Entity
{
public class ForumCategoryEntity
{
public ForumCategoryEntity()
{
ForumList = new List<ForumEntity>();
}
public string Name { ... | mit | C# |
611ca9dbae063e89f34e25378ef2f75531d6ac9f | Update Bootstrap.cs | CosmosOS/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,fanoI/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos | source/Cosmos.HAL2/Bootstrap.cs | source/Cosmos.HAL2/Bootstrap.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.Core;
namespace Cosmos.HAL {
// This and Core.Bootstrap are static on purpose to prevent
// memalloc. Although kernel has already used it, in the future we should call this pre kernel alloc so we
// can bet... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.Core;
namespace Cosmos.HAL {
// This and Core.Bootstrap are static on purpose to prevent
// memalloc. Alhtough kernel has already used it, in the future we should call this pre kernel alloc so we
// can bet... | bsd-3-clause | C# |
340fd88a27e90307f61a6a9affb2d96c0bad9c95 | Remove test message | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement | Commencement.Mvc/Views/Shared/_StudentLayout.cshtml | Commencement.Mvc/Views/Shared/_StudentLayout.cshtml | @using Commencement.Core.Domain
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Commencement</title>
<script src="https://use.typekit.net/vqy0brq.js"></script>
<script>try{Typekit.load();}c... | @using Commencement.Core.Domain
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Commencement</title>
<script src="https://use.typekit.net/vqy0brq.js"></script>
<script>try{Typekit.load();}c... | mit | C# |
65ce927eb847b0fb89df13adb0de26b6d029d656 | add comment | toannvqo/dnn_publish | GitDemo/GitDemo/Program.cs | GitDemo/GitDemo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitDemo
{
class Program
{
static void Main(string[] args)
{
//comment
Console.WriteLine("hello world world world!");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hello world world world!");
}
}
}
| mit | C# |
af06fd44bcc67ecb1e496d7e97aa35e44f90636e | Fix component Loader | Marusyk/SmartVillageOnline,Marusyk/SmartVillageOnline | SV.Common/DependencyResolver/ComponentLoader.cs | SV.Common/DependencyResolver/ComponentLoader.cs | using System;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using System.Reflection;
using System.Text;
using DependencyResolution.Implementations;
using DependencyResolution.Interfaces;
using Microsoft.Practices.Unity;
namespace Depe... | using System;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using System.Reflection;
using System.Text;
using DependencyResolution.Implementations;
using DependencyResolution.Interfaces;
using Microsoft.Practices.Unity;
namespace Depe... | mit | C# |
85076a16c3514b2af7127f923a84d9cdd72800b7 | Make IFileInfo return our types | Haacked/Rothko | src/Infrastructure/IFileInfo.cs | src/Infrastructure/IFileInfo.cs | using System.IO;
using System.Security.AccessControl;
namespace Rothko
{
public interface IFileInfo : IFileSystemInfo
{
IDirectoryInfo Directory { get; }
string DirectoryName { get; }
bool IsReadOnly { get; set; }
long Length { get; }
StreamWriter AppendText();
... | using System.IO;
using System.Security.AccessControl;
namespace Rothko
{
public interface IFileInfo : IFileSystemInfo
{
DirectoryInfo Directory { get; }
string DirectoryName { get; }
bool IsReadOnly { get; set; }
long Length { get; }
StreamWriter AppendText();
... | mit | C# |
f5140d99331eaa8c80c166d75ad430033951cf9f | test 20180425 | DigitalPlatform/chord,DigitalPlatform/chord,renyh1013/chord,renyh1013/chord,DigitalPlatform/chord,renyh1013/chord | dp2Tools/Program.cs | dp2Tools/Program.cs | // 20180514 test2
//test juan
//test juan 20180414
//test juan 20180414 16
//test juan 20180425
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace dp2Tools
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。... | // 20180514 test2
//test juan
//test juan 20180414
//test juan 20180414 16
// test jane 16:27
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace dp2Tools
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
... | apache-2.0 | C# |
6af601c022eaa781e284d204f35681c44e4f61d8 | Fix issue on possible null reference. | Talagozis/Talagozis.Website,Talagozis/Talagozis.Website,Talagozis/Talagozis.Website | Talagozis.Website/Controllers/BaseController.cs | Talagozis.Website/Controllers/BaseController.cs | using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Talagozis.Website.Controllers
{
public abstract class BaseController : Controller
{
public override void OnActionExecuting(ActionExecutingContext context)
{
this.ViewBag.startTime = Date... | using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Talagozis.Website.Controllers
{
public abstract class BaseController : Controller
{
public override void OnActionExecuting(ActionExecutingContext context)
{
this.ViewBag.startTime = Date... | mit | C# |
65082785c8e8ab6211766150616fae327d4adfc4 | Update the background setting algorithm (#128) | ForNeVeR/wpf-math | src/WpfMath/Atoms/StyledAtom.cs | src/WpfMath/Atoms/StyledAtom.cs | using System.Windows.Media;
using WpfMath.Boxes;
namespace WpfMath.Atoms
{
// Atom specifying graphical style.
internal class StyledAtom : Atom, IRow
{
public StyledAtom(SourceSpan source, Atom atom, Brush backgroundColor, Brush foregroundColor)
: base(source)
{
this... | using System.Windows.Media;
using WpfMath.Boxes;
namespace WpfMath.Atoms
{
// Atom specifying graphical style.
internal class StyledAtom : Atom, IRow
{
public StyledAtom(SourceSpan source, Atom atom, Brush backgroundColor, Brush foregroundColor)
: base(source)
{
this... | mit | C# |
9ad519dc8f5227aa4bcc904a04db9b874fbb2379 | Modify sample code | SIROK/growthbeat-unity,SIROK/growthbeat-unity,growthbeat/growthbeat-unity,growthbeat/growthbeat-unity | sample/Assets/GrowthbeatComponent.cs | sample/Assets/GrowthbeatComponent.cs | //
// GrowthbeatComponent.cs
// Growthbeat-unity
//
// Created by Baekwoo Chung on 2015/06/15.
// Copyright (c) 2015年 SIROK, Inc. All rights reserved.
//
using UnityEngine;
using System.Collections;
#if UNITY_IPHONE
using NotificationServices = UnityEngine.iOS.NotificationServices;
#endif
public class Growthbeat... | //
// GrowthbeatComponent.cs
// Growthbeat-unity
//
// Created by Baekwoo Chung on 2015/06/15.
// Copyright (c) 2015年 SIROK, Inc. All rights reserved.
//
using UnityEngine;
using System.Collections;
#if UNITY_IPHONE
using NotificationServices = UnityEngine.iOS.NotificationServices;
#endif
public class Growthbeat... | apache-2.0 | C# |
0bcde52d102051ab6f74549d2377fe390acdcb74 | Fix test page | svedm/SegmentedControl | Segments/TestPage.xaml.cs | Segments/TestPage.xaml.cs | using Xamarin.Forms;
namespace Segments
{
public partial class TestPage : ContentPage
{
public TestPage()
{
InitializeComponent();
segmentControl.AddSegment(new Label { Text="Green" }, new Label { Text="test", FontSize=10 });
segmentControl.AddSegment(new La... | using Xamarin.Forms;
namespace Segments
{
public partial class TestPage : ContentPage
{
public TestPage()
{
InitializeComponent();
segmentControl.AddSegment("Green");
segmentControl.AddSegment("Yellow");
segmentControl.AddSegment("Red");
... | mit | C# |
253f971a6a04dcdaa388359cf31c84e5948b109d | Update build.cake | predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins | Permissions/build.cake | Permissions/build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "NuGetPack"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Permissions.sln";
const string cfg = "Release";
NuGetRestore (sln);
... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Build"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Permissions.sln";
const string cfg = "Release";
NuGetRestore (sln);
if ... | mit | C# |
b789f6ff99cf06c4a24576df580ece6db20ba3ae | modify Notifer() | gKevinK/LearnTHU-UWP | Learn.THU/Model/Notifer.cs | Learn.THU/Model/Notifer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace LearnTHU.Model
{
static class Notifer
{
public static void Notify(NotifyEventArgs args)
{
if (ar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace LearnTHU.Model
{
static class Notifer
{
public static void Notify(string courseName, NotifyEventArgs args)
{... | mit | C# |
a79c651fc72bcbc9583c28c35caab8fe58458792 | Simplify AbstractGrammarSpec by replacing deprecated helper methods with a sample Lexer implementation | plioi/rook | Parsley.Test/CharLexer.cs | Parsley.Test/CharLexer.cs | namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: base(new Text(source), new TokenMatcher(typeof(char), @".")) { }
}
} | namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: this(new Text(source)) { }
public CharLexer(Text text)
: base(text, new TokenMatcher(typeof(char), @".")) { }
}
} | mit | C# |
a92e1ad72409fc031fd97bbda7dee30f18ac857f | Delete unused function, use TryGetValue | rytz/MatterControl,unlimitedbacon/MatterControl,tellingmachine/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterContr... | Utilities/WebUtilities/JsonResponseDictionary.cs | Utilities/WebUtilities/JsonResponseDictionary.cs | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | bsd-2-clause | C# |
d3d1fc808e86da2fe712dacb450cdec904634ef6 | Update assembly description | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using TweetDick;
using System.Resources;
// 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("... | using System.Reflection;
using System.Runtime.InteropServices;
using TweetDick;
using System.Resources;
// 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(P... | mit | C# |
016f2ce05ccdd7dc1a51cb029beb7ce32b9d6317 | Update Assembly Info details | mathomps/HandbrakeBatchEncoder | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ha... | 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("Ha... | mit | C# |
67dc7dfc363756cf4435750c507c567c57818b13 | rename refactor | Weingartner/XUnitRemote | XUnitRemote.Test/Tests.cs | XUnitRemote.Test/Tests.cs | using System.Diagnostics;
using Xunit;
using Xunit.Abstractions;
namespace XUnitRemote.Test
{
public class Tests
{
private readonly ITestOutputHelper _Output;
public Tests(ITestOutputHelper output)
{
_Output = output;
}
[SampleProcessFact]
public v... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security;
using System.Security.Permissions;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using XUnitRemote.Test;
namespace OutOfProcessXunitTest... | mit | C# |
57209dacac5110ac41b929d097e4ccce9778da1d | Update BradleyWyatt.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/BradleyWyatt.cs | src/Firehose.Web/Authors/BradleyWyatt.cs |
public class BradleyWyatt : IAmACommunityMember
{
public string FirstName => "Bradley";
public string LastName => "Wyatt";
public string ShortBioOrTagLine => "Finding ways to do the most work with the least effort possible";
public string StateOrRegion => "Chicago, Illinois";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class BradleyWyatt : IAmACommunityMember
{
public string FirstName => "Bradley";
public string L... | mit | C# |
e74665e55058c79becda81baa4055d1c78d5ae2b | Revert "Reacting to CLI breaking change" | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.DotNet.Watcher.Core/Internal/Implementation/Project.cs | src/Microsoft.DotNet.Watcher.Core/Internal/Implementation/Project.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.ProjectModel.Graph;
namespace Microsoft.DotNet.Watcher.Co... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.ProjectModel.Graph;
namespace Microsoft.DotNet.Watcher.Co... | apache-2.0 | C# |
362369a4ee75e4c52039c20e9d20eefba446cafd | add XML document to EnumerateTestCommands. | jwChung/Experimentalism,jwChung/Experimentalism | src/Experimental/TheoremAttribute.cs | src/Experimental/TheoremAttribute.cs | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
using Xunit.Sdk;
namespace Jwc.Experimental
{
/// <summary>
/// 테스트 메소드를 지칭하는 어트리뷰트로써, test runner에 의해 실행된다.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public sealed class TheoremAttribute : FactAttr... | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
using Xunit.Sdk;
namespace Jwc.Experimental
{
/// <summary>
/// 테스트 메소드를 지칭하는 어트리뷰트로써, test runner에 의해 실행된다.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public sealed class TheoremAttribute : FactAttr... | mit | C# |
fbb2fc58f507cf23e140230bd467f664374e68a6 | set default value for Value as Double in NumericControl | jpbruyere/Crow,jpbruyere/Crow | src/GraphicObjects/NumericControl.cs | src/GraphicObjects/NumericControl.cs | using System;
using System.Xml.Serialization;
using System.ComponentModel;
namespace Crow
{
public abstract class NumericControl : TemplatedControl
{
#region CTOR
public NumericControl () : base()
{
}
public NumericControl(double minimum, double maximum, double step)
: base()
{
}
#endregion
#r... | using System;
using System.Xml.Serialization;
using System.ComponentModel;
namespace Crow
{
public abstract class NumericControl : TemplatedControl
{
#region CTOR
public NumericControl () : base()
{
}
public NumericControl(double minimum, double maximum, double step)
: base()
{
}
#endregion
#r... | mit | C# |
18ce8cb99cb43e5fee46d6a557eb81e326560b69 | Use new crypto utility to compare byte arrays | sbennett1990/signify.cs | SignifyCS/Verify.cs | SignifyCS/Verify.cs | /*
* Copyright (c) 2017 Scott Bennett <scottb@fastmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... | /*
* Copyright (c) 2017 Scott Bennett <scottb@fastmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... | isc | C# |
71a42feb7718cc0264ca0a1b5ad70eb0cc9a5c40 | Resolve TODO | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/AlexaModule.cs | src/LondonTravel.Site/AlexaModule.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Security.Claims;
using MartinCostello.LondonTravel.Site.Services;
using Microsoft.AspNetCore.Mvc;
namespace MartinCostello.LondonTr... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Security.Claims;
using MartinCostello.LondonTravel.Site.Services;
using Microsoft.AspNetCore.Mvc;
namespace MartinCostello.LondonTr... | apache-2.0 | C# |
ae4e7f609e06a8dd7303c0f144022fe55f609c53 | Remove code duplication | mysticfall/Alensia | Assets/Alensia/Core/UI/UIContainer.cs | Assets/Alensia/Core/UI/UIContainer.cs | using System.Collections.Generic;
using System.Linq;
using Alensia.Core.Common;
using UnityEngine;
namespace Alensia.Core.UI
{
public abstract class UIContainer : UIComponent, IContainer
{
public virtual IList<IComponent> Children => transform.GetChildren<IComponent>().ToList();
public overrid... | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Alensia.Core.UI
{
public abstract class UIContainer : UIComponent, IContainer
{
public virtual IList<IComponent> Children => transform.Cast<Transform>()
.Select(c => c.GetComponent<IComponent>())
.... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.