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
165e0279685a356009f7de3eacfb869d18f2adf8
Fix script order issue
rho24/Glimpse.NLog,rho24/Glimpse.NLog,sorenhl/Glimpse.NLog,sorenhl/Glimpse.NLog,rho24/Glimpse.NLog,sorenhl/Glimpse.NLog
Glimpse.NLog/Resource/NLogJsResource.cs
Glimpse.NLog/Resource/NLogJsResource.cs
using Glimpse.Core.Extensibility; namespace Glimpse.NLog.Resource { public class NLogJsResource : MyFileResource, IDynamicClientScript { private const string InternalName = "glimpse_nlog"; public NLogJsResource() { ResourceName = "Glimpse.NLog.Resource.glimpse.nlog.js"; ...
using Glimpse.Core.Extensibility; namespace Glimpse.NLog.Resource { public class NLogJsResource : MyFileResource, IDynamicClientScript { private const string InternalName = "glimpse_nlog"; public NLogJsResource() { ResourceName = "Glimpse.NLog.Resource.glimpse.nlog.js"; ...
mit
C#
b83d3449430c7610030ca50a9e98c67adf489307
Change name of a lifetime scope
HangfireIO/Hangfire.Autofac
HangFire.Autofac/AutofacJobActivator.cs
HangFire.Autofac/AutofacJobActivator.cs
using System; using Autofac; using Hangfire.Annotations; namespace Hangfire { /// <summary> /// Hangfire Job Activator based on Autofac IoC Container. /// </summary> public class AutofacJobActivator : JobActivator { /// <summary> /// Tag used in setting up per-job lifetime scope re...
using System; using Autofac; using Hangfire.Annotations; namespace Hangfire { /// <summary> /// Hangfire Job Activator based on Autofac IoC Container. /// </summary> public class AutofacJobActivator : JobActivator { /// <summary> /// Tag used in setting up per-job lifetime scope re...
mit
C#
2edb2492eebd2e52b59c5d6509b085fad1a354ab
Handle url launch
NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
PackageExplorer/Utilities/UriHelper.cs
PackageExplorer/Utilities/UriHelper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.RegularExpressions; namespace PackageExplorer { internal static class UriHelper { public static void OpenExternalLink(Uri licenseUrl) { try { i...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.RegularExpressions; namespace PackageExplorer { internal static class UriHelper { public static void OpenExternalLink(Uri licenseUrl) { if (IsRemoteUri(licenseUrl)) ...
mit
C#
b14c1534e1abcf2efde3374ebcd0accc75f649bf
add UDP_init()
yasokada/unity-151117-linemonitor-UI
Assets/SettingSend.cs
Assets/SettingSend.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; // for UDP send using System; using System.Text; using System.Net; using System.Net.Sockets; public class SettingSend : MonoBehaviour { public const string kCommandIpAddressPrefix = "192.168.10."; public const string kDefaultCommandPort = "7000";...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class SettingSend : MonoBehaviour { public const string kCommandIpAddressPrefix = "192.168.10."; public const string kDefaultCommandPort = "7000"; public const string kDefaultComBaud = "9600"; public InputField IF_ipadr; public InputFie...
mit
C#
636e3c13f6e8958d0f1ffd929e9784ec2ba65000
Change property to be read-only
terrajobst/git-istage,terrajobst/git-istage
src/git-istage/UI/FileDocument.cs
src/git-istage/UI/FileDocument.cs
using System.Text; using LibGit2Sharp; namespace GitIStage.UI; internal sealed class FileDocument : Document { private readonly int _indexOfFirstFile; private readonly string[] _lines; private readonly TreeEntryChanges[] _changes; private FileDocument(int indexOfFirstFile, string[] lines, TreeChange...
using System.Text; using LibGit2Sharp; namespace GitIStage.UI; internal sealed class FileDocument : Document { private readonly int _indexOfFirstFile; private readonly string[] _lines; private readonly TreeEntryChanges[] _changes; private FileDocument(int indexOfFirstFile, string[] lines, TreeChange...
mit
C#
f3aa49934f853e64fcca1b31641b6e48f4895550
Remove personal contact info.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
MagicalCryptoWallet.Backend/Startup.cs
MagicalCryptoWallet.Backend/Startup.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using M...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using M...
mit
C#
43e6b10564e8b0916a93b06af46756b870e432f0
Bump to 0.4
mpOzelot/Unity,github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]...
mit
C#
5085c364fa13f84cd24ef1c99bc86e7635117608
Bump version to 0.11
mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]...
mit
C#
0cbde68a7d1c1a526cdde01e1b29e8f2804dd34a
Bump to 0.8
mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]...
mit
C#
33764f4cd4e41ac62221a6ba56e1f4ff22aaae0e
test window
alloverme/apmathcloudweb
site/index.cshtml
site/index.cshtml
@{ var amplitudeRequest = Request.Params["amplitude"]; var amplitudeValue = 1; var clear = int.TryParse(amplitudeRequest, out amplitudeValue); var errorMssage = "no amplitude provided, please input http://apmath4oj.azurewebsites.net/mem.cshtml?amplitude=5"; } <meta charset="utf-8"> <body> <script src="//d3js.org/d3...
@{ var amplitudeRequest = Request.Params["amplitude"]; var amplitudeValue = 1; var clear = int.TryParse(amplitudeRequest, out amplitudeValue); var errorMssage = "no amplitude provided, please input http://apmath4oj.azurewebsites.net/mem.cshtml?amplitude=5"; } <meta charset="utf-8"> <body> <script src="//d3js.org/d3...
mit
C#
e717d6695bac6ee5b5bcf0b3c26942e6c3b039ca
update to 1.9
matortheeternal/mod-analyzer
ModAnalyzer/Properties/AssemblyInfo.cs
ModAnalyzer/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 ...
mit
C#
b0530ae28c1442cee4b9d7a15ce620f906cdc82d
bump version
Fody/Janitor
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.5.2")] [assembly: AssemblyFileVersion("1.5.2")]
using System.Reflection; [assembly: AssemblyVersion("1.5.1")] [assembly: AssemblyFileVersion("1.5.1")]
mit
C#
b4d4d7ef1afc4d1ce13b57c3ffe703cfa9e3fc16
Use ReflectionOnlyLoad() in the remote proxy reference prober
sadiqhirani/Nancy,blairconrad/Nancy,xt0rted/Nancy,davidallyoung/Nancy,blairconrad/Nancy,asbjornu/Nancy,sadiqhirani/Nancy,asbjornu/Nancy,jeff-pang/Nancy,asbjornu/Nancy,blairconrad/Nancy,NancyFx/Nancy,xt0rted/Nancy,damianh/Nancy,danbarua/Nancy,asbjornu/Nancy,jeff-pang/Nancy,danbarua/Nancy,JoeStead/Nancy,khellang/Nancy,da...
src/Nancy/Helpers/ProxyNancyReferenceProber.cs
src/Nancy/Helpers/ProxyNancyReferenceProber.cs
#if !CORE namespace Nancy.Helpers { using System; using System.Reflection; using Nancy.Extensions; internal class ProxyNancyReferenceProber : MarshalByRefObject { public bool HasReference(AssemblyName assemblyNameForProbing, AssemblyName referenceAssemblyName) { ...
#if !CORE namespace Nancy.Helpers { using System; using System.Reflection; using Nancy.Extensions; internal class ProxyNancyReferenceProber : MarshalByRefObject { public bool HasReference(AssemblyName assemblyNameForProbing, AssemblyName referenceAssemblyName) { ...
mit
C#
ed24db292eeae7997f12e7ce70ecc80f6f7acc73
Fix HttpService NotFound server error.
dkackman/HockeySDK-Windows,ChristopheLav/HockeySDK-Windows,bitstadium/HockeySDK-Windows
Src/Kit.Core45/Services/HttpService.cs
Src/Kit.Core45/Services/HttpService.cs
namespace Microsoft.HockeyApp.Services { using System; using System.IO; using System.Net; using System.Threading.Tasks; using Extensions; internal class HttpService : IHttpService { internal const string ContentTypeHeader = "Content-Type"; internal const string Conten...
namespace Microsoft.HockeyApp.Services { using System; using System.IO; using System.Net; using System.Threading.Tasks; using Extensions; internal class HttpService : IHttpService { internal const string ContentTypeHeader = "Content-Type"; internal const string Conten...
mit
C#
d7bbf4be4d56bdcd487d88a57e16c4c32e7c2abd
Add todo
VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs
source/Program.cs
source/Program.cs
using System; using System.Windows.Forms; using Course_project.Views; //TODO Install MongoDB //TODO Add collection in DB //TODO Implement DAO layer(local DB) //TODO Create base views(registration, login, addTask, taskViewer) //TODO Implement base controlers namespace Course_project { internal sealed class Program ...
using System; using System.Windows.Forms; using Course_project.Views; namespace Course_project { internal sealed class Program { [STAThread] private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new LoginView...
mit
C#
abb8f1132ca233030ff232e67598149b627cc047
Drop tables after tests.
SilkStack/Silk.Data.SQL.ORM
Silk.Data.SQL.ORM.Tests/SelectTests.cs
Silk.Data.SQL.ORM.Tests/SelectTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; namespace Silk.Data.SQL.ORM.Tests { [TestClass] public class SelectTests { [TestMethod] public void SelectGuidSimpleModel() { var domain = new DataDomain(); var dataModel = domain.CreateDataModel<BasicPoco...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; namespace Silk.Data.SQL.ORM.Tests { [TestClass] public class SelectTests { [TestMethod] public void SelectGuidSimpleModel() { var domain = new DataDomain(); var dataModel = domain.CreateDataModel<BasicPoco...
mit
C#
4e7b4146fd635b1b9cd12d3612a4a5b33fef64b4
Update SlimyYoyoProjectile.cs
Minesap/TheMinepack
Projectiles/SlimyYoyoProjectile.cs
Projectiles/SlimyYoyoProjectile.cs
using Terraria.ID; using Terraria.ModLoader; namespace TheMinepack.Projectiles { public class SlimyYoyoProjectile : ModProjectile { public override void SetDefaults() { projectile.CloneDefaults(ProjectileID.Code1); projectile.name = "Slimy Yoyo"; p...
using Terraria.ID; using Terraria.ModLoader; namespace TheMinepack.Projectiles { public class SlimyYoyoProjectile : ModProjectile { public override void SetDefaults() { projectile.CloneDefaults(ProjectileID.Code1); projectile.name = "Slimy Yoyo"; p...
mit
C#
021e3f33692eb88b55afd573473b62af7b36193f
Fix menu order.
bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto
Source/Eto/Forms/Menu/ImageMenuItem.cs
Source/Eto/Forms/Menu/ImageMenuItem.cs
using System; using Eto.Drawing; using System.Collections.Generic; namespace Eto.Forms { public static class ImageMenuExtensions { public static ImageMenuItem Add (this MenuItemCollection items, string text) { var item = new ImageMenuItem (items.Parent.Generator); item.Text = text; items.Add (item); ...
using System; using Eto.Drawing; using System.Collections.Generic; namespace Eto.Forms { public static class ImageMenuExtensions { public static ImageMenuItem Add (this MenuItemCollection items, string text) { var item = new ImageMenuItem (items.Parent.Generator); item.Text = text; items.Add (item); ...
bsd-3-clause
C#
711e28c83e16c0332141ec9dd9f2a0a66c52a770
fix json save
laktak/hjson-cs,hjson/hjson-cs,hjson/hjson-cs
src/HjsonValue.cs
src/HjsonValue.cs
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace Hjson { public static class HjsonValue { public static JsonValue Load(string path) { if (Path.GetExtension(path).ToLower...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace Hjson { public static class HjsonValue { public static JsonValue Load(string path) { if (Path.GetExtension(path)=="json"...
mit
C#
6cbd3cfb6367e5bcbd21b27883e63d8505727c76
Fix checkbox selection (#2710)
petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Or...
src/OrchardCore.Modules/OrchardCore.Settings/Views/Items/SiteSettingsDeploymentStep.Fields.Edit.cshtml
src/OrchardCore.Modules/OrchardCore.Settings/Views/Items/SiteSettingsDeploymentStep.Fields.Edit.cshtml
@model SiteSettingsDeploymentStepViewModel @using System.Reflection @{ var settings = Model.Settings; } <h5>@T["Site Settings"]</h5> <fieldset class="form-group"> <span class="hint">@T["The site settings to add as part of the plan."]</span> <ul class="list-group w-md-50"> @foreach (var setting in t...
@model SiteSettingsDeploymentStepViewModel @using System.Reflection @{ var settings = Model.Settings; } <h5>@T["Site Settings"]</h5> <fieldset class="form-group"> <span class="hint">@T["The site settings to add as part of the plan."]</span> <ul class="list-group w-md-50"> @foreach (var setting in t...
bsd-3-clause
C#
43da68bc23f60b8c722bc3423f74364ae71fc56f
Add comment.
jmarolf/roslyn,xasx/roslyn,srivatsn/roslyn,dpoeschl/roslyn,swaroop-sridhar/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,jcouv/roslyn,pdelvo/roslyn,CaptainHayashi/roslyn,ErikSchierboom/roslyn,yeaicc/roslyn,khyperia/roslyn,mgoertz-msft/roslyn,mattwar/roslyn,bartdesmet/roslyn,jmarolf/roslyn,MattWindso...
src/Features/Core/Portable/DesignerAttributes/DesignerAttributeDocumentData.cs
src/Features/Core/Portable/DesignerAttributes/DesignerAttributeDocumentData.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.CodeAnalysis.DesignerAttributes { /// <summary> /// Marshalling type to pass designer attribute data to/from the O...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.CodeAnalysis.DesignerAttributes { internal struct DesignerAttributeDocumentData : IEquatable<DesignerAttributeDocument...
mit
C#
2f0511820af61f6aadb19d628d8af31f627bb0f1
make interface public
jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,siyo-wang/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,...
src/IdentityServer4/ResponseHandling/Interfaces/IAuthorizeResponseGenerator.cs
src/IdentityServer4/ResponseHandling/Interfaces/IAuthorizeResponseGenerator.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Models; using IdentityServer4.Validation; using System.Threading.Tasks; namespace IdentityServer4.ResponseHandling { ...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Models; using IdentityServer4.Validation; using System.Threading.Tasks; namespace IdentityServer4.ResponseHandling { ...
apache-2.0
C#
04a0c61443bbf5568b5c51a60412c8df1b68dcc3
Update version to 1.0.0-beta.
RagingRudolf/CodeFirst.UCommerce
source/Core/Properties/AssemblyInfo.cs
source/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: 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#
fb5a996a776645f730bda10efee4ad4888a75330
add onprem authentication sample
kenakamu/UCWA2.0-CS
UCWASDK/TestClient/TokenService.cs
UCWASDK/TestClient/TokenService.cs
using Microsoft.IdentityModel.Clients.ActiveDirectory; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace TestClient { public class TokenService { public const string tenant = ...
using Microsoft.IdentityModel.Clients.ActiveDirectory; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestClient { public class TokenService { public const string tenant = ""; // i.e. "contoso.onmicrosoft.com"; publ...
mit
C#
3fff358302b0dd96546fa2e36acef4fbff940653
make static member a const
dkackman/DynamicRestProxy,dkackman/DynamicRestProxy,jamesholcomb/DynamicRestProxy,jamesholcomb/DynamicRestProxy
UnitTestHelpers/CredentialStore.cs
UnitTestHelpers/CredentialStore.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Dynamic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace UnitTestHelpers { /// <summary> /// This is a quick and dirty way to store service credentials in a place /// that is easy to...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Dynamic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace UnitTestHelpers { /// <summary> /// This is a quick and dirty way to store service credentials in a place /// that is easy to...
apache-2.0
C#
30d220ce7ee70e92891ea3d9e6c1428d5a6411b9
Update ThrusterEmitterController.cs
highnet/Java-101,highnet/Java-101
Unity/ThrusterEmitterController.cs
Unity/ThrusterEmitterController.cs
using UnityEngine; using System.Collections; public class ThrusterEmitterController : MonoBehaviour { ParticleSystem ps; AudioSource ac; // Use this for initialization void Start () { ps = GetComponent<ParticleSystem>(); ac = GetComponent<AudioSource>(); } // Update is called once per...
mit
C#
6faf44b95ac160c775a79bd46e1d1548fe28798a
Add missing properties to Image
carbon/Amazon
src/Amazon.Ec2/Models/Image.cs
src/Amazon.Ec2/Models/Image.cs
using System.Xml.Serialization; namespace Amazon.Ec2 { public class Image { // i386 | x86_64 [XmlElement("architecture")] public string Architecture { get; set; } [XmlElement("description")] public string Description { get; set; } [XmlElement("ena...
using System.Xml.Serialization; namespace Amazon.Ec2 { public class Image { [XmlElement("description")] public string Description { get; set; } [XmlElement("enaSupport")] public bool EnaSupport { get; set; } [XmlElement("imageId")] public string I...
mit
C#
06affb3e9b9ad534f3cc00e587448ead0eb9195c
Fix warp/teleport ack data send (was scale inverted)
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Bursting/GameBurstingCompletedEventCommandHandler.cs
src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Bursting/GameBurstingCompletedEventCommandHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; using UnityEngine; namespace Booma.Proxy { //TODO: Temp disabled, it didn't work. Also, it didn't make other late joining clients see us. [SceneTypeCreate(GameScen...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; using UnityEngine; namespace Booma.Proxy { //TODO: Temp disabled, it didn't work. Also, it didn't make other late joining clients see us. [SceneTypeCreate(GameScen...
agpl-3.0
C#
60eb963c261658f27fd409e643583dbdc09198dc
Fix typo which caused bug in loading server configs.
Joshua-Ashton/TheGuin2
src/ConfigSchema/BaseConfig.cs
src/ConfigSchema/BaseConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace TheGuin2 { public class ConfigDefault { public string DefaultDir; } public class DefaultConfigDefault : ConfigDefault { public DefaultConfigDefault() { DefaultD...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace TheGuin2 { public class ConfigDefault { public string DefaultDir; } public class DefaultConfigDefault : ConfigDefault { public DefaultConfigDefault() { DefaultD...
mit
C#
e592ba8eb59816de65083a37c6ff37816ad224c5
Remove unnecessary private variable
mgj/MvvmCross-Dreams,mgj/MvvmCross-Dreams
Dreams.Droid/Setup.cs
Dreams.Droid/Setup.cs
using Android.Content; using MvvmCross.Droid.Platform; using MvvmCross.Core.ViewModels; using MvvmCross.Platform.Platform; using MvvmCross.Platform; using artm.MvxPlugins.Logger.Services; using artm.MvxPlugins.Logger.Droid.Services; using artm.MvxPlugins.Dialog.Services; using artm.MvxPlugins.Dialog.Droid.Services; na...
using Android.Content; using MvvmCross.Droid.Platform; using MvvmCross.Core.ViewModels; using MvvmCross.Platform.Platform; using MvvmCross.Platform; using artm.MvxPlugins.Logger.Services; using artm.MvxPlugins.Logger.Droid.Services; using artm.MvxPlugins.Dialog.Services; using artm.MvxPlugins.Dialog.Droid.Services; na...
apache-2.0
C#
cbbfb89619ff47ad72fa0127ce62d9668b1ba7b4
Add failure notes
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
tests/SharpCompress.Test/Zip/ZipWriterTests.cs
tests/SharpCompress.Test/Zip/ZipWriterTests.cs
using SharpCompress.Common; using Xunit; namespace SharpCompress.Test.Zip { public class ZipWriterTests : WriterTests { public ZipWriterTests() : base(ArchiveType.Zip) { } // Failing on net461 [Fact] public void Zip_Deflate_Write() { ...
using SharpCompress.Common; using Xunit; namespace SharpCompress.Test.Zip { public class ZipWriterTests : WriterTests { public ZipWriterTests() : base(ArchiveType.Zip) { } [Fact] public void Zip_Deflate_Write() { Write(CompressionType.De...
mit
C#
0a9e914beda17d065453d9b329851c8880eaffa7
update copyright info
NuGet/PoliteCaptcha
GlobalAssemblyInfo.cs
GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("The NuGet Team")] [assembly: AssemblyProduct("PoliteCaptcha")] [assembly: AssemblyCopyright("Copyright (C) 2015 .NET Foundation")] [assembly: AssemblyVersion("0.4.0.0")] [assembly: ComVisible(false)]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("The NuGet Team")] [assembly: AssemblyProduct("PoliteCaptcha")] [assembly: AssemblyCopyright("Copyright (C) 2012 OuterCurve Foundation")] [assembly: AssemblyVersion("0.4.0.0")] [assembly: ComVisible(false)]
apache-2.0
C#
037e203da1854c175f416a2b0d45b4bcd1c35e28
Improve pipeline interface so that StartWith is now static and actually creates the pipeline for us
HeadspringLabs/bulk-writer
src/BulkWriter/Pipeline/EtlPipeline.cs
src/BulkWriter/Pipeline/EtlPipeline.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using BulkWriter.Pipeline.Internal; using BulkWriter.Pipeline.Steps; namespace BulkWriter.Pipeline { public sealed class EtlPipeline : IEtlPipeline { private readonly Stack<IEtlPipelineStep> _pipelineSteps = new St...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using BulkWriter.Pipeline.Internal; using BulkWriter.Pipeline.Steps; namespace BulkWriter.Pipeline { public class EtlPipeline : IEtlPipeline { private readonly Stack<IEtlPipelineStep> _pipelineSteps = new Stack<IEt...
apache-2.0
C#
4525917fd9339639e689ad0a09de50684aee4f6a
Change tab.
toroso/ruibarbo
tungsten.sampletest/Features/TabControlTest.cs
tungsten.sampletest/Features/TabControlTest.cs
using System.Linq; using NUnit.Framework; using tungsten.core.Elements; using tungsten.nunit; using tungsten.sampletest.AutomationLayer; namespace tungsten.sampletest.Features { [TestFixture] public class TabControlTest : TestBase { [Test] public void TabItemCount() { ...
using System.Linq; using NUnit.Framework; using tungsten.core.Elements; using tungsten.nunit; using tungsten.sampletest.AutomationLayer; namespace tungsten.sampletest.Features { [TestFixture] public class TabControlTest : TestBase { [Test] public void TabItemCount() { ...
apache-2.0
C#
5835b787bddbba0cb8bcfa16b991a36695c3b84f
Fix build
danielwertheim/structurizer
build.cake
build.cake
#load "./buildconfig.cake" var config = BuildConfig.Create(Context, BuildSystem); Information("SrcDir: " + config.SrcDir); Information("OutDir: " + config.OutDir); Information("SemVer: " + config.SemVer); Information("BuildVersion: " + config.BuildVersion); Information("BuildProfile: " + config.BuildProfile); Informa...
#tool "nuget:?package=NUnit.ConsoleRunner" #load "./buildconfig.cake" var config = BuildConfig.Create(Context, BuildSystem); var slns = config.SrcDir + "*.sln"; Task("Default") .IsDependentOn("InitOutDir") .IsDependentOn("NuGet-Restore") .IsDependentOn("AssemblyVersion") .IsDependentOn("Build") ....
mit
C#
aaf8d6f4f7d47545763fc162dc57dbf67decd0a3
Move SourceType to Esprima namespace (#159)
sebastienros/esprima-dotnet,sebastienros/esprima-dotnet
src/Esprima/SourceType.cs
src/Esprima/SourceType.cs
namespace Esprima { public enum SourceType { Module, Script } }
public enum SourceType { Module, Script }
bsd-3-clause
C#
4134f66c78f7f039908fe853d3646b34ebd374b6
Add SplashText
kennyvv/Alex,kennyvv/Alex,kennyvv/Alex,kennyvv/Alex
src/Alex/SplashTexts.cs
src/Alex/SplashTexts.cs
using System; namespace Alex { internal static class SplashTexts { private static readonly string[] Texts = { "Inspired by ThinkOfDeath", "Weird shit!", "Uhm, random?", "This %RANDOM% is a random number!", "Has a menu!", "Created in C#", "O.M.G Why are you reading this?!", "(Doe...
using System; namespace Alex { internal static class SplashTexts { private static readonly string[] Texts = { "Inspired by ThinkOfDeath", "Weird shit!", "Works! (Except for many bugs)", "Uhm, random?", "This %RANDOM% is a random number!", "Has a menu!", "Created in C#", "O.M.G Why are yo...
mpl-2.0
C#
fec0696b8e63bb8a4e3fec5130c4b48e1667f252
fix koi message
2sic/app-blog,2sic/app-blog,2sic/app-blog
shared/_Assets.cshtml
shared/_Assets.cshtml
@inherits Custom.Hybrid.Razor12 @{ // The Settings contains rules for predefined web resources var webResources = Settings.WebResources; // get CSS information about the current Theme var pageCss = GetService<Connect.Koi.ICss>(); // show warning for admin if koi.json is missing if(pageCss.IsUnknown && Cm...
@inherits Custom.Hybrid.Razor12 @{ // The Settings contains rules for predefined web resources var webResources = Settings.WebResources; // get CSS information about the current Theme var pageCss = GetService<Connect.Koi.ICss>(); // show warning for admin if koi.json is missing if(pageCss.IsUnknown && Cm...
mit
C#
f6b743dd06f1cf5b993bf8c709f9ba8188fecb65
Use assert for internal API
ektrah/nsec
src/Cryptography/Oid.cs
src/Cryptography/Oid.cs
using System; using System.Diagnostics; namespace NSec.Cryptography { internal struct Oid { private readonly byte[] _bytes; public Oid( uint first, uint second, params uint[] rest) { int length = CalcLength(first * 40 + second); ...
using System; namespace NSec.Cryptography { internal struct Oid { private readonly byte[] _bytes; public Oid( uint first, uint second, params uint[] rest) { int length = CalcLength(first * 40 + second); for (int i = 0; i < res...
mit
C#
8a2ca72662e2b67ae32ac453221632bcbf450185
Add Acknowledge to Event
dominicx/ZabbixApi,binking338/ZabbixApi,HenriqueCaires/ZabbixApi,HenriqueCaires/ZabbixApi
src/ZabbixApi/Services/EventService.cs
src/ZabbixApi/Services/EventService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZabbixApi.Entities; using ZabbixApi.Helper; using ZabbixApi; using Newtonsoft.Json; namespace ZabbixApi.Services { public interface IEventService { IList<Event> Get(object filter =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZabbixApi.Entities; using ZabbixApi.Helper; using ZabbixApi; namespace ZabbixApi.Services { public interface IEventService { IList<Event> Get(object filter = null, IList<EventInclu...
mit
C#
20134062c3e8fdd1db360ffff8a2b36dc65d7be4
Add comment
sonvister/Binance
src/Binance/WebSocket/UserData/SingleUserDataWebSocketClient.cs
src/Binance/WebSocket/UserData/SingleUserDataWebSocketClient.cs
using System; using System.Linq; using Binance.Api; using Binance.WebSocket.Events; using Microsoft.Extensions.Logging; namespace Binance.WebSocket.UserData { public class SingleUserDataWebSocketClient : UserDataWebSocketClient, ISingleUserDataWebSocketClient { /// <summary> /// Constructor. ...
using System; using System.Linq; using Binance.Api; using Binance.WebSocket.Events; using Microsoft.Extensions.Logging; namespace Binance.WebSocket.UserData { public class SingleUserDataWebSocketClient : UserDataWebSocketClient, ISingleUserDataWebSocketClient { /// <summary> /// Constructor. ...
mit
C#
52ba61ce8cd7c1bbd67006d0bcd65e3ffcbbe24f
Use "official" configuration repo.
LogosBible/Leeroy
src/Leeroy/Service.cs
src/Leeroy/Service.cs
using System; using System.Net; using System.ServiceProcess; using System.Threading; using System.Threading.Tasks; using Common.Logging; using Leeroy.Properties; namespace Leeroy { public partial class Service : ServiceBase { public Service() { InitializeComponent(); Log.Info("Initializing service."); ...
using System; using System.Net; using System.ServiceProcess; using System.Threading; using System.Threading.Tasks; using Common.Logging; using Leeroy.Properties; namespace Leeroy { public partial class Service : ServiceBase { public Service() { InitializeComponent(); Log.Info("Initializing service."); ...
mit
C#
8b100f13b70aa00fdb69304500ea7e2a6a142322
Fix the flakiness in secrets extension test (#17559)
AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjo...
sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationSecretsFunctionalTests.cs
sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationSecretsFunctionalTests.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Secrets; using Microsoft.Extensions.Configuration; using NUnit.Framework; namespace Azure.Ext...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Secrets; using Microsoft.Extensions.Configuration; using NUnit.Framework; namespace Azure.Ext...
mit
C#
337ac4ed6d46acf0489aa4401f54e16e01858a88
Address an issue blocks query provider parameters being sent.
moegirlwiki/Kaleidoscope
src/Moegirlpedia.MediaWikiInterop.Primitives/Transform/QueryRequestSerializer.cs
src/Moegirlpedia.MediaWikiInterop.Primitives/Transform/QueryRequestSerializer.cs
using Moegirlpedia.MediaWikiInterop.Primitives.Action.Models; using Moegirlpedia.MediaWikiInterop.Primitives.Foundation; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Reflection; using Moegirlpedia.MediaWikiI...
using Moegirlpedia.MediaWikiInterop.Primitives.Action.Models; using Moegirlpedia.MediaWikiInterop.Primitives.Foundation; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Moegirlpedia.MediaWikiInterop.Primitives.Tr...
mit
C#
52725c74829db5880e0460c72dbb84518f804781
Fix Option<T>.ExpectNone
copygirl/EntitySystem
src/Utility/Option.cs
src/Utility/Option.cs
using System; using System.Collections.Generic; namespace EntitySystem.Utility { public struct Option<T> : IEquatable<Option<T>> { readonly T _value; public bool HasValue { get; private set; } public T Value => Expect(() => new InvalidOperationException($"Option has no value")); public Option(...
using System; using System.Collections.Generic; namespace EntitySystem.Utility { public struct Option<T> : IEquatable<Option<T>> { readonly T _value; public bool HasValue { get; private set; } public T Value => Expect(() => new InvalidOperationException($"Option has no value")); public Option(...
mit
C#
d7bd53837eaed31bf1cd320eaf10aad5c4a2821c
Remove irrellevant tests
appharbor/appharbor-cli
src/AppHarbor.Tests/CommandDispatcherTest.cs
src/AppHarbor.Tests/CommandDispatcherTest.cs
using System; using System.Collections.Generic; using System.Linq; using Castle.MicroKernel; using Moq; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } } }...
using System; using System.Collections.Generic; using System.Linq; using Castle.MicroKernel; using Moq; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } [...
mit
C#
ee78bd1ae800e8919b73bbc10746dfbe1ecd5462
Move foo command type to static variable
appharbor/appharbor-cli
src/AppHarbor.Tests/CommandDispatcherTest.cs
src/AppHarbor.Tests/CommandDispatcherTest.cs
using System; using System.Linq; using Castle.MicroKernel; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class CommandDispatcherTest { private static Type FooCommandType = typeof(FooCommand); public class FooCommand : ICommand { public virtual void Ex...
using System.Linq; using Castle.MicroKernel; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } [Theory, AutoCommandData] pub...
mit
C#
a1b8a1b617cd0ac0570b8523dce24848386f4dc8
Remove watchFileSystem config section property - no longer needed
damiensawyer/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette
src/Cassette/CassetteConfigurationSection.cs
src/Cassette/CassetteConfigurationSection.cs
using System.Configuration; namespace Cassette { public sealed class CassetteConfigurationSection : ConfigurationSection { [ConfigurationProperty("debug", DefaultValue = null)] public bool? Debug { get { return (bool?)this["debug"]; } set { this["debug...
using System.Configuration; namespace Cassette { public sealed class CassetteConfigurationSection : ConfigurationSection { [ConfigurationProperty("debug", DefaultValue = null)] public bool? Debug { get { return (bool?)this["debug"]; } set { this["debug...
mit
C#
9eb2ab26dc8cdf202555a341f0d242c0b8c9c8ae
Make the intent clearer to accept bodyless PROPFIND
FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer
FubarDev.WebDavServer.AspNetCore/Formatters/WebDavXmlSerializerInputFormatter.cs
FubarDev.WebDavServer.AspNetCore/Formatters/WebDavXmlSerializerInputFormatter.cs
using Microsoft.AspNetCore.Mvc.Formatters; namespace FubarDev.WebDavServer.AspNetCore.Formatters { public class WebDavXmlSerializerInputFormatter : XmlSerializerInputFormatter { public override bool CanRead(InputFormatterContext context) { var request = context.HttpContext.Request;...
using Microsoft.AspNetCore.Mvc.Formatters; namespace FubarDev.WebDavServer.AspNetCore.Formatters { public class WebDavXmlSerializerInputFormatter : XmlSerializerInputFormatter { public override bool CanRead(InputFormatterContext context) { var request = context.HttpContext.Request;...
mit
C#
ceecba3a12b7cea6788d2897f449b1371fd8d2f4
Simplify FunctionEntrypoint
martincostello/alexa-london-travel
src/LondonTravel.Skill/FunctionEntrypoint.cs
src/LondonTravel.Skill/FunctionEntrypoint.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 Alexa.NET.Request; using Alexa.NET.Response; using Amazon.Lambda.RuntimeSupport; using Amazon.Lambda.Serialization.Json; namespace MartinC...
// 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 Alexa.NET.Request; using Alexa.NET.Response; using Amazon.Lambda.RuntimeSupport; using Amazon.Lambda.Serialization.Json; namespace MartinC...
apache-2.0
C#
e51de575d1b10972fe4ca5d4bf45d7f4a0f656ac
Fix ui when contentSummary has unclosed dom tags.
Kasperki/ASPWiki,Kasperki/ASPWiki
aspwiki/Views/Home/PageLink.cshtml
aspwiki/Views/Home/PageLink.cshtml
@using ASPWiki.Model @model WikiPage <article class="row" style="margin:15px;word-break:break-all;"> <div class="col-sm-12"> <a href="/Wiki/View/@Model.GetPathString()"><h3>@Model.Title</h3></a> </div> <div class="col-sm-12"> @Html.Raw(@Model.GetContentSummary()) </div> <div clas...
@using ASPWiki.Model @model WikiPage <article style="margin:15px;word-break:break-all;"> <a href="/Wiki/View/@Model.GetPathString()"><h3>@Model.Title</h3></a> @Html.Raw(@Model.GetContentSummary()) @Html.Partial("~/Views/Wiki/Label.cshtml", Model.label) <span>Written by: Unknown - Size: @Mode...
mit
C#
76521acb592823315be8abd27847168bf2009a1d
Revert "Test"
Theliahh/non-violence,Theliahh/non-violence
src/NVTest/Controllers/Web/HomeController.cs
src/NVTest/Controllers/Web/HomeController.cs
using System; using Microsoft.AspNet.Mvc; namespace NVTest.Controllers.Web { public class HomeController : Controller { public IActionResult Index() { return View(); } public IActionResult About() { return View(); } } }
using System; using Microsoft.AspNet.Mvc; namespace NVTest.Controllers.Web { public class HomeController : Controller { public IActionResult Index() { return View(); } public IActionResult About() { return View(); } }/...
apache-2.0
C#
42afd3a14a46a55c491de2d6824cb2ea29866091
CHANGE CONFIG TO PRODUCTION !!!
tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer
DailySoccer2015/ApiApp/MongoAccess/MongoUtil.cs
DailySoccer2015/ApiApp/MongoAccess/MongoUtil.cs
using ApiApp.Models; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Configuration; namespace ApiApp.MongoAccess { static class MongoUtil { #region Fields private static IMongoClient _cl...
using ApiApp.Models; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Configuration; namespace ApiApp.MongoAccess { static class MongoUtil { #region Fields private static IMongoClient _cl...
mit
C#
00f33e820b703a6bd2168062030d4fd489f5ec4b
Clean up: Pastel
ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth
GalleryMVC_With_Auth/Views/Images/Pastel.cshtml
GalleryMVC_With_Auth/Views/Images/Pastel.cshtml
 @{ ViewBag.Title = "Пастель"; } <h2>@ViewBag.Title</h2> <div class="grid"> @for (int i = 0; i < Directory.GetFiles(Server.MapPath("/Content/images/pastel/kondatuk_andr")).Length; i++) { <figure class="effect-milo"> <img src="~/Content/images/pastel/kondatuk_andr/@string.Format(...
 @{ ViewBag.Title = "Пастель"; } <h2>@ViewBag.Title</h2> <div class="grid"> @for (int i = 0; i < Directory.GetFiles(Server.MapPath("/Content/images/pastel/kondatuk_andr")).Length; i++) { <figure class="effect-milo"> <img src="~/Content/images/pastel/kondatuk_andr/@string.Format(...
apache-2.0
C#
2b754700aa3e675f23638cc8e57a5f02cf06ff67
Update DatesTests.cs
manuc66/JsonSubTypes
JsonSubTypes.Tests/DatesTests.cs
JsonSubTypes.Tests/DatesTests.cs
using System; using Newtonsoft.Json; using NUnit.Framework; namespace JsonSubTypes.Tests { [TestFixture] public class DatesTest { [JsonConverter(typeof(JsonSubtypes), nameof(SubTypeClass.Discriminator))] [JsonSubtypes.KnownSubType(typeof(SubTypeClass), "SubTypeClass")] public abstr...
using System; using Newtonsoft.Json; using NUnit.Framework; namespace JsonSubTypes.Tests { [TestFixture] public class DatesTest { [JsonConverter(typeof(JsonSubtypes), nameof(SubTypeClass.Discriminator))] public abstract class MainClass { } public class SubTypeClass...
mit
C#
6663c06c7ef91f830bd8d1dc76c558f94feee6fb
Remove skip.
AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur...
src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs
src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
9746c9e1987e170e42e631dcdc2e9ed25b22d753
Adjust FlanGrab sound effect pannng
Barleytree/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Resources/Microgames/_Finished/FlanGrab/Scripts/FlanGrab_SightBehaviour.cs
Assets/Resources/Microgames/_Finished/FlanGrab/Scripts/FlanGrab_SightBehaviour.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FlanGrab_SightBehaviour : MonoBehaviour { private GameObject sightSprite; [SerializeField] private GameObject meteorInSight; [SerializeField] private AudioClip hitClip, missClip; // Use this for initiali...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FlanGrab_SightBehaviour : MonoBehaviour { private GameObject sightSprite; [SerializeField] private GameObject meteorInSight; [SerializeField] private AudioClip hitClip, missClip; // Use this for initiali...
mit
C#
a01267bc6f38c3dec3f1bf4caa020b671bf9ed79
Remove "register for more config choices"
tpkelly/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-applicati...
VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml
VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml
<div ng-controller="UnregisteredDashboardController"> <form name="quickPollForm" ng-submit="createPoll(pollQuestion)"> <div id="question-block"> Your Question <br /> <input id="question" placeholder="E.g. Where should we go for lunch?" ng-model="pollQuestion" required /> </d...
<div ng-controller="UnregisteredDashboardController"> <div> <h2>Regular Poller?</h2> Register for more config choices. It's free! </div> <form name="quickPollForm" ng-submit="createPoll(pollQuestion)"> <div id="question-block"> Your Question <br /> <input id...
apache-2.0
C#
0d12aba7ca977ca5a8f080ff9d228d1ee5927f84
Correct regex to match only full words
pootzko/InfluxData.Net
InfluxData.Net.InfluxDb/Helpers/QueryHelpers.cs
InfluxData.Net.InfluxDb/Helpers/QueryHelpers.cs
using System; using System.Reflection; using System.Text.RegularExpressions; using InfluxData.Net.Common; using System.Linq; namespace InfluxData.Net.InfluxDb.Helpers { public static class QueryHelpers { public static string BuildParameterizedQuery(string query, object param) { Typ...
using System; using System.Reflection; using System.Text.RegularExpressions; using InfluxData.Net.Common; using System.Linq; namespace InfluxData.Net.InfluxDb.Helpers { public static class QueryHelpers { public static string BuildParameterizedQuery(string query, object param) { var...
mit
C#
81b4c46c48711a7c91ddb8456a9bc0dfa143fb67
Comment added and cleaning
alexandredubois/openapi-csharp-client
Cdiscount.OpenApi.ProxyClient/Contract/Request/GetCartRequest.cs
Cdiscount.OpenApi.ProxyClient/Contract/Request/GetCartRequest.cs
using System; namespace Cdiscount.OpenApi.ProxyClient.Contract.Request { /// <summary> /// GetCart request object /// </summary> public class GetCartRequest { /// <summary> /// Cart identifier /// </summary> public Guid CartGuid { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cdiscount.OpenApi.ProxyClient.Contract.Request { /// <summary> /// GetCart request object /// </summary> public class GetCartRequest { public Guid Cart...
mit
C#
5585cc890c82c95ebb6157ee03f4f3593bd72620
Add test to prove that OnActivation is syncronous
jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes
ConsoleApps/FunWithSpikes/FunWithNinject/Initialization/Tests.cs
ConsoleApps/FunWithSpikes/FunWithNinject/Initialization/Tests.cs
namespace FunWithNinject.Initialization { using Ninject; using NUnit.Framework; using System.Threading; [TestFixture] public class Tests { [Test] public void OnActivation_CanCallMethodOnImplementation() { // Assemble var k = new StandardKernel();...
namespace FunWithNinject.Initialization { using Ninject; using NUnit.Framework; [TestFixture] public class Tests { [Test] public void OnActivation_CanCallMethodOnImplementation() { // Assemble var k = new StandardKernel(); k.Bind<IInitial...
mit
C#
f9677d7d28a2090f659b1b8dc879bffc59e191d8
add missing styles
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/Components/ListComponent.cs
Dashen/Components/ListComponent.cs
namespace Dashen.Components { public class ListComponent : Component<ListModel> { public override string GetJsx() { return @" var ListComponent = React.createClass({ render: function() { var items = (this.props.model.Items || []).map(function(item) { return <li className=''>{item}</li>; }); ...
namespace Dashen.Components { public class ListComponent : Component<ListModel> { public override string GetJsx() { return @" var ListComponent = React.createClass({ render: function() { var items = (this.props.model.Items || []).map(function(item) { return <li>{item}</li>; }); return ( ...
lgpl-2.1
C#
083b7c9bf0d634c8c378e2a9956a52c94830dfc0
update Quartz Management Contract
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IQuartzManagementService.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IQuartzManagementService.cs
using PS.Mothership.Core.Common.Constructs; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Dto.QuartzManagement; using PS.Mothership.Core.Common.Enums.QuartzManagement; using Quartz; using System; using System.Collections.Generic; using System.ServiceModel; namespace PS.Mothership...
using PS.Mothership.Core.Common.Constructs; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Dto.QuartzManagement; using PS.Mothership.Core.Common.Enums.QuartzManagement; using Quartz; using System; using System.Collections.Generic; using System.ServiceModel; namespace PS.Mothership...
mit
C#
596ad24985e70f9f5affe74f4212c620967d5a93
improve dispatcher
Shawak/shawlib
src/shawlib/Dispatcher.cs
src/shawlib/Dispatcher.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace ShawLib { public class Dispatcher { Thread thread; Queue<Task> queue; object lockQueue; bool stop, wait; public Dispatcher() { queue = ne...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace ShawLib { public class Dispatcher { Thread thread; Queue<Task> queue; object lockQueue; bool stop; public Dispatcher() { queue = new Queu...
mit
C#
900b3f01c380ee3a7e93d293f4f71d65851fc5f9
refactor properties to use backing fields
Pondidum/Stronk,Pondidum/Stronk
src/Stronk/StronkConfiguration.cs
src/Stronk/StronkConfiguration.cs
using System; using System.Collections.Generic; using Stronk.PropertySelection; using Stronk.ValueConversion; using Stronk.ValueSelection; namespace Stronk { public class StronkConfiguration : IStronkConfiguration { public IEnumerable<IValueConverter> ValueConverters => _valueConverters; public IEnumerable<IPro...
using System; using System.Collections.Generic; using Stronk.PropertySelection; using Stronk.ValueConversion; using Stronk.ValueSelection; namespace Stronk { public class StronkConfiguration : IStronkConfiguration { public IEnumerable<IValueConverter> ValueConverters { get; } public IEnumerable<IPropertySelecto...
lgpl-2.1
C#
bf7cb81cc7ad40aba68fb378d86bbeb3155a8fa7
Add same type twices adds 2 operations to pending
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/TraceAnalysisSample/test/TraceAnalysisSample.Test.Unit/EventWindowTest.cs
projects/TraceAnalysisSample/test/TraceAnalysisSample.Test.Unit/EventWindowTest.cs
//----------------------------------------------------------------------- // <copyright file="EventWindowTest.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TraceAnalysisSample.Te...
//----------------------------------------------------------------------- // <copyright file="EventWindowTest.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TraceAnalysisSample.Te...
unlicense
C#
6539ba1feee3d3ffb2010d2a92c8cf46229dbb27
fix build break - make debugOutput back to be not readonly
Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet
src/Core/Managed/Shared/Extensibility/Implementation/Tracing/F5DiagnosticsSender.cs
src/Core/Managed/Shared/Extensibility/Implementation/Tracing/F5DiagnosticsSender.cs
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing { using System.Globalization; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.ApplicationInsights.Extensibility.Implementation.Platform; /// <summary> /// This class is responsible for sending diagnosti...
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing { using System.Globalization; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.ApplicationInsights.Extensibility.Implementation.Platform; /// <summary> /// This class is responsible for sending diagnosti...
mit
C#
4887aeb38fdea96c76079c37a1189d988a5a2bed
Update SecurityDefinitionAppender.cs
RSuter/NSwag,aelbatal/NSwag,NSwag/NSwag,quails4Eva/NSwag,NSwag/NSwag,NSwag/NSwag,aelbatal/NSwag,NSwag/NSwag,aelbatal/NSwag,RSuter/NSwag,aelbatal/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag
src/NSwag.CodeGeneration/SwaggerGenerators/WebApi/Processors/SecurityDefinitionAppender.cs
src/NSwag.CodeGeneration/SwaggerGenerators/WebApi/Processors/SecurityDefinitionAppender.cs
//----------------------------------------------------------------------- // <copyright file="SecurityDefinitionAppender.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mai...
//----------------------------------------------------------------------- // <copyright file="SecurityDefinitionAppender.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mai...
mit
C#
0a6b4a63c395824dc7b2ba81a526ec1bc96675fc
Copy changes and companies house link on the company search page
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerAccount/SelectEmployer.cshtml
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerAccount/SelectEmployer.cshtml
@{ViewBag.Title = "Search for your organisation"; } <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Enter Companies House number</h1> <p>Use the Companies House number for an organisation that your apprentices will be employed through.</p> <p><a href="https...
@{ViewBag.Title = "Search for your organisation"; } <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Search for your organisation</h1> <p>Use the companies house number for an organisation that your apprentices will be employed through.</p> <form method=...
mit
C#
d373e22133e3c8ab972491b1cacf29b76c5b5a53
Adjust grid height
EightBitBoy/EcoRealms
Assets/Scripts/Map/GridRenderer.cs
Assets/Scripts/Map/GridRenderer.cs
using UnityEngine; using System.Collections; namespace ecorealms.map { public class GridRenderer : MonoBehaviour { private const float WIDTH = 0.05f; private const float HEIGHT = 0.05f; private int linesX; private int linesY; private Material material; public void Setup(int chunksX, int chunksY, int...
using UnityEngine; using System.Collections; namespace ecorealms.map { public class GridRenderer : MonoBehaviour { private const float WIDTH = 0.05f; private const float HEIGHT = 0.1f; private int linesX; private int linesY; private Material material; public void Setup(int chunksX, int chunksY, int ...
apache-2.0
C#
a2967b5f6f04d8af2bf814b0d09edf5eed814dc3
Change bar chart type to bar instead of pie
nikspatel007/ChartJS.NET,nikspatel007/ChartJS.NET,nikspatel007/ChartJS.NET
ChartJS.NET/Charts/Bar/BarChart.cs
ChartJS.NET/Charts/Bar/BarChart.cs
using ChartJS.NET.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChartJS.NET.Charts.Bar { public class BarChart : BaseChart<BarDataSet, BarChartOptions> { private readonly BarChartOptions _barChartOptions = ...
using ChartJS.NET.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChartJS.NET.Charts.Bar { public class BarChart : BaseChart<BarDataSet, BarChartOptions> { private readonly BarChartOptions _barChartOptions = ...
mit
C#
ee3877780cf240d995bd191957a04c690217e9af
Remove BufferStack default value (should always be explicitly provided).
naoey/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,NeoAdonis/osu-framework,peppy/osu-framework,NeoAdonis/osu-framework,default0/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,EVAS...
osu.Framework/Allocation/BufferStack.cs
osu.Framework/Allocation/BufferStack.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; namespace osu.Framework.Allocation { public class BufferStack { private int maxAmountBuffers; ...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; namespace osu.Framework.Allocation { public class BufferStack { private int maxAmountBuffers; ...
mit
C#
5a94909c507d2b6d6969b57c7ff5f9fe0489865a
Update Participante.cs
riickky45/Triton
Acuanet/Acuanet/Participante.cs
Acuanet/Acuanet/Participante.cs
using System; using System.Collections.Generic; using System.Text; namespace Acuanet { class Participante { public string nombre; public int id; public string snumero; public string sclub; public string id_tag; public string direcc; } }
using System; using System.Collections.Generic; using System.Text; namespace Acuanet { class Participante { public string nombre; public int id; public string snumero; public string id_tag; } }
mit
C#
4f4c20f6332a3f347ba2cc00e50fe933ff86334a
add child action only to banner/footer action methods
yfann/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,s093294/Thinktecture.AuthorizationServer,IdentityModel/AuthorizationServer,yfann/AuthorizationServer,IdentityModel/AuthorizationServer
source/WebHost/Controllers/HomeController.cs
source/WebHost/Controllers/HomeController.cs
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license.txt */ using System.Web.Mvc; using Thinktecture.AuthorizationServer.Interfaces; namespace Thinktecture.AuthorizationServer.WebHost.Controllers { public class HomeController : Controller { IAuthorizationServerConfig...
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license.txt */ using System.Web.Mvc; using Thinktecture.AuthorizationServer.Interfaces; namespace Thinktecture.AuthorizationServer.WebHost.Controllers { public class HomeController : Controller { IAuthorizationServerConfig...
bsd-3-clause
C#
db6b5d6fe1090483675d01ed2e792fb72a801c40
Build vector object
eivindveg/PG3300-Innlevering1
SnakeMess/Vector.cs
SnakeMess/Vector.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool // Changes to this file will be lost if the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool // Changes to this file will be lost if the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using ...
mit
C#
87037e0da0b04bf2219b65fc8e35945cab11f167
Revert "new capabilites, minor version"
G3N7/MonJobs
MonJobs/Properties/AssemblyInfo.cs
MonJobs/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("MonJobs")] [assembly: AssemblyDescription...
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("MonJobs")] [assembly: AssemblyDescription...
mit
C#
40871a0258c16982a18e407184edc35ccc39617b
Fix zero being interpreted as 1/1/1970 instead of DateTime.MinValue
Baggykiin/Curse.NET
Curse.NET/CurseApiConverters.cs
Curse.NET/CurseApiConverters.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Curse.NET { internal class MillisecondEpochConverter : DateTimeConverterBase { private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public override void WriteJson(JsonWriter writer, object ...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Curse.NET { internal class MillisecondEpochConverter : DateTimeConverterBase { private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public override void WriteJson(JsonWriter writer, object ...
mit
C#
2f888599f3ae995e42877be46a85c2ee4317ad0c
Add another error message to LoycInterop example
jonathanvdc/Pixie,jonathanvdc/Pixie
Examples/LoycInterop/Program.cs
Examples/LoycInterop/Program.cs
using System; using Pixie.Terminal; using Pixie.Loyc; using Pixie; using Pixie.Transforms; using Loyc.Syntax; using Loyc; using Loyc.Ecs; using Loyc.Collections; using Pixie.Markup; namespace LoycInterop { public static class Program { public static void Main(string[] args) { // Th...
using System; using Pixie.Terminal; using Pixie.Loyc; using Pixie; using Pixie.Transforms; using Loyc.Syntax; using Loyc; using Loyc.Ecs; using Loyc.Collections; using Pixie.Markup; namespace LoycInterop { public static class Program { public static void Main(string[] args) { // Th...
mit
C#
f041ef22f7184d5718a96c1c123b6d8ce7ecce70
Allow 0 for ports
HelloKitty/GladNet2.0,HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2
src/GladNet.Lidgren.Engine.Common/Network/Threading/Peer/LidgrenConnectionDetailsAdapter.cs
src/GladNet.Lidgren.Engine.Common/Network/Threading/Peer/LidgrenConnectionDetailsAdapter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading; using Lidgren.Network; using GladNet.Engine.Common; namespace GladNet.Lidgren.Engine.Common { //Basically the same as the PhotonServer details adapter. /// <summary> /// Lidgren details a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading; using Lidgren.Network; using GladNet.Engine.Common; namespace GladNet.Lidgren.Engine.Common { //Basically the same as the PhotonServer details adapter. /// <summary> /// Lidgren details a...
bsd-3-clause
C#
f9990351b2a2afb9dacabb1821a4e97a845bff37
Update UnitOfWorkManager to allow multiple DbContextFactory instances
aliencube/Entity-Context-Library,aliencube/Entity-Context-Library,aliencube/Entity-Context-Library
SourceCodes/03_Services/EntityContextLibrary/UnitOfWorkManager.cs
SourceCodes/03_Services/EntityContextLibrary/UnitOfWorkManager.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using Aliencube.EntityContextLibrary.Interfaces; namespace Aliencube.EntityContextLibrary { /// <summary> /// This represents an entity for the unit of work manager. /// </summary> public class UnitOfWorkManag...
using System; using System.Data.Entity; using Aliencube.EntityContextLibrary.Interfaces; namespace Aliencube.EntityContextLibrary { /// <summary> /// This represents an entity for the unit of work manager. /// </summary> public class UnitOfWorkManager : IUnitOfWorkManager { private readonl...
mit
C#
1436faf16286bb9c7ab71a96fba46c6f76b0a621
Update build.cake
jamesmontemagno/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins
Media/build.cake
Media/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 = "./Media.sln"; const string cfg = "Release"; NuGetRestore (sln); if (!...
#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 = "./Media.sln"; const string cfg = "Release"; NuGetRestore (sln); if (!IsRu...
mit
C#
ffcc5f7cc3cb3a437d10268fca825c2ae12d9320
Add better exceptions for invalid keys
iridinite/shiftdrive
Client/Assets.cs
Client/Assets.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
bsd-3-clause
C#
46852ddaadd24f84e28212d6bcad761891151c2f
Extend to allow various OP codes
Luke-Wolf/wolfybot
WolfyBot.Core/IRCMessageFactory.cs
WolfyBot.Core/IRCMessageFactory.cs
// // Copyright 2014 luke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
// // Copyright 2014 luke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
apache-2.0
C#
dd5b726d29ee0a16ed8d8903705ea599b3d99755
change the signature of the method
marinoscar/TrackingApp
Code/TrackingApp.Droid/PresenterBase.cs
Code/TrackingApp.Droid/PresenterBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace TrackingApp.Droid { public abstract class PresenterBase { public PresenterBase(I...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace TrackingApp.Droid { public class PresenterBase { public PresenterBase(IActivity ...
mit
C#
c471aca2af87bd8e4df62ef6bfeb1840a585ab81
Fix vehicle eye rotation (#11447)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/Vehicle/VehicleSystem.cs
Content.Client/Vehicle/VehicleSystem.cs
using Content.Client.Eye; using Content.Shared.Vehicle; using Content.Shared.Vehicle.Components; using Robust.Client.GameObjects; using Robust.Client.Graphics; using Robust.Client.Player; using Robust.Shared.GameStates; namespace Content.Client.Vehicle { public sealed class VehicleSystem : SharedVehicleSystem ...
using Content.Client.Buckle.Strap; using Content.Shared.Vehicle; using Content.Shared.Vehicle.Components; using Robust.Client.GameObjects; using Robust.Client.Graphics; using Robust.Client.Player; using Robust.Shared.GameStates; namespace Content.Client.Vehicle { public sealed class VehicleSystem : SharedVehicleSy...
mit
C#
7b4b54786b36039cae1f5e563abe8b2c6252a976
Update Stock.cs
IanMcT/StockMarketGame
SMG/SMG/Stock.cs
SMG/SMG/Stock.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SMG { class Stock { /// <summary> /// Name of the Stock /// </summary> public string StockName; /// <summary> /// Descriptio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SMG { class Stock { } }
apache-2.0
C#
99e4a989128a6780794055203e36f0ac66bc0983
Revert version update in top-level AssemblyVersionInfo
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
AssemblyVersionInfo.cs
AssemblyVersionInfo.cs
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [asse...
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [asse...
mit
C#
167c73c890648626c1f3e51485d16e032fc69a70
Change color of tank for debug purposes
RamiAhmed/NGJ16
Assets/Scripts/Tank.cs
Assets/Scripts/Tank.cs
namespace Game { using UnityEngine; [RequireComponent(typeof(Collider))] public class Tank : MonoBehaviour { public PlayerController player; [Range(10f, 1000f)] public float max = 100f; [Range(0.1f, 20f)] public float leakRatePerSecond = 2f; [ReadOnly...
namespace Game { using UnityEngine; [RequireComponent(typeof(Collider))] public class Tank : MonoBehaviour { public PlayerController player; [Range(10f, 1000f)] public float max = 100f; [Range(0.1f, 20f)] public float leakRatePerSecond = 2f; [ReadOnly...
mit
C#
c9c6e7b6a4c98f92fdf0aae0e9a7178907dd2d65
Check if tree is dead when you want call metod to up maturity
AcessDeniedAD/ggj2016,AcessDeniedAD/ggj2016
Assets/Scripts/Tree.cs
Assets/Scripts/Tree.cs
using UnityEngine; using System.Collections; public class Tree : MonoBehaviour { #region Attributes creation // Public attributes public float treelife; public float max_maturity; // Private attributes private float current_maturity = 0; private int tree_level; // private float timer = 0 ;// TODO delete ...
using UnityEngine; using System.Collections; public class Tree : MonoBehaviour { #region Attributes creation // Public attributes public float treelife; public float max_maturity; // Private attributes private float current_maturity; private int tree_level; // Use this for initialization void Start () { ...
cc0-1.0
C#
11a596c58a3172e477ac4b4bd1ed9b9659280493
Fix header names for rate limiting (#71)
vevix/DigitalOcean.API
DigitalOcean.API/Http/RateLimit.cs
DigitalOcean.API/Http/RateLimit.cs
using System.Collections.Generic; using System.Linq; using RestSharp; namespace DigitalOcean.API.Http { public class RateLimit : IRateLimit { public RateLimit(IList<Parameter> headers) { Limit = GetHeaderValue(headers, "Ratelimit-Limit"); Remaining = GetHeaderValue(headers, "Rateli...
using System.Collections.Generic; using System.Linq; using RestSharp; namespace DigitalOcean.API.Http { public class RateLimit : IRateLimit { public RateLimit(IList<Parameter> headers) { Limit = GetHeaderValue(headers, "RateLimit-Limit"); Remaining = GetHeaderValue(headers, "RateLi...
mit
C#
fc4ccf712d98bb925dd1bfe164f9177dd548a16e
Bump version.
yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET
src/Arango/Arango.Client/API/ArangoClient.cs
src/Arango/Arango.Client/API/ArangoClient.cs
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
mit
C#
9d4339e6952b10c010ec9f2e2197cc8a78aaf803
Fix a few typos in Color constraint logic
Confruggy/Discord.Net,RogueException/Discord.Net,LassieME/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Core/Entities/Roles/Color.cs
src/Discord.Net.Core/Entities/Roles/Color.cs
using System; using System.Diagnostics; namespace Discord { [DebuggerDisplay(@"{DebuggerDisplay,nq}")] public struct Color { /// <summary> Gets the default user color value. </summary> public static readonly Color Default = new Color(0); /// <summary> Gets the encoded value for thi...
using System; using System.Diagnostics; namespace Discord { [DebuggerDisplay(@"{DebuggerDisplay,nq}")] public struct Color { /// <summary> Gets the default user color value. </summary> public static readonly Color Default = new Color(0); /// <summary> Gets the encoded value for thi...
mit
C#
6fc1aadc889e54e0c420ebc5ab71b3c2dd998735
Make private
weltkante/roslyn,bartdesmet/roslyn,eriawan/roslyn,sharwell/roslyn,dotnet/roslyn,eriawan/roslyn,mavasani/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,eriawan/roslyn,dotnet/roslyn,diryboy/roslyn,KevinRansom/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,di...
src/Features/Core/Portable/DocumentIdSpan.cs
src/Features/Core/Portable/DocumentIdSpan.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeA...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeA...
mit
C#
7930aa4964b7576fea23635d35ac187388760123
Update displayed version
EtienneLamoureux/TQVaultAE,Malgardian/TQVaultAE
src/TQVaultAE.GUI/Properties/AssemblyInfo.cs
src/TQVaultAE.GUI/Properties/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using Syste...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using Syste...
mit
C#
2b86ecce8c86a57352dd68bd5033793e01d69a86
Read configuration from external XML
pleonex/Ninokuni,pleonex/Ninokuni,pleonex/Ninokuni
Programs/NinoTweet/NinoTweet/Program.cs
Programs/NinoTweet/NinoTweet/Program.cs
// // Program.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation...
// // Program.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation...
apache-2.0
C#
5278f73bc8ef2ac5d5fe34ec3a86d6b684a6c8e2
fix unit test
jefking/King.Service
King.Service.Unit.Tests/SafeProcessorTests.cs
King.Service.Unit.Tests/SafeProcessorTests.cs
namespace King.Service.Tests { using global::Azure.Data.Wrappers; using King.Service; using King.Service.Timing; using NSubstitute; using NUnit.Framework; using System; [TestFixture] public class SafeProcessorTests { [Test] public void Constructor() { ...
namespace King.Service.Tests { using global::Azure.Data.Wrappers; using King.Service; using King.Service.Timing; using NSubstitute; using NUnit.Framework; using System; [TestFixture] public class SafeProcessorTests { [Test] public void Constructor() { ...
mit
C#
b53a54bdd4ee2294055324304d8fd82ef1ce9646
Improve code
sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014
RxSample/MouseRx2Wpf/EventsExtension.cs
RxSample/MouseRx2Wpf/EventsExtension.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace MouseRx2Wpf { public class EventsExtension { public Control Target { get; } public IObservable<IObservable<V...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace MouseRx2Wpf { public class EventsExtension { public Control Target { get; } public IObservable<IObservable<V...
mit
C#
e9337f4be3440df1ab5e148d53197157c58ff011
fix comments
sebas77/Svelto.ECS,sebas77/Svelto-ECS
Svelto.ECS/IEntityViewStruct.cs
Svelto.ECS/IEntityViewStruct.cs
using System; using System.Collections.Generic; using System.Reflection; using Svelto.DataStructures; using Svelto.Utilities; namespace Svelto.ECS { ///<summary>EntityStruct MUST implement IEntiyStruct</summary> public interface IEntityStruct { EGID ID { get; set; } } ///<summary>EntityVie...
using System; using System.Collections.Generic; using System.Reflection; using Svelto.DataStructures; using Svelto.Utilities; namespace Svelto.ECS { ///<summary>EntityStruct MUST implement IEntiyStruct</summary> public interface IEntityStruct { EGID ID { get; set; } } ///<summary>EntityVie...
mit
C#
3ddd3a060e6d62af757471256cc26f4c0c5d7a6e
Fix types in ITransducer comments
AndrewGaspar/TD.Net
TD.Core/ITransducer.cs
TD.Core/ITransducer.cs
namespace TD { /// <summary> /// Describes a computation as taking inputs of type TInput and producing results of type TResult. /// /// A transducer cannot independently perform any computation - you must apply a reducer to it /// so that the transducer has a sink for its computations. ...
namespace TD { /// <summary> /// Describes a computation as taking inputs of type To and producing results of type From. /// /// A transducer cannot independently perform any computation - you must apply a reducer to it /// so that the transducer has a sink for its computations. /// </s...
mit
C#
78ba69214a2ce5448b77e748ea4fccb5444fecea
Update ControlStoryboardOption.cs
PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,Microsoft/XamlBehaviors,Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors,PedroLamas/XamlBehaviors
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Media/ControlStoryboardOption.cs
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Media/ControlStoryboardOption.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Xaml.Interactions.Media { /// <summary> /// Represents operations that can be applied to <seealso cref="Windows.UI.Xaml.Media.Animation.Stor...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Xaml.Interactions.Media { /// <summary> /// Represents operations that can be applied to <seealso cref="Windows.UI.Xaml.Media.Animation.Storyboard...
mit
C#