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 |
|---|---|---|---|---|---|---|---|---|
99d10a342e047c0f40ff2b4c9236fe7d773a8241 | Remove a string length cap on Name in the Genre Class. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Models/DatabaseModels/Genre.cs | src/Open-School-Library/Models/DatabaseModels/Genre.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.DatabaseModels
{
public class Genre
{
public int GenreId { get; set; }
public string Name { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.DatabaseModels
{
public class Genre
{
public int GenreId { get; set; }
[StringLength(50)]
public string Na... | mit | C# |
7322e9865126a9e18933867d09d7a756f2b323dc | bump minor version | pragmatrix/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket,danbarua/NEventSocket | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NEventSocket")]
[assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")]
[assembly: AssemblyCompany("Dan Barua")]
[assembly: AssemblyProduct("NEventSocket")]
[assembly: AssemblyCopyright("Copyright (C... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NEventSocket")]
[assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")]
[assembly: AssemblyCompany("Dan Barua")]
[assembly: AssemblyProduct("NEventSocket")]
[assembly: AssemblyCopyright("Copyright (C... | mpl-2.0 | C# |
e21659f5ecfd37e5e3840253cca186b075e4438d | Update WavChannel.cs | wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter | WavFile/WavChannel.cs | WavFile/WavChannel.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.
namespace WavFile
{
#region References
using System;
#endregion
#region WavChannel
/// <summary>
/// WAV channel information
/// <... | /*
* WavFile
* Copyright © Wiesław Šoltés 2010-2012. All Rights Reserved
*/
namespace WavFile
{
#region References
using System;
#endregion
#region WavChannel
/// <summary>
/// WAV channel information
/// </summary>
public struct WavChannel
{
private readonly string ... | mit | C# |
bca3e22d4fae4be655c2f538f454393939134195 | Increment version # | TrinityWestern/Nvelope,badjer/Nvelope,TrinityWestern/Nvelope,badjer/Nvelope | src/Nvelope/Properties/AssemblyInfo.cs | src/Nvelope/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
// 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: Ass... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
// 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: Ass... | mit | C# |
b9e8e6b69d5f7704fdcd78c1f05467ab1ae6e914 | exclude from code coverage | bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather | api/src/BellRichM.Api/Models/LinkModel.cs | api/src/BellRichM.Api/Models/LinkModel.cs | using BellRichM.Attribute.CodeCoverage;
namespace BellRichM.Api.Models
{
/// <summary>
/// The link model.
/// </summary>
[ExcludeFromCodeCoverage]
public class LinkModel
{
/// <summary>
/// Gets or sets the label.
/// </summary>
/// <value>
... | namespace BellRichM.Api.Models
{
/// <summary>
/// The link model.
/// </summary>
public class LinkModel
{
/// <summary>
/// Gets or sets the label.
/// </summary>
/// <value>
/// The href.
/// </value>
public string Label { get; ... | mit | C# |
2a77e8b83940a792857cc1383aa603590b85e55b | change background coordinates from NDC to pixels | Dergash/le | src/Game.cs | src/Game.cs |
using System;
using System.IO;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace LE {
public class Game : GameWindow {
int? backgroundTextureId;
public Game() {
base.Title = "Princess colour";
}
protected override void OnResize(EventArgs e)
{
... |
using System;
using System.IO;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace LE {
public class Game : GameWindow {
int? backgroundTextureId;
public Game() {
base.Title = "Princess colour";
}
protected override void OnResize(EventArgs e)
{
... | mit | C# |
3a36260ca0934b8566ae77c7e211d49ed4eecbac | Remove ConvertResxToJObject | chunye/azure-functions-ux,projectkudu/WebJobsPortal,agruning/azure-functions-ux,chunye/azure-functions-ux,chunye/azure-functions-ux,projectkudu/AzureFunctions,projectkudu/AzureFunctions,agruning/azure-functions-ux,projectkudu/AzureFunctions,chunye/azure-functions-ux,projectkudu/WebJobsPortal,projectkudu/WebJobsPortal,a... | AzureFunctions.ResxConverter/ResxConvertor.cs | AzureFunctions.ResxConverter/ResxConvertor.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Resources;
using System.Text;
namespace AzureFunctions.ResxConvertor
{
public class ResxConvertor
{
public void SaveResxAsTypeScriptFile(string resxFilePath, string outputTSFilePAth)
{
var sb = new Str... | using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Resources;
using System.Text;
namespace AzureFunctions.ResxConvertor
{
public class ResxConvertor
{
public JObject ConvertResxToJObject(string resxFilePath)
{
// Create a ResXResourceReader for the fil... | apache-2.0 | C# |
30bc9ce093ec2db8d1ac921974eb40468ee8d49d | Update SavingFiles.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_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,aspose-c... | Examples/CSharp/Files/Handling/SavingFiles.cs | Examples/CSharp/Files/Handling/SavingFiles.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Handling
{
public class SavingFiles
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDat... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Handling
{
public class SavingFiles
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.M... | mit | C# |
7ffbfd8a2a1ad4d57289e0065f73a6e66e70b100 | Fix mono build | foens/OpenCVR,foens/OpenCVR,foens/OpenCVR | OpenCVR/Persistence/PersistenceTransaction.cs | OpenCVR/Persistence/PersistenceTransaction.cs | #if (__MonoCS__)
using SQLiteTransaction = Mono.Data.Sqlite.SqliteTransaction;
#else
using System.Data.SQLite;
#endif
namespace OpenCVR.Persistence
{
internal class PersistenceTransaction : IPersistenceTransaction
{
private readonly SQLiteTransaction transaction;
public PersistenceTransaction(... | using System;
using System.Data.SQLite;
namespace OpenCVR.Persistence
{
internal class PersistenceTransaction : IPersistenceTransaction
{
private readonly SQLiteTransaction transaction;
public PersistenceTransaction(SQLiteTransaction transaction)
{
this.transaction = transa... | unlicense | C# |
4e2224ca4d4c91079868bb4f5d98b1ef45691334 | Fix for assuming any legacy call is 32-bit | nycdotnet/RedGate.AppHost,red-gate/RedGate.AppHost | RedGate.AppHost.Server/ChildProcessFactory.cs | RedGate.AppHost.Server/ChildProcessFactory.cs | namespace RedGate.AppHost.Server
{
public class ChildProcessFactory
{
public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bit, bool monitorHostProcess)
{
IProcessStartOperation processStarter;
if (is64Bit)
{
... | namespace RedGate.AppHost.Server
{
public class ChildProcessFactory
{
public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bit, bool monitorHostProcess)
{
IProcessStartOperation processStarter;
if (is64Bit)
{
... | apache-2.0 | C# |
9827e3b766c3a3015a1d8cd567272a0ea2f08bf9 | Add String.Left() and String.Right() functions | eleven41/Eleven41.Extensions | Eleven41.Extensions/StringExtensions.cs | Eleven41.Extensions/StringExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Eleven41.Extensions
{
public static class StringExtensions
{
// Null-safe version of .Trim()
public static string SafeTrim(this string s)
{
if (s == null)
return s;
return s.Trim();
}
// Ensures the ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Eleven41.Extensions
{
public static class StringExtensions
{
// Null-safe version of .Trim()
public static string SafeTrim(this string s)
{
if (s == null)
return s;
return s.Trim();
}
// Ensures the ... | mit | C# |
a070c79a64016adb228c553af1058758488dcb54 | Update SilentUserConfirmation.cs | tiksn/TIKSN-Framework | TIKSN.Core/Progress/SilentUserConfirmation.cs | TIKSN.Core/Progress/SilentUserConfirmation.cs | namespace TIKSN.Progress
{
public class SilentUserConfirmation : IUserConfirmation
{
public bool ShouldContinue(string query, string caption) => true;
public bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll)
{
if (yesToAll)
{... | namespace TIKSN.Progress
{
public class SilentUserConfirmation : IUserConfirmation
{
public bool ShouldContinue(string query, string caption)
{
return true;
}
public bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll)
{
... | mit | C# |
3cceb354455dbccf1dc096450d42d741163649aa | Fix Stack item status not updating correctly. | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Client/GameObjects/Components/StackComponent.cs | Content.Client/GameObjects/Components/StackComponent.cs | using Content.Client.UserInterface;
using Content.Client.Utility;
using Content.Shared.GameObjects.Components;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Timing;
using Robust.Shared.ViewVariables;
... | using Content.Client.UserInterface;
using Content.Client.Utility;
using Content.Shared.GameObjects.Components;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Timing;
using Robust.Shared.ViewVariables;
... | mit | C# |
27905becc6075439a04deacc0f967267c08ed0d9 | Fix release-mode crash | pingzing/k-christmas-2016 | KChristmas.Core/NetworkService.cs | KChristmas.Core/NetworkService.cs | using KChristmas.Models;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using Xamarin.Essentials;
namespace KChristmas.Core
{
public class NetworkService
{
private HttpClient _httpClient;
#if DEBUG
private readonly string _baseUrl;
#else
private readonly s... | using KChristmas.Models;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using Xamarin.Essentials;
namespace KChristmas.Core
{
public class NetworkService
{
private HttpClient _httpClient;
#if DEBUG
private readonly string _baseUrl;
#else
private readonly s... | mit | C# |
d51aa6d4ee9e8971b34ec9d86b534093f3f8aacf | Add EmptyFiles to testCoverageFilter (#68) | bbtsoftware/TfsUrlParser | recipe.cake | recipe.cake | #load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountNam... | #load nuget:?package=Cake.Recipe&version=1.0.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountNam... | mit | C# |
1d5bd11e3b53e08209205ad0f4076574f3a95623 | Add support for sending ASCII characters in FileMapManager | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Modules/MapDataGetters/FileMap/FileMapManager.cs | osu!StreamCompanion/Code/Modules/MapDataGetters/FileMap/FileMapManager.cs | using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Text;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.FileMap
{
public class FileMapManager
{
Dictionary<string, MapContainer> _files = new Dictionary<string, MapContainer>();
private r... | using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Text;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.FileMap
{
public class FileMapManager
{
Dictionary<string, MapContainer> _files = new Dictionary<string, MapContainer>();
private r... | mit | C# |
8be0dec2c4fab0deca694537470cf7252ba16df6 | Use of metadata proxies to generate table. | xaviermonin/EntityCore | Core/EntityCore/DynamicEntity/DatabaseStructure/EntityDatabaseStructure.cs | Core/EntityCore/DynamicEntity/DatabaseStructure/EntityDatabaseStructure.cs | using EntityCore.Proxy.Metadata;
using System.Text;
namespace EntityCore.DynamicEntity
{
internal class EntityDatabaseStructure
{
public static string GenerateCreateTableSqlQuery(IEntity entity)
{
var createTable = new StringBuilder();
createTable.AppendFormat("CREATE T... | using System.Text;
using Models = EntityCore.Initialization.Metadata.Models;
namespace EntityCore.DynamicEntity
{
internal class EntityDatabaseStructure
{
public static string GenerateCreateTableSqlQuery(Models.Entity entity)
{
var createTable = new StringBuilder();
cre... | mit | C# |
3ef120d631393d9149acac5fcfa81770e0255df9 | Add new property to session type | neo4j/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests.TestBackend/Protocol/Session/NewSession.cs | Neo4j.Driver/Neo4j.Driver.Tests.TestBackend/Protocol/Session/NewSession.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Neo4j.Driver.Tests.TestBackend
{
internal class NewSession : IProtocolObject
{
public enum SessionState
{
RetryAbleNothing,
RetryAblePositive,
RetryAbleNegative
}
[Jso... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Neo4j.Driver.Tests.TestBackend
{
internal class NewSession : IProtocolObject
{
public enum SessionState
{
RetryAbleNothing,
RetryAblePositive,
RetryAbleNegative
}
[Jso... | apache-2.0 | C# |
9f2c730b918a1a22251c422e9e98a41b5ffd7e03 | build 7.1.11 | agileharbor/channelAdvisorAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | bsd-3-clause | C# |
ae357d6ff87f23a0df99bdcbb7796acaf2670a5e | Create Program.cs | chemadvisor/chemapi_csharp_example | ConsoleClient/Program.cs | ConsoleClient/Program.cs | /*
* Copyright (c) 2017 ChemADVISOR, Inc. All rights reserved.
* Licensed under The MIT License (MIT)
* https://opensource.org/licenses/MIT
*/
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace ConsoleClient
{
internal class Program
{... | /*
* Copyright (c) 2017 ChemADVISOR, Inc. All rights reserved.
* Licensed under The MIT License (MIT)
* https://opensource.org/licenses/MIT
*/
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace ConsoleClient
{
internal class Program
{... | mit | C# |
65ee5d00352f583afe72aa79cc34b7fa7497194a | Update version number. Nice. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
189491de6ecf6f8f2a4b465853ed01a3ff262544 | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | jango2015/Autofac.Configuration,autofac/Autofac.Configuration | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Configuration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Configuration, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261b188... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Configuration")]
[assembly: AssemblyDescription("Autofac XML Configuration Support")]
[assembly: InternalsVisibleTo("Autofac.Tests.Configuration, PublicKey=00240... | mit | C# |
5a2998cc63d39ca21c493d182e5a027803f64a82 | Clean up Table | doom-desire/GBA | GBAHL/Text/Table.cs | GBAHL/Text/Table.cs | using System;
namespace GBAHL.Text
{
/// <summary>
/// Represents a table of characters.
/// </summary>
public class Table
{
/// <summary>
/// Initializes a new instance of the <see cref="Table"/> class.
/// </summary>
/// <param name="characters">The character tabl... | using System;
namespace GBAHL.Text
{
/// <summary>
/// Represents a table of characters.
/// </summary>
public class Table
{
public Table(string[] characters)
{
if (characters == null)
throw new ArgumentNullException(nameof(characters));
if ... | mit | C# |
8c9d39700d66af8c12ff2a82a46f39a8ea241b19 | Update deprecated code in iOS main entry | smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu | osu.iOS/Application.cs | osu.iOS/Application.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.iOS;
using UIKit;
namespace osu.iOS
{
public static class Application
{
public static void Main(string[] args)
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using UIKit;
namespace osu.iOS
{
public static class Application
{
public static void Main(string[] args)
{
UIApplication.Main(args,... | mit | C# |
c16dbbf563d4abad8e8de5ee4adad600bba2c2d4 | Update ServerCapabilities type | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/ServerCapabilities.cs | src/PowerShellEditorServices.Protocol/LanguageServer/ServerCapabilities.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.PowerShell.EditorServices.Protocol.LanguageServer
{
public class ServerCapabilities
{
public TextDocumentSyncKind? TextDocumen... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class ServerCapabilities
{
public TextDocumentSyncKind? TextDocumen... | mit | C# |
69422ab87558265dfa8bc7e268079e6d1fa27f98 | set copyright to 2017 | wcm-io-devops/aem-manager | AEMManager/Properties/AssemblyInfo.cs | AEMManager/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("AEM... | 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("AEM... | apache-2.0 | C# |
2550e616ca37208a803f5870c57bff86ff549559 | bump version | alecgorge/adzerk-dot-net | Adzerk.Api/Properties/AssemblyInfo.cs | Adzerk.Api/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("Ad... | 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("Ad... | mit | C# |
8780eac1c72873338b6647cb699d7d0163ed986e | Test de Cliente Completo | pablovargan/winforms-ooh4ria | LimpiezasPalmeralTest/ClienteTest.cs | LimpiezasPalmeralTest/ClienteTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PalmeralGenNHibernate.CEN.Default_;
using PalmeralGenNHibernate.EN.Default_;
namespace LimpiezasPalmeralTest
{
[TestClass]
public class ClienteTest
{
private ClienteCEN clienteTest;
[TestInitialize]
public voi... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LimpiezasPalmeralTest
{
[TestClass]
public class ClienteTest
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| apache-2.0 | C# |
7cc66a2f336d1da21c95a142894a7e09cad9c300 | Update assembly info for development of the next version | nanathan/AltFunding | AltFunding/Properties/AssemblyInfo.cs | AltFunding/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("Alt... | 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("Alt... | mit | C# |
6861b7f9d994ddc3c1a7e9ef046f64447fff32ce | Add credentials class for user authorization | tenevdev/idiot-netmf-sdk | Idiot/Net/Credentials.cs | Idiot/Net/Credentials.cs | using System;
using Microsoft.SPOT;
using System.Text;
using GHIElectronics.NETMF.Net;
namespace Idiot.Net
{
public class Credentials
{
private string username;
private string password;
public Credentials(string username, string password)
{
this.username = username... | using System;
using Microsoft.SPOT;
namespace Idiot.Net
{
class Credentials
{
}
}
| mit | C# |
80a1a124071bebe82441e20c8189d19b283e18be | add mahapps xmlns prefix | tipunch74/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,DingpingZhang/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit | MaterialDesignThemes.MahApps/Properties/AssemblyInfo.cs | MaterialDesignThemes.MahApps/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify t... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify t... | mit | C# |
c3582bed367dfbb602e7abe5f3ca5bf5c7b10ba7 | Fix a bug about Use Grouping working randomnly | Seddryck/NBi,Seddryck/NBi | NBi.UI.Genbi/View/TestSuiteGenerator/TestListControl.cs | NBi.UI.Genbi/View/TestSuiteGenerator/TestListControl.cs | using System;
using System.Linq;
using System.Windows.Forms;
using NBi.UI.Genbi.Presenter;
namespace NBi.UI.Genbi.View.TestSuiteGenerator
{
public partial class TestListControl : UserControl
{
private BindingSource testsSource;
public TestListControl()
{
Ini... | using System;
using System.Linq;
using System.Windows.Forms;
using NBi.UI.Genbi.Presenter;
namespace NBi.UI.Genbi.View.TestSuiteGenerator
{
public partial class TestListControl : UserControl
{
private BindingSource testsSource;
public TestListControl()
{
Ini... | apache-2.0 | C# |
c847e51d1d14d02bbe05d925a936a9b5aef0675b | Update RDFOntologyFact.cs | mdesalvo/RDFSharp | RDFSharp/Semantics/OWL/Ontology/Data/RDFOntologyFact.cs | RDFSharp/Semantics/OWL/Ontology/Data/RDFOntologyFact.cs | /*
Copyright 2015-2020 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | /*
Copyright 2015-2020 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | apache-2.0 | C# |
8dce323b1a7253bc10484ddc6ded59c487089f4d | check for existing record | faithword/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework,henkmeulekamp/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework,buybackoff/IdentityServer3.EntityFramework | Source/Core.EntityFramework/Stores/RefreshTokenStore.cs | Source/Core.EntityFramework/Stores/RefreshTokenStore.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | apache-2.0 | C# |
344e7dc62aa4a191a2bf7f6851a9df73ea45b417 | Update version numbers and copyright dates in AssemblyInfo.cs files. | eylvisaker/AgateLib | Drivers/OldCode/AgateSDL/Properties/AssemblyInfo.cs | Drivers/OldCode/AgateSDL/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# |
482b1bfa5a1ff003b518f3c9d5c26863bc64d494 | Update IRestAuthenticationTokenProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/IRestAuthenticationTokenProvider.cs | TIKSN.Core/Web/Rest/IRestAuthenticationTokenProvider.cs | using System;
using System.Threading.Tasks;
namespace TIKSN.Web.Rest
{
public interface IRestAuthenticationTokenProvider
{
Task<string> GetAuthenticationToken(Guid apiKey);
}
}
| using System;
using System.Threading.Tasks;
namespace TIKSN.Web.Rest
{
public interface IRestAuthenticationTokenProvider
{
Task<string> GetAuthenticationToken(Guid apiKey);
}
} | mit | C# |
b0a8a7fceaf0d926506a3d4c700d5dda43a0932c | check the current count of the semaphore in "AsyncLock" to verify it should be released | bbqchickenrobot/Akavache,akavache/Akavache | src/Akavache.Sqlite3/AsyncLock.cs | src/Akavache.Sqlite3/AsyncLock.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Akavache.Sqlite3.Internal
{
// Straight-up thieved from http://www.hanselman.com/blog/ComparingTwoTechniquesInNETAsynchronousCoordinationPrimitives.aspx
public sealed class AsyncLock
{
const int semaphoreMaxCount = 1;
... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Akavache.Sqlite3.Internal
{
// Straight-up thieved from http://www.hanselman.com/blog/ComparingTwoTechniquesInNETAsynchronousCoordinationPrimitives.aspx
public sealed class AsyncLock
{
readonly SemaphoreSlim m_semaphore... | mit | C# |
e09bc11d08959f9a2ebe512a605322ea9703053d | Fix typo | SaladbowlCreative/LumberjackClient | samples/NLog/Program.cs | samples/NLog/Program.cs | using NLog.Config;
using NLog.Targets.Logstash;
using System;
using System.Threading;
namespace NLog
{
class Program
{
static void Main(string[] args)
{
Setup();
TestLog();
Thread.Sleep(1000);
}
static void Setup()
{
var ... | using NLog.Config;
using NLog.Targets.Logstash;
using System.Threading;
namespace NLog
{
class Program
{
static void Main(string[] args)
{
Setup();
TestLog();
Thread.Sleep(1000);
}
static void Setup()
{
var logstashTarget... | mit | C# |
f4a1b293db9d18ca0816b6067bbfedf5b1cb0a27 | Change missed exception message to resource. | PCFDev/SNPPlib | SNPPlib/SNPPlib/PagerCollection.cs | SNPPlib/SNPPlib/PagerCollection.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace SNPPlib
{
public class PagerCollection : Collection<string>
{
public PagerCollection()
{
Pagers = new List<string>();
}
internal IList<string> Pagers { get; set; }
... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace SNPPlib
{
public class PagerCollection : Collection<string>
{
public PagerCollection()
{
Pagers = new List<string>();
}
internal IList<string> Pagers { get; set; }
... | mit | C# |
a369ad960eff4ac885c2e3f1029499fc8fa31826 | add options of failed call-back. | dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap | src/DotNetCore.CAP/CAP.Options.cs | src/DotNetCore.CAP/CAP.Options.cs | using System;
using System.Collections.Generic;
namespace DotNetCore.CAP
{
/// <summary>
/// Represents all the options you can use to configure the system.
/// </summary>
public class CapOptions
{
internal IList<ICapOptionsExtension> Extensions { get; private set; }
/// <summary>... | using System;
using System.Collections.Generic;
namespace DotNetCore.CAP
{
/// <summary>
/// Represents all the options you can use to configure the system.
/// </summary>
public class CapOptions
{
internal IList<ICapOptionsExtension> Extensions { get; private set; }
/// <summary>... | mit | C# |
361c0c14088c573a65199e19c5ec74a8acccb2de | Update ReactionCallback.cs | foxbot/Discord.Addons.InteractiveCommands,foxbot/Discord.Addons.InteractiveCommands | src/Discord.Addons.InteractiveCommands/ReactionCallback.cs | src/Discord.Addons.InteractiveCommands/ReactionCallback.cs | using System;
using System.Threading.Tasks;
namespace Discord.Addons.InteractiveCommands
{
public class ReactionCallback
{
public bool ResumeAfterExecution { get; set; }
public Func<IUser, Task> Function { get; set; }
}
}
| using System;
using System.Threading.Tasks;
namespace Discord.Addons.InteractiveCommands
{
public class ReactionCallback
{
public bool ResumeAfterExecution { get; set; }
public Func<IUser, Task> Callback { get; set; }
}
}
| isc | C# |
7fdbc76618b351d249a6e3079c0d90f79c816c3b | Update IStartupTask.cs (#4465) | dotnet/orleans,Liversage/orleans,dotnet/orleans,ReubenBond/orleans,galvesribeiro/orleans,yevhen/orleans,veikkoeeva/orleans,amccool/orleans,sergeybykov/orleans,ElanHasson/orleans,Liversage/orleans,hoopsomuah/orleans,Liversage/orleans,waynemunro/orleans,ibondy/orleans,brhinescot/orleans,waynemunro/orleans,pherbel/orleans... | src/Orleans.Runtime.Abstractions/Lifecycle/IStartupTask.cs | src/Orleans.Runtime.Abstractions/Lifecycle/IStartupTask.cs | using System.Threading;
using System.Threading.Tasks;
namespace Orleans.Runtime
{
/// <summary>
/// Defines an action to be taken after silo startup.
/// </summary>
public interface IStartupTask
{
/// <summary>
/// Called after the silo has started.
/// </summary>
/... | using System.Threading;
using System.Threading.Tasks;
namespace Orleans.Runtime
{
/// <summary>
/// Defines an action to be taken during silo startup.
/// </summary>
public interface IStartupTask
{
/// <summary>
/// Called after the silo has started.
/// </summary>
... | mit | C# |
6a2341741c436bd9e626ca5ed1449f4a7806319f | Use CodeBase instead of Location | reportunit/reportunit,ekirmayer/reportunit,ekirmayer/reportunit,ekirmayer/reportunit,reportunit/reportunit,reportunit/reportunit | ReportUnitTest/JUnitTests.cs | ReportUnitTest/JUnitTests.cs | using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
namespace ReportUnitTest
{
[TestFixture]
public class JUnitTests
{
public static string ExecutableDir;
public static string ResourcesDir;
[OneTimeSetUp]
public static void Setup()
{
... | using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
namespace ReportUnitTest
{
[TestFixture]
public class JUnitTests
{
public static string ExecutableDir;
public static string ResourcesDir;
[OneTimeSetUp]
public static void Setup()
{
... | mit | C# |
25569c0bfbd85afc702130ff1fd6ad4979efc001 | Remove Record Requests proxy | mattherman/MbDotNet,mattherman/MbDotNet | MbDotNet/Models/Imposters/Imposter.cs | MbDotNet/Models/Imposters/Imposter.cs | using MbDotNet.Enums;
using MbDotNet.Exceptions;
using Newtonsoft.Json;
namespace MbDotNet.Models.Imposters
{
public abstract class Imposter
{
/// <summary>
/// The port the imposter is set up to accept requests on.
/// </summary>
[JsonProperty(PropertyName = "port",... | using MbDotNet.Enums;
using MbDotNet.Exceptions;
using Newtonsoft.Json;
namespace MbDotNet.Models.Imposters
{
public abstract class Imposter
{
/// <summary>
/// The port the imposter is set up to accept requests on.
/// </summary>
[JsonProperty(PropertyName = "port",... | mit | C# |
cc10760510f0a0262c42039573160be6f6e3bb29 | Fix warning message | pflugs30/nunit,danielmarbach/nunit,ChrisMaddock/nunit,Suremaker/nunit,JustinRChou/nunit,Therzok/nunit,agray/nunit,JohanO/nunit,akoeplinger/nunit,appel1/nunit,cPetru/nunit-params,zmaruo/nunit,pcalin/nunit,jeremymeng/nunit,dicko2/nunit,acco32/nunit,elbaloo/nunit,modulexcite/nunit,jnm2/nunit,agray/nunit,acco32/nunit,Nikol... | src/NUnitFramework/testdata/TimeoutFixture.cs | src/NUnitFramework/testdata/TimeoutFixture.cs | // ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | // ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | mit | C# |
ea5159aa1bae4ac42fdc8a1c4644c6414fb90d1e | Remove F# leftovers | OrleansContrib/Orleankka,mhertis/Orleankka,yevhen/Orleankka,yevhen/Orleankka,mhertis/Orleankka,OrleansContrib/Orleankka | Source/Orleankka/IActorGrain.cs | Source/Orleankka/IActorGrain.cs | using System.Threading.Tasks;
using Orleans;
namespace Orleankka
{
public interface IActor
{
Task Autorun();
Task<object> Receive(object message);
Task ReceiveVoid(object message);
Task Notify(object message);
}
public interface IActorGrain : IActor, IGrainWithStringK... | using System.Threading.Tasks;
using Orleans;
namespace Orleankka
{
public interface IActor
{
Task Autorun();
Task<object> Receive(object message);
Task ReceiveVoid(object message);
Task Notify(object message);
}
public interface IActorGrain : IActor, IGrainWithStringK... | apache-2.0 | C# |
23bfaa5e315c0e4f1276d8f9701005d303903037 | Add tag to 3.0.2 | dazerdude/SharpDX,dazerdude/SharpDX,mrvux/SharpDX,sharpdx/SharpDX,sharpdx/SharpDX,mrvux/SharpDX,andrewst/SharpDX,mrvux/SharpDX,waltdestler/SharpDX,waltdestler/SharpDX,dazerdude/SharpDX,andrewst/SharpDX,waltdestler/SharpDX,waltdestler/SharpDX,andrewst/SharpDX,sharpdx/SharpDX,dazerdude/SharpDX | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | mit | C# |
3880008478d7e7f14f88d3d758d1d5bf9fe11718 | Update Program.cs | WeihanLi/SparkTodo,WeihanLi/SparkTodo,WeihanLi/SparkTodo,WeihanLi/SparkTodo | SparkTodo.API/Program.cs | SparkTodo.API/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Prometheus.DotNetRuntime;
using SparkTodo.API;
using SparkTodo.Models;
DotNetRuntimeStatsBuilder.Customize()
.WithC... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Prometheus.DotNetRuntime;
using SparkTodo.Models;
namespace SparkTodo.API
{
public cl... | mit | C# |
e6ab5f266f0587c2daa6b21bbc32d78f3512d067 | fix NRE in JsonWebKeySet | IdentityModel/IdentityModel2,IdentityModel/IdentityModel,IdentityModel/IdentityModel2,IdentityModel/IdentityModel | src/Jwk/JsonWebKeySet.cs | src/Jwk/JsonWebKeySet.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | apache-2.0 | C# |
3a25fec81fd1dd829b664bb7ba2616dbb3ed34e9 | Replace usage of Photo to IBrowseableItem in ThumbnailCommand.cs | mono/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,Sanva/f-spot,dkoeb/f-spot,Sanva/f-spot,mono/f-spot,dkoeb/f-spot,Yetangitu/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,dkoeb/f-spot,GNOME/f-spot,NguyenMatthieu/f-spot,mono/f-spot,mans0954/f-spot,dkoeb/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,... | src/ThumbnailCommand.cs | src/ThumbnailCommand.cs | using System;
using Gtk;
using FSpot;
using FSpot.Utils;
using FSpot.UI.Dialog;
public class ThumbnailCommand {
private Gtk.Window parent_window;
public ThumbnailCommand (Gtk.Window parent_window)
{
this.parent_window = parent_window;
}
public bool Execute (IBrowsableItem [] photos)
{
ProgressDialog prog... | using System;
using Gtk;
using FSpot;
using FSpot.Utils;
using FSpot.UI.Dialog;
public class ThumbnailCommand {
private Gtk.Window parent_window;
public ThumbnailCommand (Gtk.Window parent_window)
{
this.parent_window = parent_window;
}
public bool Execute (Photo [] photos)
{
ProgressDialog progress_dial... | mit | C# |
15e67e171ae5b33f6406a285225b0498328b2e99 | Remove use of obsolete function | dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin | Source/DriftUe4PluginServer.Target.cs | Source/DriftUe4PluginServer.Target.cs | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class DriftUe4PluginServerTarget : TargetRules
{
public DriftUe4PluginServerTarget(TargetInfo Target)
{
Type = TargetType.Server;
}
//
// TargetRules interface.
... | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class DriftUe4PluginServerTarget : TargetRules
{
public DriftUe4PluginServerTarget(TargetInfo Target)
{
Type = TargetType.Server;
}
//
// TargetRules interface.
... | mit | C# |
bd570c8d0853e48bb4c6107ae4586ba28ab1b94a | Enable RuntimeError() to have variable length arguments. | AIWolfSharp/AIWolfCore,AIWolfSharp/AIWolf_NET | AIWolfLib/Error.cs | AIWolfLib/Error.cs | //
// Error.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Diagnostics;
namespace AIWolf.Lib
{
/// <summary>
/// Error handling class.
/// </summary>
public static class ... | //
// Error.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Diagnostics;
namespace AIWolf.Lib
{
/// <summary>
/// Error handling class.
/// </summary>
public static class ... | mit | C# |
e641c7fb20d5ea3e91703e07b6d49963e3e02d5c | Update C# mops to use 32bit values like the rest of the tests. | tkob/parrot,tewk/parrot-select,tkob/parrot,youprofit/parrot,gagern/parrot,tkob/parrot,FROGGS/parrot,FROGGS/parrot,parrot/parrot,tewk/parrot-select,tkob/parrot,gagern/parrot,gitster/parrot,gitster/parrot,youprofit/parrot,parrot/parrot,gitster/parrot,tewk/parrot-select,FROGGS/parrot,gagern/parrot,gagern/parrot,youprofit/... | examples/mops/mops.cs | examples/mops/mops.cs | // created on 03/03/2002 at 15:12
using System;
class App {
public static int Main(String[] args) {
int i1, i5;
// int i2 = 0;
int i3 = 1;
int i4 = 100000000;
DateTime start, end;
double n1, n2;
Console.WriteLine("Iterations: {0}", i4);
// IL_0038: ldloc.3
// IL_0039: ldloc.2
// IL_003a: sub
/... | // created on 03/03/2002 at 15:12
using System;
class App {
public static int Main(String[] args) {
long i1, i5;
// int i2 = 0;
long i3 = 1;
long i4 = 100000000;
DateTime start, end;
double n1, n2;
Console.WriteLine("Iterations: {0}", i4);
// IL_0038: ldloc.3
// IL_0039: ldloc.2
// IL_003a: su... | artistic-2.0 | C# |
e4626186cce28e7bc90fefc37fde06c236952717 | Switch to 1.1.5 | rbouallou/Zebus,AtwooTM/Zebus,Abc-Arbitrage/Zebus,biarne-a/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.1.5")]
[assembly: AssemblyFileVersion("1.1.5")]
[assembly: AssemblyInformationalVersion("1.1.5")] | using System.Reflection;
[assembly: AssemblyVersion("1.1.4")]
[assembly: AssemblyFileVersion("1.1.4")]
[assembly: AssemblyInformationalVersion("1.1.4")] | mit | C# |
392a527f982dd1fdb43071a1df622b214f434104 | Switch to version 1.3.4 | Abc-Arbitrage/Zebus,rbouallou/Zebus,AtwooTM/Zebus,biarne-a/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.3.4")]
[assembly: AssemblyFileVersion("1.3.4")]
[assembly: AssemblyInformationalVersion("1.3.4")]
| using System.Reflection;
[assembly: AssemblyVersion("1.3.3")]
[assembly: AssemblyFileVersion("1.3.3")]
[assembly: AssemblyInformationalVersion("1.3.3")]
| mit | C# |
c301fee2aa2a09c3fc016c9524fe5623efd4b411 | Add OcclusionInfo.ToString method | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/occlusion/OcclusionInfo.cs | Viewer/src/occlusion/OcclusionInfo.cs | using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct OcclusionInfo {
public static readonly int SizeInBytes = 2 * sizeof(float);
public static readonly int PackedSizeInBytes = sizeof(uint);
public float Front { get; }
public float Back { get; }
public Occlusio... | using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct OcclusionInfo {
public static readonly int SizeInBytes = 2 * sizeof(float);
public static readonly int PackedSizeInBytes = sizeof(uint);
public float Front { get; }
public float Back { get; }
public Occlusio... | mit | C# |
89a165eaec3ffa40ce65c32b1763574adad28f35 | Add ForContext<T>(ILog, T) overload | vostok/core | Vostok.Core/Logging/ILogExtensions.cs | Vostok.Core/Logging/ILogExtensions.cs | using System;
using System.Collections.Generic;
namespace Vostok.Logging
{
public static class ILogExtensions
{
public static ILog ForContext<T>(this ILog log)
{
return log.ForContext(typeof(T));
}
public static ILog ForContext<T>(this ILog log, T _)
{
... | using System;
using System.Collections.Generic;
namespace Vostok.Logging
{
public static class ILogExtensions
{
public static ILog ForContext<T>(this ILog log)
{
return log.ForContext(typeof(T));
}
public static ILog ForContext(this ILog log, Type source)
{
... | mit | C# |
66b8219acdbc7f89353b7625d33b700f843a6500 | Update version to 2.0.0 | synel/syndll2 | Syndll2/Properties/AssemblyInfo.cs | Syndll2/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Syndll2")]
[assembly: AssemblyDescription("Synel Communications Protocol Client Library")]
[assembly: AssemblyCompany("Synel Industries Ltd.")]
[assembly: AssemblyProduct("Syndll2")]
[assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Syndll2")]
[assembly: AssemblyDescription("Synel Communications Protocol Client Library")]
[assembly: AssemblyCompany("Synel Industries Ltd.")]
[assembly: AssemblyProduct("Syndll2")]
[assemb... | mit | C# |
794d5413426660f4a974b7ef16fb5e604ca2d11e | Update AssumeRole.cs | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | dotnetv3/STS/AssumeRole/AssumeRoleExample/AssumeRole.cs | dotnetv3/STS/AssumeRole/AssumeRoleExample/AssumeRole.cs | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Amazon;
using Amazon.SecurityToken;
using Amazon.SecurityToken.Model;
using System;
using System.Threading.Tasks;
namespace AssumeRoleExample
{
class AssumeRole
{
/// <summary>
/... | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Amazon;
using Amazon.SecurityToken;
using Amazon.SecurityToken.Model;
using System;
using System.Threading.Tasks;
namespace AssumeRoleExample
{
class AssumeRole
{
/// <summary>
/... | apache-2.0 | C# |
3c9a0e8143230c5b4639bf3906d3e02eb898e674 | Add beginnings of a method to parse TMD files | Figglewatts/LBD2OBJ | LBD2OBJ/Program.cs | LBD2OBJ/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using LBD2OBJ.Types;
namespace LBD2OBJ
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("LBD2OBJ - Made by Figglewatts 2015");
foreach (string arg in ar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LBD2OBJ
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
1912ec9d98a341c5827c71b1e6c278bd32055372 | Remove unused namespace. | EVAST9919/osu-framework,default0/osu-framework,naoey/osu-framework,ppy/osu-framework,NeoAdonis/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,Nabile-Rahmani/osu-framework,RedNesto/osu-framework,ppy/osu-framework,peppy/osu-framework,NeoAdonis/osu-framework,DrabWeb/osu-framework,... | SampleGame/SampleGame.cs | SampleGame/SampleGame.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 OpenTK;
using OpenTK.Graphics;
using osu.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Drawables;
using System;
using Sys... | //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 OpenTK;
using OpenTK.Graphics;
using osu.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Drawables;
using System;
using Sys... | mit | C# |
5d585fe85fd58a74381e7eea9c7d630a9f612dfd | Remove VisibleCharacters from ICharacterRepository | ethanmoffat/EndlessClient | EOLib/Domain/Character/ICharacterRepository.cs | EOLib/Domain/Character/ICharacterRepository.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
namespace EOLib.Domain.Character
{
public interface ICharacterRepository
{
ICharacter ActiveCharacter { get; set; }
... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
namespace EOLib.Domain.Character
{
public interface ICharacterRepository
{
ICharacter ActiveCharacter { get; set; }
... | mit | C# |
1caadc0950a06e789c6d63ff93f7823e138b8467 | Add UpsertDocument validations, close #13 | kotorihq/kotori-core | KotoriCore/Commands/Document/UpsertDocument.cs | KotoriCore/Commands/Document/UpsertDocument.cs | using System.Collections.Generic;
using KotoriCore.Helpers;
namespace KotoriCore.Commands
{
/// <summary>
/// Upsert document.
/// </summary>
public class UpsertDocument : Command
{
/// <summary>
/// Gets the instance.
/// </summary>
/// <value>The instance.</value>... | using System.Collections.Generic;
using KotoriCore.Helpers;
namespace KotoriCore.Commands
{
/// <summary>
/// Upsert document.
/// </summary>
public class UpsertDocument : Command
{
/// <summary>
/// Gets the instance.
/// </summary>
/// <value>The instance.</value>... | mit | C# |
98bc99b630bac82d7c52dba84bf41e94618764a3 | Update types to align with Lib. | BibleBot/BibleBot,BibleBot/BibleBot,BibleBot/BibleBot | src/BibleBot.AutomaticServices/Utils.cs | src/BibleBot.AutomaticServices/Utils.cs | /*
* Copyright (C) 2016-2021 Kerygma Digital Co.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/.
*/
using System.Collections.Generic;
using System.Globaliza... | /*
* Copyright (C) 2016-2021 Kerygma Digital Co.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/.
*/
using System.Collections.Generic;
using System.Globaliza... | mpl-2.0 | C# |
1cf3f61d2b2c6ad51a006bc4204c1dd0761b3a7e | Allow publish without outputting a .md file | bendetat/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,bendetat/GitReleaseNotes,GitTools/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,theleancoder/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,MacDennis76/GitReleaseNotes,GitTools/GitReleaseNotes,theleancoder/GitReleaseNotes,MacDennis76/GitReleaseNotes | src/GitReleaseNotes/ArgumentVerifier.cs | src/GitReleaseNotes/ArgumentVerifier.cs | using System;
namespace GitReleaseNotes
{
public class ArgumentVerifier
{
public static bool VerifyArguments(GitReleaseNotesArguments arguments)
{
if (arguments.IssueTracker == null)
{
Console.WriteLine("The IssueTracker argument must be provided, see he... | using System;
namespace GitReleaseNotes
{
public class ArgumentVerifier
{
public static bool VerifyArguments(GitReleaseNotesArguments arguments)
{
if (arguments.IssueTracker == null)
{
Console.WriteLine("The IssueTracker argument must be provided, see he... | mit | C# |
52a47349d440ecc0df950fe5d30916c45df99e3f | Move logic to constructor | blorgbeard/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,magicmonty/pickles,magicmonty/pickles,picklesdoc/pickles,... | src/Pickles/Pickles/LanguageServices.cs | src/Pickles/Pickles/LanguageServices.cs | #region License
/*
Copyright [2011] [Jeffrey Cameron]
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 applica... | #region License
/*
Copyright [2011] [Jeffrey Cameron]
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 applica... | apache-2.0 | C# |
10287c9ca1600384b781295a9261cbb730b48e3e | Add missing values in `FilePurpose` | stripe/stripe-dotnet | src/Stripe.net/Constants/FilePurpose.cs | src/Stripe.net/Constants/FilePurpose.cs | namespace Stripe
{
public static class FilePurpose
{
public const string AdditionalVerification = "additional_verification";
public const string BusinessIcon = "business_icon";
public const string BusinessLogo = "business_logo";
public const string CustomerSignature = "custome... | namespace Stripe
{
public static class FilePurpose
{
public const string AdditionalVerification = "additional_verification";
public const string BusinessLogo = "business_logo";
public const string DisputeEvidence = "dispute_evidence";
public const string IdentityDocument = "id... | apache-2.0 | C# |
0746a03023e06bb66abd87aa6cd52124173c4c1a | set default database name | LeedsSharp/Twitter-Quiz,LeedsSharp/Twitter-Quiz | src/TwitterQuiz/RavenSessionProvider.cs | src/TwitterQuiz/RavenSessionProvider.cs | using System.Configuration;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Raven.Database.Server;
namespace TwitterQuiz
{
public class RavenSessionProvider
{
private static DocumentStore _documentStore;
public bool Embeddable { get; set; }
public bool SessionInitializ... | using System.Configuration;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Raven.Database.Server;
namespace TwitterQuiz
{
public class RavenSessionProvider
{
private static DocumentStore _documentStore;
public bool Embeddable { get; set; }
public bool SessionInitializ... | unlicense | C# |
2e240620033b9b4783f69ca4f16ffdb1547a833f | add feature to browser | wangkanai/Detection | src/Wangkanai.Browser/Models/Browser.cs | src/Wangkanai.Browser/Models/Browser.cs | namespace Wangkanai.Browser
{
public class Browser
{
public string Name { get; set; }
public string Maker { get; set; }
public BrowserType Type { get; set; }
public byte Bits { get; set; }
public string Version { get; set; }
public Feature Feature { get; set; }
... | namespace Wangkanai.Browser
{
public class Browser
{
public string Name { get; set; }
public string Maker { get; set; }
public BrowserType Type { get; set; }
public byte Bits { get; set; }
public string Version { get; set; }
}
} | apache-2.0 | C# |
083e4335a903053c0b1a23041bd5f5a6cbf6bfc6 | Add Ids to footer links | martincostello/website,martincostello/website,martincostello/website,martincostello/website | src/Website/Views/Shared/_Footer.cshtml | src/Website/Views/Shared/_Footer.cshtml | @model SiteOptions
<hr />
<footer>
<p>
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" target="_blank" title="View site uptime information">
Site Status & Uptime
</a>
| Built from
... | @model SiteOptions
<hr />
<footer>
<p>
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" target="_blank" title="View site uptime information">
Site Status & Uptime
</a>
| Built from
... | apache-2.0 | C# |
39a0199bd7df5b332f2fa54b885372e912f9a4cb | add Post function | kheiakiyama/speech-eng-functions | Questions/run.csx | Questions/run.csx | #r "System.Configuration"
#load "../QuestionEntity.csx"
using System.Net;
using System.Net.Http;
using System.Configuration;
using Newtonsoft.Json;
using Microsoft.Azure;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
public static async Task<HttpResponseMessage> Run(HttpRequestMes... | #r "System.Configuration"
#load "../QuestionEntity.csx"
using System.Net;
using System.Net.Http;
using System.Configuration;
using Newtonsoft.Json;
using Microsoft.Azure;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
public static async Task<HttpResponseMessage> Run(HttpRequestMes... | mit | C# |
3e6e1e983fa300685557324c8834057e8f5d3169 | Make Redis test run well in parallel | SaladbowlCreative/TrackableData,SaladLab/TrackableData,SaladLab/TrackableData,SaladbowlCreative/TrackableData | plugins/TrackableData.Redis.Tests/Redis.cs | plugins/TrackableData.Redis.Tests/Redis.cs | using StackExchange.Redis;
using System;
using System.Configuration;
namespace TrackableData.Redis.Tests
{
public class Redis : IDisposable
{
public ConnectionMultiplexer Connection { get; private set; }
public IDatabase Db
{
get { return Connection.GetDatabase(0); }
... | using StackExchange.Redis;
using System;
using System.Configuration;
namespace TrackableData.Redis.Tests
{
public class Redis : IDisposable
{
public ConnectionMultiplexer Connection { get; private set; }
public IDatabase Db
{
get { return Connection.GetDatabase(0); }
... | mit | C# |
957ac5fa728bdf1daefcd85e53f6cf22d75bd4e3 | Remove Pre RS4 compatability code | File-New-Project/EarTrumpet | EarTrumpet/DataModel/DefaultEndPoint.cs | EarTrumpet/DataModel/DefaultEndPoint.cs | using EarTrumpet.DataModel.Com;
using System;
using System.Runtime.InteropServices;
namespace EarTrumpet.DataModel
{
static class DefaultEndPoint
{
[Guid("F8679F50-850A-41CF-9C72-430F290290C8")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPolicyConfig
... | using EarTrumpet.DataModel.Com;
using System;
using System.Runtime.InteropServices;
namespace EarTrumpet.DataModel
{
static class DefaultEndPoint
{
[Guid("CA286FC3-91FD-42C3-8E9B-CAAFA66242E3")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPolicyConfig_TH1
... | mit | C# |
c84695c3462f46a720ea43504ab5118be2580a70 | Fix casing of warden service. | cloudfoundry/IronFrame,cloudfoundry/IronFrame,stefanschneider/IronFrame,cloudfoundry-incubator/IronFrame,cloudfoundry-incubator/if_warden,cloudfoundry-incubator/if_warden,stefanschneider/IronFrame,cloudfoundry-incubator/IronFrame | IronFoundry.Warden.Service/Constants.cs | IronFoundry.Warden.Service/Constants.cs | namespace IronFoundry.Warden.Service
{
public static class Constants
{
public const string DisplayName = "Iron Foundry Warden Service";
public const string ServiceName = "IronFoundry.Warden";
}
}
| namespace IronFoundry.Warden.Service
{
public static class Constants
{
public const string DisplayName = "Iron Foundry Warden Service";
public const string ServiceName = "ironfoundry.warden";
}
}
| apache-2.0 | C# |
d1b048c2cccd115105b7bd2406502da1ebabc8ea | Make DisposableExtensions.AddTo method-chainable | OrangeCube/UniRx,ppcuni/UniRx,juggernate/UniRx,kimsama/UniRx,zillakot/UniRx,m-ishikawa/UniRx,zillakot/UniRx,zillakot/UniRx,TORISOUP/UniRx,InvertGames/UniRx,OC-Leon/UniRx,juggernate/UniRx,juggernate/UniRx,zhutaorun/UniRx,cruwel/UniRx,zhutaorun/UniRx,ufcpp/UniRx,saruiwa/UniRx,cruwel/UniRx,cruwel/UniRx,endo0407/UniRx,atai... | Assets/UniRx/Scripts/Disposables/DisposableExtensions.cs | Assets/UniRx/Scripts/Disposables/DisposableExtensions.cs | using System;
using System.Collections.Generic;
namespace UniRx
{
public static partial class DisposableExtensions
{
/// <summary>Add disposable(self) to CompositeDisposable(or other ICollection). Return value is self disposable.</summary>
public static T AddTo<T>(this T disposable, ICollectio... | using System;
using System.Collections.Generic;
namespace UniRx
{
public static partial class DisposableExtensions
{
/// <summary>Add disposable(self) to CompositeDisposable(or other ICollection). Return value is self disposable.</summary>
public static IDisposable AddTo(this IDisposable dispo... | mit | C# |
78f9692401e189d03b508a3cac4c04d1475e69bb | Fix flushing issue and added number of files being processed. | projectkudu/KuduSync.NET,kostrse/KuduSync.NET,uQr/KuduSync.NET,kostrse/KuduSync.NET,projectkudu/KuduSync.NET,uQr/KuduSync.NET | KuduSync.NET/Logger.cs | KuduSync.NET/Logger.cs | using System;
using System.IO;
using System.Text;
namespace KuduSync.NET
{
public class Logger : IDisposable
{
private const int KeepAliveLogTimeInSeconds = 20;
private int _logCounter = 0;
private StreamWriter _writer;
private int _maxLogLines;
private DateTime _nextL... | using System;
using System.IO;
using System.Text;
namespace KuduSync.NET
{
public class Logger : IDisposable
{
private const int KeepAliveLogTimeInSeconds = 20;
private int _logCounter = 0;
private StreamWriter _writer;
private int _maxLogLines;
private DateTime _nextL... | apache-2.0 | C# |
c55bb2a0b04d35eefbecd7fd5cf84831727a1ad6 | Fix bug concerning the log level | jdno/AIChallengeFramework | IO/Logger.cs | IO/Logger.cs | //
// Copyright 2014 jdno
//
// 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 jdno
//
// 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# |
1d7cb7c4ab76f3f89ba408e3b99602e8da88841b | Revert to 0918690ee04719743afeaab6fa19b21cdfc66c19 There is a lua way to do it. | neolithos/neolua | NeoLua/Properties/AssemblyInfoGlobal.cs | NeoLua/Properties/AssemblyInfoGlobal.cs | using System.Reflection;
[assembly: AssemblyCompany("TecWare Gesellschaft für Softwareentwicklung mbH")]
[assembly: AssemblyProduct("Neo.Lua")]
[assembly: AssemblyCopyright("Copyright © 2013-2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.3.0.0")]
[assembly: AssemblyFileVersion("1.2.1... | using System.Reflection;
[assembly: AssemblyCompany("TecWare Gesellschaft für Softwareentwicklung mbH")]
[assembly: AssemblyProduct("Neo.Lua")]
[assembly: AssemblyCopyright("Copyright © 2013-2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyVersion("5.3.0.0")]
[assembly: AssemblyFileVersion("1.2.1... | apache-2.0 | C# |
49aa339a375db807b92f71fa7ddc65feb30d9e92 | Fix NullishCoalescing.ResultType | nilproject/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS | NiL.JS/Expressions/NullishCoalescing.cs | NiL.JS/Expressions/NullishCoalescing.cs | using System;
using System.Collections.Generic;
using NiL.JS.Core;
namespace NiL.JS.Expressions
{
#if !(PORTABLE || NETCORE)
[Serializable]
#endif
public sealed class NullishCoalescing : Expression
{
protected internal override PredictedType ResultType
{
get
{
... | using System;
using System.Collections.Generic;
using NiL.JS.Core;
namespace NiL.JS.Expressions
{
#if !(PORTABLE || NETCORE)
[Serializable]
#endif
public sealed class NullishCoalescing : Expression
{
protected internal override PredictedType ResultType
{
get
{
... | bsd-3-clause | C# |
c457219929c030154d8be8bddc169feca030feaa | Clean usings. | vmichalak/Hermes.Net | src/HermesNet/Helpers/MiddlewareManager.cs | src/HermesNet/Helpers/MiddlewareManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using HermesNet.Models;
using HermesNet.Models.Http;
namespace HermesNet.Helpers
{
internal class MiddlewareManager
{
private class Entry
{
public HttpMetho... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using HermesNet.Models;
using HermesNet.Models.Http;
namespace HermesNet.Helpers
{
internal class MiddlewareManager
{
private class Ent... | mit | C# |
27fab71a1c105fcbf088d070907217a9cfada889 | Remove unnecessary static method IsApplicable | Domysee/Pather.CSharp | src/Pather.CSharp/PathElements/Property.cs | src/Pather.CSharp/PathElements/Property.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class Property : IPathElement
{
private string property;
public Property(string propert... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class Property : IPathElement
{
public static bool IsApplicable(string pathElement)
{
... | mit | C# |
684ee85da95232f5709cf044c79d7d2eeb9bdac6 | Add more debug information for why an EventListenerTouchOneByOne is invalid. An OnTouchBegan action needs to be defined. | hig-ag/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp | src/events/CCEventListenerTouchOneByOne.cs | src/events/CCEventListenerTouchOneByOne.cs | using System;
using System.Diagnostics;
using System.Collections.Generic;
namespace CocosSharp
{
public class CCEventListenerTouchOneByOne : CCEventListener
{
public static string LISTENER_ID = "__cc_touch_one_by_one";
// Event callback function for Touch Began events
public Func<CCTouch,CCEvent,bool> OnTouc... | using System;
using System.Diagnostics;
using System.Collections.Generic;
namespace CocosSharp
{
public class CCEventListenerTouchOneByOne : CCEventListener
{
public static string LISTENER_ID = "__cc_touch_one_by_one";
// Event callback function for Touch Began events
public Func<CCTouch,CCEvent,bool> OnTouc... | mit | C# |
b0fdaeaf7406a78e8ba36f8fce2cd52a55b83e43 | Make DrawableTrack an IAdjustableClock | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/Audio/DrawableTrack.cs | osu.Framework/Graphics/Audio/DrawableTrack.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Audio.Track;
using osu.Framework.Timing;
namespace osu.Framework.Graphics.Audio
{
/// <summary>
/// A <see cref="Track"/> wrapp... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Audio.Track;
namespace osu.Framework.Graphics.Audio
{
/// <summary>
/// A <see cref="Track"/> wrapper to allow insertion in the... | mit | C# |
3e02a36938084dd44b199f6d29997b5e8b9b96f6 | Make Wiggle incompatible with Transform | peppy/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,UselessToucan/osu,ppy/osu,naoey/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,EVAST9919/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,ZLima12/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu-new,naoey/osu,U... | osu.Game.Rulesets.Osu/Mods/OsuModTransform.cs | osu.Game.Rulesets.Osu/Mods/OsuModTransform.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Dra... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Dra... | mit | C# |
c3ba5011960f5d200f8d96bb7d8573ec48c895ec | Add more quakes to map effect | ethanmoffat/EndlessClient | EOLib.IO/Map/MapEffect.cs | EOLib.IO/Map/MapEffect.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib.IO.Map
{
public enum MapEffect : byte
{
None = 0,
HPDrain = 1,
TPDrain = 2,
Quake1 = 3,
Quake2 = 4,
... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib.IO.Map
{
public enum MapEffect : byte
{
None = 0,
HPDrain = 1,
TPDrain = 2,
Quake = 3
}
} | mit | C# |
b097556f65659e03b6d9b6248b3f5e605f1a29e2 | comment clean up | smeehan82/Hermes,smeehan82/Hermes,smeehan82/Hermes | src/Hermes.Web/Controllers/BlogsController.cs | src/Hermes.Web/Controllers/BlogsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.Logging;
using Hermes.Content.Blogs;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace H... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.Logging;
using Hermes.Content.Blogs;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace H... | mit | C# |
72abbff1f030252c4dc8a12aa7107348a3d146b6 | Add missing file header. | mrward/typescript-addin,chrisber/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin | src/TypeScriptBinding/RegisterIconsCommand.cs | src/TypeScriptBinding/RegisterIconsCommand.cs | //
// RegisterIconsCommand.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 Software without restr... | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Reflection;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop;
namespace ICSharpCode.TypeScri... | mit | C# |
e587de5222bbe98863bb4abe14177d990128e7e4 | Update twitter to API v1.1 | moljac/Xamarin.Social,pacificIT/Xamarin.Social,pacificIT/Xamarin.Social,moljac/Xamarin.Social,xamarin/Xamarin.Social,aphex3k/Xamarin.Social,junian/Xamarin.Social,xamarin/Xamarin.Social,aphex3k/Xamarin.Social,junian/Xamarin.Social | src/Xamarin.Social/Services/TwitterService.cs | src/Xamarin.Social/Services/TwitterService.cs | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Threading;
using System.Text;
using System.Linq;
using Xamarin.Auth;
namespace Xamarin.Social.Services
{
public class TwitterService : OAuth1Service
{
public TwitterService ()
: base ("T... | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Threading;
using System.Text;
using System.Linq;
using Xamarin.Auth;
namespace Xamarin.Social.Services
{
public class TwitterService : OAuth1Service
{
public TwitterService ()
: base ("Twitter", "Twitter")
{
CreateAc... | apache-2.0 | C# |
45f09127ea5d1fdc0f01a82315dab4107d72e10e | Remove bogus comment | kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.DataModel/User.cs | JoinRpg.DataModel/User.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.Helpers;
using Microsoft.AspNet.Identity;
namespace JoinRpg.DataModel
{
public class User : IUser<int>
{
public int UserId { get; set; }
public string BornName { get; set; }
public string FatherName { get; set; }
p... | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.Helpers;
using Microsoft.AspNet.Identity;
namespace JoinRpg.DataModel
{
public class User : IUser<int>
{
public int UserId { get; set; }
public string BornName { get; set; }
public string FatherName { get; set; }
p... | mit | C# |
5dfbc7292130c6c4ea579f69c9c4dc9203fdc249 | Watch Dog fix | Sadikk/BlueSheep | BlueSheep/Engine/Types/WatchDog.cs | BlueSheep/Engine/Types/WatchDog.cs | using BlueSheep.Interface;
using BlueSheep.Interface.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
namespace BlueSheep.Engine.Types
{
public class WatchDog
{
#region Fields
private AccountUC m_Account;
... | using BlueSheep.Interface;
using BlueSheep.Interface.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
namespace BlueSheep.Engine.Types
{
public class WatchDog
{
#region Fields
private AccountUC m_Account;
... | mit | C# |
7a93ffc8eb3b96199dfa0c70b75572ee2b846fce | Add TODO | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania | src/WebClient/Program.cs | src/WebClient/Program.cs | using Microsoft.AspNetCore.Hosting;
using System.IO;
// TODO: numarul de locuinte autorizate in fiecare luna/semestru (Beniamin Petrovai)
namespace WebClient
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestre... | using Microsoft.AspNetCore.Hosting;
using System.IO;
namespace WebClient
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.... | mit | C# |
b44235959b730fcbed8e5ab6e8d8baf0c7e33b95 | Use switch expressions | carbon/Amazon | src/Amazon.S3/Actions/CopyObjectRequest.cs | src/Amazon.S3/Actions/CopyObjectRequest.cs | using System.Linq;
using System.Net.Http;
namespace Amazon.S3
{
public sealed class CopyObjectRequest : S3Request
{
public CopyObjectRequest(string host, S3ObjectLocation source, S3ObjectLocation target)
: base(HttpMethod.Put, host, target.BucketName, target.Key)
{
... | using System.Linq;
using System.Net.Http;
namespace Amazon.S3
{
public sealed class CopyObjectRequest : S3Request
{
public CopyObjectRequest(string host, S3ObjectLocation source, S3ObjectLocation target)
: base(HttpMethod.Put, host, target.BucketName, target.Key)
{
... | mit | C# |
b30b6bdb40a90c78ded247f0bcb87c2938292fb0 | Make SkipInjection attribute class sealed | pamidur/aspect-injector | src/AspectInjector.Broker/SkipInjection.cs | src/AspectInjector.Broker/SkipInjection.cs | using System;
namespace AspectInjector.Broker
{
/// <summary>
/// When applied to a target, suppresses injection of any aspects to it.
/// If applied to an interface or an interface method, suppresses injection to any of the corresponding implementations.
/// </summary>
[AttributeUsage(
... | using System;
namespace AspectInjector.Broker
{
/// <summary>
/// When applied to a target, suppresses injection of any aspects to it.
/// If applied to an interface or an interface method, suppresses injection to any of the corresponding implementations.
/// </summary>
[AttributeUsage(
... | apache-2.0 | C# |
6a8a9d03548818042e7042e4f546a357b20798cf | Correct text | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/TransactionNotifier.cs | WalletWasabi.Gui/TransactionNotifier.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using WalletWasabi.Logging;
using WalletWasabi.Models;
namespace WalletWasabi.Gui
{
internal class TransactionNotifier
{
public readonly static TransactionNotifier Current = new Transa... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using WalletWasabi.Logging;
using WalletWasabi.Models;
namespace WalletWasabi.Gui
{
internal class TransactionNotifier
{
public readonly static TransactionNotifier Current = new Transa... | mit | C# |
559e46f2d695d39d124dbf79124b841fa7c191b7 | Return view from index action | appharbor/foo,appharbor/foo | src/Foo.Web/Controllers/HomeController.cs | src/Foo.Web/Controllers/HomeController.cs | using System;
using System.Web.Mvc;
namespace Foo.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
| using System;
using System.Web.Mvc;
namespace Foo.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
throw new NotImplementedException();
}
}
}
| mit | C# |
b5d7b77225212adfeb42e52b67e8e141ac61c3c2 | fix search bar link bug | camd67/stream-surfer,camd67/stream-surfer | StreamSurfer/Views/Shared/_LoginPartial.cshtml | StreamSurfer/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNetCore.Identity
@using StreamSurfer.Models
@inject SignInManager<AppUser> SignInManager
@inject UserManager<AppUser> UserManager
@if (SignInManager.IsSignedIn(User))
{
<ul class="nav navbar-nav navbar-right vertical-align">
<li>
<form asp-controller="Home" asp... | @using Microsoft.AspNetCore.Identity
@using StreamSurfer.Models
@inject SignInManager<AppUser> SignInManager
@inject UserManager<AppUser> UserManager
@if (SignInManager.IsSignedIn(User))
{
<ul class="nav navbar-nav navbar-right vertical-align">
<li>
<form asp-action="Search" metho... | mit | C# |
22ac4215f07a88ae2355db14de61a0a5f61cb918 | Update AcceptLanguageAttribute.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/AcceptLanguageAttribute.cs | TIKSN.Core/Web/Rest/AcceptLanguageAttribute.cs | using System;
namespace TIKSN.Web.Rest
{
[AttributeUsage(AttributeTargets.Property)]
public class AcceptLanguageAttribute : Attribute
{
public AcceptLanguageAttribute() => this.Quality = null;
public AcceptLanguageAttribute(double quality) => this.Quality = quality;
public double... | using System;
namespace TIKSN.Web.Rest
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class AcceptLanguageAttribute : Attribute
{
public AcceptLanguageAttribute()
{
Quality = null;
}
public AcceptLanguageAttribute(double quality)
... | mit | C# |
19d2fd0e987003d7c9f655b4b59bae2dde7e1d94 | Fix version bug | ErikEJ/EntityFramework7.SqlServerCompact,ErikEJ/EntityFramework.SqlServerCompact | src/Provider40/Properties/AssemblyInfo.cs | src/Provider40/Properties/AssemblyInfo.cs | using System.Reflection;
using Microsoft.EntityFrameworkCore.Infrastructure;
#if SQLCE35
[assembly: AssemblyTitle("EntityFrameworkCore.SqlServerCompact35")]
[assembly: AssemblyProduct("EntityFrameworkCore.SqlServerCompact35")]
[assembly: DesignTimeProviderServices(
typeName: "Microsoft.EntityFrameworkCore.Scaffol... | using System.Reflection;
using Microsoft.EntityFrameworkCore.Infrastructure;
#if SQLCE35
[assembly: AssemblyTitle("EntityFrameworkCore.SqlServerCompact35")]
[assembly: AssemblyProduct("EntityFrameworkCore.SqlServerCompact35")]
[assembly: DesignTimeProviderServices(
typeName: "Microsoft.EntityFrameworkCore.Scaffol... | apache-2.0 | C# |
b124b3df7f63560e6ad08702c022c386035c86e1 | Make the ASP.NET demo more interesting | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui | PlatformSamples/AspNetCoreMvc/Controllers/HomeController.cs | PlatformSamples/AspNetCoreMvc/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AspNetCoreMvc.Models;
using Ooui;
using Ooui.AspNetCore;
namespace AspNetCoreMvc.Controllers
{
public class HomeController : Controller
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AspNetCoreMvc.Models;
using Ooui;
using Ooui.AspNetCore;
namespace AspNetCoreMvc.Controllers
{
public class HomeController : Controller
... | mit | C# |
3c13cd3980337db51c2f2299454293e0f32d6308 | Update the version to 1.4.1 | ladimolnar/BitcoinDatabaseGenerator | Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs | Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.