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 |
|---|---|---|---|---|---|---|---|---|
f16c6b6769245ec77018ee9cd51ff943c32a35de | Update RadialExtent.cs | ADAPT/ADAPT | source/ADAPT/Prescriptions/RadialExtent.cs | source/ADAPT/Prescriptions/RadialExtent.cs | /*******************************************************************************
* Copyright (C) 2015, 2018 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Li... | /*******************************************************************************
* Copyright (C) 2015 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License ... | epl-1.0 | C# |
7312058d4180d50015f35a159cc1965273293855 | Fix Bitrise timestamp calculation | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/BuildServers/Bitrise.cs | source/Nuke.Common/BuildServers/Bitrise.cs | // Copyright Matthias Koch, Sebastian Karasek 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using static Nuke.Common.EnvironmentInfo;
namespace Nuke.Common.BuildServers
{
/// <summary>
/// In... | // Copyright Matthias Koch, Sebastian Karasek 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using static Nuke.Common.EnvironmentInfo;
namespace Nuke.Common.BuildServers
{
/// <summary>
/// In... | mit | C# |
3f27de649d0e7cb6e4aafe48fc67c8ddc7a869d3 | remove access modifier from interface | FuchsiaSoft/FLUFFS | FLUFFS-core/BinaryDigger/IBinaryReader.cs | FLUFFS-core/BinaryDigger/IBinaryReader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinaryDigger
{
interface IBinaryReader
{
string ReadContents();
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinaryDigger
{
interface IBinaryReader
{
public string ReadContents();
}
}
| agpl-3.0 | C# |
39a3efca7cdd3ed50135fa67054c14f487f3201c | update query | rcamp021/InSeasonWebAPI | InSeasonAPI/Controllers/DataController.cs | InSeasonAPI/Controllers/DataController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using InSeasonAPI.Models;
using Newtonsoft.Json;
namespace InSeasonAPI.Controllers
{
public class DataController : ApiController
{
/// <summary>
/... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using InSeasonAPI.Models;
using Newtonsoft.Json;
namespace InSeasonAPI.Controllers
{
public class DataController : ApiController
{
/// <summary>
/... | mit | C# |
ff1735522174e0bf8e007cf692f0078eec7776e8 | Change etag from DateTime to string, to reflect updated api. | aloneguid/storage | src/Azure/Storage.Net.Microsoft.Azure.DataLake.Store/Gen2/Models/DirectoryItem.cs | src/Azure/Storage.Net.Microsoft.Azure.DataLake.Store/Gen2/Models/DirectoryItem.cs | using System;
using Newtonsoft.Json;
namespace Storage.Net.Microsoft.Azure.DataLake.Store.Gen2.Models
{
public class DirectoryItem
{
[JsonProperty("contentLength")] public int? ContentLength { get; set; }
[JsonProperty("etag")] public string Etag { get; set; }
[JsonProperty("group")] public ... | using System;
using Newtonsoft.Json;
namespace Storage.Net.Microsoft.Azure.DataLake.Store.Gen2.Models
{
public class DirectoryItem
{
[JsonProperty("contentLength")] public int? ContentLength { get; set; }
[JsonProperty("etag")] public DateTime Etag { get; set; }
[JsonProperty("group")] publi... | mit | C# |
b8a7f006a98178a141322d44882a0a56b994f410 | fix base address | RedSpiderMkV/LANMachines | LANMachines/LanMachines/LanPingerAsync.cs | LANMachines/LanMachines/LanPingerAsync.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
namespace LanMachines
{
public class LanPingerAsync
{
#region Public Methods
public LanPingerAsync(int pingerCount)
{
initialiseLanP... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
namespace LanMachines
{
public class LanPingerAsync
{
#region Public Methods
public LanPingerAsync(int pingerCount)
{
initialiseLanP... | mit | C# |
17c58678cf195eb95d873d456a07a88eaaa1d7ff | Update SelectionInfo.cs | smoogipooo/osu,johnneijzen/osu,peppy/osu,ZLima12/osu,naoey/osu,DrabWeb/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,EVAST9919/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,Nabile-Rahmani/osu,UselessToucan/osu,NeoAdon... | osu.Game/Rulesets/Edit/Layers/Selection/SelectionInfo.cs | osu.Game/Rulesets/Edit/Layers/Selection/SelectionInfo.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.Collections.Generic;
using osu.Framework.Graphics.Primitives;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Edit.Layers.Sel... | using System.Collections.Generic;
using osu.Framework.Graphics.Primitives;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Edit.Layers.Selection
{
public class SelectionInfo
{
/// <summary>
/// The objects that are captured by the selection.
/// </summar... | mit | C# |
79d58dc890f2773864c764fbd2462d0b044fc4b0 | Bump version | gonzalocasas/NetMetrixSDK | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
045851afe86021920ae0af71ea0b9656e75542a9 | bump version to 1.2.1 | Claymore/SharpMediaWiki | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("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... | bsd-3-clause | C# |
959e7c0d243e970130152ecbdd631735b6c86427 | fix AssemblyInfo.cs | rin01/Rsqldrv | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: 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... | apache-2.0 | C# |
1a6a3298c633c6503022deb2e34024d154787a27 | simplify async Main with C#7.1 | schulz3000/deepstreamNet,schulz3000/deepstreamNet | src/DeepStreamNet.ConsoleSample/Program.cs | src/DeepStreamNet.ConsoleSample/Program.cs | using System;
using System.Threading.Tasks;
namespace DeepStreamNet.Core.ConsoleSample
{
public static class Program
{
public static async Task Main(string[] args)
{
var client = new DeepStreamClient("localhost", 6020);
if (await client.LoginAsync())
... | using System;
using System.Threading.Tasks;
namespace DeepStreamNet.Core.ConsoleSample
{
public static class Program
{
public static void Main(string[] args)
{
MainAsync(args).GetAwaiter().GetResult();
Console.Read();
}
static Task MainAsync(string[] a... | mit | C# |
fbf4d5a0a4a4cf84f617fc4014715fc16acf36fc | Update ShapeRenderer.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Core/Renderers/ShapeRenderer.cs | src/Draw2D.Core/Renderers/ShapeRenderer.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Draw2D.Core.Shapes;
using Draw2D.Core.Style;
namespace Draw2D.Core.Renderers
{
public abstract class ShapeRenderer : O... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Draw2D.Core.Shapes;
using Draw2D.Core.Style;
namespace Draw2D.Core.Renderers
{
public abstract class ShapeRenderer : O... | mit | C# |
9a364d546b7006b7a9a4538b316cfd04f8fd4e88 | update gravatar (#145) | MabroukENG/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin | src/Firehose.Web/Authors/MichaelRidland.cs | src/Firehose.Web/Authors/MichaelRidland.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MichaelRidland : IAmAXamarinMVP
{
public string FirstName => "Michael";
public string LastName => "Ridland";
public string StateOrRegion => "Sydney, Austra... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MichaelRidland : IAmAXamarinMVP
{
public string FirstName => "Michael";
public string LastName => "Ridland";
public string StateOrRegion => "Sydney, Austra... | mit | C# |
047db6d5f4695240525679bdff2c04ba6c523342 | Change with this submission | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/MusicStore/Models/MusicStoreContext.cs | src/MusicStore/Models/MusicStoreContext.cs | using System;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Framework.OptionsModel;
namespace MusicStore.Models
{
public class MusicStoreContext : DbContext
{
public MusicStoreContext(IServiceProvider serviceProvider, IOptionsAccessor<MusicStoreDbContextOptions> op... | using System;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Framework.OptionsModel;
namespace MusicStore.Models
{
public class MusicStoreContext : DbContext
{
public MusicStoreContext(IServiceProvider serviceProvider, IOptionsAccessor<MusicStoreDbContextOptions> op... | apache-2.0 | C# |
ee396d0f8e24d7c21beafb6859886cce47f14c46 | Add integration test app | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/QueueSample/source/QueueSample.App/Program.cs | projects/QueueSample/source/QueueSample.App/Program.cs | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace QueueSample
{
using Syst... | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace QueueSample
{
using Syst... | unlicense | C# |
d63b1d62b13914462cfee7ed6137395179e66eb0 | Fix AbandonedCall test | MakMukhi/grpc,philcleveland/grpc,kpayson64/grpc,PeterFaiman/ruby-grpc-minimal,matt-kwong/grpc,vsco/grpc,deepaklukose/grpc,stanley-cheung/grpc,fuchsia-mirror/third_party-grpc,7anner/grpc,thunderboltsid/grpc,matt-kwong/grpc,murgatroid99/grpc,nicolasnoble/grpc,arkmaxim/grpc,fuchsia-mirror/third_party-grpc,carl-mastrangelo... | src/csharp/Grpc.Core.Tests/ShutdownTest.cs | src/csharp/Grpc.Core.Tests/ShutdownTest.cs | #region Copyright notice and license
// Copyright 2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyrig... | #region Copyright notice and license
// Copyright 2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyrig... | bsd-3-clause | C# |
2a1cbfd6a7cec21c2c268a78222ec8accce86201 | Fix syntax error in InternationalStreet example | smartystreets/smartystreets-dotnet-sdk | src/examples/InternationalStreetExample.cs | src/examples/InternationalStreetExample.cs | namespace Examples
{
using System;
using SmartyStreets;
using SmartyStreets.InternationalStreetApi;
internal static class InternationalStreetExample
{
public static void Run()
{
// We recommend storing your secret keys in environment variables.
var authId = Environment.GetEnvironmentVariable... | namespace Examples
{
using System;
using SmartyStreets;
using SmartyStreets.InternationalStreetApi;
internal static class InternationalStreetExample
{
public static void Run()
{
// We recommend storing your secret keys in environment variables.
var authId = Environment.GetEnvironmentVariable... | apache-2.0 | C# |
ab3f19ecc4f67cbc5d2244f82a9976a42dc0dadd | Fix get worker filename | henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer,henrikstengaard/hstwb-installer | src/HstWbInstaller.Imager.GuiApp/Helpers/WorkerHelper.cs | src/HstWbInstaller.Imager.GuiApp/Helpers/WorkerHelper.cs | namespace HstWbInstaller.Imager.GuiApp.Helpers
{
using System.IO;
using Core.Helpers;
public static class WorkerHelper
{
public static string GetWorkerFileName()
{
var executingFile = ApplicationDataHelper.GetExecutingFile();
return Path.GetExtension(executingFi... | namespace HstWbInstaller.Imager.GuiApp.Helpers
{
using System.IO;
using Core.Helpers;
public static class WorkerHelper
{
public static string GetWorkerFileName()
{
var executingFile = ApplicationDataHelper.GetExecutingFile();
return $"{Path.GetFileNameWithoutExt... | mit | C# |
5cd1cf75198b70a79419f3b168022539d2be36e6 | Update dimensionless measurement | Blue0500/JoshuaKearney.Measurements | src/JoshuaKearney.Measurements/Measurements/DimensionlessMeasurement.cs | src/JoshuaKearney.Measurements/Measurements/DimensionlessMeasurement.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JoshuaKearney.Measurements {
public abstract class DimensionlessMeasurement<T> : Measurement<T> where T : DimensionlessMeasurement<T> {
public double ToDouble() => this.ToDouble(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JoshuaKearney.Measurements {
public abstract class DimensionlessMeasurement<T> : Measurement<T> where T : Measurement<T> {
public double ToDouble() => this.ToDouble(this.Measurem... | mit | C# |
6239a79c99754d1772491036bfa3c9a7dd00fe6a | Add LayoutKind | shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,weltkante/roslyn,bartdes... | src/VisualStudio/CSharp/Impl/ProjectSystemShim/HACK_VariantStructure.cs | src/VisualStudio/CSharp/Impl/ProjectSystemShim/HACK_VariantStructure.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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropS... | // 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropS... | mit | C# |
abfa0dc0cc3f8dc283f92c4f4737b99663a9b262 | Fix bug parsing args for rules. | BrettJaner/csla,jonnybee/csla,jonnybee/csla,ronnymgm/csla-light,MarimerLLC/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla | cslacs/Csla/Validation/RuleDescription.cs | cslacs/Csla/Validation/RuleDescription.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Csla.Validation
{
/// <summary>
/// Parses a rule:// URI to provide
/// easy access to the parts of the URI.
/// </summary>
public class RuleDescription
{
private string _scheme;
private string _methodName;
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Csla.Validation
{
/// <summary>
/// Parses a rule:// URI to provide
/// easy access to the parts of the URI.
/// </summary>
public class RuleDescription
{
private string _scheme;
private string _methodName;
... | mit | C# |
e31adfd061779b521639cb17d8b053e454118813 | Add missing unit test | cucumber-ltd/shouty.net | Shouty.Tests/CoordinateTest.cs | Shouty.Tests/CoordinateTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouty;
namespace Shouty.Tests
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void ItCalculatesTheDistanceFromItself()
{
Coordinate a = new Coordinate(0, 0);
Assert.AreE... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouty;
namespace Shouty.Tests
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void ItCalculatesTheDistanceFromAnotherCoordinateAlongXAxis()
{
Coordinate a = new Coordinate(0, 0);
... | mit | C# |
e372516383c3d37d59c1c9e69260777c5ead41c1 | Add delay to A button on main menu | Nigh7Sh4de/shatterfall,Nigh7Sh4de/shatterfall | shatterfall/Assets/Scripts/selector.cs | shatterfall/Assets/Scripts/selector.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class selector : MonoBehaviour {
public static int option;
public List<GameObject> uiChoices;
private float ready = 0;
private float READY_DELAY = 0.2f;
public bool selectable;
public GameObject howToPlay;
public AudioC... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class selector : MonoBehaviour {
public static int option;
public List<GameObject> uiChoices;
private float ready = 0;
private float READY_DELAY = 0.2f;
public bool selectable;
public GameObject howToPlay;
public AudioC... | mit | C# |
d319ffdf64806ecd2a1823ab3e7bfc1927ace554 | test fix | osoykan/Stove,stoveproject/Stove | test/Stove.NHibernate.Tests/Entities/ProductDapperMap.cs | test/Stove.NHibernate.Tests/Entities/ProductDapperMap.cs | using DapperExtensions.Mapper;
namespace Stove.NHibernate.Tests.Entities
{
public sealed class ProductDapperMap : ClassMapper<Product>
{
public ProductDapperMap()
{
Table("Product");
Map(x => x.Id).Key(KeyType.Identity);
AutoMap();
}
}
}
| using DapperExtensions.Mapper;
namespace Stove.NHibernate.Tests.Entities
{
public sealed class ProductDapperMap : ClassMapper<Product>
{
public ProductDapperMap()
{
Table("Product");
AutoMap();
}
}
}
| mit | C# |
49908164c01d2dac33f0d2b25956de570fc9656a | Fix AssemblyInfo | HangfireIO/Hangfire.Azure.ServiceBusQueue,dersia/Hangfire.Azure.ServiceBusQueue,barclayadam/Hangfire.Azure.ServiceBusQueue | HangFire.Azure.ServiceBusQueue/Properties/AssemblyInfo.cs | HangFire.Azure.ServiceBusQueue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("HangFire.Azure.ServiceBusQueue")]
[assembly: AssemblyDescription("ServiceBus Queue support for SQL Server job storage implementation")]
[assembly: AssemblyProduct("HangFire")]
[assembly: AssemblyCopyright("Copyright © 2014 Sergey... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ha... | mit | C# |
707d404085e5ed2cd259b21e7fb09c41942b6fdf | Update ProtectCellsWorksheet.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells... | Examples/CSharp/Worksheets/Security/ProtectCellsWorksheet.cs | Examples/CSharp/Worksheets/Security/ProtectCellsWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class ProtectCellsWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class ProtectCellsWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syste... | mit | C# |
584241baa9e08a3b6143b713525e2fabb6edfcea | Convert Subject<Unit> extension to IObserver<Unit> extension. | inconspicuous-creations/Inconspicuous.Framework,inconspicuous-creations/Inconspicuous.Framework | Inconspicuous.Framework/Providers/Utility/UniRxExtensions.cs | Inconspicuous.Framework/Providers/Utility/UniRxExtensions.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using UniRx;
namespace Inconspicuous.Framework {
public static class UniRxExtensions {
public static IObservable<T> Dump<T>(this IObservable<T> observable) {
re... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using UniRx;
namespace Inconspicuous.Framework {
public static class UniRxExtensions {
public static IObservable<T> Dump<T>(this IObservable<T> observable) {
re... | mit | C# |
c5ce38d651b3b3cf859537b7bdd5aeb7d34859b4 | Use String.IsNullOrEmpty | tmds/Tmds.DBus | Address.cs | Address.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
namespace NDesk.DBus
{
public class Address
{
//this method is not pretty
//not worth improving until there is a spec for this format
//TODO: confirm that return value... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
namespace NDesk.DBus
{
public class Address
{
//this method is not pretty
//not worth improving until there is a spec for this format
//TODO: confirm that return value... | mit | C# |
1cf77e452397415ce1a3e736b559fcea45f2bada | Update DirectInputPadPlugin.Build.cs | katze7514/UEDirectInputPadPlugin,katze7514/UEDirectInputPadPlugin | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
// "DirectInputPadPlugin/Public",
//... | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
"DirectInputPadPlugin/Public",
// ..... | mit | C# |
38727451100c4fce35052a47d8354c1cbb37902c | Update ICorrelationService.cs | tiksn/TIKSN-Framework | TIKSN.Core/Integration/Correlation/ICorrelationService.cs | TIKSN.Core/Integration/Correlation/ICorrelationService.cs | namespace TIKSN.Integration.Correlation
{
/// <summary>
/// Service for generating and parsing <see cref="CorrelationID" />.
/// </summary>
public interface ICorrelationService
{
/// <summary>
/// Creates <see cref="CorrelationID" /> from string representation.
/// <... | namespace TIKSN.Integration.Correlation
{
/// <summary>
/// Service for generating and parsing <see cref="CorrelationID"/>.
/// </summary>
public interface ICorrelationService
{
/// <summary>
/// Creates <see cref="CorrelationID"/> from string representation.
/// </summary>
... | mit | C# |
30ebe1aa59ed71d076c712982c817555dfa48d1c | Add missing CAf. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Http/Extensions/HttpContentExtensions.cs | WalletWasabi/Tor/Http/Extensions/HttpContentExtensions.cs | using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using WalletWasabi.JsonConverters;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Tor.Http.Extensions
{
public static class HttpContentExtensions
{
public static async Task<T> ReadAsJsonAsync<T>(this HttpContent me)
{
if... | using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using WalletWasabi.JsonConverters;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Tor.Http.Extensions
{
public static class HttpContentExtensions
{
public static async Task<T> ReadAsJsonAsync<T>(this HttpContent me)
{
if... | mit | C# |
2be8a167071ee20fa4105666604c611f408fbf8d | Set version to match NuGet | cshung/clrmd,Microsoft/clrmd,stjeong/clrmd,Microsoft/clrmd,jazzdelightsme/clrmd,tomasr/clrmd,cshung/clrmd,stefangossner/clrmd | src/Microsoft.Diagnostics.Runtime/Properties/AssemblyInfo.cs | src/Microsoft.Diagnostics.Runtime/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | mit | C# |
4831fbd77c60a2972a4a8f63e6204f44f8969256 | Use the LanguageServiceCompiler when building the project. | chrisber/typescript-addin,mrward/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin | src/TypeScriptBinding/CompileTypeScriptFilesOnBuildAction.cs | src/TypeScriptBinding/CompileTypeScriptFilesOnBuildAction.cs | //
// CompileTypeScriptFilesOnBuildFileAction.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Sof... | //
// CompileTypeScriptFilesOnBuildFileAction.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Sof... | mit | C# |
7045eb196ca51bded0bd2ebef995714901f0e578 | Use InvariantContains instead of Contains when looking for culture in the querystring | tcmorris/Umbraco-CMS,madsoulswe/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,rasmuseeg/Umbraco-CMS,abjerner/Umbraco-CMS,NikRimington/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,... | src/Umbraco.Web/WebApi/Filters/HttpQueryStringModelBinder.cs | src/Umbraco.Web/WebApi/Filters/HttpQueryStringModelBinder.cs | using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using System.Web.Http.Controllers;
using System.Web.Http.ModelBinding;
using Umbraco.Core;
namespace Umbraco.Web.WebApi.Filters
{
/// <summary>
/// Allows an Action to execute with an arbitrary number of QueryStrings
//... | using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using System.Web.Http.Controllers;
using System.Web.Http.ModelBinding;
namespace Umbraco.Web.WebApi.Filters
{
/// <summary>
/// Allows an Action to execute with an arbitrary number of QueryStrings
/// </summary>
///... | mit | C# |
a984ea77a8c58df6aa703b5c615e451eac9f20b5 | Switch over target on which server is open for | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/TestServer/Program.cs | test/TestServer/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TestServer
{
class Program
{
static void Main(string[] args)
{
RunEchoServer().Wait()... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TestServer
{
class Program
{
static void Main(string[] args)
{
RunEchoServer().Wait()... | apache-2.0 | C# |
4bebadd259d81ef315a08020b1abb0e231b71b3f | Update template | haivp3010/ludo-js-project | sources/Assets/Scripts/HorseControl.cs | sources/Assets/Scripts/HorseControl.cs | //using UnityEngine;
//using System.Collections;
//public class HorseControl : MonoBehaviour
//{
// public Animator anim;
// private GameObject clicked;
// public float speed;
// public static Dice dice1 = new Dice();
// private int i = 0;
// private int iClick = dice1.Number;
// public int horse... | using UnityEngine;
using System.Collections;
public class HorseControl : MonoBehaviour
{
public Animator anim;
private GameObject clicked;
public float speed;
public static Dice dice1 = new Dice();
private int i = 0;
private int iClick = dice1.Number;
public int horseNumber; // 0 - 15
... | mit | C# |
e9a4b0f73d874ee3f62b3d8a79b6f930e1743624 | add getIsOn() | yasokada/unity-150905-dynamicDisplay | Assets/PanelDisplayControl.cs | Assets/PanelDisplayControl.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
bool getIsOn(int idx_st1) {
Toggle selected = null;
string name;
foreach (Transform child in PageSelect.transform) {
name = child.gameObject.name;
if (nam... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
public void ToggleValueChanged(int idx_st1) {
Toggle selected = null;
string name;
foreach (Transform child in PageSelect.transform) {
name = child.gameObje... | mit | C# |
621555f1c68d334f42881bf796947b89725c53f2 | Use default(TField) | nikeee/HolzShots | src/HolzShots.Common/ReflectionUtil.cs | src/HolzShots.Common/ReflectionUtil.cs | using System;
using System.Reflection;
namespace HolzShots.Common
{
static class ReflectionUtil
{
/// <summary>
/// Uses reflection to get the field value from an object.
/// </summary>
/// <param name="instance">The instance object.</param>
/// <param name="fieldName">T... | using System;
using System.Reflection;
namespace HolzShots.Common
{
static class ReflectionUtil
{
/// <summary>
/// Uses reflection to get the field value from an object.
/// </summary>
/// <param name="instance">The instance object.</param>
/// <param name="fieldName">T... | agpl-3.0 | C# |
e5f5c95c6588cd5b810003721d59a244d5712f2f | change AssemblyVersion | martinusso/Ini.Net | src/Ini.Net/Properties/AssemblyInfo.cs | src/Ini.Net/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ini.Net")]
[assembly: AssemblyDescription("A simple .NET library for managing INI files")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("I... | 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("In... | mit | C# |
743705578fcba60d0926ed73ba2af96e251f49e4 | modify unit test | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | test/DotNetCore.CAP.Test/ConsumerInvokerFactoryTest.cs | test/DotNetCore.CAP.Test/ConsumerInvokerFactoryTest.cs | using System;
using System.Linq;
using System.Reflection;
using DotNetCore.CAP.Abstractions;
using DotNetCore.CAP.Internal;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Xunit;
namespace DotNetCore.CAP.Test
{
public class ConsumerInvokerFactoryTest
{
private... | using System;
using System.Linq;
using System.Reflection;
using DotNetCore.CAP.Abstractions;
using DotNetCore.CAP.Internal;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Xunit;
namespace DotNetCore.CAP.Test
{
public class ConsumerInvokerFactoryTest
{
private... | mit | C# |
f0333aa826bdc31fd28a78b4b714b44d9340b9f0 | Make slack user immutable | noobot/SlackConnector | src/SlackConnector/Models/SlackUser.cs | src/SlackConnector/Models/SlackUser.cs | namespace SlackConnector.Models
{
public class SlackUser
{
public string Id { get; internal set; }
public string Name { get; internal set; }
public string Email { get; internal set; }
public string FirstName { get; internal set; }
public string LastName { get; internal s... | namespace SlackConnector.Models
{
public class SlackUser
{
public string Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Image { get; set;... | mit | C# |
42877cdd81f3f2dc3f23a3bd17565a4125cc513f | Remove unused usings | extremecodetv/SocksSharp | src/SocksSharp/Proxy/ProxyException.cs | src/SocksSharp/Proxy/ProxyException.cs | using System;
namespace SocksSharp.Proxy
{
/// <summary>
/// Represents errors that occur during proxy execution.
/// </summary>
public class ProxyException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="ProxyException"/> with a specified error message... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocksSharp.Proxy
{
/// <summary>
/// Represents errors that occur during proxy execution.
/// </summary>
public class ProxyException : Exception
{
/// <summary>
... | mit | C# |
f63ece73e80f4c18e99ff988897302ea4f584194 | add AllFailingTestsClipboardReporter | modernist/APIComparer,ParticularLabs/APIComparer,ParticularLabs/APIComparer,modernist/APIComparer | APIComparer.Tests/AssemblyInfo.cs | APIComparer.Tests/AssemblyInfo.cs | using ApprovalTests.Reporters;
#if(DEBUG)
[assembly: UseReporter(typeof(AllFailingTestsClipboardReporter), typeof(DiffReporter))]
#endif | using ApprovalTests.Reporters;
[assembly: UseReporter(typeof(DiffReporter))] | mit | C# |
be3c80d39091781009ad530da0fe7b9e53cfd13f | Add a "Naked" outfit | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/actor/Outfit.cs | Viewer/src/actor/Outfit.cs | using System.Collections.Generic;
using System.Linq;
public class Outfit {
public class OutfitElement {
public string Figure { get; }
public string Label { get; }
public bool IsInitiallyVisible { get; }
public OutfitElement(string figure, string label, bool isInitiallyVisible) {
Figure = figure;
Label ... | using System.Collections.Generic;
using System.Linq;
public class Outfit {
public class OutfitElement {
public string Figure { get; }
public string Label { get; }
public bool IsInitiallyVisible { get; }
public OutfitElement(string figure, string label, bool isInitiallyVisible) {
Figure = figure;
Label ... | mit | C# |
f06e6232bef3925984905a7120a9d9b749fe8510 | Solve build related issue | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
cc73813109652efbef46b2c19f576b106a72ac09 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
b052a9f65e51e755c397b16341ab2d280741c1cf | Correct OpenAPI spec link Fix #206 | openchargemap/ocm-system,openchargemap/ocm-system,openchargemap/ocm-system,openchargemap/ocm-system | API/OCM.Net/OCM.API.Web/Controllers/MiscEndpointController.cs | API/OCM.Net/OCM.API.Web/Controllers/MiscEndpointController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace OCM.API.Web.Standard.Controllers
{
[ApiController]
public class MiscEndpointController : ControllerBase
{
private readonly ILogger _logger;
public MiscEndpointController(ILogger<MiscEndpointController> logger)
... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace OCM.API.Web.Standard.Controllers
{
[ApiController]
public class MiscEndpointController : ControllerBase
{
private readonly ILogger _logger;
public MiscEndpointController(ILogger<MiscEndpointController> logger)
... | mit | C# |
b82736fbbc6daea838fc5dfa07bb3389e0eebcb0 | Add comment | Remi-Tech/compass-core | Compass.Domain/Services/KafkaProducer/KafkaProducerService.cs | Compass.Domain/Services/KafkaProducer/KafkaProducerService.cs | using System;
using System.Collections.Generic;
using System.Text;
using Compass.Domain.Models;
using Compass.Shared;
using Confluent.Kafka;
using Confluent.Kafka.Serialization;
using Newtonsoft.Json;
namespace Compass.Domain.Services.KafkaProducer
{
/// <summary>
/// This class is registered in the DI framew... | using System;
using System.Collections.Generic;
using System.Text;
using Compass.Domain.Models;
using Compass.Shared;
using Confluent.Kafka;
using Confluent.Kafka.Serialization;
using Newtonsoft.Json;
namespace Compass.Domain.Services.KafkaProducer
{
/// <summary>
/// This class is registered in the DI framew... | apache-2.0 | C# |
a0900f2e425bd99082513ab22e850b5067589683 | Split out message printing into PrintMessage() | tmds/Tmds.DBus | Monitor.cs | Monitor.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
string addr = Addr... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
string addr = Addr... | mit | C# |
7ca8109d3fd82076e73d3aa094b8f2ab259097d1 | Update FunModule - use var to be consistent with the rest of the codebase | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix/Modules/FunModule.cs | Modix/Modules/FunModule.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Serilog;
namespace Modix.Modules
{
[Name("Fun"), Summary("A bunch of miscellaneous, fun commands")]
public class FunModule : ModuleBase
{
[Command("jumbo"), Summary("Jum... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Serilog;
namespace Modix.Modules
{
[Name("Fun"), Summary("A bunch of miscellaneous, fun commands")]
public class FunModule : ModuleBase
{
[Command("jumbo"), Summary("Jum... | mit | C# |
0f9bcadf70660c46ec23df9ce326dbd3cdaa8468 | Reduce error correction level | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/AddressViewModel.cs | WalletWasabi.Gui/ViewModels/AddressViewModel.cs | using Avalonia;
using Gma.QrCodeNet.Encoding;
using ReactiveUI;
using System;
using System.Threading.Tasks;
using WalletWasabi.KeyManagement;
namespace WalletWasabi.Gui.ViewModels
{
public class AddressViewModel : ViewModelBase
{
private bool _isExpanded;
private bool _generating;
private bool _isBusy;
priv... | using Avalonia;
using Gma.QrCodeNet.Encoding;
using ReactiveUI;
using System;
using System.Threading.Tasks;
using WalletWasabi.KeyManagement;
namespace WalletWasabi.Gui.ViewModels
{
public class AddressViewModel : ViewModelBase
{
private bool _isExpanded;
private bool _generating;
private bool _isBusy;
priv... | mit | C# |
109fdc478cc881acbd5cf138f7b0d08ac8238bb2 | Fix form registration | tvanfosson/azure-web-jobs-demo,tvanfosson/azure-web-jobs-demo,tvanfosson/azure-web-jobs-demo | WebJobsDemo/WebApp/Views/Home/Subscribed.cshtml | WebJobsDemo/WebApp/Views/Home/Subscribed.cshtml | @{
ViewBag.Title = "View Subscription";
}
@model SubscriptionViewModel
<div class="jumbotron">
<h1>View Subscription</h1>
<p class="lead">See the results of the WebJobs subscription handlers</p>
</div>
@if (Model.Id != Guid.Empty)
{
<h1>Subscription Details</h1>
<ul class="list-group">
<... | @{
ViewBag.Title = "View Subscription";
}
@model SubscriptionViewModel
<div class="jumbotron">
<h1>View Subscription</h1>
<p class="lead">See the results of the WebJobs subscription handlers</p>
</div>
@if (Model.Id != Guid.Empty)
{
<h1>Subscription Details</h1>
<ul class="list-group">
<... | mit | C# |
5e6de2076d599f3ea6bbe2a425123abf764f8228 | Update Resources.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | LoginPasswordUtil/C-Sharp-Version/Resources.cs | LoginPasswordUtil/C-Sharp-Version/Resources.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 l... | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 l... | apache-2.0 | C# |
220fa1f0c2d77e77b5bae09c489a93b3b9c44082 | Make Serializer<T> public | VictorScherbakov/DataTanker | DataTanker/Core/Serializer.cs | DataTanker/Core/Serializer.cs | namespace DataTanker
{
using System;
/// <summary>
/// Simple implementation of ISerializer using specified methods.
/// </summary>
/// <typeparam name="T"></typeparam>
public class Serializer<T> : ISerializer<T>
{
private readonly Func<T, byte[]> _serialize;
private reado... | namespace DataTanker
{
using System;
/// <summary>
/// Simple implementation of ISerializer using specified methods.
/// </summary>
/// <typeparam name="T"></typeparam>
internal class Serializer<T> : ISerializer<T>
{
private readonly Func<T, byte[]> _serialize;
private rea... | mit | C# |
e300c3eee86611c41cd7f124bb6fc2ebad92b7c9 | Make version string specifially a string | jakeclawson/Pinta,PintaProject/Pinta,Mailaender/Pinta,Mailaender/Pinta,Fenex/Pinta,PintaProject/Pinta,PintaProject/Pinta,jakeclawson/Pinta,Fenex/Pinta | Pinta/AddinSetupService.cs | Pinta/AddinSetupService.cs | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | mit | C# |
3bb209ef9fef3607481679f32406fb4f8468fc1f | Update assembly version number to v1.1 | Cinegy/TsAnalyser | Properties/AssemblyInfo.cs | 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("TsAnalyser")]
[assembly: AssemblyDescript... | 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("TsAnalyser")]
[assembly: AssemblyDescript... | apache-2.0 | C# |
3e9d484f81f2917b31699d34900afc4ec4299a6e | Change AssemblyVersion, Fix AssemblyDescription | daitel/QFE | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("QF... | 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("QF... | mit | C# |
0d294a226df4b6aae078a64d94c355d21f20c755 | Bump minor version | hartez/PneumaticTube | Properties/AssemblyInfo.cs | 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("PneumaticTube")]
[assembly: AssemblyDesc... | 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("PneumaticTube")]
[assembly: AssemblyDesc... | mit | C# |
74d4e13e04da186bb257b518824f8733a57e6c04 | Update AssemblyInfo.cs | appium/appium-dotnet-driver,Astro03/appium-dotnet-driver,rajfidel/appium-dotnet-driver,suryarend/appium-dotnet-driver,Brillio/appium-dotnet-driver,rajfidel/appium-dotnet-driver | appium-dotnet-driver/Properties/AssemblyInfo.cs | appium-dotnet-driver/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("appium-dotnet-driver")]
[assembly: AssemblyDescription ("Appium Dotnet Driver")]
[assembly: Asse... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("lib")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: As... | apache-2.0 | C# |
45ecca74dbc370783d75ad7da638bb4d58c2c0c5 | Fix powershell file extension. | daviddumas/pgina,MutonUfoAI/pgina,pgina/pgina,daviddumas/pgina,pgina/pgina,stefanwerfling/pgina,MutonUfoAI/pgina,stefanwerfling/pgina,stefanwerfling/pgina,daviddumas/pgina,pgina/pgina,MutonUfoAI/pgina | Plugins/ScriptRunner/ScriptRunner/AddScript.cs | Plugins/ScriptRunner/ScriptRunner/AddScript.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace pGina.Plugin.ScriptRunner
{
public partial class AddScript : Form
{
internal Script ScriptData { get; set; }... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace pGina.Plugin.ScriptRunner
{
public partial class AddScript : Form
{
internal Script ScriptData { get; set; }... | bsd-3-clause | C# |
f54e51672897455a01f2859650384256dc56f860 | Update ScreenshotController.cs | Yarmolaev/TelegramCommandBot | TeleCommand/Controller/ScreenshotController.cs | TeleCommand/Controller/ScreenshotController.cs | using System;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
namespace de.yarmolaev.TelegramCommandBot.Controller
{
class ScreenshotController
{
/// <summary>
/// Makes a screenshot
/// </summary>
/// <returns>Path to the made s... | using System;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
namespace de.yarmolaev.TelegramCommandBot.Controller
{
class ScreenshotController
{
/// <summary>
/// Makes a screenshot
/// </summary>
/// <returns>Path to the made s... | mit | C# |
ffc8a3e00f86399894b2629938ff97df59935ac2 | check status from cancel registration | tomascassidy/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot | src/BrockAllen.MembershipReboot.Mvc/Areas/UserAccount/Views/Register/Cancel.cshtml | src/BrockAllen.MembershipReboot.Mvc/Areas/UserAccount/Views/Register/Cancel.cshtml | @model bool
@{
ViewBag.Title = "Cancel";
}
@if (Model)
{
<h2>Registration Cancelled</h2>
<p>
Your account has been closed.
If you would like to re-register click @Html.ActionLink("here", "Index", "Register").
</p>
<p>Thanks!</p>
}
else
{
<h2>There was an error canceling your ac... | @{
ViewBag.Title = "Cancel";
}
<h2>Registration Cancelled</h2>
<p>
Your account has been closed.
If you would like to re-register click @Html.ActionLink("here", "Index", "Register").
</p>
<p>Thanks!</p> | bsd-3-clause | C# |
3775b5968de544abf14f646b19e79cc8912f42d7 | Fix potential memory leaks with FlatProgressBar color brush | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Controls/FlatProgressBar.cs | Core/Controls/FlatProgressBar.cs | using System.Drawing;
using System.Windows.Forms;
namespace TweetDck.Core.Controls{
public partial class FlatProgressBar : ProgressBar{
private readonly SolidBrush brush;
public FlatProgressBar(){
brush = new SolidBrush(Color.White);
SetStyle(ControlStyles.UserPaint,true)... | using System.Drawing;
using System.Windows.Forms;
namespace TweetDck.Core.Controls{
public partial class FlatProgressBar : ProgressBar{
private SolidBrush brush;
public FlatProgressBar(){
SetStyle(ControlStyles.UserPaint,true);
SetStyle(ControlStyles.OptimizedDoubleBuffer,... | mit | C# |
8c39e61c7aea677c625522258ca8f60de555f2eb | Fix spelling | thedillonb/octokit.net,ivandrofly/octokit.net,gdziadkiewicz/octokit.net,Sarmad93/octokit.net,alfhenrik/octokit.net,octokit/octokit.net,M-Zuber/octokit.net,chunkychode/octokit.net,rlugojr/octokit.net,Sarmad93/octokit.net,SmithAndr/octokit.net,TattsGroup/octokit.net,khellang/octokit.net,alfhenrik/octokit.net,dampir/octok... | Octokit.Tests.Integration/Helpers/ReferenceExtensionsTests.cs | Octokit.Tests.Integration/Helpers/ReferenceExtensionsTests.cs | using Octokit.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Octokit.Tests.Integration.Helpers
{
public class ReferenceExtensionsTests
{
[IntegrationTest]
public async Task CreateABranch()
... | using Octokit.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Octokit.Tests.Integration.Helpers
{
public class ReferenceExtensionsTests
{
[IntegrationTest]
public async Task CreateABranch()
... | mit | C# |
eb1e747452d1c01d00b0c9a2d1cf7a34d1608675 | Use index initializer. | mthamil/SharpEssentials | SharpEssentials.Tests.Unit/SharpEssentials/Collections/DictionaryExtensionsTests.cs | SharpEssentials.Tests.Unit/SharpEssentials/Collections/DictionaryExtensionsTests.cs | using System.Collections.Generic;
using SharpEssentials.Collections;
using Xunit;
namespace SharpEssentials.Tests.Unit.SharpEssentials.Collections
{
public class DictionaryExtensionsTests
{
[Fact]
public void Test_TryGetValue_Key_Exists()
{
// Arrange.
var dict = new Dictionary<int, string> { [5] = "val... | using System.Collections.Generic;
using SharpEssentials.Collections;
using Xunit;
namespace SharpEssentials.Tests.Unit.SharpEssentials.Collections
{
public class DictionaryExtensionsTests
{
[Fact]
public void Test_TryGetValue_Key_Exists()
{
// Arrange.
var dict = new Dictionary<int, string> { { 5, "valu... | apache-2.0 | C# |
a31bbcaf98daef396aeae7bb6a9abd71244ffc5b | Remove method from DiceException, as it's probably not needed | skizzerz/DiceRoller | DiceRollerCs/DiceException.cs | DiceRollerCs/DiceException.cs | using System;
using System.Runtime.Serialization;
namespace Dice
{
/// <summary>
/// Represents an error with the user-inputted dice expression. These errors should generally
/// be made visible to the user in some fashion to let them know to adjust their dice expression.
/// Errors which indicate bug... | using System;
using System.Runtime.Serialization;
namespace Dice
{
/// <summary>
/// Represents an error with the user-inputted dice expression. These errors should generally
/// be made visible to the user in some fashion to let them know to adjust their dice expression.
/// Errors which indicate bug... | mit | C# |
07aa2918a3446a3bdabbb40b07e2663528d5afd8 | Add unit test for AuthSettings class | solomobro/Instagram,solomobro/Instagram,solomobro/Instagram | src/Solomobro.Instagram.Tests/WebApi/AuthSettingsTests.cs | src/Solomobro.Instagram.Tests/WebApi/AuthSettingsTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Solomobro.Instagram.WebApiDemo.Settings;
namespace Solomobro.Instagram.Tests.WebApi
{
[TestFixture]
public class AuthSettingsTests
{
con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Solomobro.Instagram.Tests.WebApi
{
[TestFixture]
public class AuthSettingsTests
{
//WebApiDemo.Settings.EnvironmentManager.
}
}
| apache-2.0 | C# |
a0b1b04a9a7d095c8ecd8058b80a017cecf4a51f | clean up code | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/Sample/Sample.CommandServiceCore/CommandInputExtension/FormDataInputFormatter.cs | Src/Sample/Sample.CommandServiceCore/CommandInputExtension/FormDataInputFormatter.cs | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
namespace Sample.CommandServiceCore.CommandInputExtension
{
public class FormDataInputFormatter : TextInputFormatter
{
private const string Mul... | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
namespace Sample.CommandServiceCore.CommandInputExtension
{
public class FormDataInputFormatter : TextInputFormatter
{
private const string Mul... | mit | C# |
e395fd9e742e6d73c2e39a32fff863a26da10373 | Update LoginForm.cs | redeqn/RedConn | RedConn/LoginForm.cs | RedConn/LoginForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace RedConn
{
public partial class LoginForm : Form
{
public LoginForm(bool isDeterminateCompletionByEvent = false)
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace RedConn
{
public partial class LoginForm : Form
{
public LoginForm(bool isForAutoCAD = false)
{
InitializeC... | mit | C# |
12c973ccb3ff97e2b9bc71a7ff20bf0ff8ebf0c0 | fix bug | at0717/FFmpegSharp | FFmpegSharp/Filters/FilterBase.cs | FFmpegSharp/Filters/FilterBase.cs | using System;
using FFmpegSharp.Media;
namespace FFmpegSharp.Filters
{
public abstract class FilterBase : IFilter
{
public MediaStream Source = null;
public int Rank { get; protected set; }
public string Name { get; protected set; }
protected FilterType FilterType { get; set; ... | using System;
using FFmpegSharp.Media;
namespace FFmpegSharp.Filters
{
public abstract class FilterBase : IFilter
{
public MediaStream Source = null;
public int Rank { get; protected set; }
public string Name { get; protected set; }
protected FilterType FilterType { get; set; ... | mit | C# |
eb93bd911a4fcad5aee1132f8b2520f492f820a2 | Fix of svg format | TheCodeCleaner/HostMe | HostMe/StaticContentController.cs | HostMe/StaticContentController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
using System.Web.Http.Cors;
using log4net;
namespace HostMe
{
public class StaticContentController : ApiController
{
private... | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
using System.Web.Http.Cors;
using log4net;
namespace HostMe
{
public class StaticContentController : ApiController
{
private readonly ILog _logger = Logger.Ge... | mit | C# |
b4a190f2698acc79bb32f1482229f5ffbc3b0905 | Clean a few things | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | binding/Binding/SkiaApi.cs | binding/Binding/SkiaApi.cs | using System;
namespace SkiaSharp
{
internal partial class SkiaApi
{
#if __TVOS__ && __UNIFIED__
private const string SKIA = "@rpath/libSkiaSharp.framework/libSkiaSharp";
#elif __WATCHOS__ && __UNIFIED__
private const string SKIA = "@rpath/libSkiaSharp.framework/libSkiaSharp";
#elif __IOS__ && __UNIFIED__
pri... | using System;
namespace SkiaSharp
{
internal partial class SkiaApi
{
#if __TVOS__ && __UNIFIED__
private const string SKIA = "@rpath/libSkiaSharp.framework/libSkiaSharp";
#elif __WATCHOS__ && __UNIFIED__
private const string SKIA = "@rpath/libSkiaSharp.framework/libSkiaSharp";
#elif __IOS__ && __UNIFIED__
pri... | mit | C# |
86fa38aa5f6118db2a8911306bdc5c0528763d82 | Change "ByteArray" to "Byte Array". Work Item #1985 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Metadata/TypeCodeEx.cs | trunk/Solutions/CslaGenFork/Metadata/TypeCodeEx.cs | using System.ComponentModel;
using CslaGenerator.Design;
namespace CslaGenerator.Metadata
{
/// <summary>
/// Summary description for TypeCodeEx.
/// </summary>
[TypeConverter(typeof(EnumDescriptionConverter))]
public enum TypeCodeEx
{
Empty,
[Description("Custom Typ... | using System.ComponentModel;
using CslaGenerator.Design;
namespace CslaGenerator.Metadata
{
/// <summary>
/// Summary description for TypeCodeEx.
/// </summary>
[TypeConverter(typeof(EnumDescriptionConverter))]
public enum TypeCodeEx
{
Empty,
[Description("Custom Typ... | mit | C# |
e9ce7cab8129a1fc886cbdc61b89d456e138b542 | Fix typos | earalov/Skylines-ElevatedTrainStationTrack | Options.cs | Options.cs |
using MetroOverhaul.Detours;
using MetroOverhaul.OptionsFramework.Attibutes;
namespace MetroOverhaul
{
[Options("MetroOverhaul")]
public class Options
{
private const string WIP = "WIP features";
private const string STYLES = "Additional styles";
public Options()
{
#if DEB... |
using MetroOverhaul.Detours;
using MetroOverhaul.OptionsFramework.Attibutes;
namespace MetroOverhaul
{
[Options("MetroOverhaul")]
public class Options
{
private const string WIP = "WIP features";
private const string STYLES = "Additional tyles";
public Options()
{
#if DEBU... | mit | C# |
790a66a4188412b8aac95ff4a6f8118fa794e03a | Update PromoContext.cs | denmerc/mongoSamples | MongoSampleTests/PromoContext.cs | MongoSampleTests/PromoContext.cs | using Domain;
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MongoSampleTests
{
public class PromoContext
{
private const string connectionString = "";
private... | using Domain;
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MongoSampleTests
{
public class PromoContext
{
private const string connectionString = "mongodb://promoUse... | apache-2.0 | C# |
273ed5678f8cb6583e67e17a050532a33454d19f | Set default values (to avoid null references for invalid user data) | nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Xgminer/MiningPool.cs | MultiMiner.Xgminer/MiningPool.cs | using System;
namespace MultiMiner.Xgminer
{
//marked Serializable to allow deep cloning of CoinConfiguration
[Serializable]
public class MiningPool
{
public MiningPool()
{
//set defaults
Host = String.Empty;
Username = String.Empty;
Pass... | using System;
namespace MultiMiner.Xgminer
{
//marked Serializable to allow deep cloning of CoinConfiguration
[Serializable]
public class MiningPool
{
public string Host { get; set; }
public int Port { get; set; }
public string Username { get; set; }
public string Passw... | mit | C# |
f85be6a0c091abc80e6ab8f6d15a81d5ae4794b9 | fix typo in ApiController XMLDoc | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Core/ApiControllerAttribute.cs | src/Microsoft.AspNetCore.Mvc.Core/ApiControllerAttribute.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;
using Microsoft.AspNetCore.Mvc.Internal;
namespace Microsoft.AspNetCore.Mvc
{
/// <summary>
/// Indicates that a type and all de... | // 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;
using Microsoft.AspNetCore.Mvc.Internal;
namespace Microsoft.AspNetCore.Mvc
{
/// <summary>
/// Indicates that a type and all de... | apache-2.0 | C# |
162e50b1128f8b3f9ab936035ce7a89ab91fabc1 | Fix package id version checking during pack - The logic wasn't in sync with nuget.exe | jaredpar/cli,jonsequitur/cli,mlorbetske/cli,naamunds/cli,ravimeda/cli,gkhanna79/cli,AbhitejJohn/cli,harshjain2/cli,EdwardBlair/cli,FubarDevelopment/cli,jonsequitur/cli,blackdwarf/cli,AbhitejJohn/cli,mylibero/cli,krwq/cli,marono/cli,ravimeda/cli,FubarDevelopment/cli,mylibero/cli,mylibero/cli,livarcocc/cli-1,mlorbetske/c... | src/Microsoft.DotNet.Tools.Pack/NuGet/PackageIdValidator.cs | src/Microsoft.DotNet.Tools.Pack/NuGet/PackageIdValidator.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace NuGet
{
public static class PackageIdValidator
... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
namespace NuGet
{
public static class PackageIdValidator
{
internal const int MaxPacka... | mit | C# |
a0c1da647ed06478559cca86f783262b12510f52 | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | autofac/Autofac.Extras.CommonServiceLocator | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
28652caeb6156522b2ee211868d5e1e966edc306 | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | autofac/Autofac.Extras.AggregateService | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
468e2a8fa6bbc93a912e0a5049077ee36bca7ebf | Add an improved string representation of PackageBuild instances | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | Opus.Core/PackageBuildList.cs | Opus.Core/PackageBuildList.cs | // <copyright file="PackageBuildList.cs" company="Mark Final">
// Opus
// </copyright>
// <summary>Opus Core</summary>
// <author>Mark Final</author>
namespace Opus.Core
{
public class PackageBuild
{
public PackageBuild(PackageIdentifier id)
{
this.Name = id.Name;
... | // <copyright file="PackageBuildList.cs" company="Mark Final">
// Opus
// </copyright>
// <summary>Opus Core</summary>
// <author>Mark Final</author>
namespace Opus.Core
{
public class PackageBuild
{
public PackageBuild(PackageIdentifier id)
{
this.Name = id.Name;
... | bsd-3-clause | C# |
ba215f8700f4487b3d6d325379c5087145eae6c8 | fix name to follow the class name | dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,NikRimington/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,NikRimington/Umbraco-CMS,madsoulswe/Umbraco-CMS,abjerner/U... | src/Umbraco.Web/Models/ContentEditing/DataTypeReferences.cs | src/Umbraco.Web/Models/ContentEditing/DataTypeReferences.cs | using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "dataTypeReferences", Namespace = "")]
public class DataTypeReferences
{
[DataMember(Name = "documentTypes")]
public IEnumerable<Conte... | using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "dataTypeUsages", Namespace = "")]
public class DataTypeReferences
{
[DataMember(Name = "documentTypes")]
public IEnumerable<ContentTy... | mit | C# |
3e0b43eeb7d31ed56c0fab33d665be5aa3f6ab86 | Update ExtractImagesFromWorksheets.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-as... | Examples/CSharp/Articles/ExtractImagesFromWorksheets.cs | Examples/CSharp/Articles/ExtractImagesFromWorksheets.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Rendering;
namespace Aspose.Cells.Examples.Articles
{
public class ExtractImagesFromWorksheets
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.C... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Rendering;
namespace Aspose.Cells.Examples.Articles
{
public class ExtractImagesFromWorksheets
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetD... | mit | C# |
3113f214bfd2a988de675fc2c1dd9aba84ac56d0 | add method to return a string of the webpage, decoded according to http headers | martinlindhe/ServiceTests,martinlindhe/ServiceTests | ServiceUnitTest/HttpTester.cs | ServiceUnitTest/HttpTester.cs | using System;
using System.Net;
using System.IO;
using System.Text;
using Punku;
// TODO make user agent changeable
namespace ServiceUnitTest
{
public class HttpTester
{
public static void Main ()
{
Console.WriteLine ("wowo");
var xx = HttpTester.FetchContentAsString ("http://battle.x/http_tester_webserv... | using System;
using System.Net;
using System.IO;
using Punku;
// TODO make user agent changeable
namespace ServiceUnitTest
{
public class HttpTester
{
public static void Main ()
{
Console.WriteLine ("wowo");
var xx = HttpTester.FetchStatusCode ("http://battle.x/http_tester_webserver/restricted.php");
... | mit | C# |
9cb3691aaf572da34622b3153e60c95f20513e42 | Fix commit b23c4ca2520d0778e5fc0a997cf32286a9bbec45 | StockSharp/StockSharp | Samples/Connectors/SampleConnection/ChartWindow.xaml.cs | Samples/Connectors/SampleConnection/ChartWindow.xaml.cs | namespace SampleConnection
{
using System;
using System.ComponentModel;
using System.Windows.Media;
using StockSharp.Algo;
using StockSharp.Algo.Candles;
using StockSharp.Xaml.Charting;
partial class ChartWindow
{
private readonly Connector _connector;
private readonly CandleSeries _candleSeries;
priva... | namespace SampleConnection
{
using System;
using System.Windows.Media;
using StockSharp.Algo;
using StockSharp.Algo.Candles;
using StockSharp.Xaml.Charting;
partial class ChartWindow
{
private readonly Connector _connector;
private readonly CandleSeries _candleSeries;
private readonly ChartCandleElement... | apache-2.0 | C# |
bac5088e04d6a12e065bd6c70aa5a6a30d4b7de8 | Add compatibility warning to VolatileNameTestMethodBuilder doc | sean-gilliam/AutoFixture,zvirja/AutoFixture,AutoFixture/AutoFixture,Pvlerick/AutoFixture | Src/AutoFixture.NUnit3/VolatileNameTestMethodBuilder.cs | Src/AutoFixture.NUnit3/VolatileNameTestMethodBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework.Internal.Builders;
namespace Ploeh.AutoFixture.NUnit3
{
/// Creates <see cref="TestMethod"/> instances with name that in... | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework.Internal.Builders;
namespace Ploeh.AutoFixture.NUnit3
{
/// Creates <see cref="TestMethod"/> instances with name that in... | mit | C# |
52ededb390ff36f873c85e869b4007af235ad59e | Fix new warning around nullability | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | Drums/VDrumExplorer.Model/Schema/Json/HexInt32Converter.cs | Drums/VDrumExplorer.Model/Schema/Json/HexInt32Converter.cs | // Copyright 2020 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Newtonsoft.Json;
using System;
using VDrumExplorer.Utility;
namespace VDrumExplorer.Model.Schema.Json
{
internal class HexInt32Converter : JsonConverter<H... | // Copyright 2020 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Newtonsoft.Json;
using System;
using VDrumExplorer.Utility;
namespace VDrumExplorer.Model.Schema.Json
{
internal class HexInt32Converter : JsonConverter<H... | apache-2.0 | C# |
113b03cbc3b86685806ea2572e5a591722e62135 | Bump version | octokit-net-test-org/octokit.net,ivandrofly/octokit.net,ChrisMissal/octokit.net,shiftkey/octokit.net,gabrielweyer/octokit.net,takumikub/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,kolbasov/octokit.net,octokit-net-test/octokit.net,nsnnnnrn/octokit.net,SmithAndr/octokit.net,SamTheDev/octokit.net,alfhenrik/octok... | SolutionInfo.cs | SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProductAttribute("Octokit")]
[assembly: AssemblyVersionAttribute("0.3.1")]
[assembly: AssemblyFileVersionAttribute("0.3.1")]
[assembly: ComVisibleAttribute(false)]
namespace System {
internal static class Assemb... | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProductAttribute("Octokit")]
[assembly: AssemblyVersionAttribute("0.3.0")]
[assembly: AssemblyFileVersionAttribute("0.3.0")]
[assembly: ComVisibleAttribute(false)]
namespace System {
internal static class Assemb... | mit | C# |
923043d2f16072bbd00c406276dbeb8b02cc3797 | Update Context.cs | Labs64/NetLicensingClient-csharp | NetLicensingClient/Context.cs | NetLicensingClient/Context.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetLicensingClient.Entities;
namespace NetLicensingClient
{
/// <summary>
/// Enumerates possible security modes for accessing the NetLicensing API
/// See https://netlicensing.io/wiki/security for details.
//... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetLicensingClient.Entities;
namespace NetLicensingClient
{
/// <summary>
/// Enumerates possible security modes for accessing the NetLicensing API
/// See https://www.labs64.de/confluence/display/NLICPUB/Security... | apache-2.0 | C# |
76e5e6a3aca1cc617facf6a4349f24fa6f018b6b | Update ApiCredentials.cs | wp-net/WordPressPCL,cobalto/WordPressPCL,cobalto/WordPressPCL,wp-net/WordPressPCL | WordPressPCL.Tests.Selfhosted/Utility/ApiCredentials.cs | WordPressPCL.Tests.Selfhosted/Utility/ApiCredentials.cs | namespace WordPressPCL.Tests.Selfhosted.Utility;
public class ApiCredentials
{
public static string WordPressUri = "http://localhost:8080/wp-json/";
public static string Username = "wordpress";
public static string Password = "wordpress";
}
| namespace WordPressPCL.Tests.Selfhosted.Utility;
public class ApiCredentials
{
public static string WordPressUri = "https://pcl.medienstudio.net/wp-json/";
public static string Username = "wordpress";
public static string Password = "eD9Q)t#v!k7R6SLum9N.";
}
| mit | C# |
90048213c3e195105084bb8c072f08efdf5be550 | add message that creates account doc to list of messages not to reprocess | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal/Application/Services/AccountDocumentServiceWithDuplicateCheck.cs | src/SFA.DAS.EAS.Portal/Application/Services/AccountDocumentServiceWithDuplicateCheck.cs | using SFA.DAS.EAS.Portal.Client.Database.Models;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.EAS.Portal.Application.Services
{
public class AccountDocumentServiceWithDuplicateCheck : IAccountDocumentService
{
private readonly IAccountDocumentService _accountDocumentService;... | using SFA.DAS.EAS.Portal.Client.Database.Models;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.EAS.Portal.Application.Services
{
public class AccountDocumentServiceWithDuplicateCheck : IAccountDocumentService
{
private readonly IAccountDocumentService _accountDocumentService;... | mit | C# |
34d6e311e9771a50491d967d70ff4335aa204243 | Update FileSettingsServiceOptionsValidator.cs | tiksn/TIKSN-Framework | TIKSN.Core/Settings/FileSettingsServiceOptionsValidator.cs | TIKSN.Core/Settings/FileSettingsServiceOptionsValidator.cs | using FluentValidation;
using TIKSN.Configuration.Validator;
namespace TIKSN.Settings
{
public class
FileSettingsServiceOptionsValidator : PartialConfigurationFluentValidatorBase<FileSettingsServiceOptions>
{
public FileSettingsServiceOptionsValidator() => this.RuleFor(x => x.RelativePath).Not... | using FluentValidation;
using TIKSN.Configuration.Validator;
namespace TIKSN.Settings
{
public class FileSettingsServiceOptionsValidator : PartialConfigurationFluentValidatorBase<FileSettingsServiceOptions>
{
public FileSettingsServiceOptionsValidator()
{
RuleFor(x => x.RelativePat... | mit | C# |
7fa2673ca6dce792495438bec0079139fec7a570 | Refactor service bus configuration | kotorihq/kotori-core | KotoriCore/Configuration/ServiceBusConfiguration.cs | KotoriCore/Configuration/ServiceBusConfiguration.cs | namespace KotoriCore.Configuration
{
/// <summary>
/// Service bus configuration.
/// </summary>
public class ServiceBusConfiguration : IBusConfiguration
{
/// <summary>
/// Gets or sets the end point.
/// </summary>
/// <value>The end point.</value>
public s... | namespace KotoriCore.Configuration
{
/// <summary>
/// Service bus configuration.
/// </summary>
public class ServiceBusConfiguration : IBusConfiguration
{
/// <summary>
/// Gets or sets the end point.
/// </summary>
/// <value>The end point.</value>
public string Endpoint { get; set; }
... | mit | C# |
13e2979f4b4651a8c884cf4b078e3cd44cdfba86 | Add multidimensional matrix copy method. | scott-fleischman/algorithms-csharp | src/Algorithms.Collections/SquareMatrix.cs | src/Algorithms.Collections/SquareMatrix.cs | using System;
namespace Algorithms.Collections
{
public static class SquareMatrix
{
public static T[,] Multiply<T>(T[,] A, T[,] B, Func<T, T, T> add, Func<T, T, T> multiply)
{
ValidateAreEqualSquare(A, B);
int length = A.GetLength(0);
var C = new T[length, length];
for (int i = 0; i <... | using System;
namespace Algorithms.Collections
{
public static class SquareMatrix
{
public static T[,] Multiply<T>(T[,] A, T[,] B, Func<T, T, T> add, Func<T, T, T> multiply)
{
ValidateAreEqualSquare(A, B);
int length = A.GetLength(0);
var C = new T[length, length];
for (int i = 0; i <... | mit | C# |
d930423199d9bd57d6e794f61836e8efe6ce2e34 | Initialize LoginAuthCommand with an IMaskedInput | appharbor/appharbor-cli | src/AppHarbor/Commands/LoginAuthCommand.cs | src/AppHarbor/Commands/LoginAuthCommand.cs | using System.IO;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor", alias: "login")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
private readonly IMaskedInput _maskedConsoleInput;
pri... | using System.IO;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor", alias: "login")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
private readonly TextReader _reader;
private readonly ... | mit | C# |
8a777d7953ec2fa5212aa2bb256add8d3b1b761d | Include max port | serilog/serilog-sinks-loggly | src/Serilog.Sinks.Loggly/Sinks/Loggly/LogglyConfigAdapter.cs | src/Serilog.Sinks.Loggly/Sinks/Loggly/LogglyConfigAdapter.cs | using System;
using Loggly.Config;
namespace Serilog.Sinks.Loggly
{
class LogglyConfigAdapter
{
public void ConfigureLogglyClient(LogglyConfiguration logglyConfiguration)
{
var config = LogglyConfig.Instance;
if (!string.IsNullOrWhiteSpace(logglyConfiguration.Applicati... | using System;
using Loggly.Config;
namespace Serilog.Sinks.Loggly
{
class LogglyConfigAdapter
{
public void ConfigureLogglyClient(LogglyConfiguration logglyConfiguration)
{
var config = LogglyConfig.Instance;
if (!string.IsNullOrWhiteSpace(logglyConfiguration.Applicati... | apache-2.0 | C# |
485e632901ad295f7d9d4b6642db7167c67c454f | Split value interface into smaller interfaces. | Teodor92/QL-DSL | src/OffByOne.Ql/Values/Contracts/IValue.cs | src/OffByOne.Ql/Values/Contracts/IValue.cs | namespace OffByOne.Ql.Values.Contracts
{
public interface IValue
: IValueOperations<IValue>,
IValueOperations<IntegerValue>,
IValueOperations<DecimalValue>,
IValueOperations<MoneyValue>,
IValueOperations<DateValue>,
IValueOperations<BooleanValue>,
IValueOpera... | namespace OffByOne.Ql.Values.Contracts
{
public interface IValue
{
IValue Parse(string value);
IValue Add(IValue other);
IValue Add(IntegerValue other);
IValue Add(DecimalValue other);
IValue Add(MoneyValue other);
IValue Add(DateValue other);
IValu... | mit | C# |
19ce5e8f3f7cd4599fc760ed1fe3801efe23a558 | Remove some dead code | SergeyTeplyakov/CodeContracts,hubuk/CodeContracts,huoxudong125/CodeContracts,ndykman/CodeContracts,SergeyTeplyakov/CodeContracts,danielcweber/CodeContracts,ndykman/CodeContracts,huoxudong125/CodeContracts,SergeyTeplyakov/CodeContracts,huoxudong125/CodeContracts,huoxudong125/CodeContracts,huoxudong125/CodeContracts,ndyk... | Microsoft.Research/AnalysisTypes/StringConstants.cs | Microsoft.Research/AnalysisTypes/StringConstants.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Research.CodeAnalysis
{
public static class StringConstan... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Research.CodeAnalysis
{
public static class StringConstan... | mit | C# |
d948e3ffa26eb708514ec04a53bb8305de0d55dc | Bump version | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Properties/AssemblyInfo.cs | src/SyncTrayzor/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# |
6203eb73f97b31503972bbe357e393287f3ecc74 | Add DisplayUnits to DiagnosticCounter reference assembly | shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,BrennanConroy/corefx,wtgodbe/corefx,ViktorHofer/corefx,shimingsg/corefx,shimingsg/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,ViktorHofer/core... | src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.Counters.cs | src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.Counters.cs | namespace System.Diagnostics.Tracing
{
public abstract partial class DiagnosticCounter : System.IDisposable
{
internal DiagnosticCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { }
public void AddMetadata(string key, string value) { }
public void Dispose() { }
... | namespace System.Diagnostics.Tracing
{
public abstract partial class DiagnosticCounter : System.IDisposable
{
internal DiagnosticCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { }
public void AddMetadata(string key, string value) { }
public void Dispose() { }
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.