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 |
|---|---|---|---|---|---|---|---|---|
bf78f89f87837aaa39bea3b7f8c09c34d6b8baf5 | Fix incorrect used attribute | smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework/Localisation/LocalisableStringExtensions.cs | osu.Framework/Localisation/LocalisableStringExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace osu.Framework.Localisation
{
public static class LocalisableStringExtensions
{
/// <summary>
/// Returns a <see cref="Loc... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace osu.Framework.Localisation
{
public static class LocalisableStringExtensions
{
/// <summary>
/// Returns a <see cref="Loc... | mit | C# |
0c07787f8452548458a989664b4ba9ba45d03575 | Support drivers without a date of birth | Krusen/ErgastApi.Net | src/ErgastApi/Responses/Models/Driver.cs | src/ErgastApi/Responses/Models/Driver.cs | using System;
using Newtonsoft.Json;
namespace ErgastApi.Responses.Models
{
public class Driver
{
[JsonProperty("driverId")]
public string DriverId { get; private set; }
/// <summary>
/// Drivers who participated in the 2014 season onwards have a permanent driver number.
... | using System;
using Newtonsoft.Json;
namespace ErgastApi.Responses.Models
{
public class Driver
{
[JsonProperty("driverId")]
public string DriverId { get; private set; }
/// <summary>
/// Drivers who participated in the 2014 season onwards have a permanent driver number.
... | unlicense | C# |
37ad619372f1ac9c59957e537c39fdf0451e0ba9 | Fix failing integration test | jonnii/chinchilla | src/Chinchilla.Integration/Features/Messages/HelloWorldMessage.cs | src/Chinchilla.Integration/Features/Messages/HelloWorldMessage.cs | namespace Chinchilla.Integration.Features.Messages
{
public class HelloWorldMessage : IHasRoutingKey
{
public string Message { get; set; }
string IHasRoutingKey.RoutingKey
{
get { return "messages." + Message; }
}
}
} | namespace Chinchilla.Integration.Features.Messages
{
public class HelloWorldMessage : IHasRoutingKey
{
public string Message { get; set; }
public string RoutingKey
{
get { return "messages." + Message; }
}
}
} | apache-2.0 | C# |
e872b8bb2e67aa5ba357538381eacdf1c4e92d0c | Update DomainRepository to use T instead of IDomain | HighwayFramework/Highway.Data,ericburcham/Highway.Data | src/Highway.Data.EntityFramework/Repositories/DomainRepository.cs | src/Highway.Data.EntityFramework/Repositories/DomainRepository.cs | using Highway.Data.EventManagement;
namespace Highway.Data.Repositories
{
public class DomainRepository<T> : Repository, IDomainRepository<T>
where T : class, IDomain
{
private readonly EventManager<T> _eventManager;
public DomainRepository(IDomainContext<T> context, T domain)
... | using Highway.Data.EventManagement;
namespace Highway.Data.Repositories
{
public class DomainRepository<T> : Repository, IDomainRepository<T>
where T : class, IDomain
{
private readonly EventManager<T> _eventManager;
public DomainRepository(IDomainContext<T> context, IDomain domain)
... | mit | C# |
a039fced454067c79ae384696471a91728b1f542 | Fix template binding to width and height and use own NullToUnsetValueConverter | MahApps/MahApps.Metro.IconPacks | src/MahApps.Metro.IconPacks.Browser/Model/IconTemplateSelector.cs | src/MahApps.Metro.IconPacks.Browser/Model/IconTemplateSelector.cs | using MahApps.Metro.IconPacks.Browser.ViewModels;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Markup;
namespace MahApps.Metro.IconPacks.Browser.Model
{
public class IconTemplateSelector : DataTemplateSelector
{
const string DataTemplate_Tem... | using MahApps.Metro.IconPacks.Browser.ViewModels;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Markup;
namespace MahApps.Metro.IconPacks.Browser.Model
{
public class IconTemplateSelector : DataTemplateSelector
{
const string DataTemplate_Tem... | mit | C# |
e8c94636f3193f10d5c591bbdf31c8941feb84e5 | Update ProductInventoryValidationVisitor.cs | clausjensen/Merchello,clausjensen/Merchello,Merchello/Merchello,Merchello/Merchello,clausjensen/Merchello,Merchello/Merchello | src/Merchello.Web/Validation/ProductInventoryValidationVisitor.cs | src/Merchello.Web/Validation/ProductInventoryValidationVisitor.cs | namespace Merchello.Web.Validation
{
using System.Collections.Generic;
using Merchello.Core;
using Merchello.Core.Models;
using Umbraco.Core;
/// <summary>
/// Used to check for inventory quantities of product items in a line item collection.
/// </summary>
public class ProductInvent... | namespace Merchello.Web.Validation
{
using System.Collections.Generic;
using Merchello.Core;
using Merchello.Core.Models;
using Umbraco.Core;
/// <summary>
/// Used to check for inventory quantities of product items in a line item collection.
/// </summary>
public class ProductInvent... | mit | C# |
00a5902fbf49c37d81d470fc437432bca403611c | Fix typo in last commit | fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,nkreipk... | src/NHibernate/Linq/ExpressionTransformers/RemoveRedundantCast.cs | src/NHibernate/Linq/ExpressionTransformers/RemoveRedundantCast.cs | using System.Linq.Expressions;
using Remotion.Linq.Parsing.ExpressionTreeVisitors.Transformation;
namespace NHibernate.Linq.ExpressionTransformers
{
/// <summary>
/// Remove redundant casts to the same type or to superclass (upcast) in <see cref="ExpressionType.Convert"/>, <see cref=" ExpressionType.ConvertChe... | using System.Linq.Expressions;
using Remotion.Linq.Parsing.ExpressionTreeVisitors.Transformation;
namespace NHibernate.Linq.ExpressionTransformers
{
/// <summary>
/// Remove redundant casts to the same type or to superclass (upcast) in <see cref="ExpressionType.Convert"/>, <see cref=" ExpressionType.ConvertChe... | lgpl-2.1 | C# |
17908549a6db8656ae84f64c2c77bb2e60aec5c0 | Enforce azure signature to a low S | Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum | src/Nethereum.Signer.AzureKeyVault/AzureKeyVaultExternalSigner.cs | src/Nethereum.Signer.AzureKeyVault/AzureKeyVaultExternalSigner.cs | using System;
using System.Threading.Tasks;
using Microsoft.Azure.KeyVault;
using Nethereum.Signer.Crypto;
namespace Nethereum.Signer.AzureKeyVault
{
public class AzureKeyVaultExternalSigner : EthExternalSignerBase
{
public override ExternalSignerTransactionFormat ExternalSignerTransactionFormat { get... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
using Microsoft.Azure.KeyVault;
using Nethereum.RLP;
using Nethereum.Signer.Crypto;
namespace Nethereum.Signer.AzureKeyVault
{
public class AzureKeyVaultExternalSigner : EthExternalSignerBase
... | mit | C# |
f5ef4bb3e5546dc0abd09d89188cc91dd2e8ed6e | Support EventHub Consumer Groups in Script | fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | mit | C# |
dc31028a88b05f6d5f36d2996e4a6416945e83ca | Add Feed URI. | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/SergeyVasin.cs | src/Firehose.Web/Authors/SergeyVasin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class SergeyVasin : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Sergey";
... | 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 SergeyVasin : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Sergey";
... | mit | C# |
f24d3fc555f7ece9b2d371297cbcb03abf369b47 | Update WhereBuilder.cs | loresoft/FluentCommand | src/FluentCommand/Query/WhereBuilder.cs | src/FluentCommand/Query/WhereBuilder.cs | using FluentCommand.Query.Generators;
namespace FluentCommand;
public abstract class WhereBuilder<TBuilder> : StatementBuilder<TBuilder>
where TBuilder : WhereBuilder<TBuilder>
{
protected WhereBuilder(IQueryGenerator queryGenerator, List<QueryParameter> parameters, LogicalOperators logicalOperator = Logical... | using FluentCommand.Query.Generators;
namespace FluentCommand;
public abstract class WhereBuilder<TBuilder> : StatementBuilder<TBuilder>
where TBuilder : WhereBuilder<TBuilder>
{
protected WhereBuilder(IQueryGenerator queryGenerator, List<QueryParameter> parameters, LogicalOperators logicalOperator = Logical... | mit | C# |
a72a9274e88f10d32480f7bb5a71a15f66b784c9 | Fix mono support on startup. Bypass TopShelf service framework. | yungtechboy1/MiNET,uniaspiex/MiNET,InPvP/MiNET,MiPE-JP/RaNET,erichexter/MiNET,Vladik46/MiNET,Creeperface01/MiNET | src/MiNET/MiNET.Service/MiNetService.cs | src/MiNET/MiNET.Service/MiNetService.cs | using System;
using Topshelf;
namespace MiNET.Service
{
public class MiNetService
{
private MiNetServer _server;
private void Start()
{
_server = new MiNetServer();
_server.StartServer();
}
private void Stop()
{
_server.StopServer();
}
private static void Main(string[] args)
{
if (I... | using Topshelf;
namespace MiNET.Service
{
public class MiNetService
{
private MiNetServer _server;
private void Start()
{
_server = new MiNetServer();
_server.StartServer();
}
private void Stop()
{
_server.StopServer();
}
private static void Main(string[] args)
{
HostFactory.Run(hos... | mpl-2.0 | C# |
5eea4f613edc8a54743f9e8abc3c29d229b30fb0 | Fix NH-2695 | nhibernate/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,alobakov/nhibernate-core,nkreipke/nhibernate-core,... | src/NHibernate/Driver/FirebirdDriver.cs | src/NHibernate/Driver/FirebirdDriver.cs | namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the FirebirdSql.Data.Firebird DataProvider.
/// </summary>
public class FirebirdDriver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="FirebirdDriver"/> class.
/// </summary>
/// <exceptio... | namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the FirebirdSql.Data.Firebird DataProvider.
/// </summary>
public class FirebirdDriver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="FirebirdDriver"/> class.
/// </summary>
/// <exceptio... | lgpl-2.1 | C# |
13b6c7665672dbb4ea757d57571f5ba34a2cda9e | fix cookies | FirebrandTech/fcs-sdk-net,FirebrandTech/fcs-sdk-net,FirebrandTech/fcs-sdk-net | Src/Framework/IContext.cs | Src/Framework/IContext.cs | // Copyright © 2010-2015 Firebrand Technologies
using System;
using System.Web;
using System.Web.Security;
using ServiceStack;
using ServiceStack.Logging;
namespace Fcs.Framework {
public interface IContext {
string CurrentUserName { get; }
HttpCookie GetRequestCookie(string name);
void S... | // Copyright © 2010-2015 Firebrand Technologies
using System;
using System.Web;
using System.Web.Security;
using ServiceStack;
using ServiceStack.Logging;
namespace Fcs.Framework {
public interface IContext {
string CurrentUserName { get; }
HttpCookie GetRequestCookie(string name);
void S... | mit | C# |
94a46051148093d316530f025ff054ee71fc0db6 | Add host of additional equip option item properties | villermen/runescape-cache-tools,villermen/runescape-cache-tools | RuneScapeCacheTools/Model/ItemProperty.cs | RuneScapeCacheTools/Model/ItemProperty.cs | using Villermen.RuneScapeCacheTools.File;
namespace Villermen.RuneScapeCacheTools.Model
{
/// <summary>
/// The identifier for a parameter of an <see cref="ItemDefinitionFile" />.
/// </summary>
public enum ItemProperty
{
WeaponRange = 13,
Unbankable = 59,
EquipOption1 = 528... | using Villermen.RuneScapeCacheTools.File;
namespace Villermen.RuneScapeCacheTools.Model
{
/// <summary>
/// The identifier for a parameter of an <see cref="ItemDefinitionFile" />.
/// </summary>
public enum ItemProperty
{
WeaponRange = 13,
Unbankable = 59,
EquipOption1 = 528... | mit | C# |
8e00892329690ebd5038784971699f596d71267c | Remove service dump | xinmyname/CoreLiftoff,xinmyname/CoreLiftoff,xinmyname/CoreLiftoff | src/SampleBasicLogging/Bootstrapper.cs | src/SampleBasicLogging/Bootstrapper.cs | using Liftoff.Config;
using Liftoff.Logging;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace SampleBasicLogging
{
static class Bootstrapper
{
static void Main()
{
var configBuilder = new ConfigurationBuilder();
configB... | using System;
using Liftoff.Config;
using Liftoff.Logging;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace SampleBasicLogging {
class Bootstrapper {
static void Main(string[] args)
{
var configBuilder = new ConfigurationBuilder();
... | mit | C# |
8d2d18152125cc12af0293a028c573f0ada3ca28 | Fix better handling of track id | michael-reichenauer/GitMind | GitMind/Common/Tracking/Track.cs | GitMind/Common/Tracking/Track.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using Microsoft.ApplicationInsights;
using Microsoft.Win32;
namespace GitMind.Common.Tracking
{
public static class Track
{
private static readonly string TrackIdFileName = "e34c91d8-0a3b-4d3e-9571... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using Microsoft.ApplicationInsights;
using Microsoft.Win32;
namespace GitMind.Common.Tracking
{
public static class Track
{
private static readonly string TrackIdFileName = "e34c91d8-0a3b-4d3e-9571... | mit | C# |
42fb50b81528fa73668c07c7dd53220a3e9ad269 | Make _dateOfBirth field nullable | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public... | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public... | apache-2.0 | C# |
490a78af73bfa5125f976840be2450b4508692f4 | Bump assembly version, too | dswisher/yaclops | src/Yaclops/Properties/AssemblyInfo.cs | src/Yaclops/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("Ya... | 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("Ya... | mit | C# |
38b18244489723f22abbdeb3685454ce84090344 | Add region preprocessors on class TokenEntry | lury-lang/lury-lexer | lury-lexer/TokenEntry.cs | lury-lexer/TokenEntry.cs | //
// TokenEnrty.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | //
// TokenEnrty.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | mit | C# |
11ecf20f89b314e07e0195f1dc081a40a5656fae | fix tests | lances101/Wox,qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,lances101/Wox,qianlifeng/Wox,Wox-launcher/Wox | Wox.Test/UrlPluginTest.cs | Wox.Test/UrlPluginTest.cs | using NUnit.Framework;
using Wox.Plugin.Url;
namespace Wox.Test
{
[TestFixture]
public class UrlPluginTest
{
[Test]
public void URLMatchTest()
{
var plugin = new Main();
Assert.IsTrue(plugin.IsURL("http://www.google.com"));
Assert.IsTrue(plugin.I... | using NUnit.Framework;
using Wox.Plugin.Url;
namespace Wox.Test
{
[TestFixture]
public class UrlPluginTest
{
[Test]
public void URLMatchTest()
{
UrlPlugin urlPlugin = new UrlPlugin();
Assert.IsTrue(urlPlugin.IsURL("http://www.google.com"));
Asser... | mit | C# |
34382abcb8b7516bd7585137f4ea56989856f2b5 | Bump version | mdsol/Medidata.ZipkinTracerModule | src/Medidata.ZipkinTracer.Core/Properties/AssemblyInfo.cs | src/Medidata.ZipkinTracer.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Me... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Me... | mit | C# |
05fdc181d919c462cbb0a9b5de7ccb3684e62449 | Initialize returns InspectorContext | netonjm/MonoDevelop.Mac.Debug | VisualStudio.ViewInspector.Mac/Runtime.cs | VisualStudio.ViewInspector.Mac/Runtime.cs | namespace VisualStudio.ViewInspector
{
public static class Runtime
{
public static InspectorContext Initialize(bool hasToolkit = false)
{
var inspectorDelegate = new MacInspectorDelegate();
var inspectorManager = inspectorDelegate.CreateInspectorManager();
In... | namespace VisualStudio.ViewInspector
{
public static class Runtime
{
public static void Initialize(bool hasToolkit = false)
{
var inspectorDelegate = new MacInspectorDelegate();
var inspectorManager = inspectorDelegate.CreateInspectorManager();
InspectorConte... | mit | C# |
ae30d11f664017114a0874df74c4f818efc84e20 | Bump assembly version | NuGet/NuGet.Server | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.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.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany(".NET Foundation")]
[assembly: Assem... | // 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.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany(".NET Foundation")]
[assembly: Assem... | apache-2.0 | C# |
219c55bfc0ba3f76dd0c616b5732be8dadc0346b | Comment added. | Oxoron/TestGit | TestGitLib/SilverCutCounter.cs | TestGitLib/SilverCutCounter.cs | namespace TestGitLib
{
public static class SilverCutCounter
{
// 1-3-4-7-11 sequence
public static int GetNumber(int index)
{
if (index == 1)
{
return 1;
}
else if (index == 2)
{
return 3;
... | namespace TestGitLib
{
public static class SilverCutCounter
{
public static int GetNumber(int index)
{
if (index == 1)
{
return 1;
}
else if (index == 2)
{
return 3;
}
else if (in... | mit | C# |
ecd0f0effd92d85589c525ae1bc5ef6b4667836d | Update XML doc comments | jorik041/dnlib,yck1509/dnlib,ZixiangBoy/dnlib,kiootic/dnlib,picrap/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,modulexcite/dnlib | src/DotNet/ElementType.cs | src/DotNet/ElementType.cs | namespace dot10.DotNet {
/// <summary>
/// See CorHdr.h/CorElementType
/// </summary>
public enum ElementType : byte {
/// <summary></summary>
End = 0x00,
/// <summary>System.Void</summary>
Void = 0x01,
/// <summary>System.Boolean</summary>
Boolean = 0x02,
/// <summary>System.Char</summary>
Cha... | namespace dot10.DotNet {
/// <summary>
/// See CorHdr.h/CorElementType
/// </summary>
public enum ElementType : byte {
/// <summary></summary>
End = 0x00,
/// <summary>System.Void</summary>
Void = 0x01,
/// <summary>System.Boolean</summary>
Boolean = 0x02,
/// <summary>System.Char</summary>
Cha... | mit | C# |
7759de92710539fe32e96d289dca8402cb026fa0 | Update AssemblyInfo | Benrnz/CorporateBsGenerator | CorporateBsGenerator/Properties/AssemblyInfo.cs | CorporateBsGenerator/Properties/AssemblyInfo.cs | using System.Reflection;
using Xamarin.Forms.Xaml;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Corporate BS Generator")]
[assembly: AssemblyDescription ("An experimental project to explore some basic Xama... | using System.Reflection;
using Xamarin.Forms.Xaml;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("CorporateBsGenerator")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly... | mit | C# |
d75fd5fe9af15f345ba745e19de5a07d8a11768e | add clear and image resizing to render script + remove projection matrix | NataliaDSmirnova/CGAdvanced2017 | Assets/Scripts/RenderObject.cs | Assets/Scripts/RenderObject.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RenderObject : MonoBehaviour {
// input objects
public GameObject renderObject;
public Camera mainCamera;
// private objects
private RenderTexture renderTexture;
private RawImage ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RenderObject : MonoBehaviour {
// input object
public GameObject renderObject;
public Camera mainCamera;
// private variables
private RenderTexture renderTexture;
private RawImage... | mit | C# |
79b332d41b4646f3835e08c454b8f241d0a1badc | remove redundant namespace | yanggujun/commonsfornet,yanggujun/commonsfornet | src/Test.Commons/Order.cs | src/Test.Commons/Order.cs | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | apache-2.0 | C# |
da6abc96b1ede2e3bb7753a55c03ced7dea40ceb | Remove useless method in TransactionValidator | MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin | NBitcoin/TransactionValidator.cs | NBitcoin/TransactionValidator.cs | #nullable enable
using NBitcoin.RPC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin
{
public class TransactionValidator
{
internal TransactionValidator(Transaction transaction, TxOut[] spentOutputs)
{
PrecomputedTransacti... | #nullable enable
using NBitcoin.RPC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin
{
public class TransactionValidator
{
internal TransactionValidator(Transaction transaction, TxOut[] spentOutputs)
{
PrecomputedTransacti... | mit | C# |
f2706313dacc186d0079adc4818076de31264579 | Add missing output messages. | SludgeVohaul/P2EApp | P2E.Services/Emby/EmbyService.cs | P2E.Services/Emby/EmbyService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using P2E.Interfaces.DataObjects.Emby;
using P2E.Interfaces.DataObjects.Emby.Library;
using P2E.Interfaces.Logging;
using P2E.Interfaces.Services.Emby;
using P2E.Interfaces.Repositories.Emby;
names... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using P2E.Interfaces.DataObjects.Emby;
using P2E.Interfaces.DataObjects.Emby.Library;
using P2E.Interfaces.Logging;
using P2E.Interfaces.Services.Emby;
using P2E.Interfaces.Repositories.Emby;
names... | bsd-2-clause | C# |
e2ddcc8e5efb5c6ff474959a3ad8fb4962d88620 | add example for class to shuffle | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | RandomList/RandomList/Program.cs | RandomList/RandomList/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
namespace RandomList
{
class Program
{
static void Main(string[] args)
{
//PerformanceOfGUID();
var myList = new List<int>{1,2,3,4,5,6,7,8,9,10};
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
namespace RandomList
{
class Program
{
static void Main(string[] args)
{
//PerformanceOfGUID();
var myList = new List<int>{1,2,3,4,5,6,7,8,9,10};
... | apache-2.0 | C# |
4c98c372eefb269fb1a4f670c1648ddf6436fb49 | Remove API override | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Services/FulfillmentOrders/FulfillmentOrderService.cs | ShopifySharp/Services/FulfillmentOrders/FulfillmentOrderService.cs | using System.Net.Http;
using ShopifySharp.Filters;
using System.Collections.Generic;
using System.Threading.Tasks;
using ShopifySharp.Infrastructure;
using System;
using System.Threading;
using ShopifySharp.Lists;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify fulfillment orders... | using System.Net.Http;
using ShopifySharp.Filters;
using System.Collections.Generic;
using System.Threading.Tasks;
using ShopifySharp.Infrastructure;
using System;
using System.Threading;
using ShopifySharp.Lists;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify fulfillment orders... | mit | C# |
86bce6b66cc045a1b9fdb47e58e7611a5e04bac7 | update greeting message | mahedee/gen-bot-hrm,mahedee/gen-bot-hrm,mahedee/gen-bot-hrm | src/HRMBot/Dialogs/GreetingDialog.cs | src/HRMBot/Dialogs/GreetingDialog.cs | using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Luis.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace HRMBot.Dialogs
{
public partial class RootLuisDialog
{
[LuisIntent("Greetings")]
public asy... | using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Luis.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace HRMBot.Dialogs
{
public partial class RootLuisDialog
{
[LuisIntent("Greetings")]
public asy... | mit | C# |
c4a03cfdfca696bfe67a3989e400f39d844fba20 | Add ImportNode() to XmlDocument. | nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp | src/Libraries/Web/Xml/XmlDocument.cs | src/Libraries/Web/Xml/XmlDocument.cs | // XmlDocument.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System.Runtime.CompilerServices;
namespace System.Xml {
/// <summary>
/// Represents the hierarchy of node objects parsed from XML markup.
/// </summary>
[Scr... | // XmlDocument.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System.Runtime.CompilerServices;
namespace System.Xml {
/// <summary>
/// Represents the hierarchy of node objects parsed from XML markup.
/// </summary>
[Scr... | apache-2.0 | C# |
674a80a5251d055c4206c0a70a7503c0094006ac | Add DOMDocumentFragment | peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie | src/Peachpie.Library.XmlDom/DOMDocumentFragment.cs | src/Peachpie.Library.XmlDom/DOMDocumentFragment.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Pchp.Core;
namespace Peachpie.Library.XmlDom
{
[PhpType(PhpTypeAttribute.InheritName)]
public class DOMDocumentFragment : DOMNode
{
#region Fields and Properties
internal XmlDocumentFragment XmlDocu... | using System;
using System.Collections.Generic;
using System.Text;
using Pchp.Core;
namespace Peachpie.Library.XmlDom
{
[PhpType(PhpTypeAttribute.InheritName)]
public class DOMDocumentFragment : DOMNode
{
}
}
| apache-2.0 | C# |
2ce9bb27a1608cbadd23098de99c007e7d7d8f9f | Fix NRE when copying nodes when the ToString() is null | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogger/Serialization/StringWriter.cs | src/StructuredLogger/Serialization/StringWriter.cs | using System.Text;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class StringWriter
{
public static string GetString(object rootNode)
{
var sb = new StringBuilder();
WriteNode(rootNode, sb, 0);
return sb.ToString();
}
... | using System.Text;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class StringWriter
{
public static string GetString(object rootNode)
{
var sb = new StringBuilder();
WriteNode(rootNode, sb, 0);
return sb.ToString();
}
... | mit | C# |
141f55a3126849163186cb92ec960a8ac01a962f | Update ITimeProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Time/ITimeProvider.cs | TIKSN.Core/Time/ITimeProvider.cs | using System;
namespace TIKSN.Time
{
public interface ITimeProvider
{
DateTimeOffset GetCurrentTime();
}
}
| using System;
namespace TIKSN.Time
{
public interface ITimeProvider
{
DateTimeOffset GetCurrentTime();
}
} | mit | C# |
c767540666928b7df4f537c9ae25f004b0731fa9 | Add failure-case device specs. | jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq | src/tests/ZeroMQ.UnitTests/ZmqDeviceSpecs/Start.cs | src/tests/ZeroMQ.UnitTests/ZmqDeviceSpecs/Start.cs | namespace ZeroMQ.UnitTests.ZmqDeviceSpecs
{
using System;
using Machine.Specifications;
using ZeroMQ.Proxy;
using ZeroMQ.Sockets;
using ZeroMQ.Sockets.Devices;
[Subject(typeof(ZmqDevice))]
class when_starting_a_base_device : using_mock_device_proxy
{
Because of =... | namespace ZeroMQ.UnitTests.ZmqDeviceSpecs
{
using Machine.Specifications;
using ZeroMQ.Proxy;
using ZeroMQ.Sockets.Devices;
[Subject(typeof(ZmqDevice))]
class when_starting_a_base_device : using_mock_device_proxy
{
Because of = () =>
{
device.ConfigureF... | apache-2.0 | C# |
da6e228c77f127f89310fa2173b8a97170fcbbc2 | Add DiffEngine to testCoverageFilter (#67) | bbtsoftware/TfsUrlParser | recipe.cake | recipe.cake | #load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountNam... | #load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountNam... | mit | C# |
74b78349cf80269febbdba7cf970f3a16e6675b0 | use webpack dev server on development | ucdavis/Namster,ucdavis/Namster,ucdavis/Namster | src/Namster/Views/Home/Index.cshtml | src/Namster/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Search";
}
<div id="app"></div>
@section styles {
<environment names="Development">
<link rel="stylesheet" href="http://localhost:8080/bundle.css" />
</environment>
<environment names="Staging,Production">
<link rel="stylesheet" href="~/dist/bundle.css" />
... | @{
ViewData["Title"] = "Search";
}
<div id="app"></div>
@section scripts{
<script type="text/javascript" src="~/js/dist/app.js"></script>
}
| mit | C# |
96cf428e07e7777ba6604920a433185f21813222 | Fix indexoutofboundsexception | SnpM/Lockstep-Framework | Core/Simulation/Physics/Core/PhysicsTool.cs | Core/Simulation/Physics/Core/PhysicsTool.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FastCollections;
namespace Lockstep {
/// <summary>
/// Physics tool for
/// </summary>
public static class PhysicsTool {
/// <summary>
/// Finds all dynamic bodies touching a defined circle.
/// </summary>
/// <param name... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FastCollections;
namespace Lockstep {
/// <summary>
/// Physics tool for
/// </summary>
public static class PhysicsTool {
/// <summary>
/// Finds all dynamic bodies touching a defined circle.
/// </summary>
/// <param name... | mit | C# |
8cb70983acaa0773d29048e1d0845b4fc23f5380 | Update AssemblyInfo.cs | andyshao/Hangfire.Ninject,HangfireIO/Hangfire.Ninject | HangFire.Ninject/Properties/AssemblyInfo.cs | HangFire.Ninject/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("HangFire.Ninject")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("HangFire.Ninject")]
[assembly: AssemblyDe... | mit | C# |
b054b9438889259d4c645debdfa11a58e457d529 | Use the typed equality for Record equals | louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext | LanguageExt.Core/DataTypes/Record/Record.cs | LanguageExt.Core/DataTypes/Record/Record.cs | using System;
namespace LanguageExt
{
/// <summary>
/// Base class for types that are 'records'. A record has a set of readonly *fields(
/// that make up its data structure. By deriving from this you get structural equality,
/// structural ordering (`IComparable`), structural hashing (`GetHashCode`)... | using System;
namespace LanguageExt
{
/// <summary>
/// Base class for types that are 'records'. A record has a set of readonly *fields(
/// that make up its data structure. By deriving from this you get structural equality,
/// structural ordering (`IComparable`), structural hashing (`GetHashCode`)... | mit | C# |
908f3e6ff6237a25c35347c01be00be1bc56bb5c | Update alt text in workgroup. Did say edit/details order, not workgroup. | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Web/Views/Workgroup/Index.cshtml | Purchasing.Web/Views/Workgroup/Index.cshtml | @model IEnumerable<Purchasing.Core.Domain.Workgroup>
@{
ViewBag.Title = "Index";
}
@section SubNav
{
<ul class="navigation">
<li>@Html.ActionLink("Create New", "CreateWorkgroup","Wizard", new{} ,new {@class="button"})</li>
</ul>
}
<table class="datatable">
<thead>
<tr>
<th></th>
<th>
Name
</th... | @model IEnumerable<Purchasing.Core.Domain.Workgroup>
@{
ViewBag.Title = "Index";
}
@section SubNav
{
<ul class="navigation">
<li>@Html.ActionLink("Create New", "CreateWorkgroup","Wizard", new{} ,new {@class="button"})</li>
</ul>
}
<table class="datatable">
<thead>
<tr>
<th></th>
<th>
Name
</th... | mit | C# |
1db6a95f03b61c9d390356cf20e418b1a46915b6 | Rename JsonError to RawBody. | nozzlegear/ShopifySharp,clement911/ShopifySharp,addsb/ShopifySharp | ShopifySharp/Infrastructure/ShopifyException.cs | ShopifySharp/Infrastructure/ShopifyException.cs | using System;
using System.Collections.Generic;
using System.Net;
namespace ShopifySharp
{
public class ShopifyException : Exception
{
#region Public properties
public HttpStatusCode HttpStatusCode { get; set; }
/// <remarks>
/// Dictionary is always initialized to en... | using System;
using System.Collections.Generic;
using System.Net;
namespace ShopifySharp
{
public class ShopifyException : Exception
{
#region Public properties
public HttpStatusCode HttpStatusCode { get; set; }
/// <remarks>
/// Dictionary is always initialized to en... | mit | C# |
1f083ece339a1ee7d02e597126b6c90f15f0464f | add date time end date | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
989ce248a0edc4bc3793a4ef20c75aab60c3f869 | Update IExchangeRateService.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/IExchangeRateService.cs | TIKSN.Core/Finance/ForeignExchange/IExchangeRateService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance.ForeignExchange
{
public interface IExchangeRateService
{
Task<Money> ConvertCurrencyAsync(Money baseMoney, CurrencyInfo counterCurrency, DateTimeOffset asOn,
CancellationToken cancellationToken);
... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance.ForeignExchange
{
public interface IExchangeRateService
{
Task<Money> ConvertCurrencyAsync(Money baseMoney, CurrencyInfo counterCurrency, DateTimeOffset asOn, CancellationToken cancellationToken);
Task... | mit | C# |
920eb4de079734287d181dddc0b25623871a9fd6 | Fix FakeWebFrontService to use List<KeyValuePair<string, object>>. | Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth | Tests/CK.AspNet.Auth.Tests/Services/FakeWebFrontService.cs | Tests/CK.AspNet.Auth.Tests/Services/FakeWebFrontService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CK.Auth;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
namespace CK.AspNet.Auth.Tests
{
class FakeWebFrontService : WebFrontAuthService
{
readonly List<IUserInfo> _u... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CK.Auth;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
namespace CK.AspNet.Auth.Tests
{
class FakeWebFrontService : WebFrontAuthService
{
readonly List<IUserInfo> _u... | mit | C# |
2bd6796736c24243dae7f69d72da91a7ef609705 | Update MainActivity.cs | iperezmx87/Xamarin30Labs | Lab1/Lab1/MainActivity.cs | Lab1/Lab1/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace Lab1
{
[Activity(Label = "Lab1", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
Button button;
TextVi... | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace Lab1
{
[Activity(Label = "Lab1", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
Button button;
TextVi... | mit | C# |
b0a66db4d76efdfec0ce7de90e65d95c9e9ed47b | remove unused usings | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/Dashboard.cs | Dashen/Dashboard.cs | using System;
using System.Web.Http.SelfHost;
using Dashen.Configuration;
using StructureMap;
using StructureMap.Graph;
namespace Dashen
{
public class Dashboard
{
private readonly HttpSelfHostServer _server;
private readonly DefinitionCollection _definitions;
public Dashboard(Uri listenOn)
{
var contai... | using System;
using System.Linq;
using System.Web.Http;
using System.Web.Http.SelfHost;
using Dashen.Configuration;
using Dashen.Infrastructure;
using StructureMap;
using StructureMap.Graph;
namespace Dashen
{
public class Dashboard
{
private readonly HttpSelfHostServer _server;
private readonly DefinitionColle... | lgpl-2.1 | C# |
5ad7cd979fb254e4fa8380e83101e237d934b3e0 | fix for #26 & #27 - replaced ISqlHelper with Umbraco.Core.Persistence.Database | pgregorynz/nuPickers,iahdevelop/nuPickers,abjerner/nuPickers,abjerner/nuPickers,abjerner/nuPickers,LottePitcher/nuPickers,JimBobSquarePants/nuPickers,iahdevelop/nuPickers,pgregorynz/nuPickers,LottePitcher/nuPickers,JimBobSquarePants/nuPickers,iahdevelop/nuPickers,pgregorynz/nuPickers,LottePitcher/nuPickers,uComponents/... | source/nuPickers/Shared/SqlDataSource/SqlDataSource.cs | source/nuPickers/Shared/SqlDataSource/SqlDataSource.cs |
namespace nuPickers.Shared.SqlDataSource
{
using nuPickers.Shared.Editor;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Umbraco.Core.Persistence;
public class SqlDataSource
{
public string SqlExpression { get; set; }
public string ConnectionStr... |
namespace nuPickers.Shared.SqlDataSource
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using umbraco.DataLayer;
using nuPickers.Shared.Editor;
using System.Text.RegularExpressions;
... | mit | C# |
13807248da0f280ff2a3d6f6e130ad074e821abf | Allow filename search if keyword is empty. Closes #32 | sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery | src/Pablo.Gallery/Api/V0/Controllers/FileController.cs | src/Pablo.Gallery/Api/V0/Controllers/FileController.cs | using Microsoft.Ajax.Utilities;
using Pablo.Gallery.Api.ApiModels;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using Pablo.Gallery.Logic.Interceptors;
using Pablo.Gallery.Models;
namespace Pablo.Gallery.Api.V0.Controllers
{
public class FileController : ApiController
{
readonly Mod... | using Pablo.Gallery.Api.ApiModels;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using Pablo.Gallery.Logic.Interceptors;
namespace Pablo.Gallery.Api.V0.Controllers
{
public class FileController : ApiController
{
readonly Models.GalleryContext db = new Models.GalleryContext();
[Htt... | mit | C# |
216903b1f665d2d8d183c2a09ed91e3a7edb6a5b | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepo... | mit | C# |
ccf485316d9135cb0999ad3d91fb2e82c5d1b03b | refactor to put service and environment configurations in their own methods | jadiaz/aspnet5 | MvcApplication/Startup.cs | MvcApplication/Startup.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Logging;
using Microsoft.Framework.Logging.Console;
namespace MvcApplication.Web
{
public class Star... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Logging;
using Microsoft.Framework.Logging.Console;
namespace MvcApplication.Web
{
public class Star... | mit | C# |
407076a411d8c45ce88ba08b5928d4408942ed71 | Add BitcoinSecret.Encrypt | lontivero/NBitcoin,dangershony/NStratis,HermanSchoenfeld/NBitcoin,MetacoSA/NBitcoin,bitcoinbrisbane/NBitcoin,you21979/NBitcoin,stratisproject/NStratis,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,NicolasDorier/NBitcoin,MetacoSA/NBitcoin | NBitcoin/BitcoinSecret.cs | NBitcoin/BitcoinSecret.cs | using NBitcoin.DataEncoders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin
{
public class BitcoinSecret : Base58Data
{
public BitcoinSecret(Key key, Network network)
: base(ToBytes(key), network)
{
}
... | using NBitcoin.DataEncoders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin
{
public class BitcoinSecret : Base58Data
{
public BitcoinSecret(Key key, Network network)
: base(ToBytes(key), network)
{
}
... | mit | C# |
786eb8f01c702ff346e099ec7b1b4abbd183d05a | Update Unicode Keycap Digits | JanVargovsky/PoGo.DiscordBot | PoGo.DiscordBot/Emojis.cs | PoGo.DiscordBot/Emojis.cs | using Discord;
using System.Linq;
namespace PoGo.DiscordBot
{
internal class UnicodeEmojis
{
public const string ThumbsUp = "👍";
public const string ThumbsDown = "👎";
public const string Check = "✅";
public const string Cross = "❌";
public static readonly string[] Ke... | using Discord;
using System.Linq;
namespace PoGo.DiscordBot
{
internal class UnicodeEmojis
{
public const string ThumbsUp = "👍";
public const string ThumbsDown = "👎";
public const string Check = "✅";
public const string Cross = "❌";
const char Border = '⃣';
p... | mit | C# |
6e4ca68e2535871e08ee1089d3cdfbe68d1ef3f3 | update corp notice | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Properties/AssemblyInfo.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("App... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("App... | apache-2.0 | C# |
5f2398ac023620c1ed1ff4acdf56115a051a6088 | Make static | provisiondata/Provision.AspNet.StructureMap | src/Provision.AspNet.StructureMap/IoC.cs | src/Provision.AspNet.StructureMap/IoC.cs | using System.Web.Http;
using System.Web.Mvc;
using StructureMap;
namespace Provision.AspNet.StructureMap
{
public static class IoC
{
/// <summary>
/// Configures ASP.NET MVC and ASP.NET WebAPI to use StructureMap as the Dependency Resolver.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param na... | using System.Web.Http;
using System.Web.Mvc;
using StructureMap;
namespace Provision.AspNet.StructureMap
{
public class IoC
{
/// <summary>
/// Configures ASP.NET MVC and ASP.NET WebAPI to use StructureMap as the Dependency Resolver.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="con... | mit | C# |
b6633ad61d58bc6cc06e4c63606cd6038623b745 | add newline | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/ViewModelBase.cs | WalletWasabi.Fluent/ViewModels/ViewModelBase.cs | using System;
using System.Collections.Generic;
using System.Text;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels
{
public class ViewModelBase : ReactiveObject, IRoutableViewModel
{
public string UrlPathSegment { get; } = Guid.NewGuid().ToString().Substring(0, 5);
public IScreen HostScreen { get;... | using System;
using System.Collections.Generic;
using System.Text;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels
{
public class ViewModelBase : ReactiveObject, IRoutableViewModel
{
public string UrlPathSegment { get; } = Guid.NewGuid().ToString().Substring(0, 5);
public IScreen HostScreen { get; ... | mit | C# |
8d0b10c70c9a11bb5401bd844b1ed09a1ab570ac | Simplify exception catching | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/Commands/ExitCommands.cs | WalletWasabi.Gui/Shell/Commands/ExitCommands.cs | using Avalonia;
using AvalonStudio.Commands;
using ReactiveUI;
using System;
using System.Composition;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class ExitCommands
{
public Global Global { get; }
[ExportCommandDefinition("File.LockScreen")]
public CommandDefinition LockS... | using Avalonia;
using AvalonStudio.Commands;
using ReactiveUI;
using System;
using System.Composition;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class ExitCommands
{
public Global Global { get; }
[ExportCommandDefinition("File.LockScreen")]
public CommandDefinition LockS... | mit | C# |
124c6932587dd2519aa20a132e52878d659574f5 | fix in release mode | Fody/Janitor | Fody/ModuleWeaverTestHelper.cs | Fody/ModuleWeaverTestHelper.cs | using System.IO;
using System.Reflection;
using Mono.Cecil;
using Mono.Cecil.Pdb;
using Scalpel;
[Remove]
public class ModuleWeaverTestHelper
{
public string BeforeAssemblyPath;
public string AfterAssemblyPath;
public Assembly Assembly;
public ModuleWeaverTestHelper(string inputAssembly)
{
... | using System.IO;
using System.Reflection;
using Mono.Cecil;
using Mono.Cecil.Pdb;
using Scalpel;
[Remove]
public class ModuleWeaverTestHelper
{
public string BeforeAssemblyPath;
public string AfterAssemblyPath;
public Assembly Assembly;
public ModuleWeaverTestHelper(string inputAssembly)
{
... | mit | C# |
c4523b5ebba56e820d34966831c12eaada34fe93 | sort members in AppInfo.cs | SiskSjet/IngameScriptBuilder | IngameScriptBuilder/AppInfo.cs | IngameScriptBuilder/AppInfo.cs | using System;
using System.IO;
using System.Reflection;
namespace IngameScriptBuilder {
public static class AppInfo {
private static readonly Assembly Assembly = Assembly.GetEntryAssembly();
private static Version _assemblyVersion;
private static string _company;
private static str... | using System;
using System.IO;
using System.Reflection;
namespace IngameScriptBuilder {
public static class AppInfo {
private static readonly Assembly Assembly = Assembly.GetEntryAssembly();
private static string _title;
private static string _description;
private static string _co... | mit | C# |
66b8a8ad2eadf04b6dcd88b9ba9740044f4cf92e | Remove stray default value specification | NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.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 osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fram... | // 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 osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fram... | mit | C# |
bd45c5a812903dd137b2fd674dcaf64570187ff8 | Update MainWindowViewModel.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | samples/BehaviorsTestApplication/ViewModels/MainWindowViewModel.cs | samples/BehaviorsTestApplication/ViewModels/MainWindowViewModel.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Windows.Input;
using BehaviorsTestApplication.ViewModels.Core;
namespace BehaviorsTestApplication.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private int _value;
private int _count;
... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Windows.Input;
using BehaviorsTestApplication.ViewModels.Core;
namespace BehaviorsTestApplication.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private int _value;
private int _count;
... | mit | C# |
90fcea2ac1a3ddb38371f74b46ba639e2283cb80 | Fix Invalid Cast Exception on iOS (#1244) | FormsCommunityToolkit/FormsCommunityToolkit | src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/RemoveBorder/RemoveBorderEffect.ios.cs | src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/RemoveBorder/RemoveBorderEffect.ios.cs | using UIKit;
using Xamarin.CommunityToolkit.Effects;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using Effects = Xamarin.CommunityToolkit.iOS.Effects;
[assembly: ExportEffect(typeof(Effects.RemoveBorderEffect), nameof(RemoveBorderEffect))]
namespace Xamarin.CommunityToolkit.iOS.Effects
{
public class Rem... | using UIKit;
using Xamarin.CommunityToolkit.Effects;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using Effects = Xamarin.CommunityToolkit.iOS.Effects;
[assembly: ExportEffect(typeof(Effects.RemoveBorderEffect), nameof(RemoveBorderEffect))]
namespace Xamarin.CommunityToolkit.iOS.Effects
{
public class Rem... | mit | C# |
09e7b3c35b6ce1acc2913edb1b5b844709f1d79b | Fix potential test failure, different port | chkn/Tempest | Desktop/Tempest/Tests/UdpConnectionProviderTests.cs | Desktop/Tempest/Tests/UdpConnectionProviderTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using NUnit.Framework;
using Tempest.Providers.Network;
namespace Tempest.Tests
{
[TestFixture]
public class UdpConnectionProviderTests
: ConnectionProviderTests
{
private static IAsymmetricKey serverKey;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using NUnit.Framework;
using Tempest.Providers.Network;
namespace Tempest.Tests
{
[TestFixture]
public class UdpConnectionProviderTests
: ConnectionProviderTests
{
private static IAsymmetricKey serverKey;
... | mit | C# |
3e05e90be453c6ac7793aba747ca6ecf4c247298 | Add NeckMaterial prop to Guitar model | michaelp0730/MichaelsMusic,michaelp0730/MichaelsMusic,michaelp0730/MichaelsMusic | MichaelsMusic/Models/Guitar.cs | MichaelsMusic/Models/Guitar.cs | namespace MichaelsMusic.Models
{
public class Guitar : Item
{
public bool CoilTap { get; set; }
public bool IsHardtail { get; set; }
public bool IsTopJack { get; set; }
public decimal ScaleLength { get; set; }
public int Frets { get; set; }
public int Strings { g... | namespace MichaelsMusic.Models
{
public class Guitar : Item
{
public bool CoilTap { get; set; }
public bool IsHardtail { get; set; }
public bool IsTopJack { get; set; }
public decimal ScaleLength { get; set; }
public int Frets { get; set; }
public int Strings { g... | mit | C# |
15e27b7ea8d1cbe42f7e0550a567725a6856111b | Update verbiage on user registration email | ratneshchandna/rambla,ratneshchandna/rambla,ratneshchandna/rambla | otr-project/Views/UserMailer/Welcome.cshtml | otr-project/Views/UserMailer/Welcome.cshtml | @{
string URL = Url.Action("activateaccount", "Account", new RouteValueDictionary(new { id = ViewData.Model.ActivationId }), Request.Url.Scheme.ToString(), Request.Url.Host);
}
<p>Hi @ViewData.Model.FirstName,</p>
<p>Welcome to <strong>Rambla</strong>, a marketplace that facilitates sharing of items between y... | Hello @ViewData.Model.FirstName,<br /><br />
Thank you for signing up for Rambla! You have taken the first step towards expanding your rentability.<br /><br />
@{
string URL = Url.Action("activateaccount", "Account", new RouteValueDictionary(new { id = ViewData.Model.ActivationId }), Request.Url.Scheme.ToStrin... | mit | C# |
38e85b6b41d76881eac093fc5239934557a717c8 | Update assembly version | mmatkow/BotBuilder,xiangyan99/BotBuilder,xiangyan99/BotBuilder,xiangyan99/BotBuilder,mmatkow/BotBuilder,mmatkow/BotBuilder,Clairety/ConnectMe,xiangyan99/BotBuilder,yakumo/BotBuilder,dr-em/BotBuilder,dr-em/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,Clairety/ConnectMe,stevengum97/BotBuilder,yakumo/BotBuilde... | CSharp/Library/Properties/AssemblyInfo.cs | CSharp/Library/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 assembl... | 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 assembl... | mit | C# |
c68a5d5109c4a3840e045a5a640d419c93d3f2ac | Fix unit test. | eylvisaker/AgateLib | AgateLib.UnitTests/Display/ColorXTests.cs | AgateLib.UnitTests/Display/ColorXTests.cs | using AgateLib.Display;
using FluentAssertions;
using Microsoft.Xna.Framework;
using Xunit;
namespace AgateLib.Tests.Display
{
public class ColorXTests
{
[Fact]
public void ToArgb()
{
var clr = new Color(0x12, 0x34, 0x56, 0x78);
clr.ToArgb().Should().Be("781234... | using AgateLib.Display;
using FluentAssertions;
using Microsoft.Xna.Framework;
using Xunit;
namespace AgateLib.Tests.Display
{
public class ColorXTests
{
[Fact]
public void ToArgb()
{
var clr = new Color(0x12, 0x34, 0x56, 078);
clr.ToArgb().Should().Be("1234567... | mit | C# |
b06595645e85da0d1baac45fa0b7b8a95943a94f | Support completion of parens and indexes too. | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS | DanTup.DartVS.Vsix/Providers/BraceCompletionProvider.cs | DanTup.DartVS.Vsix/Providers/BraceCompletionProvider.cs | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.BraceCompletion;
using Microsoft.VisualStudio.Utilities;
namespace DanTup.DartVS
{
[Export(typeof(IBraceCompletionDefaultProvider))]
[ContentType(DartContentTypeDefinition.DartContentType)]
[BracePair('{', '}')]
[BracePair('(', ')')]
[Bra... | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.BraceCompletion;
using Microsoft.VisualStudio.Utilities;
namespace DanTup.DartVS
{
[Export(typeof(IBraceCompletionDefaultProvider))]
[ContentType(DartContentTypeDefinition.DartContentType)]
[BracePair('{', '}')]
class BraceCompletionProvid... | mit | C# |
fea56322f0aadcdb1b48a82f4836a47d268cd213 | Fix SD not failing for the first note | naoey/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,ppy/osu,ZLima12/osu,Drezi126/osu,peppy/osu,Nabile-Rahmani/osu,johnneijzen/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,Frontear/osuKyze... | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModSuddenDeath : Mod, IApp... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModSuddenDeath : Mod, IApp... | mit | C# |
7c1e59a39f71c437a2bbd52f2ceefa851fe75646 | Update HtmlResource.cs | sorenhl/Glimpse.NLog,rho24/Glimpse.NLog,rho24/Glimpse.NLog,sorenhl/Glimpse.NLog,rho24/Glimpse.NLog,sorenhl/Glimpse.NLog | Glimpse.NLog/Resource/HtmlResource.cs | Glimpse.NLog/Resource/HtmlResource.cs | using System.Collections.Generic;
using System.Linq;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Resource;
namespace Glimpse.NLog.Resource
{
public class HtmlResource : FileResource
{
private const string InternalName = "glimpse_nlog_html";
protected override EmbeddedResourceInfo Get... | using System.Collections.Generic;
using System.Linq;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Resource;
namespace Glimpse.NLog.Resource
{
public class HtmlResource : FileResource
{
private const string InternalName = "glimpse_nlog_html";
public override IEnumerable<ResourceParamet... | mit | C# |
498403be5525c60f678571d42e4b4347b51d6f3d | Embed Channel 9 video | Microsoft/dotnet-apiweb,Microsoft/dotnet-apiweb | src/DotNetStatus/Views/Home/Index.cshtml | src/DotNetStatus/Views/Home/Index.cshtml | @* Copyright (c) Microsoft. All rights reserved.
Licensed under the MIT license. See LICENSE file in the project root for full license information.
*@
@{
ViewBag.Title = "Diagnostic Tools";
}
<div class="jumbotron">
<h2>.NET Compatibility Diagnostic Tools</h2>
</div>
<div class="container-fluid">
<di... | @* Copyright (c) Microsoft. All rights reserved.
Licensed under the MIT license. See LICENSE file in the project root for full license information.
*@
@{
ViewBag.Title = "Diagnostic Tools";
}
<div class="jumbotron">
<h2>.NET Compatibility Diagnostic Tools</h2>
</div>
<div class="container-fluid">
<di... | mit | C# |
d1c1ce1168c12b818e611bde260f448a3dc05fdb | Fix Author Link | fujiy/FujiyBlog,fujiy/FujiyBlog,fujiy/FujiyBlog | src/FujiyBlog.Web/Views/Post/Post.cshtml | src/FujiyBlog.Web/Views/Post/Post.cshtml | @model FujiyBlog.Core.DomainObjects.Post
<div class="post xfolkentry" id="post@(Model.Id)">
<h1>
@Html.ActionLink(Model.Title, MVC.Post.Details(Model.Slug))</h1>
<span class="author">by @Html.ActionLink(Model.Author.DisplayName, MVC.Post.Author(Model.Author.Username, null))</span>
<span class=... | @model FujiyBlog.Core.DomainObjects.Post
<div class="post xfolkentry" id="post@(Model.Id)">
<h1>
@Html.ActionLink(Model.Title, MVC.Post.Details(Model.Slug))</h1>
<span class="author">by <a href="/@Model.Author.Username">@Model.Author.DisplayName</a></span>
<span class="pubDate">@Model.Publicat... | mit | C# |
c376fdec56f1acbecb3e59dded31be9bc52a4eb6 | Fix nullability of sender | nikeee/HolzShots | src/HolzShots.Core/Input/KeyboardHook.cs | src/HolzShots.Core/Input/KeyboardHook.cs | using System;
using System.Collections.Generic;
namespace HolzShots.Input
{
public abstract class KeyboardHook : IDisposable
{
protected Dictionary<int, Hotkey> RegisteredKeys { get; } = new Dictionary<int, Hotkey>();
/// <summary>Registers a hotkey in the system.</summary>
public abst... | using System;
using System.Collections.Generic;
namespace HolzShots.Input
{
public abstract class KeyboardHook : IDisposable
{
protected Dictionary<int, Hotkey> RegisteredKeys { get; } = new Dictionary<int, Hotkey>();
/// <summary>Registers a hotkey in the system.</summary>
public abst... | agpl-3.0 | C# |
17a299ec9b74d0681358954b2f10fc435067ab05 | build script engine is not abstact anymore. | flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | FlubuCore/Scripting/BuildScriptEngine.cs | FlubuCore/Scripting/BuildScriptEngine.cs | using System;
using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace FlubuCore.Scripting
{
public class BuildScriptEngine : IBuildScriptEngine
{
pr... | using System;
using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace FlubuCore.Scripting
{
public abstract class BuildScriptEngine : IBuildScriptEngine
{
... | bsd-2-clause | C# |
3f7e2f39d3d6e7b385a4b02e85585a928ae6b31d | Change provider config. | OdeToCode/Memflex,OdeToCode/Memflex | src/Sample.Mongo/App_Start/AuthConfig.cs | src/Sample.Mongo/App_Start/AuthConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetOpenAuth.AspNet.Clients;
using FlexProviders.Membership;
using Microsoft.Web.WebPages.OAuth;
using LogMeIn.Models;
namespace LogMeIn
{
public static class AuthConfig
{
public static void RegisterAuth()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetOpenAuth.AspNet.Clients;
using FlexProviders.Membership;
using Microsoft.Web.WebPages.OAuth;
using LogMeIn.Models;
namespace LogMeIn
{
public static class AuthConfig
{
public static void RegisterAuth()
... | mit | C# |
7120a5267f43e9d208e2acbc2f0135d9cb245ac3 | change root | ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth | GalleryMVC_With_Auth/Resources/Defines.cs | GalleryMVC_With_Auth/Resources/Defines.cs | namespace GalleryMVC_With_Auth.Resources
{
public static class Defines
{
public const string DbConnName = "DBcon";
public const string NPasswd = "Новый пароль";
public const string ConfNewPasswd = "Подтвердите новый пароль";
public const string CurPasswd = "Текущий(старый) парол... | namespace GalleryMVC_With_Auth.Resources
{
public static class Defines
{
public const string DbConnName = "DBcon";
public const string NPasswd = "Новый пароль";
public const string ConfNewPasswd = "Подтвердите новый пароль";
public const string CurPasswd = "Текущий(старый) парол... | apache-2.0 | C# |
c1df55cc89faced4745fec2131e076f804756f3e | Refactor FocusTests | JohanLarsson/Gu.Wpf.PropertyGrid | Gu.Wpf.PropertyGrid.UiTests/FocusTests.cs | Gu.Wpf.PropertyGrid.UiTests/FocusTests.cs | namespace Gu.Wpf.PropertyGrid.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class FocusTests
{
private static readonly string WindowName = "FocusWindow";
[OneTimeTearDown]
public void OneTimeTearDown()
{
Application.KillLaunched(Info.Exe... | namespace Gu.Wpf.PropertyGrid.UiTests
{
using NUnit.Framework;
using TestStack.White.UIItems;
using TestStack.White.WindowsAPI;
public class FocusTests : WindowTests
{
protected override string WindowName { get; } = "FocusWindow";
[Test]
public void CyclesFocus()
{... | mit | C# |
154157fc0d0a25a229f635c17d564a54754da161 | improve BgrPixel | takuya-takeuchi/DlibDotNet,takuya-takeuchi/DlibDotNet,takuya-takeuchi/DlibDotNet,takuya-takeuchi/DlibDotNet | src/DlibDotNet/Array2D/BgrPixel.cs | src/DlibDotNet/Array2D/BgrPixel.cs | using System;
using System.Runtime.InteropServices;
// ReSharper disable once CheckNamespace
namespace DlibDotNet
{
/// <summary>
/// Represents an BGR color value.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BgrPixel : IEquatable<BgrPixel>
{
#region ... | using System.Runtime.InteropServices;
// ReSharper disable once CheckNamespace
namespace DlibDotNet
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BgrPixel
{
public byte Blue;
public byte Green;
public byte Red;
}
}
| mit | C# |
3eca8bfd62c029e96062a41c101fc5b72b7b8db1 | Add help for -t switch | activescott/lessmsi,activescott/lessmsi,pombredanne/lessmsi,activescott/lessmsi,pombredanne/lessmsi | src/LessMsi.Cli/ShowHelpCommand.cs | src/LessMsi.Cli/ShowHelpCommand.cs | using System;
using System.Collections.Generic;
namespace LessMsi.Cli
{
internal class ShowHelpCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
ShowHelp("");
}
public static void ShowHelp(string errorMessage)
{
string helpString =
@"Usage:
lessmsi <command> [options] <msi... | using System;
using System.Collections.Generic;
namespace LessMsi.Cli
{
internal class ShowHelpCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
ShowHelp("");
}
public static void ShowHelp(string errorMessage)
{
string helpString =
@"Usage:
lessmsi <command> [options] <msi... | mit | C# |
bd6412da99490265ed7da76938feed188b03abf6 | Enable renaming of the executable file. | Terpla/A-Bot,scahyono/A-Bot | src/Sanderling.ABot.Ex/App.xaml.cs | src/Sanderling.ABot.Ex/App.xaml.cs | using Bib3;
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace Sanderling.ABot.Exe
{
public partial class App : Application
{
static string AssemblyDirectoryPath => Bib3.FCL.Glob.ZuProcessSelbsctMainModuleDirectoryPfaad... | using Bib3;
using System;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace Sanderling.ABot.Exe
{
public partial class App : Application
{
static string AssemblyDirectoryPath => Bib3.FCL.Glob.ZuProcessSelbsctMainModuleDirectoryPfaadBerecne().EnsureEnd... | apache-2.0 | C# |
ff674b1a7e84795255e1e3dbbe73146104ea3ab5 | Edit to pencil1projectile script | GGProductions/LetterStorm,GGProductions/LetterStorm,GGProductions/LetterStorm | Assets/Scripts/Projectile/DualPencilProjectile/Pencil1Projectile.cs | Assets/Scripts/Projectile/DualPencilProjectile/Pencil1Projectile.cs | using UnityEngine;
using System.Collections;
public class Pencil1Projectile : MonoBehaviour
{
#region Public Variables ---------------------------------------------
public GameObject PencilExplosion;
#endregion Public Variables ------------------------------------------
#region Private Variables ----... | using UnityEngine;
using System.Collections;
public class Pencil1Projectile : MonoBehaviour
{
#region Public Variables ---------------------------------------------
public GameObject PencilExplosion;
#endregion Public Variables ------------------------------------------
#region Private Variables ---... | mit | C# |
c5b3bc1a0bb46f888292a130147e72bc7fac837b | Fix context menu not running any actions in notification Form | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Handling/ContextMenuNotification.cs | Core/Handling/ContextMenuNotification.cs | using CefSharp;
namespace TweetDck.Core.Handling{
class ContextMenuNotification : ContextMenuBase{
public override void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model){
model.Clear();
base.OnBeforeCon... | using CefSharp;
namespace TweetDck.Core.Handling{
class ContextMenuNotification : ContextMenuBase{
public override void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model){
model.Clear();
base.OnBeforeCon... | mit | C# |
a1fc468f0d926b97389d888c310ea98beec0f3eb | Update spacing/indentation of changes | Kentico/delivery-sdk-net,Kentico/Deliver-.NET-SDK | Kentico.Kontent.Delivery/Models/Asset.cs | Kentico.Kontent.Delivery/Models/Asset.cs | using Newtonsoft.Json;
namespace Kentico.Kontent.Delivery
{
/// <summary>
/// Represents a digital asset, such as a document or image.
/// </summary>
public sealed class Asset
{
/// <summary>
/// Gets the name of the asset.
/// </summary>
[JsonProperty("name")]
public string Name { get; }
/// <summa... | using Newtonsoft.Json;
namespace Kentico.Kontent.Delivery
{
/// <summary>
/// Represents a digital asset, such as a document or image.
/// </summary>
public sealed class Asset
{
/// <summary>
/// Gets the name of the asset.
/// </summary>
[JsonProperty("name")]
public string Name { get; }
/// <summa... | mit | C# |
3552f4d6d19249804935b8a08a94bfc9d64fd8cb | Increment version number for new build. | dneelyep/MonoGameUtils | MonoGameUtils/Properties/AssemblyInfo.cs | MonoGameUtils/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MonoGameUtils")]
[assembly: AssemblyDescri... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MonoGameUtils")]
[assembly: AssemblyDescr... | mit | C# |
45e5ceadc674137bea802a99a47a3bab4e98bb29 | Fix wrong timeout value | k-t/SharpHaven | MonoHaven.Lib/Network/MessageReceiver.cs | MonoHaven.Lib/Network/MessageReceiver.cs | using System;
using System.Net.Sockets;
namespace MonoHaven.Network
{
internal class MessageReceiver : BackgroundTask
{
private const int ReceiveTimeout = 1000000; // 1 sec
private Action<MessageReader> handler;
private readonly byte[] receiveBuffer;
private readonly Socket socket;
public MessageReceive... | using System;
using System.Net.Sockets;
namespace MonoHaven.Network
{
internal class MessageReceiver : BackgroundTask
{
private const int ReceiveTimeout = 10000000; // 1 sec
private Action<MessageReader> handler;
private readonly byte[] receiveBuffer;
private readonly Socket socket;
public MessageReceiv... | mit | C# |
7916de5de86819105d1aa3cc6423b0ebc030a492 | range label is now shown properly; | KonH/UDBase | Scripts/Editor/Helpers/BaseRangeDrawer.cs | Scripts/Editor/Helpers/BaseRangeDrawer.cs | using UnityEngine;
using UnityEditor;
namespace UDBase.Helpers {
public class BaseRangeDrawer {
float valuesOffset = 2.5f;
public void OnGUI(Rect position, SerializedProperty property, GUIContent label) {
var minWidth = 0.0f;
var maxWidth = 0.0f;
EditorStyles.label.CalcMinMaxWidth(new GUIContent(proper... | using UnityEngine;
using UnityEditor;
namespace UDBase.Helpers {
public class BaseRangeDrawer {
float valuesOffset = 2.5f;
public void OnGUI(Rect position, SerializedProperty property, GUIContent label) {
var minWidth = 0.0f;
var maxWidth = 0.0f;
EditorStyles.label.CalcMinMaxWidth(new GUIContent(proper... | mit | C# |
c616bb27ce22a665a124c585de6e5346139bd82b | bump version to 2.9.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
2804c303d239ee29a7a61b328745d727655b89f4 | Fix incomplete last palette not being counted. | Prof9/PixelPet | PixelPet/CLI/Commands/ReadPalettesCmd.cs | PixelPet/CLI/Commands/ReadPalettesCmd.cs | using LibPixelPet;
using System;
using System.Linq;
namespace PixelPet.CLI.Commands {
internal class ReadPalettesCmd : CliCommand {
public ReadPalettesCmd()
: base("Read-Palettes",
new Parameter("format", "f", false, new ParameterValue("name", nameof(ColorFormat.BGRA8888))),
new Parameter("palette-numbe... | using LibPixelPet;
using System;
using System.Linq;
namespace PixelPet.CLI.Commands {
internal class ReadPalettesCmd : CliCommand {
public ReadPalettesCmd()
: base("Read-Palettes",
new Parameter("format", "f", false, new ParameterValue("name", nameof(ColorFormat.BGRA8888))),
new Parameter("palette-numbe... | mit | C# |
797ea6e5b75ffbb8c5346d5e2f83c8269c1c2136 | Make it work with path | Ulterius/server | RemoteTaskServer/Plugins/PluginLoader.cs | RemoteTaskServer/Plugins/PluginLoader.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using UlteriusPlugins;
namespace UlteriusServer.Plugins
{
public static cla... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
using System.Text;
using System.Threading.Tasks;
using UlteriusPlugins;
namespace UlteriusServer.Plugins
{
public static class PluginLoader<T>
... | mpl-2.0 | C# |
9de034a8eb0b5680e65dbac0df7270f98ebae3ea | Copy interactions from the given object | PearMed/Pear-Interaction-Engine | Scripts/Interactions/CopyInteractions.cs | Scripts/Interactions/CopyInteractions.cs | using UnityEngine;
namespace Pear.InteractionEngine.Interactions
{
/// <summary>
/// Copies interactions from the current object to the supplied objects
/// </summary>
public class CopyInteractions: MonoBehaviour
{
[Tooltip("Objects that interactions will be copied to")]
public GameObject[] CopyTo;
[Toolt... | using UnityEngine;
namespace Pear.InteractionEngine.Interactions
{
/// <summary>
/// Copies interactions from the current object to the supplied objects
/// </summary>
public class CopyInteractions: MonoBehaviour
{
[Tooltip("Objects that interactions will be copied to")]
public GameObject[] CopyTo;
privat... | mit | C# |
9a81c1505872ea75094aba6135dc149b757721a4 | Hide game type for now | textadventures/quest,siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,F2Andy/quest,textadventures/quest,siege918/quest,F2Andy/quest,siege918/quest,siege918/quest | WebEditor/WebEditor/Views/Create/New.cshtml | WebEditor/WebEditor/Views/Create/New.cshtml | @model WebEditor.Models.Create
@{
ViewBag.Title = "New Game";
}
@section scripts {
<script src="@Url.Content("~/Scripts/GameNew.js")" type="text/javascript"></script>
}
@using (Html.BeginForm()) {
@Html.ValidationSummary(true, "Unable to create game. Please correct the errors below.")
<d... | @model WebEditor.Models.Create
@{
ViewBag.Title = "New Game";
}
@section scripts {
<script src="@Url.Content("~/Scripts/GameNew.js")" type="text/javascript"></script>
}
@using (Html.BeginForm()) {
@Html.ValidationSummary(true, "Unable to create game. Please correct the errors below.")
<d... | mit | C# |
510c0a0437eed4716508f0af4dda859c8869e090 | Support representing a null SpatialRelation object | NightOwl888/Spatial4n,synhershko/Spatial4n,NightOwl888/Spatial4n,synhershko/Spatial4n | Spatial4n.Core/Shapes/SpatialRelation.cs | Spatial4n.Core/Shapes/SpatialRelation.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 | C# |
d9c7d7bcabd767844c67d08ff1488ad8927e88e1 | Allow for multiple phone numbers and email addresses | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public ... | apache-2.0 | C# |
713355fa3ba0af972e1af8476a268512879bf451 | Remove name checking in backup files | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Wallets/WalletDirectories.cs | WalletWasabi/Wallets/WalletDirectories.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using WalletWasabi.Helpers;
using WalletWasabi.Hwi.Models;
namespace WalletWasabi.Wallets
{
public class WalletDirectories
{
public const string WalletsDirName = "Wallets";
public const string WalletsBackupDirN... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using WalletWasabi.Helpers;
using WalletWasabi.Hwi.Models;
namespace WalletWasabi.Wallets
{
public class WalletDirectories
{
public const string WalletsDirName = "Wallets";
public const string WalletsBackupDirN... | mit | C# |
0c325217edafd44fc5a1d712f71d93aa28c96b29 | update only every 2 hours | DSilence/MiniPie | MiniPie/Manager/UpdateManager.cs | MiniPie/Manager/UpdateManager.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Reflection;
using System.Threading;
using System.Windows;
using MiniPie.Core;
using MiniPie.Core.Enums;
using Squirrel;
namespace MiniPie.Manager
{
public class UpdateManager: IDisposable
{
private readonly ILog _log;
... | using System;
using System.Collections.Generic;
using System.Net;
using System.Reflection;
using System.Threading;
using System.Windows;
using MiniPie.Core;
using MiniPie.Core.Enums;
using Squirrel;
namespace MiniPie.Manager
{
public class UpdateManager: IDisposable
{
private readonly ILog _log;
... | apache-2.0 | C# |
8288f03e6df7d4f0c39ca9c7bb34d1a4b3f661c0 | Add JSONP output | SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1 | Snowflake.API/Core/API/JSAPI/JSBridge.cs | Snowflake.API/Core/API/JSAPI/JSBridge.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Core.API;
using Newtonsoft.Json;
namespace Snowflake.Core.API.JSAPI
{
public static class JSBridge
{
public static string GetAllPlatforms(JSRequest request)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Core.API;
using Newtonsoft.Json;
namespace Snowflake.Core.API.JSAPI
{
public static class JSBridge
{
public static string GetAllPlatforms(JSRequest request)
{
... | mpl-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.