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 |
|---|---|---|---|---|---|---|---|---|
6c5561d7d930e2cd43da53bb6c231df2aa8f9951 | Update ArrowMarker.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/Avalonia/Nodes/Markers/ArrowMarker.cs | src/Core2D/Modules/Renderer/Avalonia/Nodes/Markers/ArrowMarker.cs | #nullable enable
using A = Avalonia;
using AP = Avalonia.Platform;
namespace Core2D.Modules.Renderer.Avalonia.Nodes.Markers;
internal class ArrowMarker : MarkerBase
{
public A.Point P11;
public A.Point P21;
public A.Point P12;
public A.Point P22;
public override void Draw(object? dc)
{
... | #nullable enable
using A = Avalonia;
using AP = Avalonia.Platform;
namespace Core2D.Modules.Renderer.Avalonia.Nodes.Markers;
internal class ArrowMarker : MarkerBase
{
public A.Point P11;
public A.Point P21;
public A.Point P12;
public A.Point P22;
public override void Draw(object? dc)
{
... | mit | C# |
1f6e098f74623ddb83f456f3b14023ad69d523ab | Fix PubSub converter attribute in protobuf | googleapis/google-cloudevents-dotnet,googleapis/google-cloudevents-dotnet | src/Google.Events.Protobuf/Cloud/PubSub/V1/ConverterAttributes.cs | src/Google.Events.Protobuf/Cloud/PubSub/V1/ConverterAttributes.cs | // Copyright 2020, Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | // Copyright 2020, Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | apache-2.0 | C# |
831785fe9fc4e3fd00889ce59b38c68a6c021a9a | Make AddAuthorization() idempotent | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Authorization/ServiceCollectionExtensions.cs | src/Microsoft.AspNet.Authorization/ServiceCollectionExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Authorization;
using Microsoft.Framework.DependencyInjection.Extensions;
using Microsoft.Framework.Internal;
names... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Authorization;
using Microsoft.Framework.DependencyInjection.Extensions;
using Microsoft.Framework.Internal;
names... | apache-2.0 | C# |
092f234943dcdf5b5b89732c5d1d1e8f8d0343ab | Add a check to make sure the CombatMode is the current player (#663) | 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,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Client/GameObjects/Components/Mobs/CombatModeComponent.cs | Content.Client/GameObjects/Components/Mobs/CombatModeComponent.cs | using Content.Client.UserInterface;
using Content.Shared.GameObjects.Components.Mobs;
using Robust.Client.GameObjects;
using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Network;
using Robust.Shared.IoC;
using Robust.Shared.ViewVariab... | using Content.Client.UserInterface;
using Content.Shared.GameObjects.Components.Mobs;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Network;
using Robust.Shared.IoC;
using Robust.Shared.ViewVariables;
namespace Content.Clien... | mit | C# |
2e3578b953a710ab370692f3c015e901cc9286df | Add winner menu in the back office site. | tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer | DailySoccer2015/DailySoccerBackOffice/Views/Shared/_Layout.cshtml | DailySoccer2015/DailySoccerBackOffice/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-i... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-i... | mit | C# |
7ac147a604ea8096e9ffc2c1705b78791896790c | rename a test to clarify. | jwChung/Experimentalism,jwChung/Experimentalism | test/Experiment.IdiomsUnitTest/ExcludingReadOnlyPropertiesTest.cs | test/Experiment.IdiomsUnitTest/ExcludingReadOnlyPropertiesTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit;
namespace Jwc.Experiment.Idioms
{
public class ExcludingReadOnlyPropertiesTest
{
[Fact]
public void SutIsEnumerableOfMemberInfo()
{
var sut = new ExcludingReadOnlyProper... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit;
namespace Jwc.Experiment.Idioms
{
public class ExcludingReadOnlyPropertiesTest
{
[Fact]
public void SutIsEnumerableOfMemberInfo()
{
var sut = new ExcludingReadOnlyProper... | mit | C# |
a4ff5e79d91ed959ca57e2f7e7e1cf29236e0d92 | Bump version | HelloFax/hellosign-dotnet-sdk | HelloSign/Properties/AssemblyInfo.cs | HelloSign/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("He... | 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("He... | mit | C# |
182bf29c7b4dcd012b6423fb0656173e1036d17e | Change access level to public so that StructureMap can find the property for the queuename | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application/Commands/CreateEmployerAccount/CreateAccountCommandHandler.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application/Commands/CreateEmployerAccount/CreateAccountCommandHandler.cs | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerApprenticeshipsService.Application.Messages;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Attributes;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Data;
using SFA.DAS.Messaging;
namespace SFA.DAS.EmployerApprenticeshipsServ... | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerApprenticeshipsService.Application.Messages;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Attributes;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Data;
using SFA.DAS.Messaging;
namespace SFA.DAS.EmployerApprenticeshipsServ... | mit | C# |
06a655af5d0187803a0048ddd28fa500f92fe8ba | Move initial position of KeyCounter upwards. | Drezi126/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,naoey/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,DrabWeb/osu,tacchinotacchi/osu,smoogipooo/osu,DrabWeb/osu,peppy/osu,Frontear/osuKyzer,johnneijzen/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,ZLima12/osu,2yangk23/osu,pepp... | osu.Game/Modes/UI/StandardHudOverlay.cs | osu.Game/Modes/UI/StandardHudOverlay.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 OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Primitives;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
names... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Primitives;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
names... | mit | C# |
160f893922d6071260476df320375c7f911f4931 | Fix C# Pair.cs, #1634. | ericvergnaud/antlr4,antlr/antlr4,antlr/antlr4,ericvergnaud/antlr4,antlr/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,antlr/antlr4,antlr/antlr4,antlr/antlr4,antlr/antlr4,parrt/antlr4,parrt/antlr4,ericvergnaud/antlr4,antlr/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,antlr/antlr4,parrt/antlr4,parr... | runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Misc/Pair.cs | runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Misc/Pair.cs | /* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using System;
namespace Antlr4.Runtime.Misc
{
public class Pair<A, B>
{
public readonly A a;
public readonly B b;
... | /* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using System;
namespace Antlr4.Runtime.Misc
{
public class Pair<A, B>
{
public readonly A a;
public readonly B b;
... | bsd-3-clause | C# |
93f1804cd7b51e23eed3d2f54c4943f0f8c02175 | Make the system respect the Target ConnectionString Provider designation. | bsstahl/PPTail,bsstahl/PPTail | PrehensilePonyTail/PPTail/Program.cs | PrehensilePonyTail/PPTail/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using PPTail.Entities;
using PPTail.Interfaces;
using PPTail.Extensions;
namespace PPTail
{
public class Program
{
const string _connectionStringProviderKey = "Provider";
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using PPTail.Entities;
using PPTail.Interfaces;
namespace PPTail
{
public class Program
{
public static void Main(string[] args)
{
(var argsAreValid, var argumentErrro... | mit | C# |
4f49c7a2c4caa8cdf6c428e4229e5e701d807ea8 | Use HttpDownloadString | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Tooling/LatestMyGetVersionAttribute.cs | source/Nuke.Common/Tooling/LatestMyGetVersionAttribute.cs | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Common.Utilities;
using Nuke.Common.ValueInjection;
namespace ... | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Common.Utilities;
using Nuke.Common.ValueInjection;
namespace ... | mit | C# |
dfbbf80b070969cd3c9f4fb94481fa8786142032 | use PS to update version | valadas/Dnn.Platform,wael101/Dnn.Platform,bdukes/Dnn.Platform,svdv71/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,RichardHowells/Dnn.Platform,EPTamminga/Dnn.Platform,EPTamminga/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,EPTamminga/Dnn.Platform,nvisionative/Dn... | Build/cake/version.cake | Build/cake/version.cake | #addin Cake.XdtTransform
#addin "Cake.FileHelpers"
#addin Cake.Powershell
#tool "nuget:?package=GitVersion.CommandLine&prerelease"
GitVersion version;
var buildId = EnvironmentVariable("Build.BuildId") ?? string.Empty;
Task("BuildServerSetVersion")
.IsDependentOn("GitVersion")
.Does(() => {
StartPowershellScr... | #addin Cake.XdtTransform
#addin "Cake.FileHelpers"
#tool "nuget:?package=GitVersion.CommandLine&prerelease"
GitVersion version;
Task("BuildServerSetVersion")
.Does(() => {
GitVersion(new GitVersionSettings {
OutputType = GitVersionOutput.BuildServer
});
});
Task("GitVersion")
.Does(() => {
vers... | mit | C# |
6ebbaa601adaeaa96c1cbb154f07bb82188d0291 | Update TypedURL.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.TypedURLs/TypedURL.cs | RegistryPlugin.TypedURLs/TypedURL.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TypedURLs
{
public class TypedURL:IValueOut
{
public TypedURL(string url, DateTimeOffset? timestamp, string slack)
{
Url = url;
Timestamp = timestamp;
Slack = slack;
}
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TypedURLs
{
public class TypedURL:IValueOut
{
public TypedURL(string url, DateTimeOffset? timestamp, string slack)
{
Url = url;
Timestamp = timestamp;
Slack = slack;
}
... | mit | C# |
5e6cdbe8fb517fda7c68a210ab1bcbbfac198354 | add missing using | zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos | source/Cosmos.System2/FileSystem/VFS/FileSystemManager.cs | source/Cosmos.System2/FileSystem/VFS/FileSystemManager.cs | using System;
using System.Collections.Generic;
namespace Cosmos.System.FileSystem.VFS
{
public static class FileSystemManager
{
private static List<FileSystemFactory> registeredFileSystems =
new List<FileSystemFactory>() {
new FAT.FatFileSystemFactory(),
... | using System;
namespace Cosmos.System.FileSystem.VFS
{
public static class FileSystemManager
{
private static List<FileSystemFactory> registeredFileSystems =
new List<FileSystemFactory>() {
new FAT.FatFileSystemFactory(),
new ISO9660.ISO9660FileSystemFacto... | bsd-3-clause | C# |
e1379c4d81b7b02cf3e48cf9bd718c307215e4bb | Fix constructor | lukencode/FluentEmail,lukencode/FluentEmail | src/Renderers/FluentEmail.Liquid/LiquidRendererOptions.cs | src/Renderers/FluentEmail.Liquid/LiquidRendererOptions.cs | using System;
using System.Text.Encodings.Web;
using Fluid;
using Microsoft.Extensions.FileProviders;
namespace FluentEmail.Liquid
{
public class LiquidRendererOptions
{
/// <summary>
/// Allows configuring template context before running the template. Parameters are context that has been
... | using System;
using System.Text.Encodings.Web;
using Fluid;
using Microsoft.Extensions.FileProviders;
namespace FluentEmail.Liquid
{
public class LiquidRendererOptions
{
/// <summary>
/// Allows configuring template context before running the template. Parameters are context that has been
... | mit | C# |
7788d0fea4f947296e13858a5a9dba20d8b8309b | remove blank lines | YoloDev/elephanet,jmkelly/elephanet,YoloDev/elephanet,jmkelly/elephanet | Elephanet/Queryable.cs | Elephanet/Queryable.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Elephanet
{
public interface IJsonbQueryable<T>: IOrderedQueryable<T>
{
string CommandText();
}
public interface IJsonbQueryable: IOrderedQueryable
{
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Elephanet
{
public interface IJsonbQueryable<T>: IOrderedQueryable<T>
{
string CommandText();
}
public interface IJsonbQueryable: IOrderedQueryable
{
... | mit | C# |
3af701e139a09a51ba060d85d7436b919b8871d1 | Increase memory limit | takenet/blip-sdk-csharp | src/Take.Blip.Builder/Hosting/ConventionsConfiguration.cs | src/Take.Blip.Builder/Hosting/ConventionsConfiguration.cs | using System;
namespace Take.Blip.Builder.Hosting
{
public class ConventionsConfiguration : IConfiguration
{
public virtual TimeSpan InputProcessingTimeout => TimeSpan.FromMinutes(1);
public virtual string RedisStorageConfiguration => "localhost";
public virtual int RedisDatabase => ... | using System;
namespace Take.Blip.Builder.Hosting
{
public class ConventionsConfiguration : IConfiguration
{
public virtual TimeSpan InputProcessingTimeout => TimeSpan.FromMinutes(1);
public virtual string RedisStorageConfiguration => "localhost";
public virtual int RedisDatabase => ... | apache-2.0 | C# |
57b5068dd25556f0c832db5ca62fe9cae7706a53 | Fix - Corretta Tipologia | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/Condivise/Tipologia.cs | src/backend/SO115App.Models/Classi/Condivise/Tipologia.cs | //-----------------------------------------------------------------------
// <copyright file="Tipologia.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as... | //-----------------------------------------------------------------------
// <copyright file="Tipologia.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as... | agpl-3.0 | C# |
f22d1053321b768ac884b5f8ef9ec145f6c79186 | Fix the "Validation failed: Weight is not a number" error | EasyPost/easypost-csharp,EasyPost/easypost-csharp | EasyPost/Client.cs | EasyPost/Client.cs | using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Threading;
namespace EasyPost {
public class Client {
public string version;
internal RestClient client;
internal ClientConfiguration co... | using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
namespace EasyPost {
public class Client {
public string version;
internal RestClient client;
internal ClientConfiguration configuration;
... | mit | C# |
148f68b7bd0f765a56122ae66fc2bc6ec31b624d | Make cookie valid for 30 days. | gyrosworkshop/Wukong,gyrosworkshop/Wukong | Wukong/Controllers/AuthController.cs | Wukong/Controllers/AuthController.cs | using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Wukong.Models;
namespace Wukong.Controllers
{
[Route("oauth")]... | using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Wukong.Models;
namespace Wukong.Controllers
{
... | mit | C# |
391eb2e95adaa0e6dbd14358c7b11babb13df98c | Print abbreviated quote | nja/keel,nja/keel | Keel/Builtins/Print.cs | Keel/Builtins/Print.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Keel.Objects;
using System.IO;
namespace Keel.Builtins
{
public class Print : Builtin
{
public Print()
: base("PRINT", "X")
{ }
public override LispObject Apply(Cons argumentValues,... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Keel.Objects;
using System.IO;
namespace Keel.Builtins
{
public class Print : Builtin
{
public Print()
: base("PRINT", "X")
{ }
public override LispObject Apply(Cons argumentValues,... | mit | C# |
1442fefd15cb10fd78127c841b3a3ba8b0c0925a | Check assemblies reference System.Net.Http v4.0 | github/VisualStudio,github/VisualStudio,github/VisualStudio | test/GitHub.VisualStudio.UnitTests/GitHubAssemblyTests.cs | test/GitHub.VisualStudio.UnitTests/GitHubAssemblyTests.cs | using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
public class GitHubAssemblyTests
{
[Theory]
public void GitHub_Assembly_Should_Not_Reference_DesignTime_Assembly(string assemblyFile)
{
var asm = Assembly.LoadFrom(assemblyFile);
foreach (var referencedAssembly ... | using System.IO;
using System.Reflection;
using NUnit.Framework;
public class GitHubAssemblyTests
{
[Theory]
public void GitHub_Assembly_Should_Not_Reference_DesignTime_Assembly(string assemblyFile)
{
var asm = Assembly.LoadFrom(assemblyFile);
foreach (var referencedAssembly in asm.GetRefe... | mit | C# |
c933bf70dfc3487d5013fef6ab3d4f87dd000a2b | Add unit test for annual calendar | lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb | src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs | src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs | using System;
using Quartz.Impl.Calendar;
using Xunit;
namespace Quartz.DynamoDB.Tests
{
/// <summary>
/// Tests the DynamoCalendar serialisation for all quartz derived calendar types.
/// </summary>
public class CalendarSerialisationTests
{
/// <summary>
/// Tests that the descrip... | using System;
using Quartz.Impl.Calendar;
using Xunit;
namespace Quartz.DynamoDB.Tests
{
/// <summary>
/// Tests the DynamoCalendar serialisation for all quartz derived calendar types.
/// </summary>
public class CalendarSerialisationTests
{
[Fact]
[Trait("Category", "Unit")]
... | apache-2.0 | C# |
79500538624b301b1bd01744de2e15488b8bfd18 | Add logging | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Support.Web/App_Start/Startup.auth.cs | src/SFA.DAS.EmployerUsers.Support.Web/App_Start/Startup.auth.cs | using Microsoft.Owin.Security.ActiveDirectory;
using Owin;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Support.Shared.SiteConnection;
using System.Web.Mvc;
namespace SFA.DAS.EmployerUsers.Support.Web
{
public partial class Startup
{
public void ConfigureAuth(IAppBuilder app)
{
var ioc... | using Microsoft.Owin.Security.ActiveDirectory;
using Owin;
using SFA.DAS.Support.Shared.SiteConnection;
using System.Web.Mvc;
namespace SFA.DAS.EmployerUsers.Support.Web
{
public partial class Startup
{
public void ConfigureAuth(IAppBuilder app)
{
var ioc = DependencyResolver.Curre... | mit | C# |
abd162a8e09294e3669ab54ee0fc7165919ccebf | Add some explanatory comments | cityindex-attic/RESTful-Webservice-Schema,cityindex-attic/RESTful-Webservice-Schema,cityindex-attic/RESTful-Webservice-Schema | src/JsonSchemaGeneration/Generator.cs | src/JsonSchemaGeneration/Generator.cs | using JsonSchemaGeneration.JsonSchemaDTO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace JsonSchemaGeneration
{
public class Generator
{
public string GenerateJsonSchema(XmlDocSource xmlDocSource)
{
//Checks that DTOs all have valid XML comments
XmlDocUtils... | using JsonSchemaGeneration.JsonSchemaDTO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace JsonSchemaGeneration
{
public class Generator
{
public string GenerateJsonSchema(XmlDocSource xmlDocSource)
{
XmlDocUtils.EnsureXmlDocsAreValid(xmlDocSource);
new Audi... | apache-2.0 | C# |
b07ae078a2a456697b44593965cbc6eed01d7091 | Rollback feature added | PowerMogli/Rabbit.Db | src/Micro+/Entity/EntityExtensions.cs | src/Micro+/Entity/EntityExtensions.cs | using System.Data;
using MicroORM.Base;
using MicroORM.Caching;
using MicroORM.Storage;
namespace MicroORM.Entity
{
public static class EntityExtensions
{
public static void Load<TEntity>(this TEntity entity) where TEntity : Entity, new()
{
EntityInfo entityInfo = EntityInfoCacheMan... | using System.Data;
using MicroORM.Base;
using MicroORM.Storage;
namespace MicroORM.Entity
{
public static class EntityExtensions
{
public static void Load<TEntity>(this TEntity entity) where TEntity : Entity, new()
{
if (entity.EntityState == EntityState.Loaded) return;
... | apache-2.0 | C# |
056e7c61508b40fb2894e4f6fe7daff6b66371d5 | Update SettingHeightAllRows.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cell... | Examples/CSharp/RowsColumns/HeightAndWidth/SettingHeightAllRows.cs | Examples/CSharp/RowsColumns/HeightAndWidth/SettingHeightAllRows.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingHeightAllRows
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.E... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.HeightAndWidth
{
public class SettingHeightAllRows
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | mit | C# |
b50f93d07d2163fb70b183e32a54a2eae1921379 | Debug try catch added to values controller | KitKare/KitKareService,KitKare/KitKareService | KitKare.Server/Controllers/ValuesController.cs | KitKare.Server/Controllers/ValuesController.cs | using KitKare.Data.Models;
using KitKare.Data.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using AutoMapper.QueryableExtensions;
using KitKare.Server.ViewModels;
namespace KitKare.Server.Controllers
{
public class ... | using KitKare.Data.Models;
using KitKare.Data.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using AutoMapper.QueryableExtensions;
using KitKare.Server.ViewModels;
namespace KitKare.Server.Controllers
{
public class ... | mit | C# |
5b852c74288ad0a2f1e73c5ee20d87af4d870a7d | add self operator | ketoo/NFActor | NFActor/NFBehaviour.cs | NFActor/NFBehaviour.cs | //-----------------------------------------------------------------------
// <copyright file="NFBehaviour.cs">
// Copyright (C) 2015-2015 lvsheng.huang <https://github.com/ketoo/NFActor>
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Collections... | //-----------------------------------------------------------------------
// <copyright file="NFBehaviour.cs">
// Copyright (C) 2015-2015 lvsheng.huang <https://github.com/ketoo/NFActor>
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Collections... | apache-2.0 | C# |
533a9c3a0cfd6ef2fa7ffdaa5609df02a92cf6bd | Update GrahamBeer.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/GrahamBeer.cs | src/Firehose.Web/Authors/GrahamBeer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GrahamBeer : IAmACommunityMember
{
public string FirstName => "Graham";
public string Last... | public class GrahamBeer : IAmACommunityMember
{
public string FirstName => "Graham";
public string LastName => "Beer";
public string ShortBioOrTagLine => "System Engineer";
public string StateOrRegion => "UK";
public string EmailAddress => "Graham.Beer@outlook.com";
p... | mit | C# |
9da139fdc07438fc45563e28fab3016d7ab78b60 | Add copyright header to new file | tijoytom/corert,gregkalapos/corert,botaberg/corert,tijoytom/corert,gregkalapos/corert,krytarowski/corert,shrah/corert,yizhang82/corert,tijoytom/corert,gregkalapos/corert,shrah/corert,krytarowski/corert,botaberg/corert,shrah/corert,yizhang82/corert,yizhang82/corert,botaberg/corert,gregkalapos/corert,krytarowski/corert,t... | src/ILCompiler.DependencyAnalysisFramework/src/IDependencyNode.cs | src/ILCompiler.DependencyAnalysisFramework/src/IDependencyNode.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.Collections.Generic;
namespace ILCompiler.DependencyAnalysisFramework
{
public interface IDepende... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ILCompiler.DependencyAnalysisFramework
{
public interface IDependencyNode
{
bool Marked
{
get;
}
}
public interface IDependencyNode<Depende... | mit | C# |
042bb9bba00f6a68279a0867344c421fb2449f03 | Change property types to better match up with Boo syntax | eatdrinksleepcode/casper,eatdrinksleepcode/casper | MSBuild/MSBuild.cs | MSBuild/MSBuild.cs | using System.Collections.Generic;
using System.Collections;
namespace Casper {
public class MSBuild : TaskBase {
public string WorkingDirectory { get; set; }
public string ProjectFile { get; set; }
public IList Targets { get; set; }
public IDictionary Properties { get; set; }
public override void Execute(... | using System.Collections.Generic;
namespace Casper {
public class MSBuild : TaskBase {
public string WorkingDirectory { get; set; }
public string ProjectFile { get; set; }
public string[] Targets { get; set; }
public IDictionary<string, string> Properties { get; set; }
public override void Execute() {
... | mit | C# |
d7f47a49d6087e56e3f8106e5a67f7d1023b8fb3 | Make Regex readonly | Eleven19/SSISManagement,Eleven19/SSISManagement | src/SSISManagement/Data/Catalog/Parameters/SsisParameterMapper.cs | src/SSISManagement/Data/Catalog/Parameters/SsisParameterMapper.cs | using System;
using System.Data;
using System.Diagnostics;
using System.Reflection;
using System.Text.RegularExpressions;
using Insight.Database.Mapping;
namespace SqlServer.Management.IntegrationServices.Data.Catalog.Parameters
{
/// <summary>
/// A parameter mapper which changes the SSIS style parameters to... | using System;
using System.Data;
using System.Diagnostics;
using System.Reflection;
using System.Text.RegularExpressions;
using Insight.Database.Mapping;
namespace SqlServer.Management.IntegrationServices.Data.Catalog.Parameters
{
/// <summary>
/// A parameter mapper which changes the SSIS style parameters to... | unlicense | C# |
3555175c2d41197fc6e1a8bc8043634e7a2aaf8d | test method with param | andrewdavey/witness,andrewdavey/witness,andrewdavey/witness | src/Witness.Tests/DotnetContextTest.cs | src/Witness.Tests/DotnetContextTest.cs | using System;
using System.Linq;
using System.Text;
using Xunit;
namespace Witness.Tests
{
public class ExecutingAuthenticateHeader : ExecutableHeadersTest
{
public ExecutingAuthenticateHeader()
{
HeaderSet("x-witness-onauthenticate");
}
[Fact]
... | using System;
using System.Linq;
using System.Text;
using Xunit;
namespace Witness.Tests
{
public class ExecutingAuthenticateHeader : ExecutableHeadersTest
{
public ExecutingAuthenticateHeader()
{
HeaderSet("x-witness-onauthenticate");
}
[Fact]
... | bsd-2-clause | C# |
3f78163e875d68cc1227b05b20215f158146e035 | Enable all kernels except FAT. | tgiphil/Cosmos,jp2masa/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,trivalik/Cosmos,trivalik/Cosmos,fanoI/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,zarlo/Cosmos | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
//yield return typeof(Cosmos.Compiler.Tests.Enc... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
////yield return typeof(Cosmos.Compiler.Tests.E... | bsd-3-clause | C# |
eec77b052790f720fa716d10b96aad540b9cb083 | replace icon | ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu | osu.Game.Rulesets.Catch/Mods/CatchModFloatingFruits.cs | osu.Game.Rulesets.Catch/Mods/CatchModFloatingFruits.cs | using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHi... | using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHi... | mit | C# |
9d228c85464de2bfe68d8d86a3794112d7bb54fb | Delete EnvironmentAugments.GetEnvironmentVariables (#14500) | rartemev/coreclr,krk/coreclr,wateret/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,JosephTremoulet/coreclr,yizhang82/coreclr,JosephTremoulet/coreclr,mmitche/coreclr,wateret/coreclr,poizan42/coreclr,wateret/coreclr,poizan42/coreclr,poizan42/coreclr,yizhang82/coreclr,mmitche/coreclr,rartemev/coreclr,ruben-ayrapetyan/c... | src/mscorlib/src/Internal/Runtime/Augments/EnvironmentAugments.cs | src/mscorlib/src/Internal/Runtime/Augments/EnvironmentAugments.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.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
na... | // 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.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Run... | mit | C# |
6358173e944de6fbcc0efa777f36aec517a249e9 | Fix naming of times for StandardInformation | LordMike/NtfsLib | NTFSLib/Objects/Attributes/AttributeStandardInformation.cs | NTFSLib/Objects/Attributes/AttributeStandardInformation.cs | using System;
using System.Diagnostics;
using System.IO;
using NTFSLib.Objects.Enums;
namespace NTFSLib.Objects.Attributes
{
public class AttributeStandardInformation : Attribute
{
public DateTime TimeCreated { get; set; }
public DateTime TimeModified { get; set; }
public DateTime Time... | using System;
using System.Diagnostics;
using System.IO;
using NTFSLib.Objects.Enums;
namespace NTFSLib.Objects.Attributes
{
public class AttributeStandardInformation : Attribute
{
public DateTime CTime { get; set; }
public DateTime ATime { get; set; }
public DateTime MTime { get; set;... | mit | C# |
08a7a8006efdb4ae3805270693b0cbbb6d589b0f | add distinct test | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | test/WeihanLi.Common.Test/ModelsTest/StringValueDictionaryTest.cs | test/WeihanLi.Common.Test/ModelsTest/StringValueDictionaryTest.cs | using Newtonsoft.Json;
using System.Collections.Generic;
using WeihanLi.Common.Models;
using Xunit;
namespace WeihanLi.Common.Test.ModelsTest
{
public class StringValueDictionaryTest
{
[Fact]
public void EqualsTest()
{
var abc = new { Id = 1, Name = "Tom" };
var... | using Newtonsoft.Json;
using System.Collections.Generic;
using WeihanLi.Common.Models;
using Xunit;
namespace WeihanLi.Common.Test.ModelsTest
{
public class StringValueDictionaryTest
{
[Fact]
public void EqualsTest()
{
var abc = new { Id = 1, Name = "Tom" };
var... | mit | C# |
c3932dad8fa4b5268560a5280024c806fae4c4f2 | Fix namespaces to share the code with MonoMac | mono/maccore,jorik041/maccore,cwensley/maccore | src/AVFoundation/AVCaptureConnection.cs | src/AVFoundation/AVCaptureConnection.cs | //
// AVCaptureConnection: Extensions to the class
//
// Authors:
// Miguel de Icaza
//
// Copyright 2011, Xamarin, Inc.
//
// 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 restri... | //
// AVCaptureConnection: Extensions to the class
//
// Authors:
// Miguel de Icaza
//
// Copyright 2011, Xamarin, Inc.
//
// 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 restri... | apache-2.0 | C# |
cd44a97a3f163cf2303d1996d3fa9a4ab2932e0a | Add last test in GameScoreTests.cs | sguzunov/Teamwork-HQC-Baloons-Pop-7 | Baloons-Pop-7/TestBalloonsPopGame/GameScoreTests/GameScoreTests.cs | Baloons-Pop-7/TestBalloonsPopGame/GameScoreTests/GameScoreTests.cs | namespace TestBalloonsPopGame
{
using Balloons.GamePlayer;
using Balloons.GameScore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
[TestClass]
public class GameScoreTests
{
public Player player;
[TestMethod]
public void PlayerIsNull()
{
... | namespace TestBalloonsPopGame
{
using Balloons.GamePlayer;
using Balloons.GameScore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
[TestClass]
... | mit | C# |
d82de35a2f98e83849563ef55ce5bd0db51f69df | change constraint of FindChild<T>() | TakeAsh/cs-WpfUtility | WpfUtility/DependencyObjectExtensionMethods.cs | WpfUtility/DependencyObjectExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace WpfUtility {
public static class DependencyObjectExtensionMethods {
/// <summary>
/// Attempts to find and return an object that has the specified name. The search sta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace WpfUtility {
public static class DependencyObjectExtensionMethods {
/// <summary>
/// Attempts to find and return an object that has the specified name. The search sta... | mit | C# |
1e38e219b5a3b97c2832f8b6237f66b1b41a5ebf | Fix bug in Statement DTO mapper that expected bucket code to always have a value - it can be null. | Benrnz/BudgetAnalyser | BudgetAnalyser.Engine/Statement/Data/TransactionToTransactionDtoMapper.cs | BudgetAnalyser.Engine/Statement/Data/TransactionToTransactionDtoMapper.cs | using System;
using BudgetAnalyser.Engine.BankAccount;
using BudgetAnalyser.Engine.Budget;
using JetBrains.Annotations;
namespace BudgetAnalyser.Engine.Statement.Data
{
[AutoRegisterWithIoC]
internal partial class Mapper_TransactionDto_Transaction
{
private readonly IAccountTypeRepositor... | using System;
using BudgetAnalyser.Engine.BankAccount;
using BudgetAnalyser.Engine.Budget;
using JetBrains.Annotations;
namespace BudgetAnalyser.Engine.Statement.Data
{
[AutoRegisterWithIoC]
internal partial class Mapper_TransactionDto_Transaction
{
private readonly IAccountTypeRepositor... | mit | C# |
9aa8855bb0874cf40b8b4391e69249309a22e5d1 | optimize access to dictionary | geofeedia/elasticsearch-net,TheFireCookie/elasticsearch-net,SeanKilleen/elasticsearch-net,cstlaurent/elasticsearch-net,robertlyson/elasticsearch-net,joehmchan/elasticsearch-net,KodrAus/elasticsearch-net,faisal00813/elasticsearch-net,robrich/elasticsearch-net,azubanov/elasticsearch-net,wawrzyn/elasticsearch-net,abibell/... | src/Nest/Resolvers/IndexNameResolver.cs | src/Nest/Resolvers/IndexNameResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
using System.Reflection;
using Elasticsearch.Net;
namespace Nest.Resolvers
{
public class IndexNameResolver
{
private readonly IConnectionSettingsValues _connectionSettings;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
using System.Reflection;
using Elasticsearch.Net;
namespace Nest.Resolvers
{
public class IndexNameResolver
{
private readonly IConnectionSettingsValues _connectionSettings;
... | apache-2.0 | C# |
ae4f5fa7abf1f2e40c1e63ba089ceb99d2e47459 | Simplify ActionDictionnary by removing collection initializers | k94ll13nn3/Strinken | src/Strinken/Engine/ActionDictionary.cs | src/Strinken/Engine/ActionDictionary.cs | // stylecop.header
using System;
using System.Collections;
using System.Collections.Generic;
namespace Strinken.Engine
{
/// <summary>
/// Action dictionary used by the token stack to resolve the string.
/// </summary>
internal class ActionDictionary
{
/// <summary>
/// Internal di... | // stylecop.header
using System;
using System.Collections;
using System.Collections.Generic;
namespace Strinken.Engine
{
/// <summary>
/// Action dictionary used by the token stack to resolve the string.
/// </summary>
/// <remarks>Collection initializers can be used <see href="http://stackoverflow.co... | mit | C# |
b97ec37683c501fa7f1b371d71c61d6ef69012ea | Add Audio properties to IAudiomanagement | RickyGAkl/Vlc.DotNet,marcomeyer/Vlc.DotNet,marcomeyer/Vlc.DotNet,raydtang/Vlc.DotNet,someonehan/Vlc.DotNet,agherardi/Vlc.DotNet,xue-blood/wpfVlc,thephez/Vlc.DotNet,thephez/Vlc.DotNet,raydtang/Vlc.DotNet,RickyGAkl/Vlc.DotNet,ZeBobo5/Vlc.DotNet,jeremyVignelles/Vlc.DotNet,agherardi/Vlc.DotNet,xue-blood/wpfVlc,briancowan/V... | src/Vlc.DotNet.Core/IAudioManagement.cs | src/Vlc.DotNet.Core/IAudioManagement.cs | namespace Vlc.DotNet.Core
{
public interface IAudioManagement
{
IAudioOutputsManagement Outputs { get; }
bool IsMute { get; set; }
void ToggleMute();
int Volume { get; set; }
ITracksManagement Tracks { get; }
int Channel { get; set; }
long Delay { g... | namespace Vlc.DotNet.Core
{
public interface IAudioManagement
{
IAudioOutputsManagement Outputs { get; }
}
}
| mit | C# |
9e973f96d173c11a57e7b3b28fcc5a3f0365b578 | Update GameEventHouseStatus.cs | ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE | Source/ACE.Server/Network/GameEvent/Events/GameEventHouseStatus.cs | Source/ACE.Server/Network/GameEvent/Events/GameEventHouseStatus.cs | using ACE.Entity.Enum;
using System;
namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventHouseStatus : GameEventMessage
{
public GameEventHouseStatus(Session session, WeenieError weenieError = WeenieError.BadParam)
: base(GameEventType.HouseStatus, GameMessageGroup.UIQueue... | using ACE.Entity.Enum;
using System;
namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventHouseStatus : GameEventMessage
{
public GameEventHouseStatus(Session session, WeenieError weenieError = WeenieError.BadParam)
: base(GameEventType.HouseStatus, GameMessageGroup.UIQueue... | agpl-3.0 | C# |
d42b591fdf18eb6c682bdedc8c57ef71a83f50c0 | Convert constant string to nameof operator on GroundOverlay. | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,quesera2/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/GroundOverlay.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/GroundOverlay.cs |
using System;
namespace Xamarin.Forms.GoogleMaps
{
public sealed class GroundOverlay : BindableObject
{
public static readonly BindableProperty IconProperty = BindableProperty.Create(nameof(Icon), typeof(BitmapDescriptor), typeof(GroundOverlay), default(BitmapDescriptor));
public static reado... |
using System;
namespace Xamarin.Forms.GoogleMaps
{
public sealed class GroundOverlay : BindableObject
{
public static readonly BindableProperty IconProperty = BindableProperty.Create("Icon", typeof(BitmapDescriptor), typeof(GroundOverlay), default(BitmapDescriptor));
public static readonly Bi... | mit | C# |
78ce60094952393eaca69a574711799ad514dcfb | Use bare project name (without slash) + tree hash + ".zip" as zip file name | akrisiun/git-dot-aspx,linquize/git-dot-aspx,linquize/git-dot-aspx,akrisiun/git-dot-aspx,akrisiun/git-dot-aspx,linquize/git-dot-aspx | GitAspx/Views/DownloadView/Index.cshtml | GitAspx/Views/DownloadView/Index.cshtml | @model GitAspx.ViewModels.DownloadViewModel
@using GitAspx;
@using GitSharp;
@using ICSharpCode.SharpZipLib.Zip;
@functions{
void AddDirectoryToZip(ZipOutputStream aoZipStream, Tree aoTree, string asDirectory) {
foreach (Leaf loLeaf in aoTree.Leaves) {
ZipEntry loZipEntry = new ZipEntry(asDirectory ... | @model GitAspx.ViewModels.DownloadViewModel
@using GitSharp;
@using ICSharpCode.SharpZipLib.Zip;
@functions{
void AddDirectoryToZip(ZipOutputStream aoZipStream, Tree aoTree, string asDirectory) {
foreach (Leaf loLeaf in aoTree.Leaves) {
ZipEntry loZipEntry = new ZipEntry(asDirectory + loLeaf.Name);
... | apache-2.0 | C# |
658999b6b438eddbe68f3ca31c5fa30a21d6a22f | update formatting | designsbyjuan/UnityLib | TagEventTrigger.cs | TagEventTrigger.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class TagEventTrigger : ButtonEventTrigger {
protected void Awake()
{
base.Awake();
}
// Use this for initialization
protected void Start ()
{
base.Start();
}
protected override void On... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class TagEventTrigger : ButtonEventTrigger {
protected void Awake()
{
base.Awake();
}
// Use this for initialization
protected void Start ()
{
base.Start();
}
protected override void OnPoi... | mit | C# |
297a746548736324c02017dc51104d6cdbc264a4 | test fixing | leegould/MicroBlog,leegould/MicroBlog,leegould/MicroBlog | MicroBlog/BlogModule.cs | MicroBlog/BlogModule.cs | using MicroBlog.Interface;
using MicroBlog.Models;
using Nancy;
namespace MicroBlog
{
public class BlogModule : NancyModule
{
private IPostRepository postRepository;
public BlogModule(IPostRepository postrepository)
{
postRepository = postrepository;
Get["/{id... | using MicroBlog.Interface;
using MicroBlog.Models;
using Nancy;
namespace MicroBlog
{
public class BlogModule : NancyModule
{
private IPostRepository postRepository;
public BlogModule(IPostRepository postrepository)
{
postRepository = postrepository;
Get["/{id... | mit | C# |
6fc3bdc4f2447bf8ce545d8bbf80535d6552244a | Fix UnreliablePongMessage type | chkn/Tempest | Desktop/Tempest/InternalProtocol/UnreliablePongMessage.cs | Desktop/Tempest/InternalProtocol/UnreliablePongMessage.cs | //
// UnreliablePongMessage.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2012 Eric Maupin
//
// 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, i... | //
// UnreliablePongMessage.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2012 Eric Maupin
//
// 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, i... | mit | C# |
b5e2f8b2e061f3c48430b03c4848abf9eef8af8e | Add ShowDialog | cH40z-Lord/Stylet,canton7/Stylet,cH40z-Lord/Stylet,canton7/Stylet | Stylet/WindowManager.cs | Stylet/WindowManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Navigation;
namespace Stylet
{
public interface IWindowManager
{
void ShowWindow(object viewModel);
bool? Sh... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Navigation;
namespace Stylet
{
public interface IWindowManager
{
void ShowWindow(object viewModel);
}
publi... | mit | C# |
b2cf6c46f39669c894faab737a44635b170442b7 | fix postgre sql dialect | bgTeamDev/bgTeam.Core,bgTeamDev/bgTeam.Core | src/bgTeam.Impl.Dapper/Mapper/Sql/PostgreSqlDialect.cs | src/bgTeam.Impl.Dapper/Mapper/Sql/PostgreSqlDialect.cs | namespace DapperExtensions.Mapper.Sql
{
using System.Collections.Generic;
public class PostgreSqlDialect : SqlDialectBase
{
public override string GetIdentitySql(string tableName)
{
return "SELECT LASTVAL() AS Id";
}
public override string GetPagingSql(string s... | namespace DapperExtensions.Mapper.Sql
{
using System.Collections.Generic;
public class PostgreSqlDialect : SqlDialectBase
{
public override string GetIdentitySql(string tableName)
{
return "SELECT LASTVAL() AS Id";
}
public override string GetPagingSql(string s... | mit | C# |
59a48f1a120727c90920ce483f3614565678f058 | Fix typo | asarium/FSOLauncher | Libraries/ModInstallation/Interfaces/IRemoteModManager.cs | Libraries/ModInstallation/Interfaces/IRemoteModManager.cs | #region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using ModInstallation.Annotations;
using ModInstallation.Interfaces.Mods;
#endregion
namespace ModInstallation.Interfaces
{
public interface IRemoteModManager : INoti... | #region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using ModInstallation.Annotations;
using ModInstallation.Interfaces.Mods;
#endregion
namespace ModInstallation.Interfaces
{
public interface IRemoteModManager : INoti... | mit | C# |
1cbd2bc0a1b9fe05c39dbd8672072fd57d5dd265 | Remove the "car" value | It423/tron,wrightg42/tron | Tron/Tron/CellValues.cs | Tron/Tron/CellValues.cs | // CellValues.cs
// <copyright file="CellValues.cs"> This code is protected under the MIT License. </copyright>
namespace Tron
{
/// <summary>
/// An enumeration to represent the possible values for a cell on the grid.
/// </summary>
public enum CellValues
{
/// <summary>
/// Nothin... | // CellValues.cs
// <copyright file="CellValues.cs"> This code is protected under the MIT License. </copyright>
namespace Tron
{
/// <summary>
/// An enumeration to represent the possible values for a cell on the grid.
/// </summary>
public enum CellValues
{
/// <summary>
/// Nothin... | mit | C# |
d39c746b3d01ce380e30a401892b4949cf8dc9fc | delete items bug fixed, log improved | agileharbor/channelAdvisorAccess | src/ChannelAdvisorAccess/Services/Items/ItemsServiceDeleteItems.cs | src/ChannelAdvisorAccess/Services/Items/ItemsServiceDeleteItems.cs | using System;
using System.Threading.Tasks;
using ChannelAdvisorAccess.Exceptions;
using ChannelAdvisorAccess.Misc;
namespace ChannelAdvisorAccess.Services.Items
{
public partial class ItemsService: IItemsService
{
#region Delete item
public void DeleteItem( string sku, Mark mark = null )
{
if( mark.IsBlank... | using System;
using System.Threading.Tasks;
using ChannelAdvisorAccess.Exceptions;
using ChannelAdvisorAccess.Misc;
namespace ChannelAdvisorAccess.Services.Items
{
public partial class ItemsService: IItemsService
{
#region Delete item
public void DeleteItem( string sku, Mark mark = null )
{
if( mark.IsBlank... | bsd-3-clause | C# |
49a9fac45c4c14d7a4fb61baae5c4f5f06b3e2f8 | Add IsAccessLimited property. | BibliothecaTeam/Bibliotheca.Server.Gateway,BibliothecaTeam/Bibliotheca.Server.Gateway | src/Bibliotheca.Server.Gateway.Core/DataTransferObjects/ProjectDto.cs | src/Bibliotheca.Server.Gateway.Core/DataTransferObjects/ProjectDto.cs | using System.Collections.Generic;
namespace Bibliotheca.Server.Gateway.Core.DataTransferObjects
{
public class ProjectDto
{
public ProjectDto()
{
Tags = new List<string>();
VisibleBranches = new List<string>();
EditLinks = new List<EditLinkDto>();
}
... | using System.Collections.Generic;
namespace Bibliotheca.Server.Gateway.Core.DataTransferObjects
{
public class ProjectDto
{
public ProjectDto()
{
Tags = new List<string>();
VisibleBranches = new List<string>();
EditLinks = new List<EditLinkDto>();
}
... | mit | C# |
46dcd212de340e75861b6ba9b3b8f1e2a9622d7a | Update AssemblyInfo.cs | idormenco/PolyBool.Net | Polybool.Net/Properties/AssemblyInfo.cs | Polybool.Net/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("Polybool.Net")]
[assembly: AssemblyDescri... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Polybool.Net")]
[assembly: AssemblyDescri... | mit | C# |
bc64eb9b997b48085b469a0f07144623297568d8 | Fix LocalizeString docs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.Extensions.Localization.Abstractions/LocalizedString.cs | src/Microsoft.Extensions.Localization.Abstractions/LocalizedString.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;
namespace Microsoft.Extensions.Localization
{
/// <summary>
/// A locale specific string.
/// </summary>
public class L... | // 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;
namespace Microsoft.Extensions.Localization
{
/// <summary>
/// A locale specific string.
/// </summary>
public class L... | apache-2.0 | C# |
f6d08f54e6e950f4784087012fe27cd3e566a22c | Use the oldest user config file available when there happens to be multiple config files available. | UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/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# |
70cda655c8ef00c9de57ead8cb4d7f7b88f10186 | Improve text control black list | JetBrains/resharper-presentation-assistant | src/dotnet/ReSharperPlugin.PresentationAssistant/ActionIdBlacklist.cs | src/dotnet/ReSharperPlugin.PresentationAssistant/ActionIdBlacklist.cs | using System.Collections.Generic;
namespace JetBrains.ReSharper.Plugins.PresentationAssistant
{
public static class ActionIdBlacklist
{
private static readonly HashSet<string> ActionIds = new HashSet<string>
{
// These are the only actions that should be hidden
"TextCon... | using System.Collections.Generic;
namespace JetBrains.ReSharper.Plugins.PresentationAssistant
{
public static class ActionIdBlacklist
{
private static readonly HashSet<string> ActionIds = new HashSet<string>
{
// These are the only actions that should be hidden
"TextCon... | apache-2.0 | C# |
59679ad98ca5f1f1c30e05434390cd5c62b71f62 | Update UnsafeDelegate.cs | NMSLanX/Natasha | test/NatashaBenchmark/UnsafeDelegate.cs | test/NatashaBenchmark/UnsafeDelegate.cs | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Mathematics;
using BenchmarkDotNet.Order;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace NatashaBenchmark
{
[MemoryDiagnoser, MarkdownExporter, RPlotExporter... | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Mathematics;
using BenchmarkDotNet.Order;
using System;
using System.Collections.Generic;
using System.Text;
namespace NatashaBenchmark
{
[MemoryDiagnoser, MarkdownExporter, RPlotExporter]
[MinColumn, MaxColumn, MeanColumn... | mpl-2.0 | C# |
185abdfdfe56874f4e7aba4afdef7e5b8d9d4f22 | fix merge conflicts from signin | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/App_Start/AutoMapperConfig.cs | SignInCheckIn/SignInCheckIn/App_Start/AutoMapperConfig.cs | using AutoMapper;
using MinistryPlatform.Translation.Models.DTO;
using SignInCheckIn.Models.DTO;
namespace SignInCheckIn.App_Start
{
public static class AutoMapperConfig
{
public static void RegisterMappings()
{
Mapper.Initialize(CreateMappings);
}
private static v... | using AutoMapper;
using MinistryPlatform.Translation.Models.DTO;
using SignInCheckIn.Models.DTO;
namespace SignInCheckIn.App_Start
{
public static class AutoMapperConfig
{
public static void RegisterMappings()
{
Mapper.Initialize(CreateMappings);
}
private static v... | bsd-2-clause | C# |
cc30002ef98d6b9fb38957f1b2f9ce3d66e3095b | build number must be .0 | Haacked/Subtext,jeuvin/Subtext,jeuvin/Subtext,jeuvin/Subtext,jeuvin/Subtext,Haacked/Subtext,jeuvin/Subtext,Haacked/Subtext,Haacked/Subtext,Haacked/Subtext | SubtextSolution/VersionInfo.Designer.cs | SubtextSolution/VersionInfo.Designer.cs | using System;
using System.Reflection;
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the ... | using System;
using System.Reflection;
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the ... | mit | C# |
d8e4426edb1e36a6107dbcc2af13e2c4adaff87b | Improve test coverage for the AccountKey class | openchain/openchain | test/Openchain.Infrastructure.Tests/AccountKeyTests.cs | test/Openchain.Infrastructure.Tests/AccountKeyTests.cs | // Copyright 2015 Coinprism, 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright 2015 Coinprism, 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# |
b2445b0b0cf63211affc53163f74348d4baf7f19 | Remove doc_values fielddata format for strings | elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elastic... | src/Nest/Modules/Indices/Fielddata/String/StringFielddataFormat.cs | src/Nest/Modules/Indices/Fielddata/String/StringFielddataFormat.cs | using System.Runtime.Serialization;
namespace Nest
{
public enum StringFielddataFormat
{
[EnumMember(Value = "paged_bytes")]
PagedBytes,
[EnumMember(Value = "disabled")]
Disabled
}
}
| using System.Runtime.Serialization;
namespace Nest
{
public enum StringFielddataFormat
{
[EnumMember(Value = "paged_bytes")]
PagedBytes,
[EnumMember(Value = "doc_values")]
DocValues,
[EnumMember(Value = "disabled")]
Disabled
}
}
| apache-2.0 | C# |
900d8a58f03f326708c33aba47d68d5daf3720b3 | Add copyright information to IPatternParser. | zaccharles/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,nodatime/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,nodatime/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,jskeet/nodatime | src/NodaTime/Text/Patterns/IPatternParser.cs | src/NodaTime/Text/Patterns/IPatternParser.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// h... | using System;
using System.Collections.Generic;
using System.Text;
using NodaTime.Globalization;
namespace NodaTime.Text.Patterns
{
internal interface IPatternParser<T>
{
PatternParseResult<T> ParsePattern(string pattern, NodaFormatInfo formatInfo, ParseStyles parseStyles);
}
}
| apache-2.0 | C# |
de1f26a2de16c7ee37b05afc1d47d3e0e3173c21 | fix typo | mans0954/f-spot,mono/f-spot,nathansamson/F-Spot-Album-Exporter,mono/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,Yetangitu/f-spot,dkoeb/f-spot,dkoeb/f-spot,Yetangitu/f-spot,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,Sanva/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,Yetangitu/f-spot,Yetan... | src/DCRawFile.cs | src/DCRawFile.cs | using System.Diagnostics;
using System.IO;
using System;
namespace FSpot {
public class Pipe : System.IO.Stream {
// This class is a hack to make sure mono doesn't dispose the process
// and by extension the stream from the pipe when we are still using the
// the stream.
Process process;
Stream stream;
p... | using System.Diagnostics;
using System.IO;
using System;
namespace FSpot {
public class Pipe : System.IO.Stream {
// This class is a hack to make sure mono doesn't dispose the process
// and by extension the stream from the pipe when we are still using the
// the stream.
Process process;
Stream stream;
p... | mit | C# |
1de348ea8bd307a1ce6026007d014d36b177db62 | Revert "VertexDrawRange Tweaks" | AdamsLair/duality,Barsonax/duality,SirePi/duality,BraveSirAndrew/duality | Source/Core/Duality/Drawing/VertexData/VertexDrawRange.cs | Source/Core/Duality/Drawing/VertexData/VertexDrawRange.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Duality.Resources;
using Duality.Backend;
namespace Duality.Drawing
{
/// <summary>
/// Describes a continuous range of vertex indices to be rendered.
/// </summary>
/// <see cref="DrawBatch"/>
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Duality.Resources;
using Duality.Backend;
namespace Duality.Drawing
{
/// <summary>
/// Describes a continuous range of vertex indices to be rendered.
/// </summary>
/// <see cref="DrawBatch"/>
public ... | mit | C# |
da09bc98facb628e871dc584d67a2d6fe2313b42 | Update Program.cs | TomPeters/Maybe | ConsoleApplication2/Program.cs | ConsoleApplication2/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
IMaybe<MyUser> maybeUser = Maybe.Just(new MyUser());
IMaybe<IEnumerable<UserGroup>> maybeGroups = maybeUser.Select(user =... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
IMaybe<MyUser> maybeUser = Maybe.Just(new MyUser());
IMaybe<IEnumerable<UserGroup>> maybeGroups = maybeUser.Safe(user => ... | mit | C# |
4c0c2b920bca23782861c4420b7907dfe674ddeb | Change the link to zkSNACKs. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/AboutViewModel.cs | WalletWasabi.Gui/Tabs/AboutViewModel.cs | using Avalonia.Diagnostics.ViewModels;
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Gui.ViewModels;
using System.IO;
using ReactiveUI;
using System.Reactive;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
... | using Avalonia.Diagnostics.ViewModels;
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Gui.ViewModels;
using System.IO;
using ReactiveUI;
using System.Reactive;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
... | mit | C# |
d2eec2366ff341290a74ce64653730a700105deb | add comment explaining implementation divergence | mavasani/roslyn,bartdesmet/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,weltkante/roslyn,mavasani/roslyn,bartdesmet/rosly... | src/VisualStudio/CSharp/Impl/ProjectSystemShim/EntryPointFinder.cs | src/VisualStudio/CSharp/Impl/ProjectSystemShim/EntryPointFinder.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.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.LanguageServices.Imple... | // 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.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.LanguageServices.Imple... | mit | C# |
a477d1546622a8f21713d5bb6dcad576c4fcccc0 | fix script error on ajax messages if not ajax call | dfensgmbh/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI | src/biz.dfch.CS.Appclusive.UI/Views/Shared/AjaxNotification.cshtml | src/biz.dfch.CS.Appclusive.UI/Views/Shared/AjaxNotification.cshtml | @model IEnumerable<biz.dfch.CS.Appclusive.UI.Models.AjaxNotificationViewModel>
@{
biz.dfch.CS.Appclusive.UI.Controllers.IExtendedController extController = ViewContext.Controller as biz.dfch.CS.Appclusive.UI.Controllers.IExtendedController;
}
@if (null != extController && extController.IsAjaxRequest)
{
foreach... | @model IEnumerable<biz.dfch.CS.Appclusive.UI.Models.AjaxNotificationViewModel>
@foreach(biz.dfch.CS.Appclusive.UI.Models.AjaxNotificationViewModel note in Model){
if (string.IsNullOrEmpty(note.ElementId))
{
<script type="text/javascript">
$.notify("@note.Message.Replace("\r\n", " ")", "@no... | apache-2.0 | C# |
c3e07e45ea4fc2d783fab8d7b5c813f2a81015f0 | Fix of previous commit | vigoo/bari,vigoo/bari,vigoo/bari,Psychobilly87/bari,Psychobilly87/bari,Psychobilly87/bari,vigoo/bari,Psychobilly87/bari | src/core/Bari.Core/cs/Build/Statistics/DefaultBuilderStatistics.cs | src/core/Bari.Core/cs/Build/Statistics/DefaultBuilderStatistics.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Bari.Core.Build.Statistics
{
public class DefaultBuilderStatistics: IBuilderStatistics
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(DefaultBuilderStatistics));
private readonly IDictionary<Type, Buil... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Bari.Core.Build.Statistics
{
public class DefaultBuilderStatistics: IBuilderStatistics
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(DefaultBuilderStatistics));
private readonly IDictionary<Type, Buil... | apache-2.0 | C# |
9055b2f0b09590afd179b6efe73cb52fe21219fc | Add dbus method to clear queue (bgo#635292) | GNOME/banshee,arfbtwn/banshee,GNOME/banshee,dufoli/banshee,lamalex/Banshee,stsundermann/banshee,ixfalia/banshee,GNOME/banshee,Dynalon/banshee-osx,arfbtwn/banshee,babycaseny/banshee,ixfalia/banshee,lamalex/Banshee,dufoli/banshee,mono-soc-2011/banshee,dufoli/banshee,ixfalia/banshee,stsundermann/banshee,Dynalon/banshee-os... | src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/IPlayQueue.cs | src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/IPlayQueue.cs | //
// IPlayQueue.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2008 Novell, Inc.
//
// 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, i... | //
// IPlayQueue.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2008 Novell, Inc.
//
// 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, i... | mit | C# |
5bb0a21d9d683a76a0d611a658e0290c7f6bb9c3 | include 'source_type': The source balance this transfer came from. One of card, bank_account, bitcoin_receiver, or alipay_account (#692) | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Services/Transfers/StripeTransferCreateOptions.cs | src/Stripe.net/Services/Transfers/StripeTransferCreateOptions.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeTransferCreateOptions
{
[JsonProperty("amount")]
public int Amount { get; set; }
[JsonProperty("application_fee")]
public int? ApplicationFee { get; set; }
[Js... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeTransferCreateOptions
{
[JsonProperty("amount")]
public int Amount { get; set; }
[JsonProperty("application_fee")]
public int? ApplicationFee { get; set; }
[Js... | apache-2.0 | C# |
cc59f6f35c4f9162ad7d341726ad4c8eb73dbe83 | make BaseModelGuid abstract | Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Data/PhotoArtSystem.Data.Common/Models/BaseModelGuid.cs | PhotoArtSystem/Data/PhotoArtSystem.Data.Common/Models/BaseModelGuid.cs | namespace PhotoArtSystem.Data.Common.Models
{
using System;
public abstract class BaseModelGuid : BaseModel<Guid>, IBaseModel<Guid>, IAuditInfo, IDeletableEntity
{
public BaseModelGuid()
{
this.Id = Guid.NewGuid();
}
}
}
| namespace PhotoArtSystem.Data.Common.Models
{
using System;
public class BaseModelGuid : BaseModel<Guid>, IBaseModel<Guid>, IAuditInfo, IDeletableEntity
{
public BaseModelGuid()
{
this.Id = Guid.NewGuid();
}
}
}
| mit | C# |
194f41eb0d90a390eb9c376218d44cc1599dfbbc | Add esimate query class. | bigfont/webapi-cors | CORS/Controllers/ValuesController.cs | CORS/Controllers/ValuesController.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | mit | C# |
44007de31c3c77280b6564cf286582a81f3d89ae | Simplify the code that ensures a birthday is in the future. | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes | ConsoleApps/Repack/Repack/Program.cs | ConsoleApps/Repack/Repack/Program.cs | using System;
using Humanizer;
namespace Repack
{
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Usage: repack [date]");
Console.WriteLine("Prints how long it is until your birthday.");
Console.WriteLine("If you don't ... | using System;
using Humanizer;
namespace Repack
{
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Usage: repack [date]");
Console.WriteLine("Prints how long it is until your birthday.");
Console.WriteLine("If you don't ... | mit | C# |
558b6d74a3198756d5f5a1910f37f09802825393 | Check for null before calling Path.Combine on remoteDebug proxy folder. closes #746 | paladique/nodejstools,AustinHull/nodejstools,munyirik/nodejstools,AustinHull/nodejstools,mousetraps/nodejstools,mjbvz/nodejstools,kant2002/nodejstools,mjbvz/nodejstools,avitalb/nodejstools,mousetraps/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,kant2002/nodejstools,mousetraps/nodejstools,avitalb/nodejstoo... | Nodejs/Product/Nodejs/Commands/OpenRemoteDebugProxyFolderCommand.cs | Nodejs/Product/Nodejs/Commands/OpenRemoteDebugProxyFolderCommand.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 in writing,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 in writing,... | apache-2.0 | C# |
205e2a85607d242f182f7ff474b83d82b1805acb | Update demo | sunkaixuan/SqlSugar | Src/Asp.NetCore2/SqlSeverTest/SqliteTest/Demo/Demo5_SqlQueryable.cs | Src/Asp.NetCore2/SqlSeverTest/SqliteTest/Demo/Demo5_SqlQueryable.cs |
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Demo5_SqlQueryable
{
public static void Init()
{
Console.WriteLine("");
Console.WriteLine("#### SqlQuer... |
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Demo5_SqlQueryable
{
public static void Init()
{
Console.WriteLine("");
Console.WriteLine("#### SqlQuer... | apache-2.0 | C# |
e269d2e10bc15e07beb87d2a162617a0ed74eb86 | Update AssemblyInfo.cs | DHancock/Countdown | Countdown/Properties/AssemblyInfo.cs | Countdown/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the info... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the info... | unlicense | C# |
447b962ae6e5152dcbac8bd97b1d800537edb944 | Increase Version | cap9/EEPhysics | EEPhysics/Properties/AssemblyInfo.cs | EEPhysics/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("EEPhysics")]
[assembly: AssemblyDescripti... | 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("EEPhysics")]
[assembly: AssemblyDescripti... | mit | C# |
7e4f29cf7ca2c4284b5f61f485af0a1b23d66347 | Fix assembly autoincrementing. | kylegregory/EmmaSharp,MikeSmithDev/EmmaSharp | EmmaSharp/Properties/AssemblyInfo.cs | EmmaSharp/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("Em... | 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("Em... | mit | C# |
86e42c767916fd740a9ab388b41a68d7b9e81d48 | Improve comments. | weltkante/roslyn,gafter/roslyn,bartdesmet/roslyn,davkean/roslyn,bartdesmet/roslyn,brettfo/roslyn,gafter/roslyn,sharwell/roslyn,agocke/roslyn,sharwell/roslyn,wvdd007/roslyn,ErikSchierboom/roslyn,davkean/roslyn,genlu/roslyn,mavasani/roslyn,mavasani/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,eriawan/roslyn,sharwell... | src/Features/Core/Portable/CodeRefactorings/IRefactoringHelpersService.cs | src/Features/Core/Portable/CodeRefactorings/IRefactoringHelpersService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.Co... | // 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.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.Co... | mit | C# |
744c6e3cfe8a967400aaf17f93c0e86ffdbc3a97 | add more columns to admin summary | vankooch/BrockAllen.MembershipReboot,tomascassidy/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot | BrockAllen.MembershipReboot.Mvc/Areas/Admin/Views/Home/Index.cshtml | BrockAllen.MembershipReboot.Mvc/Areas/Admin/Views/Home/Index.cshtml | @{
ViewBag.Title = "Index";
}
<h2>Accounts</h2>
<table>
<thead>
<tr>
<th>Username</th>
<th>Tenant</th>
<th>Email</th>
<th>Created</th>
<th>Verified</th>
<th>Login Allowed</th>
<th>Account Closed</th>
</tr>
... | @{
ViewBag.Title = "Index";
}
<h2>Accounts</h2>
<table>
<thead>
<tr>
<th>Username</th>
<th>Tenant</th>
<th>Email</th>
<th>Created</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
int id = item.ID;
... | bsd-3-clause | C# |
a1617d27efde531ec2b251cf7c63b8d51167d751 | revert new changes to quartz config related to persistence | linkelf/GridDomain,andreyleskov/GridDomain | GridDomain.Scheduling/Quartz/Configuration/PersistedQuartzConfig.cs | GridDomain.Scheduling/Quartz/Configuration/PersistedQuartzConfig.cs | using System;
using System.Collections.Specialized;
using GridDomain.Scheduling.Quartz.Retry;
namespace GridDomain.Scheduling.Quartz.Configuration
{
public class PersistedQuartzConfig : IQuartzConfig
{
private const string QuartzConnectionStringName = "Quartz";
public string ConnectionString ... | using System;
using System.Collections.Specialized;
using GridDomain.Scheduling.Quartz.Retry;
namespace GridDomain.Scheduling.Quartz.Configuration
{
public class PersistedQuartzConfig : IQuartzConfig
{
private const string QuartzConnectionStringName = "Quartz";
public string ConnectionString ... | apache-2.0 | C# |
e350d2c54f2d4e6bd81d8c93b927c2395349d641 | set save folder of ark as initial folder when selecting save file to import | cadon/ARKStatsExtractor | ARKBreedingStats/settings/ATImportFileLocationDialog.cs | ARKBreedingStats/settings/ATImportFileLocationDialog.cs | using System;
using System.IO;
using System.Windows.Forms;
using ARKBreedingStats.utils;
namespace ARKBreedingStats.settings
{
public partial class ATImportFileLocationDialog : Form
{
public ATImportFileLocation AtImportFileLocation
{
get => new ATImportFileLocation(textBox_Conven... | using System;
using System.IO;
using System.Windows.Forms;
namespace ARKBreedingStats.settings
{
public partial class ATImportFileLocationDialog : Form
{
public ATImportFileLocation AtImportFileLocation
{
get => new ATImportFileLocation(textBox_ConvenientName.Text,
... | mit | C# |
4dcba802e8ec68a9ae5f7f30e3e2bb317c8850b5 | Add new command option "skipDetect" | cloudfoundry/windows_app_lifecycle,cloudfoundry-incubator/windows_app_lifecycle,stefanschneider/windows_app_lifecycle | Builder/Options.cs | Builder/Options.cs | using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Builder
{
public class Options
{
[Option('a', "buildDir", Required = true, HelpText = "")]
public string BuildDir { get; set;... | using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Builder
{
public class Options
{
[Option('a', "buildDir", Required = true, HelpText = "")]
public string BuildDir { get; set;... | apache-2.0 | C# |
31a76e20f1a7cbd0e26ca206cb91796b9919037d | Add note hit clip and tie audio to Time.timeScale | NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare | Assets/Resources/Microgames/RockBand/Scripts/RockBandContoller.cs | Assets/Resources/Microgames/RockBand/Scripts/RockBandContoller.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RockBandContoller : MonoBehaviour
{
public static RockBandContoller instance;
public RockBandNote[] notes;
public Animator kyoani, mystiaAnimator;
public RockBandLight[] lights;
public AudioClip victoryClip, failureClip,... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RockBandContoller : MonoBehaviour
{
public static RockBandContoller instance;
public RockBandNote[] notes;
public Animator kyoani, mystiaAnimator;
public RockBandLight[] lights;
public AudioClip victoryClip, failureClip;... | mit | C# |
5f02daec4e3344553a035418414025e603440322 | Fix explosions with same source, and target pos (#5530) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Explosion/Components/ExplosionLaunchedComponent.cs | Content.Server/Explosion/Components/ExplosionLaunchedComponent.cs | using Content.Server.Throwing;
using Content.Shared.Acts;
using Robust.Shared.GameObjects;
using Robust.Shared.Maths;
namespace Content.Server.Explosion.Components
{
[RegisterComponent]
public class ExplosionLaunchedComponent : Component, IExAct
{
public override string Name => "ExplosionLaunched";... | using Content.Server.Throwing;
using Content.Shared.Acts;
using Robust.Shared.GameObjects;
namespace Content.Server.Explosion.Components
{
[RegisterComponent]
public class ExplosionLaunchedComponent : Component, IExAct
{
public override string Name => "ExplosionLaunched";
void IExAct.OnExp... | mit | C# |
bb41728c8ee5565e25b5284296535f56e2b576a1 | use int instead of uint | timothydonato/PnP,selossej/PnP,PaoloPia/PnP,jlsfernandez/PnP,IDTimlin/PnP,SimonDoy/PnP,SimonDoy/PnP,durayakar/PnP,ebbypeter/PnP,vnathalye/PnP,OfficeDev/PnP,Anil-Lakhagoudar/PnP,MaurizioPz/PnP,andreasblueher/PnP,edrohler/PnP,spdavid/PnP,BartSnyckers/PnP,perolof/PnP,werocool/PnP,brennaman/PnP,afsandeberg/PnP,werocool/PnP... | OfficeDevPnP.Core/OfficeDevPnP.Core/Entities/StructuralNavigationEntity.cs | OfficeDevPnP.Core/OfficeDevPnP.Core/Entities/StructuralNavigationEntity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Entities
{
public class StructuralNavigationEntity
{
public StructuralNavigationEntity()
{
MaxDynamicItems = 20;
ShowSubsites ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Entities
{
public class StructuralNavigationEntity
{
public StructuralNavigationEntity()
{
MaxDynamicItems = 20;
ShowSubsites ... | mit | C# |
3a4d34aa021841f608192e82e6068af72a1272e6 | Update ModelManager.cs | wangyaron/VRProject | TestGit/Assets/ModelManager.cs | TestGit/Assets/ModelManager.cs | using UnityEngine;
using System.Collections;
public class ModelManager : MonoBehaviour
{
private int tag = 5;
private string model_name = "hello";
void Start () {
Debug.Log("git测试");
}
// Update is called once per frame
void Update () {
transform.Rotate(Vector3.up, T... | using UnityEngine;
using System.Collections;
public class ModelManager : MonoBehaviour
{
private int tag = 2;
private string model_name = "hello";
void Start () {
Debug.Log("git测试");
}
// Update is called once per frame
void Update () {
transform.Rotate(Vector3.up, T... | apache-2.0 | C# |
539b2acbe3319ef19576bf754b3e01e9acb809ff | Fix NRE on app start | hongnguyenpro/monotouch-samples,kingyond/monotouch-samples,hongnguyenpro/monotouch-samples,davidrynn/monotouch-samples,hongnguyenpro/monotouch-samples,peteryule/monotouch-samples,sakthivelnagarajan/monotouch-samples,sakthivelnagarajan/monotouch-samples,davidrynn/monotouch-samples,labdogg1003/monotouch-samples,hongnguye... | CollectionViewTransition/CollectionViewTransition/APLStackLayout.cs | CollectionViewTransition/CollectionViewTransition/APLStackLayout.cs | using System;
using System.Collections.Generic;
using CoreGraphics;
using CoreGraphics;
using Foundation;
using UIKit;
namespace CollectionViewTransition {
public class APLStackLayout : UICollectionViewLayout {
const int stackCount = 5;
List<float> angles;
List<UICollectionViewLayoutAttributes> attributesArra... | using System;
using System.Collections.Generic;
using CoreGraphics;
using CoreGraphics;
using Foundation;
using UIKit;
namespace CollectionViewTransition {
public class APLStackLayout : UICollectionViewLayout {
const int stackCount = 5;
List<float> angles;
List<UICollectionViewLayoutAttributes> attributesArra... | mit | C# |
dd53aa50bc0fa38839cbc0471bc8a6debe399013 | Add a method to get the assignments from a particular literal when it's used as a predicate | Logicalshift/Reason | LogicalShift.Reason/Solvers/SimpleSingleClauseSolver.cs | LogicalShift.Reason/Solvers/SimpleSingleClauseSolver.cs | using LogicalShift.Reason.Api;
using LogicalShift.Reason.Assignment;
using LogicalShift.Reason.Literals;
using LogicalShift.Reason.Unification;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// Represents ... | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// Represents a solver that can solve a single clause
/// </summary>
public class SimpleSingleClauseSolver : ISolver
... | apache-2.0 | C# |
805c01ba52f27f5baab660c79d8104ee5d94f14a | Add base.Update call to Asteroid | iridinite/shiftdrive | Client/Asteroid.cs | Client/Asteroid.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
public Asteroid() {
type =... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
public Asteroid() {
type =... | bsd-3-clause | C# |
9a2374c81ce420c5dc8cce88d0c807d3dee4c9ff | Correct data extraction validator | SlicingDice/slicingdice-dot-net | Slicer/Utils/Validators/DataExtractionQueryValidator.cs | Slicer/Utils/Validators/DataExtractionQueryValidator.cs | using Slicer.Utils.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slicer.Utils.Validators
{
// Validates data extraction queries
public class DataExtractionQueryValidator
{
Dictionary<string, dynamic> Query;... | using Slicer.Utils.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Slicer.Utils.Validators
{
// Validates data extraction queries
public class DataExtractionQueryValidator
{
Dictionary<string, dynamic> Query;... | mit | C# |
c7a288eae65d61f4ddeb6f92a50ef79541764d37 | Add flag to enable/disable launching of IB each test | AnshulYADAV007/Lean,young-zhang/Lean,squideyes/Lean,Mendelone/forex_trading,AlexCatarino/Lean,young-zhang/Lean,Phoenix1271/Lean,mabeale/Lean,AlexCatarino/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,bizcad/Lean,AnshulYADAV007/Lean,bizcad/LeanJJN,andrewhart098/Lean,JKarathiya/Lean,devalkeralia/Lean,FrancisGauthier/Lean,bizc... | Tests/Brokerages/InteractiveBrokers/InteractiveBrokersOrderTests.cs | Tests/Brokerages/InteractiveBrokers/InteractiveBrokersOrderTests.cs | using System;
using System.Threading;
using NUnit.Framework;
using QuantConnect.Brokerages.InteractiveBrokers;
using QuantConnect.Configuration;
using QuantConnect.Interfaces;
using QuantConnect.Orders;
using QuantConnect.Securities;
namespace QuantConnect.Tests.Brokerages.InteractiveBrokers
{
[TestFixture, Ignor... | using System;
using NUnit.Framework;
using QuantConnect.Brokerages.InteractiveBrokers;
using QuantConnect.Configuration;
using QuantConnect.Interfaces;
using QuantConnect.Securities;
namespace QuantConnect.Tests.Brokerages.InteractiveBrokers
{
[TestFixture, Ignore("These tests require the IBController and IB Trad... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.