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 |
|---|---|---|---|---|---|---|---|---|
89b32d1dfbff33300ac139bc2b47cb1e21c19d04 | Bump nuget version to 1.2.1. | FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
15858a9b19dca6e6d143f7201e241269c9ce84e2 | Add implementation for serializing TraktAuthorization. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Services/TraktSerializationService.cs | Source/Lib/TraktApiSharp/Services/TraktSerializationService.cs | namespace TraktApiSharp.Services
{
using Authentication;
using Extensions;
using System;
using Utils;
/// <summary>Provides helper methods for serializing and deserializing Trakt objects.</summary>
public static class TraktSerializationService
{
/// <summary>Serializes an <see cref... | namespace TraktApiSharp.Services
{
using Authentication;
using System;
/// <summary>Provides helper methods for serializing and deserializing Trakt objects.</summary>
public static class TraktSerializationService
{
public static string Serialize(TraktAuthorization authorization)
{
... | mit | C# |
ea34fffe4fa3ee37715f06c9e24830d5954e1dfd | Update ExceptionlessMetricTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ExceptionlessMetricTelemeter.cs | TIKSN.Core/Analytics/Telemetry/ExceptionlessMetricTelemeter.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Exceptionless;
namespace TIKSN.Analytics.Telemetry
{
public class ExceptionlessMetricTelemeter : ExceptionlessTelemeterBase, IMetricTelemeter
{
public Task TrackMetricAsync(string metricName, decimal metricValue)
{
... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Exceptionless;
namespace TIKSN.Analytics.Telemetry
{
public class ExceptionlessMetricTelemeter : ExceptionlessTelemeterBase, IMetricTelemeter
{
public async Task TrackMetric(string metricName, decimal metricValue)
{
... | mit | C# |
2458a2d8769c4d5b4831151099fa9b7d204592ea | Remove dead code, which I've commited accidentally | ivanz/CorrelatorSharp,CorrelatorSharp/CorrelatorSharp | Correlator/ActivityScope.cs | Correlator/ActivityScope.cs | using System;
namespace Correlator
{
public class ActivityScope : IDisposable
{
public static ActivityScope Current {
get { return ActivityTracker.Current; }
}
public ActivityScope(string name)
: this(name, Guid.NewGuid().ToString())
{
... | using System;
namespace Correlator
{
public class ActivityScope : IDisposable
{
public static ActivityScope Find(string id)
{
return ActivityTracker.Find(id);
}
public static ActivityScope Current {
get { return ActivityTracker.Current; }
... | mit | C# |
4584b7a30382bfa5c9e587c2ef640ba1d8e271c5 | Update CodeFixProvider.cs | filipw/RemoveRegionAnalyzerAndCodeFix | RemoveRegionAnalyzerAndCodeFix/RemoveRegionAnalyzerAndCodeFix/CodeFixProvider.cs | RemoveRegionAnalyzerAndCodeFix/RemoveRegionAnalyzerAndCodeFix/CodeFixProvider.cs | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Remo... | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Remo... | mit | C# |
03c8d187b9d75e3ea93a91a010741246db54c4c3 | fix redirect unauthenticated attribute | ClearPeopleLtd/Habitat,GoranHalvarsson/Habitat,bhaveshmaniya/Habitat,zyq524/Habitat,nurunquebec/Habitat,nurunquebec/Habitat,ClearPeopleLtd/Habitat,bhaveshmaniya/Habitat,GoranHalvarsson/Habitat,zyq524/Habitat | src/Domain/Accounts/code/Attributes/RedirectUnauthenticatedAttribute.cs | src/Domain/Accounts/code/Attributes/RedirectUnauthenticatedAttribute.cs | namespace Habitat.Accounts.Attributes
{
using System;
using System.Web.Mvc;
using Habitat.Framework.SitecoreExtensions.Extensions;
using Sitecore;
public class RedirectUnauthenticatedAttribute: ActionFilterAttribute, IAuthorizationFilter
{
public void OnAuthorization(AuthorizationContext filterContext... | namespace Habitat.Accounts.Attributes
{
using System;
using System.Web.Mvc;
using Habitat.Framework.SitecoreExtensions.Extensions;
using Sitecore;
public class RedirectUnauthenticatedAttribute: Attribute, IAuthorizationFilter
{
public void OnAuthorization(AuthorizationContext filterContext)
{
... | apache-2.0 | C# |
a21be62f1cff70f799918e5692612f067ca50215 | Remove not needed IoC registrations | lion92pl/IIUWr,lion92pl/IIUWr | IIUWr/IIUWr/ConfigureIoC.cs | IIUWr/IIUWr/ConfigureIoC.cs | using IIUWr.Fereol.Common;
using IIUWr.Fereol.Interface;
using IIUWr.ViewModels.Fereol;
using LionCub.Patterns.DependencyInjection;
using System;
using HTMLParsing = IIUWr.Fereol.HTMLParsing;
namespace IIUWr
{
public static class ConfigureIoC
{
public static void All()
{
#if DEBUG
... | using IIUWr.Fereol.Common;
using IIUWr.Fereol.Interface;
using IIUWr.ViewModels.Fereol;
using LionCub.Patterns.DependencyInjection;
using System;
using HTMLParsing = IIUWr.Fereol.HTMLParsing;
namespace IIUWr
{
public static class ConfigureIoC
{
public static void All()
{
#if DEBUG
... | mit | C# |
3087df90e72e53958f334f8ed31094bab029e1f3 | fix failing fqdn detection unit tests now that we give precedence to publish_address | elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net | src/Tests/Framework/VirtualClustering/MockResponses/SniffingResponse.cs | src/Tests/Framework/VirtualClustering/MockResponses/SniffingResponse.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Elasticsearch.Net;
namespace Tests.Framework.MockResponses
{
public static class SniffResponse
{
private static string ClusterName => "elasticsearch-test-cluster";
public static byte[] Create(IEnumerable<Node> nodes, stri... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Elasticsearch.Net;
namespace Tests.Framework.MockResponses
{
public static class SniffResponse
{
private static string ClusterName => "elasticsearch-test-cluster";
public static byte[] Create(IEnumerable<Node> nodes, stri... | apache-2.0 | C# |
81747f8a01d081757ac279fef09db6177d6db6c3 | Fix category for a test about tabular structure | Seddryck/NBi,Seddryck/NBi | NBi.Testing/Integration/Core/Structure/StructureDiscoveryFactoryProviderTest.cs | NBi.Testing/Integration/Core/Structure/StructureDiscoveryFactoryProviderTest.cs | using NBi.Core.Structure;
using NBi.Core.Structure.Olap;
using NBi.Core.Structure.Relational;
using NBi.Core.Structure.Tabular;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
name... | using NBi.Core.Structure;
using NBi.Core.Structure.Olap;
using NBi.Core.Structure.Relational;
using NBi.Core.Structure.Tabular;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
name... | apache-2.0 | C# |
d70dc5c0f9c55fc3410ef14745dacfae645cc3c8 | Change user accounts view model to use the new viewmodel for displaying SuccessMessage | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Web/Models/UserAccountsViewModel.cs | src/SFA.DAS.EmployerApprenticeshipsService.Web/Models/UserAccountsViewModel.cs | using SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account;
namespace SFA.DAS.EmployerApprenticeshipsService.Web.Models
{
public class UserAccountsViewModel
{
public Accounts Accounts;
public int Invitations;
public SuccessMessageViewModel SuccessMessage;
}
} | using SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account;
namespace SFA.DAS.EmployerApprenticeshipsService.Web.Models
{
public class UserAccountsViewModel
{
public Accounts Accounts;
public int Invitations;
public string SuccessMessage;
}
} | mit | C# |
ce51d60314f84dde61968333cca2c88811566c29 | test output in appveyor | andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud | test/Groceries.Boudreau.Cloud.Integration/EntityFramework/ShoppingListTests.cs | test/Groceries.Boudreau.Cloud.Integration/EntityFramework/ShoppingListTests.cs | using Groceries.Boudreau.Cloud.Database;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Groceries.Boudreau.Cloud.Integration.EntityFramework
{
public class ShoppingListTests
{
[Fact]
p... | using Groceries.Boudreau.Cloud.Database;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Groceries.Boudreau.Cloud.Integration.EntityFramework
{
public class ShoppingListTests
{
[Fact]
p... | mit | C# |
18ac74f9ebed763100cfe219ee979b51dd6761e9 | Tweak CopyResult | JohanLarsson/Gu.Inject | Gu.Inject.Benchmarks/Program.cs | Gu.Inject.Benchmarks/Program.cs | // ReSharper disable UnusedMember.Local
// ReSharper disable UnusedParameter.Local
// ReSharper disable PossibleNullReferenceException
namespace Gu.Inject.Benchmarks
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Reports;
using Benchm... | // ReSharper disable UnusedMember.Local
// ReSharper disable UnusedParameter.Local
// ReSharper disable PossibleNullReferenceException
namespace Gu.Inject.Benchmarks
{
using System.Collections.Generic;
using System.IO;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
public class Prog... | mit | C# |
55523f6adc4c49476f1d942e3c4cf4502b8b567e | Mark assembly as version 1.3 | EamonNerbonne/ExpressionToCode,asd-and-Rizzo/ExpressionToCode | ExpressionToCodeLib/Properties/AssemblyInfo.cs | ExpressionToCodeLib/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("ExpressionToCodeLib")]
[assembly: ... | 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("ExpressionToCodeLib")]
[assembly: ... | apache-2.0 | C# |
a6ad2c37541dfb8ed6f619182adfc1864f7081d9 | Make ManifestHelper for WP more robust | ChristopheLav/HockeySDK-Windows,bitstadium/HockeySDK-Windows,dkackman/HockeySDK-Windows | HockeySDK_WP8/ManifestHelper.cs | HockeySDK_WP8/ManifestHelper.cs | using Microsoft.Phone.Info;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Xml.Linq;
namespace HockeyApp
{
public class ManifestHelper
{
private static readonly ManifestHelper inst... | using Microsoft.Phone.Info;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace HockeyApp
{
public class ManifestHelper
{
private static readonly ManifestHelper instance = new ManifestHelp... | mit | C# |
833ff7291694d15d153a90234b83d98092af1f7e | Fix to dispose when the specified object is Icon. | cube-soft/Cube.Core,cube-soft/Cube.Core | Libraries/Sources/Converters/ImageConverter.cs | Libraries/Sources/Converters/ImageConverter.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// 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.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// 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-2.0 | C# |
6cf1968a49c52936f9a9d3a37496bbcef1e96376 | Make MuffinClient.Start virtual | Yonom/MuffinFramework | MuffinFramework/MuffinClient.cs | MuffinFramework/MuffinClient.cs | using System;
using System.ComponentModel.Composition.Hosting;
using System.Reflection;
using MuffinFramework.Muffin;
using MuffinFramework.Platform;
using MuffinFramework.Service;
namespace MuffinFramework
{
public class MuffinClient : IDisposable
{
private readonly object _lockObj = new object();
... | using System;
using System.ComponentModel.Composition.Hosting;
using System.Reflection;
using MuffinFramework.Muffin;
using MuffinFramework.Platform;
using MuffinFramework.Service;
namespace MuffinFramework
{
public class MuffinClient : IDisposable
{
private readonly object _lockObj = new object();
... | mit | C# |
3108bfd0500956740777db21190ee8bd9afa564e | Change the order Loaders are disposed | Yonom/MuffinFramework | MuffinFramework/MuffinClient.cs | MuffinFramework/MuffinClient.cs | using System;
using System.ComponentModel.Composition.Hosting;
using System.Reflection;
using MuffinFramework.Muffin;
using MuffinFramework.Platform;
using MuffinFramework.Service;
namespace MuffinFramework
{
public class MuffinClient : IDisposable
{
private readonly object _lockObj = new object();
... | using System;
using System.ComponentModel.Composition.Hosting;
using System.Reflection;
using MuffinFramework.Muffin;
using MuffinFramework.Platform;
using MuffinFramework.Service;
namespace MuffinFramework
{
public class MuffinClient : IDisposable
{
private readonly object _lockObj = new object();
... | mit | C# |
023e67da4fc8c0548a6f13fd50fb29314048d54d | Update TestMongoDatabaseProvider.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoDatabaseProvider.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoDatabaseProvider.cs | using Microsoft.Extensions.Configuration;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoDatabaseProvider : MongoDatabaseProviderBase
{
public TestMongoDatabaseProvider(
IMongoClientProvider mongoClientProvider,
IConfigurat... | using Microsoft.Extensions.Configuration;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoDatabaseProvider : MongoDatabaseProviderBase
{
public TestMongoDatabaseProvider(
IMongoClientProvider mongoClientProvider,
IConfigurat... | mit | C# |
4fc9ca3788050d5ec302ac0bf7b6e1d4df73dbec | Fix to the fix of the IUserInfoService. | TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim | OpenSim/Framework/Services/IUserInfoService.cs | OpenSim/Framework/Services/IUserInfoService.cs | using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace OpenSim.Services.Interfaces
{
public class UserInfo
{
/// <summary>
/// The user that this info is for
/// </summary>
public string UserID;
... | using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace OpenSim.Services.Interfaces
{
public class UserInfo
{
/// <summary>
/// The user that this info is for
/// </summary>
public string UserID;
... | bsd-3-clause | C# |
7ccee667fe55386ddad58cc1dcfd35cd47a4ac44 | Read playlist title from metadata json if available. | winnitron/WinnitronLauncher,winnitron/WinnitronLauncher | Assets/Scripts/System/Data/Playlist.cs | Assets/Scripts/System/Data/Playlist.cs | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System.Globalization;
using SimpleJSON;
[System.Serializable]
public class Playlist
{
public string name;
public string description;
public DirectoryInfo directory;
public List<Game> games;
/*
* Playlist Constructor... | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System.Globalization;
[System.Serializable]
public class Playlist
{
public string name;
public DirectoryInfo directory;
public List<Game> games;
/*
* Playlist Constructor
*
* Playlist only takes in the directory that the DataMana... | mit | C# |
d5ed218488aac139909012bb0343a69edf357421 | Fix timeline sizes being updated potentially before the track has a length | ZLima12/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu-new,smoogipoo/osu,Frontear/osuKyzer,UselessToucan/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,naoey/osu,UselessToucan/osu,2yangk23/osu,Nabile-Rahmani/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogi... | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/TimelinePart.cs | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/TimelinePart.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
... | mit | C# |
f1150c95a2eabf43a5dcd3eec9cfae15d6433a10 | Use ObservableBase for StyleBinding. | susloparovdenis/Avalonia,Perspex/Perspex,OronDF343/Avalonia,punker76/Perspex,jazzay/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,A... | Perspex.Styling/StyleBinding.cs | Perspex.Styling/StyleBinding.cs | // -----------------------------------------------------------------------
// <copyright file="StyleBinding.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Stylin... | // -----------------------------------------------------------------------
// <copyright file="StyleBinding.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Stylin... | mit | C# |
f0dfa9f8f397269571b96d1165f03f36a555bc8e | Use the newest config file available (where the local username matches the filename) | peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/IO/StableStorage.cs | osu.Game/IO/StableStorage.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 System.IO;
using System.Linq;
using osu.Framework.Platform;
namespace osu.Game.IO
{
/// <summary>
/// A storage pointing to an osu-stable in... | // 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 System.IO;
using System.Linq;
using osu.Framework.Platform;
namespace osu.Game.IO
{
/// <summary>
/// A storage pointing to an osu-stable in... | mit | C# |
f81b692493ef0918b8089f3e57359d53a8ed459d | Fix failing test due to project rename | billboga/dnxflash,billboga/dnxflash | test/DnxFlash.Test/MessageTest.cs | test/DnxFlash.Test/MessageTest.cs | using System;
using Xunit;
namespace DnxFlash.Test
{
public class MessageTest
{
private Message sut;
public class Constructor : MessageTest
{
[Fact]
public void Should_set_message()
{
sut = new Message("test message");
... | using System;
using Xunit;
namespace DnxFlash.Test
{
public class MessageTest
{
private Message sut;
public class Constructor : MessageTest
{
[Fact]
public void Should_set_message()
{
sut = new Message("test message");
... | mit | C# |
ecdf217d089e94f4d3951866a3eeff12d9073b28 | Make Helper calls threadsafe | Facepunch/Facepunch.Steamworks,Facepunch/Facepunch.Steamworks,Facepunch/Facepunch.Steamworks | Facepunch.Steamworks/Utility/Helpers.cs | Facepunch.Steamworks/Utility/Helpers.cs | using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Collections.Generic;
namespace Steamworks
{
internal static class Helpers
{
public const int MaxStringSize = 1024 * 32;
[ThreadStatic] private static IntPtr[] MemoryPool;
[ThreadStatic] private static int MemoryPoolIndex;
p... | using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Collections.Generic;
namespace Steamworks
{
internal static class Helpers
{
public const int MaxStringSize = 1024 * 32;
private static IntPtr[] MemoryPool;
private static int MemoryPoolIndex;
public static unsafe IntPtr Tak... | mit | C# |
f7cd6e83aa81bc24ccce152e37028851e1af8ee0 | Adjust mania scoring to be 95% based on accuracy | smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.cs | osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Scoring
{
internal class ManiaScoreProcessor : ScoreProcessor
{
protected override do... | // 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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Scoring
{
internal class ManiaScoreProcessor : ScoreProcessor
{
protected override do... | mit | C# |
2b39857b8cec4b4a1d7777a7987bac9813f50d26 | Make mania 80% acc 20% combo | NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu | osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.cs | osu.Game.Rulesets.Mania/Scoring/ManiaScoreProcessor.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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Scoring
{
internal class ManiaScoreProcessor : ScoreProcessor
{
protected override do... | // 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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Scoring
{
internal class ManiaScoreProcessor : ScoreProcessor
{
public override HitWi... | mit | C# |
383afe04f35159262e34d437c7835e292d81125a | Remove not needed override | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Overlays/Comments/CommentMarkdownContainer.cs | osu.Game/Overlays/Comments/CommentMarkdownContainer.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.
#nullable disable
using Markdig.Syntax;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics.Containers.Markdown;
namespace osu.Game.Overlays.Comme... | // 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.
#nullable disable
using Markdig.Syntax;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics.Containers.Markdown;
namespace osu.Game.Overlays.Comme... | mit | C# |
f6272a1e6ddc2a37630e789d2c9a18f6a408086f | Add a fluent create method ast | akatakritos/SassSharp | SassSharp/Ast/SassSyntaxTree.cs | SassSharp/Ast/SassSyntaxTree.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp.Ast
{
public class SassSyntaxTree
{
public SassSyntaxTree(IEnumerable<Node> children)
{
this.Children = children;
}
public IEnume... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp.Ast
{
public class SassSyntaxTree
{
public SassSyntaxTree(IEnumerable<Node> children)
{
this.Children = children;
}
public IEnume... | mit | C# |
3797dbb67ebe0945c5801e93911fd2e919813b61 | Add description at top of new template | qinxgit/roslyn-analyzers,dotnet/roslyn-analyzers,genlu/roslyn-analyzers,srivatsn/roslyn-analyzers,tmeschter/roslyn-analyzers-1,natidea/roslyn-analyzers,modulexcite/roslyn-analyzers,dotnet/roslyn-analyzers,jaredpar/roslyn-analyzers,Anniepoh/roslyn-analyzers,jasonmalinowski/roslyn-analyzers,VitalyTVA/roslyn-analyzers,jin... | NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/DiagnosticAnalyzer.cs | NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/DiagnosticAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
/*This tutorial is going to guide you to write a diagnostic analyzer that enforces the placement of one space between the if keyword of an if statement and th... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
us... | mit | C# |
39077266b365e3c2fd78bb52870ab4ad120b1f86 | Correct failing test | danielwertheim/mycouch,danielwertheim/mycouch | source/projects/MyCouch/Responses/Materializers/DocumentResponseMaterializer.cs | source/projects/MyCouch/Responses/Materializers/DocumentResponseMaterializer.cs | using System;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using EnsureThat;
using MyCouch.Extensions;
using MyCouch.Serialization;
using Newtonsoft.Json.Linq;
namespace MyCouch.Responses.Materializers
{
public class DocumentResponseMaterializer
{
... | using System;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using EnsureThat;
using MyCouch.Extensions;
using MyCouch.Serialization;
using Newtonsoft.Json.Linq;
namespace MyCouch.Responses.Materializers
{
public class DocumentResponseMaterializer
{
... | mit | C# |
e967ad34a3986ff0432b09f07b5c715961347f90 | correct the docs link | simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce | src/SimplCommerce.WebHost/Themes/SampleTheme/Areas/Core/Views/Home/Index.cshtml | src/SimplCommerce.WebHost/Themes/SampleTheme/Areas/Core/Views/Home/Index.cshtml | @model SimplCommerce.Module.Core.Areas.Core.ViewModels.HomeViewModel
@{
ViewData["Title"] = "Home Page";
}
<partial name="_WidgetInstances" model="Model.WidgetInstances.Where(x => x.WidgetZoneId == WidgetZoneIds.HomeFeatured)" />
<div>
<h2 class="page-header">Sample Theme</h2>
<p>It's very easy to find a... | @model SimplCommerce.Module.Core.Areas.Core.ViewModels.HomeViewModel
@{
ViewData["Title"] = "Home Page";
}
<partial name="_WidgetInstances" model="Model.WidgetInstances.Where(x => x.WidgetZoneId == WidgetZoneIds.HomeFeatured)" />
<div>
<h2 class="page-header">Sample Theme</h2>
<p>It's very easy to find a... | apache-2.0 | C# |
3f6fd655bcbd5f1232097b9ba87e0612df457597 | Update RTMarkerStream.cs | frstrtr/QTM-Unity-Realtime-Streaming | Streaming/RTMarkerStream.cs | Streaming/RTMarkerStream.cs | using UnityEngine;
using System.Collections.Generic;
//#IISCI
//Script for marker coordinates transfer to it's parent by marker name.
namespace QualisysRealTime.Unity
{
class RTMarkerTaker : MonoBehaviour
{
public string markerName = "Put QTM marker name here";
private List<LabeledMarker> markerData;
privat... | // Unity SDK for Qualisys Track Manager. Copyright 2015 Qualisys AB
//
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using QTMRealTimeSDK;
namespace QualisysRealTime.Unity
{
public class RTMarkerStream : MonoBehaviour
{
private List<LabeledMarker> markerData;
p... | mit | C# |
8145de728f5f3bfb197b3725b246207e8cac6f29 | Use alternative source for images, CMC is blocking them. | funfair-tech/CoinBot | src/CoinBot.Clients/CoinMarketCap/CoinMarketCapCoin.cs | src/CoinBot.Clients/CoinMarketCap/CoinMarketCapCoin.cs | using System;
using CoinBot.Core;
using Newtonsoft.Json;
namespace CoinBot.Clients.CoinMarketCap
{
[JsonObject]
public class CoinMarketCapCoin : ICoinInfo
{
[JsonProperty("id")]
public string Id { get; set; }
public string ImageUrl => $"https://raw.githubusercontent.com/cjdowner/cryptocurrency-icons/master/... | using System;
using CoinBot.Core;
using Newtonsoft.Json;
namespace CoinBot.Clients.CoinMarketCap
{
[JsonObject]
public class CoinMarketCapCoin : ICoinInfo
{
[JsonProperty("id")]
public string Id { get; set; }
public string ImageUrl => $"https://files.coinmarketcap.com/static/img/coins/64x64/{this.Id}.png";
... | mit | C# |
4293119be0019f4373f92f9c591031e46504ab76 | make the changes in implementation responding to interface [#136060481] | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Logic/DriverLogic.cs | revashare-svc-webapi/revashare-svc-webapi.Logic/DriverLogic.cs | using revashare_svc_webapi.Logic.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_svc_webapi.Logic.Mappers;
namespace reva... | using revashare_svc_webapi.Logic.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_svc_webapi.Logic.Mappers;
namespace reva... | mit | C# |
69f4afba9cdca2ae0248ecd32f86da15f249e676 | Fix bug in notes api | bartsaintgermain/SharpAgileCRM | AgileAPI/Notes.cs | AgileAPI/Notes.cs | // <copyright file="Notes.cs" company="Quamotion">
// Copyright (c) Quamotion. All rights reserved.
// </copyright>
namespace AgileAPI
{
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using AgileAPI.Models;
using Newt... | // <copyright file="Notes.cs" company="Quamotion">
// Copyright (c) Quamotion. All rights reserved.
// </copyright>
namespace AgileAPI
{
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using AgileAPI.Models;
using Newt... | mit | C# |
5f2f3bc625363f2a99daf1946519a152daa7353b | Fix for typo | mikamikem/Igor,mikamikem/Igor | Modules/Build/VR/Editor/IgorBuildVR.cs | Modules/Build/VR/Editor/IgorBuildVR.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.IO;
using System;
using System.Reflection;
using System.Xml.Serialization;
using System.Linq;
namespace Igor
{
public class IgorBuildVR : IgorModuleBase
{
public static string VRSupporte... | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.IO;
using System;
using System.Reflection;
using System.Xml.Serialization;
using System.Linq;
namespace Igor
{
public class IgorBuildVR : IgorModuleBase
{
public static string VRSupporte... | mit | C# |
5780454c3415d8555531a29be15f3ebe2431847f | Make the Cursor class's Bounds property publicly visible. This is needed because client code will need to know whether or not the cursor's bounds are intersecting an object, etc. | dneelyep/MonoGameUtils | MonoGameUtils/GameComponents/Cursor.cs | MonoGameUtils/GameComponents/Cursor.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace MonoGameUtils.GameComponents
{
/// <summary>
/// A simple cursor that will follow the user's mouse movements.
/// </summary>
public class Cursor : DrawableGameComponent
{
p... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace MonoGameUtils.GameComponents
{
/// <summary>
/// A simple cursor that will follow the user's mouse movements.
/// </summary>
public class Cursor : DrawableGameComponent
{
p... | mit | C# |
42d4ee8a57bcc596198ff4cd5f9f2290a596570c | add ApplicationBuilderExtensions tests | lvermeulen/Nanophone | test/Nanophone.AspNetCore.ApplicationServices.Tests/ApplicationBuilderExtensionsShould.cs | test/Nanophone.AspNetCore.ApplicationServices.Tests/ApplicationBuilderExtensionsShould.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Nanophone.Core;
using Nanophone.RegistryHost.InMemoryRegistry;
using Xunit;
namespace Nanophone.AspNetCore.ApplicationServices.Tests
{
public c... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Nanophone.Core;
using Nanophone.RegistryHost.InMemoryRegistry;
using Xunit;
namespace Nanophone.AspNetCore.ApplicationServices.Tests
{
public c... | mit | C# |
fc9dcf61f30cd8aafab8ade82f04440397a778e7 | add some xml comments to prevent IO exception | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Api/Controllers/ListsController.cs | src/FilterLists.Api/Controllers/ListsController.cs | using FilterLists.Services.Contracts;
using Microsoft.AspNetCore.Mvc;
namespace FilterLists.Api.Controllers
{
//TODO: migrate controllers to separate projects by version, use dependency injection
//TODO: automate URL versioning
[Route("v1/[controller]")]
[Produces("application/json")]
public class... | using FilterLists.Services.Contracts;
using Microsoft.AspNetCore.Mvc;
namespace FilterLists.Api.Controllers
{
//TODO: migrate controllers to separate projects by version, use dependency injection
//TODO: automate URL versioning
[Route("v1/[controller]")]
[Produces("application/json")]
public class... | mit | C# |
03a9474264e304eb071d1953326866280b674581 | fix preview 5 substring errors | SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake | src/Snowflake.Framework/Romfile/Tokenizer/StructuredFilenameTokenizer.cs | src/Snowflake.Framework/Romfile/Tokenizer/StructuredFilenameTokenizer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Snowflake.Romfile.Tokenizer
{
internal class StructuredFilenameTokenizer
{
private readonly string filename;
public StructuredFilenameTokenizer(string filename... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Snowflake.Romfile.Tokenizer
{
internal class StructuredFilenameTokenizer
{
private readonly string filename;
public StructuredFilenameTokenizer(string filename... | mpl-2.0 | C# |
72fcb5c378a93a6e94fa4f46f6cbec16f7bb6e7b | fix a failing test | flickr-downloadr/flickr-downloadr,flickr-downloadr/flickr-downloadr,flickr-downloadr/flickr-downloadr,flickr-downloadr/flickr-downloadr,flickr-downloadr/flickr-downloadr | source/FloydPink.Flickr.Downloadr.UnitTests/ExtensionTests/JsonExtensionsTests.cs | source/FloydPink.Flickr.Downloadr.UnitTests/ExtensionTests/JsonExtensionsTests.cs | using FloydPink.Flickr.Downloadr.Model;
using FloydPink.Flickr.Downloadr.Repository.Extensions;
using NUnit.Framework;
namespace FloydPink.Flickr.Downloadr.UnitTests.ExtensionTests
{
[TestFixture]
public class JsonExtensionsTests
{
[Test]
public void WillConvertEmptyJsonStringToNewInstance... | using FloydPink.Flickr.Downloadr.Model;
using FloydPink.Flickr.Downloadr.Repository.Extensions;
using NUnit.Framework;
namespace FloydPink.Flickr.Downloadr.UnitTests.ExtensionTests
{
[TestFixture]
public class JsonExtensionsTests
{
[Test]
public void WillConvertEmptyJsonStringToNewInstance... | mit | C# |
cfb2af90baf34d99dac21a8d5999c10470644ef5 | Enumerate child items in projects (Issue #11) | DanTup/TestAdapters,DanTup/TestAdapters | DanTup.TestAdapters/VsExtensions.cs | DanTup.TestAdapters/VsExtensions.cs | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace DanTup.TestAdapters
{
/// <summary>
/// Extensions for getting Visual Studio projects, and their items; since the API for this is crufty.
/// </summary>
static class VsExtensions
{
... | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace DanTup.TestAdapters
{
/// <summary>
/// Extensions for getting Visual Studio projects, and their items; since the API for this is crufty.
/// </summary>
static class VsExtensions
{
... | mit | C# |
f0a79b75e98419457f9b9591613d175f52cb0add | Add Spendable property to listunspent results | MetacoSA/NBitcoin,NicolasDorier/NBitcoin,stratisproject/NStratis,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,MetacoSA/NBitcoin,lontivero/NBitcoin,dangershony/NStratis | NBitcoin/RPC/UnspentCoin.cs | NBitcoin/RPC/UnspentCoin.cs | using NBitcoin.DataEncoders;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.RPC
{
public class UnspentCoin
{
internal UnspentCoin(JObject unspent)
{
OutPoint = new OutPoint(uint25... | using NBitcoin.DataEncoders;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.RPC
{
public class UnspentCoin
{
internal UnspentCoin(JObject unspent)
{
OutPoint = new OutPoint(uint25... | mit | C# |
fe19b13bbd06b22e2ffd8d86c750b2825d926f80 | Add a algorithm usage comment | kornelijepetak/incident-cs | IncidentCS/Utils/UtilsRandomizer.cs | IncidentCS/Utils/UtilsRandomizer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace IncidentCS
{
public class UtilsRandomizer : IUtilsRandomizer
{
public virtual IRandomWheel<T> CreateWheel<T>(Dictionary<T, double> chances, bool saveChances = true)
{
return new Rando... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace IncidentCS
{
public class UtilsRandomizer : IUtilsRandomizer
{
public virtual IRandomWheel<T> CreateWheel<T>(Dictionary<T, double> chances, bool saveChances = true)
{
return new Rando... | mit | C# |
eead7bcf7cd579b4e500588ceeba8f79b9909c22 | remove unreqired properties from table storage | narratr/story | Story.Ext/Handlers/StoryTableEntity.cs | Story.Ext/Handlers/StoryTableEntity.cs | using Microsoft.WindowsAzure.Storage.Table;
using Story.Core;
using Story.Core.Utils;
using System;
namespace Story.Ext.Handlers
{
public class StoryTableEntity : TableEntity
{
public static StoryTableEntity ToStoryTableEntity(IStory story)
{
if (story == null)
{
... | using Microsoft.WindowsAzure.Storage.Table;
using Story.Core;
using Story.Core.Utils;
using System;
namespace Story.Ext.Handlers
{
public class StoryTableEntity : TableEntity
{
public static StoryTableEntity ToStoryTableEntity(IStory story)
{
if (story == null)
{
... | mit | C# |
f7e5106175167c87426c7e7a4bacc7fcea91a1af | Update assemblyinfo & strong name version to 4.0.0.0 | 304NotModified/NLog.Web,NLog/NLog.Web | NLog.Web/Properties/AssemblyInfo.cs | NLog.Web/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.
#if DNX
[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.
#if DNX
[assembly: AssemblyTi... | bsd-3-clause | C# |
c5c1a84fda1de1e5913ad8ae9282cd1036eeaffe | add mappingSet to MappingNode | GeertBellekens/UML-Tooling-Framework,GeertBellekens/UML-Tooling-Framework | MappingFramework/MappingNode.cs | MappingFramework/MappingNode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UML = TSF.UmlToolingFramework.UML;
namespace MappingFramework
{
public interface MappingNode
{
string name { get; }
string displayName { get; }
ModelStructure struc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UML = TSF.UmlToolingFramework.UML;
namespace MappingFramework
{
public interface MappingNode
{
string name { get; }
string displayName { get; }
ModelStructure struc... | bsd-2-clause | C# |
b482d34a05902d6a85f96fcdc3932c1c712f1de2 | add to the ArucoObjectController automatically at start. | enormand/aruco-unity,enormand/aruco-unity | src/aruco_unity_package/Assets/ArucoUnity/Scripts/Utility/ArucoObject.cs | src/aruco_unity_package/Assets/ArucoUnity/Scripts/Utility/ArucoObject.cs | using UnityEngine;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Utility
{
public abstract class ArucoObject : MonoBehaviour
{
// Editor fields
[SerializeField]
private ArucoObjectController arucoObjectController;
[SerializeField]
public i... | using UnityEngine;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Utility
{
public abstract class ArucoObject : MonoBehaviour
{
// Editor fields
[SerializeField]
private ArucoObjectController arucoObjectController;
[SerializeField]
public i... | bsd-3-clause | C# |
d9c5a69c3711cdf6b7accaca15575da3a77aae6a | Fix test in Release mode. | AvaloniaUI/Avalonia,SuperJMN/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,susloparovdenis/Perspex,kekekeks/Perspex,OronDF343/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,OronDF343/Avalonia,grokys/Perspex,SuperJMN/Avalonia,susloparovdenis/Avalonia,susloparovdenis/Avalonia,Av... | tests/Perspex.Markup.UnitTests/Binding/ExpressionObserverTests_PerspexProperty.cs | tests/Perspex.Markup.UnitTests/Binding/ExpressionObserverTests_PerspexProperty.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using Perspex.Markup.Data;
using Xunit;
namespace Perspex.Markup.UnitTests.Bi... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using Perspex.Markup.Data;
using Xunit;
namespace Perspex.Markup.UnitTests.Bi... | mit | C# |
30c2ff4b2a1cf84da35a1c3e6557f3080fb4f5b4 | Update Version to 5.9 | lewischeng-ms/WebApi,lewischeng-ms/WebApi | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | mit | C# |
a2c93450a6aee17bf3de82109e83428b142a377c | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.Bam/ValuesOut.cs | RegistryPlugin.Bam/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.BamDam
{
public class ValuesOut:IValueOut
{
public ValuesOut(string program, DateTimeOffset executionTime)
{
Program = program;
ExecutionTime = executionTime;
}
public string Prog... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.BamDam
{
public class ValuesOut:IValueOut
{
public ValuesOut(string program, DateTimeOffset executionTime)
{
Program = program;
ExecutionTime = executionTime;
}
public string Prog... | mit | C# |
13a36dc014b7b601945913e0c29b9efd1f2b1cd3 | Set current dir as default dir for static files middleware configuration | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | Foundation/Server/Foundation.Api/Middlewares/StaticFilesMiddlewareConfiguration.cs | Foundation/Server/Foundation.Api/Middlewares/StaticFilesMiddlewareConfiguration.cs | using System;
using Foundation.Api.Contracts;
using Foundation.Core.Contracts;
using Foundation.Core.Models;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using NWebsec.Owin;
using Owin;
namespace Foundation.Api.Middlewares
{
public class StaticFilesMiddlewareConfigurat... | using System;
using Foundation.Api.Contracts;
using Foundation.Core.Contracts;
using Foundation.Core.Models;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using NWebsec.Owin;
using Owin;
namespace Foundation.Api.Middlewares
{
public class StaticFilesMiddlewareConfigurat... | mit | C# |
dec9a135d8a8a4705f846bed5ed10808f7dc543a | Remove useless branch | hkdnet/Collection2Model | NemeValueCollectionMapper/Mapper.cs | NemeValueCollectionMapper/Mapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Collection2Model.Mapper
{
public static class Mapper
{
public static T MappingFromNameValueCollection<T>(System.Collections.Specialized.NameValueCollection c)
where... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Collection2Model.Mapper
{
public static class Mapper
{
public static T MappingFromNameValueCollection<T>(System.Collections.Specialized.NameValueCollection c)
where... | mit | C# |
f37b002f37a946db3ee4d3bfc8f113370a561a8e | Update ZoomHelperTests.cs | wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomHelperTests.cs | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomHelperTests.cs | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomHelperTests
{
private Matrix CreateMatrix(double scaleX = 1.0, double scaleY = 1.0, double offsetX = 0.0, double offsetY = 0.0)
{
return new Matrix(scaleX, 0, 0, scaleY, offsetX, offsetY);
}
... | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomHelperTests
{
private Matrix CreateMatrix(double scaleX = 1.0, double scaleY = 1.0, double offsetX = 0.0, double offsetY = 0.0)
{
return new Matrix(scaleX, 0, 0, scaleY, offsetX, offsetY);
}
... | mit | C# |
31fe3824cbcbefc28828b8e1b0f6c12bda8ffee6 | test commit | MassDebaters/DebateApp,MassDebaters/DebateApp,MassDebaters/DebateApp | DebateApp/DebateApp.Client/Startup.cs | DebateApp/DebateApp.Client/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
//thing
namespace DebateApp.Client
{
public class Startu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace DebateApp.Client
{
public class Startup
{... | mit | C# |
3364176009a0b287db51846bbff08e29b63659ea | Update NewVhdVMTests.cs | AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azur... | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/NewVhdVMTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
6e8bde2aeb59e2579a89ebe3486ae73ef72a41bb | Fix case in DatabaseFixture.ProviderName | fknx/linqpad-postgresql-driver | DynamicLinqPadPostgreSqlDriver.Tests/DynamicAssemblyGeneration/DatabaseFixture.cs | DynamicLinqPadPostgreSqlDriver.Tests/DynamicAssemblyGeneration/DatabaseFixture.cs | using System;
using System.Data;
using Dapper;
using Npgsql;
namespace DynamicLinqPadPostgreSqlDriver.Tests.DynamicAssemblyGeneration
{
public class DatabaseFixture : IDisposable
{
public const string ProviderName = "PostgreSQL";
public const string ConnectionString = "Server=localhost;Port=5433;Dat... | using System;
using System.Data;
using Dapper;
using Npgsql;
namespace DynamicLinqPadPostgreSqlDriver.Tests.DynamicAssemblyGeneration
{
public class DatabaseFixture : IDisposable
{
public const string ProviderName = "PostgreSql";
public const string ConnectionString = "Server=localhost;Port=5433;Dat... | mit | C# |
c390d47317c8d0bdac35b1a22d4c180ea79791bb | Add IsDevelopment and IsProduction extension methods | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Hosting.Abstractions/HostingEnvironmentExtensions.cs | src/Microsoft.AspNet.Hosting.Abstractions/HostingEnvironmentExtensions.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 System.IO;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Hosting
{
public static class HostingEnvironmentExten... | // 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 System.IO;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Hosting
{
public static class HostingEnvironmentExten... | apache-2.0 | C# |
eca51930a990e4b0ee3fb889d047f5007bf9922c | Update AssemblyFileVersion | AzureRT/azure-powershell,ankurchoubeymsft/azure-powershell,juvchan/azure-powershell,Matt-Westphal/azure-powershell,CamSoper/azure-powershell,atpham256/azure-powershell,yoavrubin/azure-powershell,Matt-Westphal/azure-powershell,jtlibing/azure-powershell,dulems/azure-powershell,krkhan/azure-powershell,nemanja88/azure-powe... | src/ResourceManager/KeyVault/Commands.KeyVault/Properties/AssemblyInfo.cs | src/ResourceManager/KeyVault/Commands.KeyVault/Properties/AssemblyInfo.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
f2abd6e507a3dad1e0a96b5ebe50cb8bd582f9f5 | Fix needy capacitor commands | samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/NeedyDischargeComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/NeedyDischargeComponentSolver.cs | using System;
using System.Collections;
public class NeedyDischargeComponentSolver : ComponentSolver
{
public NeedyDischargeComponentSolver(TwitchModule module) :
base(module)
{
_dischargeButton = ((NeedyDischargeComponent) module.BombComponent).DischargeButton;
ModInfo = ComponentSolverFactory.GetModuleInfo(... | using System;
using System.Collections;
public class NeedyDischargeComponentSolver : ComponentSolver
{
public NeedyDischargeComponentSolver(TwitchModule module) :
base(module)
{
_dischargeButton = ((NeedyDischargeComponent) module.BombComponent).DischargeButton;
ModInfo = ComponentSolverFactory.GetModuleInfo(... | mit | C# |
53b2bf1be85b0a9d06204c6c9544a08fbdfd9655 | Return dialler session guid when subscribing | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | using PS.Mothership.Core.Common.Rellaid.Dto;
using PS.Mothership.Core.Common.Template.Dial;
using System;
using System.Collections.Generic;
using System.ServiceModel;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
... | using PS.Mothership.Core.Common.Rellaid.Dto;
using PS.Mothership.Core.Common.Template.Dial;
using System;
using System.Collections.Generic;
using System.ServiceModel;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
... | mit | C# |
503f042858e5d814290be0ced46da61457ad8c8d | Fix critical bug about subscribe | leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Domain/SubscribeExtensions.cs | JoinRpg.Domain/SubscribeExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
namespace JoinRpg.Domain
{
public static class SubscribeExtensions
{
public static IEnumerable<User> GetSubscriptions(this ForumThread claim, [CanBeNull] IEnumerable... | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
namespace JoinRpg.Domain
{
public static class SubscribeExtensions
{
public static IEnumerable<User> GetSubscriptions(this ForumThread claim, [CanBeNull] IEnumerable... | mit | C# |
9d26e686ef418257b55a975e1a837855dbf71183 | Add DirectPay to ApplicationType | jzebedee/lcapi | LCAPI/LCAPI/Models/ApplicationType.cs | LCAPI/LCAPI/Models/ApplicationType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LendingClub.Models
{
public enum ApplicationType
{
// Valid values are "INDIVIDUAL" or "JOINT"
None = 0,
Individual,
Joint,
DirectPay
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LendingClub.Models
{
public enum ApplicationType
{
// Valid values are "INDIVIDUAL" or "JOINT"
None = 0,
Individual,
Joint
}
}
| agpl-3.0 | C# |
704f4f8dd9d8108e166db9c69895c24232b798b9 | add code to where you can go to the details page of an opportunity that has been applied for to be able to review qualifications | CS297Sp16/LCC_Co-op_Site,CS297Sp16/LCC_Co-op_Site,CS297Sp16/LCC_Co-op_Site | Coop_Listing_Site/Coop_Listing_Site/Views/Coop/AppDetails.cshtml | Coop_Listing_Site/Coop_Listing_Site/Views/Coop/AppDetails.cshtml | @model Coop_Listing_Site.Models.Application
@{
ViewBag.Title = "Application Details";
}
<h2>Application Details</h2>
<div>
<h4>Opportunity</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Student.User.LastName)
</dt>
<dd>
... | @model Coop_Listing_Site.Models.Application
@{
ViewBag.Title = "Application Details";
}
<h2>Application Details</h2>
<div>
<h4>Opportunity</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Student.User.LastName)
</dt>
<dd>
... | mit | C# |
658df31cb2387f82191c1b7357623e6a16b8d9b8 | Fix wrong timescale being forced on win/loss | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingEffectsController.cs | Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingEffectsController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class YoumuSlashTimingEffectsController : MonoBehaviour
{
[SerializeField]
private AudioSource musicSource;
[SerializeField]
private float pitchMult = 1f;
[SerializeField]
private float tim... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class YoumuSlashTimingEffectsController : MonoBehaviour
{
[SerializeField]
private AudioSource musicSource;
[SerializeField]
private float pitchMult = 1f;
[SerializeField]
private float tim... | mit | C# |
558aef80a10d553ca29b1a3b1b108fdef6c90222 | Remove tests | jlewin/MatterControl,jlewin/MatterControl,CodeMangler/MatterControl,MatterHackers/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,CodeMangler/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,MatterHackers/MatterControl,mmoening/MatterControl,tellingmachine/MatterControl,jlewin/Mat... | Tests/MatterControl.Tests/MatterControl/PrinterWhiteListTests.cs | Tests/MatterControl.Tests/MatterControl/PrinterWhiteListTests.cs | using MatterHackers.MatterControl;
using NUnit.Framework;
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Globalization;
using MatterHackers.MatterControl.SlicerConfiguration;
namespace MatterControl... | using MatterHackers.MatterControl;
using NUnit.Framework;
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Globalization;
using MatterHackers.MatterControl.SlicerConfiguration;
namespace MatterControl... | bsd-2-clause | C# |
0ddb0b505c350072fc5e705f1c04c30db06a6d4c | Change type in error from of to or | USDXStartups/CalendarHelper | shared/AppSettingsHelper.csx | shared/AppSettingsHelper.csx | #load "LogHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
try
{
SettingValue = ConfigurationManager.AppSettings[SettingName].ToString(... | #load "LogHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
try
{
SettingValue = ConfigurationManager.AppSettings[SettingName].ToString(... | mit | C# |
6074bee744e8148d00481aac874827e3c644ff6d | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.mvvm/ViewModels/SelectRouteStopViewModel.cs | bstrkr.mobile/bstrkr.mvvm/ViewModels/SelectRouteStopViewModel.cs | using System;
namespace bstrkr.mvvm.viewmodels
{
public class SelectRouteStopViewModel : BusTrackerViewModelBase
{
}
} | using System;
namespace bstrkr.mvvm.viewmodels
{
public class SelectRouteStopViewModel : BusTrackerViewModelBase
{
public SelectRouteStopViewModel()
{
}
}
} | bsd-2-clause | C# |
5cce81a41f85a0f5de44da2b78ba3fc5a4bfc062 | Make BulletSpace bounds readonly (#5) | ForNeVeR/TankDriver | TankDriver.App/Logic/BulletSpace.cs | TankDriver.App/Logic/BulletSpace.cs | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TankDriver.Models;
namespace TankDriver.Logic
{
internal class BulletSpace
{
public List<Bullet> Bullets { get; }
private readonly Rectangle _bounds;
private TextureStorage _textureStor... | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TankDriver.Models;
namespace TankDriver.Logic
{
internal class BulletSpace
{
public List<Bullet> Bullets { get; }
private Rectangle _bounds;
private TextureStorage _textureStorage;
p... | mit | C# |
607f1df9aa73a7bfe6ab790d9658175094ea6bfc | Make ExcludeFromCodeCoverage conditional on DEBUG | weltkante/corefx,Priya91/corefx-1,weltkante/corefx,seanshpark/corefx,tijoytom/corefx,shmao/corefx,lggomez/corefx,nbarbettini/corefx,stone-li/corefx,Jiayili1/corefx,krk/corefx,alexperovich/corefx,gkhanna79/corefx,manu-silicon/corefx,the-dwyer/corefx,tstringer/corefx,dhoehna/corefx,manu-silicon/corefx,stone-li/corefx,nch... | src/Common/src/System/Diagnostics/CodeAnalysis/ExcludeFromCodeCoverageAttribute.cs | src/Common/src/System/Diagnostics/CodeAnalysis/ExcludeFromCodeCoverageAttribute.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Diagnostics.CodeAnalysis
{
[Conditional("DEBUG")] // don't bloat release assemblies
[AttributeUsage(AttributeTargets.All, Inherited = false, Al... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
internal sealed class ExcludeFromCo... | mit | C# |
f259a23fa20570bec0d7f2d427fb6be818904ae9 | Bump v1.0.16 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | apache-2.0 | C# |
dedb40c7aaf173ac4af81d9b98a945a43443a0af | Move to version 1.1.0.0 | aloisdg/Gravimage | Gravimage/Properties/AssemblyInfo.cs | Gravimage/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
b22ae2426ebbda6306f3c8244ed86a6f31676c73 | Add StartsOn and EndsOn to ProjectOptions | ithielnor/harvest.net | Harvest.Net/Models/ProjectOptions.cs | Harvest.Net/Models/ProjectOptions.cs | using RestSharp.Serializers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Harvest.Net.Models
{
[SerializeAs(Name = "project")]
public class ProjectOptions
{
public long? ClientId { get; set; }
public string N... | using RestSharp.Serializers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Harvest.Net.Models
{
[SerializeAs(Name = "project")]
public class ProjectOptions
{
public long? ClientId { get; set; }
public string N... | mit | C# |
52ae8b398ade5f53a22cb60f6edf968c032de380 | add comment | kmarcell/ELTE-2015-Component-Team4 | Server/Program.cs | Server/Program.cs | using System;
using Server.Implementation;
namespace Server
{
class Program
{
static void Main()
{
// get the instance of the server manager and start
var manager = ServerManager.ServerManagerInstance;
manager.Start();
if (manager.Running)
... | using System;
using Server.Implementation;
namespace Server
{
class Program
{
static void Main()
{
var manager = ServerManager.ServerManagerInstance;
manager.Start();
if (manager.Running)
{
Console.WriteLine("Server ... | mit | C# |
212b307ba588d85b5c8da968eef8ed766fac22d0 | Update copyright data and assembly description. | jthelin/ServerHost,jthelin/ServerHost | ServerHost/Properties/AssemblyInfo.cs | ServerHost/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("ServerHost")]
[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("ServerHost")]
[assembly: AssemblyDescript... | apache-2.0 | C# |
9a5edf04620d0a65b2899ce8a24e234dd72c68c7 | Update Program.cs | iamnotageek/GitTest1 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//Code was added in Github
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
05c360de21c9ba5ab50fb245392fa0bf516406b9 | fix typo | smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework/Input/UserInputManager.cs | osu.Framework/Input/UserInputManager.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.Collections.Generic;
using osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges;
using osu.Framework.Input.StateChanges.Events;
using osu.Fr... | // 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.Collections.Generic;
using osu.Framework.Input.Handlers;
using osu.Framework.Input.StateChanges;
using osu.Framework.Input.StateChanges.Events;
using osu.Fr... | mit | C# |
1203a7153371ae2299842fc0eb40e9679e228b13 | Update MiniKanren.cs | wallymathieu/csharp_ukanren,wallymathieu/csharp_ukanren | lib/MiniKanren.cs | lib/MiniKanren.cs | using System;
namespace MicroKanren{
public class Cons<T1,T2>{
//attr_reader :car, :cdr
public T1 Car{get;private set;}
public T2 Cdr{get;private set;}
//# Returns a Cons cell (read: instance) that is also marked as such for
//# later identification.
public Cons(T1 car,T2 cdr){ //def initial... | using System;
namespace MiniKanren{
}
| mit | C# |
d8fbaa693b14a7a0b931ae0523ab9c5ddda51687 | Update SetUpFixture | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras | src/Atata.WebDriverExtras.Tests/SetUpFixture.cs | src/Atata.WebDriverExtras.Tests/SetUpFixture.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;
using NUnit.Framework;
using Retry;
namespace Atata.WebDriverExtras.Tests
{
[SetUpFixture]
public class SetUpFixture
{
private Process coreRunProcess;
[OneTimeSetUp]
public void Glob... | using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;
using NUnit.Framework;
using Retry;
namespace Atata.WebDriverExtras.Tests
{
[SetUpFixture]
public class SetUpFixture
{
private Process coreRunProcess;
[OneTimeSetUp]
public void Glob... | apache-2.0 | C# |
72f39ed79461cc0616b9cdd78b864ba5cf9724d1 | Fix so that SPARQL query test works | kentcb/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,kentcb/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,kentcb/BrightstarDB,dharmatech/BrightstarDB,BrightstarDB/BrightstarDB,dharmatech/BrightstarDB,dharmatech/BrightstarDB,kentcb/BrightstarDB,BrightstarDB/Brigh... | src/benchmarking/BrightstarDB.PerformanceBenchmarks/Models/IFoafPerson.cs | src/benchmarking/BrightstarDB.PerformanceBenchmarks/Models/IFoafPerson.cs | using System;
using System.Collections.Generic;
using System.Text;
using BrightstarDB.EntityFramework;
namespace BrightstarDB.PerformanceBenchmarks.Models
{
[Entity("http://xmlns.com/foaf/0.1/Person")]
public interface IFoafPerson
{
[Identifier("http://www.brightstardb.com/people/")]
strin... | using System;
using System.Collections.Generic;
using System.Text;
using BrightstarDB.EntityFramework;
namespace BrightstarDB.PerformanceBenchmarks.Models
{
[Entity("http://xmlns.com/foaf/0.1/Person")]
public interface IFoafPerson
{
string Id { get; }
[PropertyType("http://xmlns.com/foaf/... | mit | C# |
1a833e9d52e2ffb4512a06dd7bd4f93c8ab41192 | change URL | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Web/Controllers/PortalController.cs | src/Tugberk.Web/Controllers/PortalController.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Tugberk.Web.Controllers
{
[Route("portal")]
public class PortalController : Controller
{
private readonly IImageStorage _imageStorage;
... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Tugberk.Web.Controllers
{
[Route("portal")]
public class PortalController : Controller
{
private readonly IImageStorage _imageStorage;
... | agpl-3.0 | C# |
f0f600cbf87b4523e0d4be3e8288e3cf3d773d6e | Fix big ArrayListAlgorithms-Exercises/06.Batteries/Batteries.cs | Peter-Georgiev/Programming.Fundamentals,Peter-Georgiev/Programming.Fundamentals | ArrayListAlgorithms-Exercises/06.Batteries/Batteries.cs | ArrayListAlgorithms-Exercises/06.Batteries/Batteries.cs | using System;
using System.Collections.Generic;
using System.Linq;
class Batteries
{
static void Main()
{
double[] capacities = ReadLine();
double[] usagePerHour = ReadLine();
int hour = int.Parse(Console.ReadLine());
PrintStatusBattery(GetStatusBattery(capacities, usagePerHou... | using System;
using System.Collections.Generic;
using System.Linq;
class Batteries
{
static void Main()
{
double[] capacities = ReadLine();
double[] usagePerHour = ReadLine();
int hour = int.Parse(Console.ReadLine());
PrintStatusBattery(GetStatusBattery(capacities, usagePerHou... | mit | C# |
5a7f2d5ed62735e6e4213281dd29c230d91f2cef | add onError callback | amiralles/abacus,amiralles/abacus | src/core/AbacusExtensions.cs | src/core/AbacusExtensions.cs | namespace Abacus {
using System;
using System.Collections;
using System.Data;
using static Interpreter;
using static Utils;
using static System.Convert;
public static class AbacusTableExtensions {
static Random Rnd = new Random();
static bool ToBool(object val) {
DbgPrint(val);
if (val is bool)
... | namespace Abacus {
using System;
using System.Collections;
using System.Data;
using static Interpreter;
using static Utils;
using static System.Convert;
public static class AbacusTableExtensions {
static Random Rnd = new Random();
static bool ToBool(object val) {
DbgPrint(val);
if (val is bool)
r... | mit | C# |
84989eee482c5389b5090586b022dfce5f1ead6b | include score | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/APFT.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/APFT.cshtml | @model APFT
@if (Model != null)
{
<div>
<a href="@Url.Action("Details", "APFT", new { Model.Id })">
@if (Model.IsPassing)
{
<span class="label label-success">Passing (@Model.TotalScore)</span>
}
else
{
<span class=... | @model APFT
@if (Model != null)
{
<div>
<a href="@Url.Action("Details", "APFT", new { Model.Id })">
@if (Model.IsPassing)
{
<span class="label label-success">Passing</span>
}
else
{
<span class="label label-danger"... | mit | C# |
8b52ded42afe8c11d43579d0e4dfadf76412e18c | update jquery-mobile resource reference to 1.2 version | intellifactory/websharper.jquerymobile,intellifactory/websharper.jquerymobile | if-ws-jquerymobile/Resources.cs | if-ws-jquerymobile/Resources.cs | using System.Web.UI;
using IntelliFactory.WebSharper;
namespace IntelliFactory.WebSharper.JQuery.Mobile.Resources
{
[IntelliFactory.WebSharper.Core.Attributes.Require(typeof(IntelliFactory.WebSharper.JQuery.Resources.JQuery))]
public class JQueryMobile : IntelliFactory.WebSharper.Core.Resources.BaseResou... | using System.Web.UI;
using IntelliFactory.WebSharper;
namespace IntelliFactory.WebSharper.JQuery.Mobile.Resources
{
[IntelliFactory.WebSharper.Core.Attributes.Require(typeof(IntelliFactory.WebSharper.JQuery.Resources.JQuery))]
public class JQueryMobile : IntelliFactory.WebSharper.Core.Resources.BaseResou... | apache-2.0 | C# |
ca7fab586d113977b1ea9823a8059d3db3dd1ca7 | Fix typo and remove unneeded comments | gregsochanik/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper/Requests/Serializing/FormUrlEncodedPayloadSerializer.cs | src/SevenDigital.Api.Wrapper/Requests/Serializing/FormUrlEncodedPayloadSerializer.cs | using System;
using System.Collections;
using System.Linq;
namespace SevenDigital.Api.Wrapper.Requests.Serializing
{
public class FormUrlEncodedPayloadSerializer : IPayloadSerializer
{
public PayloadFormat Handles
{
get { return PayloadFormat.FormUrlEncoded; }
}
public string ContentType
... | using System;
using System.Collections;
using System.Linq;
namespace SevenDigital.Api.Wrapper.Requests.Serializing
{
public class FormUrlEncodedPayloadSerializer : IPayloadSerializer
{
public PayloadFormat Handles
{
get { return PayloadFormat.FormUrlEncoded; }
}
public string ContentType
... | mit | C# |
5822e902f1a64db42373bf76b2123ed33dd524c9 | Implement MethodBase.GetCurrentMethod | gregkalapos/corert,botaberg/corert,gregkalapos/corert,krytarowski/corert,krytarowski/corert,yizhang82/corert,shrah/corert,gregkalapos/corert,botaberg/corert,krytarowski/corert,yizhang82/corert,yizhang82/corert,yizhang82/corert,tijoytom/corert,krytarowski/corert,botaberg/corert,tijoytom/corert,tijoytom/corert,shrah/core... | src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ReflectionHelpers.cs | src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ReflectionHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using Internal.Runtime.Augments;
namespace Internal.Runtime.CompilerHelper... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using Internal.Runtime.Augments;
namespace Internal.Runtime.CompilerHelper... | mit | C# |
671d2828500283d273a5451b199eaed3845e1306 | Fix minor typo in documentation (#78) | danikf/tik4net | tik4net/ITikSentence.cs | tik4net/ITikSentence.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace tik4net
{
/// <summary>
/// Base of all sentences returned from mikrotik router as response to request.
/// </summary>
public interface ITikSentence
{
/// <summary>
/// All sentence word... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace tik4net
{
/// <summary>
/// Base of all sentences returned from mikrotik router as response to request.
/// </summary>
public interface ITikSentence
{
/// <summary>
/// All sentence word... | apache-2.0 | C# |
cd0676e6418b48b6ccd65eabea9bc8513283d9de | Update Address.cs | eeaquino/DotNetShipping,kylewest/DotNetShipping | src/DotNetShipping/Address.cs | src/DotNetShipping/Address.cs | using System;
namespace DotNetShipping
{
/// <summary>
/// Summary description for Address.
/// </summary>
public class Address
{
#region .ctor
public Address(string city, string state, string postalCode, string countryCode) : this(null, null, null, city, state, postalCode, countryCode)
{
}
public Ad... | using System;
namespace DotNetShipping
{
/// <summary>
/// Summary description for Address.
/// </summary>
public class Address
{
#region .ctor
public Address(string city, string state, string postalCode, string countryCode) : this(null, null, null, city, state, postalCode, countryCode)
{
}
public Ad... | mit | C# |
5a999ac5a06a3db3e3177ee3e9bd6bbf9c7d0eaa | Correct logging around TextRendering | BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce,15below/Ensconce | src/Ensconce/TextRendering.cs | src/Ensconce/TextRendering.cs | using System;
using System.Collections.Generic;
using System.IO;
using FifteenBelow.Deployment.Update;
namespace Ensconce
{
internal static class TextRendering
{
private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(BuildTagDictionary);
public static IDictionary<string,... | using System;
using System.Collections.Generic;
using System.IO;
using FifteenBelow.Deployment.Update;
namespace Ensconce
{
internal static class TextRendering
{
private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(BuildTagDictionary);
public static IDictionary<string,... | mit | C# |
95ca7f9a84b511c7412fbab4d78f40ea42a85cbe | Update MainWindow.xaml.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.UI/Views/MainWindow.xaml.cs | src/Core2D.UI/Views/MainWindow.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views
{
/// <summary>
/// Interaction logic for <see cref="MainWindow"/> xaml.
/// </summary>
public class MainWindow : Window
{
/// <summary>
/// Initializes a new instance of the <see cref="M... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views
{
/// <summary>
/// Interaction logic for <see cref="MainWindow"/> xaml.
/// </summary>
public class MainWindow : Window
{
/// <summary>
/// Initializes a new instance of the <see cref="M... | mit | C# |
d48b1bf720740012152b6a505c89018480d6dd39 | Update RobGibbens.cs | beraybentesen/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin... | src/Firehose.Web/Authors/RobGibbens.cs | src/Firehose.Web/Authors/RobGibbens.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
public class RobGibbens : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Rob";
public string LastName => "Gibbens";
public string ShortBioOrTagLine => "is one of the Xamarin University instructors";
public strin... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
public class RobGibbens : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Rob";
public string LastName => "Gibbens";
public string ShortBioOrTagLine => "manager and trainer at Xamarin University";
public string S... | mit | C# |
d88189e8da6899df9a26dd8c326aa750e99826dd | Update ISampleDataAccesssService.cs | SDolha/UnitOfWork-EntityFramework | UnitOfWorkEntityFramework/SampleApp.DataAccess/ISampleDataAccesssService.cs | UnitOfWorkEntityFramework/SampleApp.DataAccess/ISampleDataAccesssService.cs | using DataAccessPatterns.Contracts;
using System;
namespace SampleApp.DataAccess
{
public interface ISampleDataAccesssService : IDisposable
{
IUnitOfWork GetUnitOfWork();
IRepository<T> GetRepository<T>() where T : class;
IEmployeeRepository GetEmployeeRepository();
}
}
| using DataAccessPatterns.Contracts;
using System;
namespace SampleApp.DataAccess
{
public interface ISampleDataAccesssService : IDisposable
{
IEmployeeRepository GetEmployeeRepository();
IRepository<T> GetRepository<T>() where T : class;
IUnitOfWork GetUnitOfWork();
}
} | mit | C# |
ff039a3b4a367da9d8e12e17d92725f3093d57fe | fix XML header in response #386 | DigDes/SoapCore | src/SoapCore/CustomMessage.cs | src/SoapCore/CustomMessage.cs | using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Xml;
namespace SoapCore
{
public class CustomMessage : Message
{
private readonly Message _message;
public CustomMessage(Message message)
{
_message = message;
}
public override MessageHeaders Headers
{
get { return _mess... | using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Xml;
namespace SoapCore
{
public class CustomMessage : Message
{
private readonly Message _message;
public CustomMessage(Message message)
{
_message = message;
}
public override MessageHeaders Headers
{
get { return _mess... | mit | C# |
7fec4f4ac21394b2d4ebdce605d3bf10c4c8b1a0 | Update France.cs | sambeauvois/DayInfo,sambeauvois/DayInfo,sambeauvois/DayInfo,sambeauvois/DayInfo | DayInfo/Europe/France.cs | DayInfo/Europe/France.cs | using DayInfo.Internals;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DayInfo.Europe
{
public class France : DayInfo
{
private static List<DayInfo> list;
public France()
: base("FR")
{
... | using DayInfo.Internals;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DayInfo.Europe
{
public class France : DayInfo
{
private static List<DayInfo> list;
public France()
: base("FR")
{
... | mit | C# |
ba1d373005dcb46c433f5003e6b07761c2c88678 | Remove unnecessary function | hukatama024e/MacroRecoderCsScript,hukatama024e/UserInputMacro | src/UserInputMacro/SendInputWrapper.cs | src/UserInputMacro/SendInputWrapper.cs | using System.Runtime.InteropServices;
using System.ComponentModel;
namespace UserInputMacro
{
public static class SendInputWrapper
{
private static readonly int FAIL_SENDINPUT = 0;
[ DllImport( "user32.dll", SetLastError = true ) ]
private static extern uint SendInput( uint inputNum, Input[] inputs, int inpu... | using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Windows.Input;
namespace UserInputMacro
{
public static class SendInputWrapper
{
private static readonly int FAIL_SENDINPUT = 0;
[ DllImport( "user32.dll", SetLastError = true ) ]
private static extern uint SendInput( uint inputN... | mit | C# |
19a5f3c18365dad6f9e13578355d1281e0e95643 | fix group separator naming | volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity | src/Serenity.Net.Web/Common/ScriptCulture.cs | src/Serenity.Net.Web/Common/ScriptCulture.cs | using System.Globalization;
using System;
namespace Serenity
{
public class ScriptCulture
{
public ScriptCulture()
: this(CultureInfo.CurrentCulture)
{
}
public ScriptCulture(CultureInfo culture)
{
var order = DateHelper.DateElemen... | using System.Globalization;
using System;
namespace Serenity
{
public class ScriptCulture
{
public ScriptCulture()
: this(CultureInfo.CurrentCulture)
{
}
public ScriptCulture(CultureInfo culture)
{
var order = DateHelper.DateElemen... | mit | C# |
7777d554ff69cb9f08de67ea3ff5ebf41b3c1f39 | Add ResourceCompleter to DevTestLabs | devigned/azure-powershell,naveedaz/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationT... | src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands/DevTestLabsCmdletBase.cs | src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands/DevTestLabsCmdletBase.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
c692351625f03e73da3da24e79bae47be2f951d5 | Add null option to select to indicate no search index is set in the admin UI (#10608) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Lucene/Views/LuceneSettings.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Lucene/Views/LuceneSettings.Edit.cshtml | @model LuceneSettingsViewModel
@if (Model.SearchIndexes.Any())
{
<div class="form-group" asp-validation-class-for="SearchIndex">
<label asp-for="SearchIndex">@T["Default search index"]</label>
<select asp-for="SearchIndex" class="form-control">
<option value="" selected="@(Model.SearchI... | @model LuceneSettingsViewModel
@if (Model.SearchIndexes.Any())
{
<div class="form-group" asp-validation-class-for="SearchIndex">
<label asp-for="SearchIndex">@T["Default search index"]</label>
<select asp-for="SearchIndex" class="form-control">
@foreach (var index in Model.SearchIndexes)
{
... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.