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 |
|---|---|---|---|---|---|---|---|---|
15b3f2dc1550f9988bf34bbe23e602d0b983eabb | Update Error.cshtml | SyntaxError2015/evoART,SyntaxError2015/evoART | evoART/Views/Shared/Error.cshtml | evoART/Views/Shared/Error.cshtml | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Error</title>
</head>
<body>
<hgroup>
<h1>Error.</h1>
<h2>An error occurred while processing your request.</h2>
</hgroup>
</body>
</html>
| @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Error</title>
</head>
<body>
<hgroup>
<h1>Error.</h1>
<h2>An error occurred while processing your request.CEAVSFAVASVSAVVAS</h2>
</hgroup>
</body>
</html>
| mit | C# |
81b8a9afbe1108b9f628399b66db6d0903687b02 | Remove unnecessary factory resetting | pveller/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb.Tests/Data/Items/ItemHelperTest.cs | src/Sitecore.FakeDb.Tests/Data/Items/ItemHelperTest.cs | namespace Sitecore.FakeDb.Tests.Data.Items
{
using FluentAssertions;
using Sitecore.Data;
using Sitecore.FakeDb.Data.Items;
using Sitecore.Globalization;
using Xunit;
public class ItemHelperTest
{
private const string Name = "home";
[Fact]
public void ShouldSimpleCreateItem()
{
//... | namespace Sitecore.FakeDb.Tests.Data.Items
{
using System;
using FluentAssertions;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.FakeDb.Data.Items;
using Sitecore.Globalization;
using Xunit;
public class ItemHelperTest : IDisposable
{
private const string Name = "home";
... | mit | C# |
8c9c9f3d2b5d9471f2815c0ab0db32a1617d5614 | Fix Repository's `createGitHubDeployments` not being returned in API responses | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Models/RepositorySettings.cs | src/Tgstation.Server.Host/Models/RepositorySettings.cs | using System.ComponentModel.DataAnnotations;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class RepositorySettings : Api.Models.Internal.RepositorySettings
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summa... | using System.ComponentModel.DataAnnotations;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class RepositorySettings : Api.Models.Internal.RepositorySettings
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summ... | agpl-3.0 | C# |
0c58aa0bdba17daa95f132e962421fdb8a03bcd0 | Update UpdateTaskInput.cs | fanpan26/aspnetboilerplate-samples,LeonSutedja/aspnetboilerplate-samples,s-takatsu/aspnetboilerplate-samples,chenkaibin/aspnetboilerplate-samples,chenkaibin/aspnetboilerplate-samples,bikaqiou2000/aspnetboilerplate-samples,luchaoshuai/aspnetboilerplate-samples,fanpan26/aspnetboilerplate-samples,liujunhua/aspnetboilerpla... | SimpleTaskSystem/SimpleTaskSystem.Application/Tasks/Dtos/UpdateTaskInput.cs | SimpleTaskSystem/SimpleTaskSystem.Application/Tasks/Dtos/UpdateTaskInput.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using Abp.Runtime.Validation;
namespace SimpleTaskSystem.Tasks.Dtos
{
/// <summary>
/// This DTO class is used to send needed data to <see cref="ITaskAppService.UpdateTask"/> method.
///
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using Abp.Runtime.Validation;
namespace SimpleTaskSystem.Tasks.Dtos
{
/// <summary>
/// This DTO class is used to send needed data to <see cref="ITaskAppService.UpdateTask"/> method.
///
... | mit | C# |
ca3b0fc93877f4cbef8f12568038bbd7f3b41717 | Remove workaround for line marker renderer | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/Highlightings/PerformanceCriticalCodeLineMarker.cs | resharper/resharper-unity/src/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/Highlightings/PerformanceCriticalCodeLineMarker.cs | using JetBrains.Application.UI.Controls.BulbMenu.Items;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.TextControl.DocumentMarkup;
using JetBrains.TextControl.DocumentMarkup.LineMarkers;
namespace JetBrains.ReSharper.Plugins.Unity... | using JetBrains.Application.UI.Controls.BulbMenu.Items;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.TextControl.DocumentMarkup;
using JetBrains.TextControl.DocumentMarkup.LineMarkers;
namespace JetBrains.ReSharper.Plugins.Unity... | apache-2.0 | C# |
02d6ac511e88200f31d7e00074a9128e4eb36879 | Remove whitespace | stevenhillcox/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-applicatio... | VotingApplication/VotingApplication.Web/Views/Routes/AddChoiceDialog.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/AddChoiceDialog.cshtml | <div class="dialog-box-small dialog-content centered">
<form name="addChoiceForm">
<h2>New Choice</h2>
<div class="form-section-block centered">
<label for="name">Name</label>
<input autofocus class="form-input" id="name" ng-model="addChoiceForm.name" focus required/>
... |
<div class="dialog-box-small dialog-content centered">
<form name="addChoiceForm">
<h2>New Choice</h2>
<div class="form-section-block centered">
<label for="name">Name</label>
<input autofocus class="form-input" id="name" ng-model="addChoiceForm.name" focus required>
... | apache-2.0 | C# |
bcaedf62c1fe2d64fa1a6f59e702274691564a25 | build 7.1.20.0 | agileharbor/channelAdvisorAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | bsd-3-clause | C# |
5a630cbb87935e96ce88b9aff98a54794179934a | Update OData assembly versions to 5.3.1.0 | congysu/WebApi,LianwMS/WebApi,yonglehou/WebApi,lungisam/WebApi,congysu/WebApi,lewischeng-ms/WebApi,chimpinano/WebApi,LianwMS/WebApi,chimpinano/WebApi,abkmr/WebApi,scz2011/WebApi,lungisam/WebApi,abkmr/WebApi,scz2011/WebApi,yonglehou/WebApi,lewischeng-ms/WebApi | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. 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("Microsoft Open Technologie... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. 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("Microsoft Open Technologie... | mit | C# |
5cbf265411db570983a0841ee2f7ba3a9ea98c99 | Enhance BaseTest | sickboy/JConverter | src/JConverter.Tests/BaseTest.cs | src/JConverter.Tests/BaseTest.cs | using System;
using NUnit.Framework;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoFakeItEasy;
namespace JConverter.Tests
{
[TestFixture]
public abstract class BaseTest
{
protected Fixture Fixture { get; } = new Fixture();
protected Action ExceptionTest { get; set; }
protec... | using NUnit.Framework;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoFakeItEasy;
namespace JConverter.Tests
{
[TestFixture]
public abstract class BaseTest
{
protected Fixture Fixture { get; } = new Fixture();
protected BaseTest()
{
Fixture.Customize(new AutoFake... | mit | C# |
0316032c552fcedac47dfc568deff56945597858 | 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# |
ed61f618202c091e8358ae52ae499d6f3ee7aaed | Stop bird animation on drop down | L4fter/CrocoDie | Assets/Birdy.cs | Assets/Birdy.cs | using UnityEngine;
using System.Collections;
public class Birdy : MonoBehaviour
{
public bool IsAlive;
public float DropDeadTime = 0.5f;
public MoveForward Mover;
public ScriptSwitch FlyToFallSwitch;
public FallDown FallDown;
public MonoBehaviour[] Feeders;
// Use this for initialization
void Start ()
... | using UnityEngine;
using System.Collections;
public class Birdy : MonoBehaviour
{
public bool IsAlive;
public float DropDeadTime = 0.5f;
public MoveForward Mover;
public ScriptSwitch FlyToFallSwitch;
public FallDown FallDown;
public MonoBehaviour[] Feeders;
// Use this for initialization
void Start ()
... | mit | C# |
efafcad90920c0e66e9fe20e6dc4106e3e184ed0 | Remove using v2's property | sakapon/Tutorials-2016 | Leap-v1/LeapTutorials/AirCanvasLeap/AppModel.cs | Leap-v1/LeapTutorials/AirCanvasLeap/AppModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using Monsoon.Reactive.Leap;
namespace AirCanvasLeap
{
public class AppModel
{
const double ScreenWidth = 1920.0;
const double ScreenHeight = 1080.0;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using Monsoon.Reactive.Leap;
namespace AirCanvasLeap
{
public class AppModel
{
const double ScreenWidth = 1920.0;
const double ScreenHeight = 1080.0;
... | mit | C# |
47066ade71deb43f6cc60af1579cd3e7692f4b3d | Add NotNull to SpeechManager | asarium/FSOLauncher | Libraries/FSOManagement/Speech/SpeechManager.cs | Libraries/FSOManagement/Speech/SpeechManager.cs | using System;
using FSOManagement.Annotations;
using FSOManagement.Implementations;
using FSOManagement.Interfaces;
namespace FSOManagement.Speech
{
public class SpeechManager
{
private static ISpeechHandler _speechHandler;
[NotNull]
public static ISpeechHandler SpeechHandler
... | using System;
using FSOManagement.Implementations;
using FSOManagement.Interfaces;
namespace FSOManagement.Speech
{
public class SpeechManager
{
private static ISpeechHandler _speechHandler;
public static ISpeechHandler SpeechHandler
{
get
{
if ... | mit | C# |
31516a4f7fd55194259514d8be72f7dbba574f67 | Update DotNetXmlSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/DotNetXmlSerializer.cs | TIKSN.Core/Serialization/DotNetXmlSerializer.cs | using System.IO;
using System.Xml.Serialization;
namespace TIKSN.Serialization
{
public class DotNetXmlSerializer : SerializerBase<string>
{
protected override string SerializeInternal(object obj)
{
var serializer = new XmlSerializer(obj.GetType());
var writer = new Stri... | using System.IO;
using System.Xml.Serialization;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization
{
public class DotNetXmlSerializer : SerializerBase<string>
{
public DotNetXmlSerializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
}
protec... | mit | C# |
fb5f45cd83fef1ba3d878fe5304f051e098b6932 | Support EnabledConnections in OrganizationCreateRequest (#585) | auth0/auth0.net,auth0/auth0.net | src/Auth0.ManagementApi/Models/OrganizationCreateRequest.cs | src/Auth0.ManagementApi/Models/OrganizationCreateRequest.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Requests structure for creating a new organization.
/// </summary>
public class OrganizationCreateRequest : Orga... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Requests structure for creating a new organization.
/// </summary>
public class OrganizationCreateRequest : Orga... | mit | C# |
dc746a877bd8f846696fe428077e96de6cecf802 | Add IReadonlyDataContext | HighwayFramework/Highway.Data,ericburcham/Highway.Data | src/Highway.Data/Interfaces/IReadonlyDataContext.cs | src/Highway.Data/Interfaces/IReadonlyDataContext.cs | using System;
using System.Linq;
namespace Highway.Data
{
/// <summary>
/// Contract for a readonly Data Context
/// </summary>
public interface IReadonlyDataContext : IDisposable
{
/// <summary>
/// This gives a mock-able wrapper around normal Set method that allows for te... | using System;
using System.Linq;
namespace Highway.Data
{
public interface IReadonlyDataContext : IDisposable
{
/// <summary>
/// This gives a mock-able wrapper around normal Set method that allows for testability
/// </summary>
/// <typeparam name="T">The Entity being quer... | mit | C# |
3bf869ab38557cddc4a50840654c0aef91aa83e7 | Remove Flags attribute from AggregationTemporality (#3157) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | src/OpenTelemetry/Metrics/AggregationTemporality.cs | src/OpenTelemetry/Metrics/AggregationTemporality.cs | // <copyright file="AggregationTemporality.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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 file="AggregationTemporality.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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# |
121d75fc76014ec4ba0c7f67b3158c221694bd56 | Write BrightstarDB log output if a log file is specified | BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB | src/core/BrightstarDB.ReadWriteBenchmark/Program.cs | src/core/BrightstarDB.ReadWriteBenchmark/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrightstarDB.ReadWriteBenchmark
{
internal class Program
{
public static TraceListener BrightstarListener;
private static voi... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrightstarDB.ReadWriteBenchmark
{
internal class Program
{
private static void Main(string[] args)
{
var opts = n... | mit | C# |
a3928f715cd19c44808639f0cfb6a79993a7dabb | Revert to method LINQ syntax. | structuremap/structuremap.dnx,structuremap/StructureMap.Microsoft.DependencyInjection,khellang/StructureMap.Dnx | src/StructureMap.Microsoft.DependencyInjection/AspNetConstructorSelector.cs | src/StructureMap.Microsoft.DependencyInjection/AspNetConstructorSelector.cs | using System;
using System.Linq;
using System.Reflection;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace StructureMap
{
internal class AspNetConstructorSelector : IConstructorSelector
{
// ASP.NET expects registered services to be considered when selecting a ctor, SM doesn't by defaul... | using System;
using System.Linq;
using System.Reflection;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace StructureMap
{
internal class AspNetConstructorSelector : IConstructorSelector
{
// ASP.NET expects registered services to be considered when selecting a ctor, SM doesn't by defaul... | mit | C# |
965b1f5f78c92380b60c088c8fc45dcbaa77be4f | fix ajax method for first time to call web api get methods | Behzadkhosravifar/SaleOnlineReporter,Behzadkhosravifar/SaleOnlineReporter | src/WebSaleDistribute/WebSaleDistribute/Controllers/ReportsApiController.cs | src/WebSaleDistribute/WebSaleDistribute/Controllers/ReportsApiController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Dapper;
using System.Globalization;
using WebSaleDistribute.Core;
namespace WebSaleDistribute.Controllers
{
public class ReportsApiController : Api... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Dapper;
using System.Globalization;
using WebSaleDistribute.Core;
namespace WebSaleDistribute.Controllers
{
public class ReportsApiController : Api... | apache-2.0 | C# |
1e88b8d561888a3a6e2954562476df9972780b27 | Fix Aesop layout (#1846) | GProulx/allReady,binaryjanitor/allReady,HamidMosalla/allReady,bcbeatty/allReady,stevejgordon/allReady,dpaquette/allReady,gitChuckD/allReady,HTBox/allReady,HamidMosalla/allReady,dpaquette/allReady,stevejgordon/allReady,arst/allReady,anobleperson/allReady,MisterJames/allReady,stevejgordon/allReady,bcbeatty/allReady,bcbea... | AllReadyApp/Web-App/AllReady/Views/Home/Aesop.cshtml | AllReadyApp/Web-App/AllReady/Views/Home/Aesop.cshtml | @{
ViewData["Title"] = "Story";
}
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<h1>A Story by Aesop</h1>
<div style="background-color: #d58033;">
<img src="~/images/Web-Logo.png" alt="Logo image for the project" class="img-responsive center-block" />
... | @{
ViewData["Title"] = "Story";
}
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<h1>A Story by Aesop</h1>
<div class="logo-background">
<img src="~/images/Web-Logo.png" alt="Logo image for the project" class="img-responsive center-block" />
</div>
... | mit | C# |
c0bb6c8192f97b6246b95822f991655dfaddc195 | Include URI | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Cont... | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Cont... | mit | C# |
f8d1d662132d7f3d90910da95be466bc6dc1a42c | Fix seat sum | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/VehicleListViewModel.cs | Battery-Commander.Web/Models/VehicleListViewModel.cs | using Microsoft.AspNetCore.Mvc.Rendering;
using System.Collections.Generic;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class VehicleListViewModel
{
public IEnumerable<SelectListItem> Soldiers { get; set; } = Enumerable.Empty<SelectListItem>();
public IEnumerable<Vehicle... | using Microsoft.AspNetCore.Mvc.Rendering;
using System.Collections.Generic;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class VehicleListViewModel
{
public IEnumerable<SelectListItem> Soldiers { get; set; } = Enumerable.Empty<SelectListItem>();
public IEnumerable<Vehicle... | mit | C# |
8bfccab6c451770fadb276873277bc5a40b5a5d6 | build 0.0.7 | rachmann/qboAccess,rachmann/qboAccess,rachmann/qboAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | bsd-3-clause | C# |
760caf86ce9145772e60dfe94eea02e270215664 | Bump version | SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jazzay/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Av... | src/Shared/SharedAssemblyInfo.cs | src/Shared/SharedAssemblyInfo.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyright("Copy... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyright("Copy... | mit | C# |
3f7cf1cf6e376366d3cc438b1d119d23d041f697 | Remove logging | CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos | source/Cosmos.Core_Asm/ArrayImpl.cs | source/Cosmos.Core_Asm/ArrayImpl.cs | #define COSMOSDEBUG
using System;
using Cosmos.Debug.Kernel;
using IL2CPU.API.Attribs;
namespace Cosmos.Core_Asm
{
[Plug(Target = typeof(Array))]
public class ArrayImpl
{
[PlugMethod(Assembler = typeof(ArrayGetLengthAsm))]
public static int get_Length(Array aThis)
{
thro... | #define COSMOSDEBUG
using System;
using Cosmos.Debug.Kernel;
using IL2CPU.API.Attribs;
namespace Cosmos.Core_Asm
{
[Plug(Target = typeof(Array))]
public class ArrayImpl
{
[PlugMethod(Assembler = typeof(ArrayGetLengthAsm))]
public static int get_Length(Array aThis)
{
thro... | bsd-3-clause | C# |
f2b1ddd1cfab0ebd4e74e664f4901c3b82ea2d1e | Fix formatting TimeSpan.Zero | CruelCow/Twitch2Steam | Twitch2Steam/TimeSpanHelper.cs | Twitch2Steam/TimeSpanHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Twitch2Steam
{
public static class TimeSpanHelper
{
//http://stackoverflow.com/questions/842057/how-do-i-convert-a-timespan-to-a-formatted-string
public static string ToReadableString( this TimeSpan... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Twitch2Steam
{
public static class TimeSpanHelper
{
//http://stackoverflow.com/questions/842057/how-do-i-convert-a-timespan-to-a-formatted-string
public static string ToReadableString( this TimeSpan... | agpl-3.0 | C# |
e8d5750e9d4c6974745602332b0722321f948de0 | Disable ReSharper warning | whitestone-no/Cambion | src/Cambion/Types/MessageWrapper.cs | src/Cambion/Types/MessageWrapper.cs | using System;
// ReSharper disable NonReadonlyMemberInGetHashCode
// because ReSharper is a bit over eager
namespace Whitestone.Cambion.Types
{
public class MessageWrapper
{
public object Data { get; set; }
public Type DataType { get; set; }
public Type ResponseType { get; set; }
... | using System;
namespace Whitestone.Cambion.Types
{
public class MessageWrapper
{
public object Data { get; set; }
public Type DataType { get; set; }
public Type ResponseType { get; set; }
public MessageType MessageType { get; set; }
public Guid CorrelationId { get; set;... | mit | C# |
15a960dcfe8da6e8b14cc1fd8647f453ca21fe69 | Use scriptureforge database to get project data | ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge | src/LfMerge/LanguageDepotProject.cs | src/LfMerge/LanguageDepotProject.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Core.Clusters;
namespace LfMerge
{
public class LanguageDepotProject
{
public LanguageDepo... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Core.Clusters;
namespace LfMerge
{
public class LanguageDepotProject
{
public LanguageDepo... | mit | C# |
2840b8cef12cca852b566fbd853b1dbd6e1e90ce | Fix incorrect variable name after last rebase | sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge | src/LfMerge/LanguageForgeProject.cs | src/LfMerge/LanguageForgeProject.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using LfMerge.FieldWorks;
namespace LfMerge
{
public class LanguageForgeProject: ILfProject
{
private static Dictionary<string, LanguageFo... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using LfMerge.FieldWorks;
namespace LfMerge
{
public class LanguageForgeProject: ILfProject
{
private static Dictionary<string, LanguageFo... | mit | C# |
f48d0e98377eb78e4decc06770bcd21ef9cd83a8 | Add metric retrieval via HTTP to tester | qed-/prometheus-net,andrasm/prometheus-net,ceepeeuk/prometheus-net | tester/Program.cs | tester/Program.cs | using System;
using System.IO;
using System.Net;
using System.Reactive.Linq;
using Prometheus;
namespace tester
{
class Program
{
static void Main(string[] args)
{
var metricServer = new MetricServer(hostname:"localhost", port: 1234);
metricServer.Start();
... | using System;
using System.Reactive.Linq;
using Prometheus;
namespace tester
{
class Program
{
static void Main(string[] args)
{
var metricServer = new MetricServer(hostname:"localhost", port: 1234);
metricServer.Start();
var counter = Metrics.CreateCounter... | mit | C# |
f12f210261081975e6a8cc54ecd3f673b999d795 | make it run again without segfaulting | wfarr/newskit,wfarr/newskit | src/Summa/Summa.Core/Application.cs | src/Summa/Summa.Core/Application.cs | /* Application.cs
*
* Copyright (C) 2008 Ethan Osten
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
... | /* Application.cs
*
* Copyright (C) 2008 Ethan Osten
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
... | mit | C# |
bafcc55ab97245bcba228ff9237d938026a645a8 | make HttpHanlder public | ITGlobal/cloudpayments-cash | CloudPayments.Cash/HttpHandler.cs | CloudPayments.Cash/HttpHandler.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace CloudPayments.Cash
{
public class HttpHandler : IHttpHandler
{
private readonly HttpClient _client;
private... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace CloudPayments.Cash
{
internal class HttpHandler : IHttpHandler
{
private readonly HttpClient _client;
priva... | mit | C# |
9e988f15444c26da635a7c219de9c388a1bac108 | Configure test controller | richlander/test-repo | foo/Controllers/TestController.cs | foo/Controllers/TestController.cs | using Microsoft.AspNet.Mvc;
using System.Collections.Generic;
namespace MvcSample.Web
{
[Route("api/[controller]")]
public class TestController : Controller
{
[HttpGet]
public IEnumerable<string> GetAll()
{
return new string[] {"1", "two", "III"};
}
}
} | using Microsoft.AspNet.Mvc;
using System.Collections.Generic;
namespace MvcSample.Web
{
public class HomeController : Controller
{
[HttpGet]
public IEnumerable<string> GetAll()
{
return new string[] {"1", "two", "III"};
}
}
} | mit | C# |
169b7826bfb91ab4b2c80e49fc6c8c4859441b37 | Improve packet sender seralize codes | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/LiteNetLibPacketSender.cs | Scripts/LiteNetLibPacketSender.cs | using LiteNetLib;
using LiteNetLib.Utils;
using LiteNetLibManager;
public static class LiteNetLibPacketSender
{
public static readonly NetDataWriter Writer = new NetDataWriter();
public static void SendPacket(NetDataWriter writer, SendOptions options, NetPeer peer, short msgType, System.Action<NetDataWriter>... | using LiteNetLib;
using LiteNetLib.Utils;
using LiteNetLibManager;
public static class LiteNetLibPacketSender
{
public static readonly NetDataWriter Writer = new NetDataWriter();
public static void SendPacket(NetDataWriter writer, SendOptions options, NetPeer peer, short msgType, System.Action<NetDataWriter>... | mit | C# |
03bd613af18f9b3aac24c44e17153383420d073a | Remove stray console.log | Zyrio/ictus,Zyrio/ictus | src/Yio/Views/Home/Comment.cshtml | src/Yio/Views/Home/Comment.cshtml | <html>
<head>
<title>Comments</title>
</head>
<body>
<div id="disqus_thread"></div>
<script>
var pageUrl;
var fileId = document.location.pathname.split('/')[2];
document.title = fileId;
if(!document.location.port) {
pageUrl = document.location.protocol + "//" + docu... | <html>
<head>
<title>Comments</title>
</head>
<body>
<div id="disqus_thread"></div>
<script>
var pageUrl;
var fileId = document.location.pathname.split('/')[2];
document.title = fileId;
if(!document.location.port) {
pageUrl = document.location.protocol + "//" + docu... | mit | C# |
c99e6e34471c13d93171a42aa1b8d55e67b6a0ce | update formatting | designsbyjuan/UnityLib | MusicManager.cs | MusicManager.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class MusicManager : MonoBehaviour {
private AudioSource audioSource;
public AudioClip[] levelMusicArray;
void Awake()
{
DontDestroyOnLoad(gameObject);
}
// Use this for initialization
void Start () {
audioSource = GetC... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class MusicManager : MonoBehaviour {
private AudioSource audioSource;
public AudioClip[] levelMusicArray;
void Awake()
{
DontDestroyOnLoad(gameObject);
}
// Use this for initialization
void Start () {
audioSource = GetC... | mit | C# |
60ef1ab0a21b28085667d00039b76eb96bda3afb | Add version command | anass-b/NuSave | NuSave/Program.cs | NuSave/Program.cs | using Microsoft.Extensions.CommandLineUtils;
using NuSave.Core;
using System;
namespace NuSave.CLI
{
class Program
{
const string Version = "1.0.0-preview.1";
static void Main(string[] args)
{
CommandLineApplication app = new CommandLineApplication();
var pack... | using Microsoft.Extensions.CommandLineUtils;
using NuSave.Core;
namespace NuSave.CLI
{
class Program
{
static void Main(string[] args)
{
CommandLineApplication app = new CommandLineApplication();
var packageId = app.Option("-id", "Package ID", CommandOptionType.SingleV... | mit | C# |
de6d6c29e7c5c30a311426006ec16963ad4e63ba | Update Debug.cs | kerzyte/OWLib,overtools/OWLib | OverTool/Debug.cs | OverTool/Debug.cs | using System;
using System.Collections.Generic;
using System.IO;
using CASCExplorer;
using OWLib;
using OWLib.Types.STUD;
namespace OverTool {
public class Debug : IOvertool {
public string Help => "No additional arguments";
public uint MinimumArgs => 0;
public char Opt => '~';
pub... | using System;
using System.Collections.Generic;
using System.IO;
using CASCExplorer;
using OWLib;
using OWLib.Types.STUD;
namespace OverTool {
public class Debug : IOvertool {
public string Help => "No additional arguments";
public uint MinimumArgs => 0;
public char Opt => '~';
pub... | mit | C# |
771fd8aa02a8c96b07f3c11b22bf927d62a29672 | clear luabinder | tenvick/hugular_cstolua,tenvick/hugular_cstolua,tenvick/hugular_cstolua,tenvick/hugular_cstolua,tenvick/hugular_cstolua,tenvick/hugular_cstolua,tenvick/hugular_cstolua | Client/Assets/Source/Base/LuaBinder.cs | Client/Assets/Source/Base/LuaBinder.cs | using System;
public static class LuaBinder
{
public static void Bind(IntPtr L)
{
}
}
| using System;
public static class LuaBinder
{
public static void Bind(IntPtr L)
{
ActivateMonosWrap.Register(L);
AnimationBlendModeWrap.Register(L);
AnimationClipWrap.Register(L);
AnimationStateWrap.Register(L);
AnimationWrap.Register(L);
ApplicationWrap.Register(L);
AssetBundleWrap.Regist... | mit | C# |
3187737cbbde754f37979c884b3cdfcc34d9c743 | Remove XmlFormatter | minato128/Horesase-Web-API,minato128/Horesase-Web-API | Horesase.Web/App_Start/WebApiConfig.cs | Horesase.Web/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace Horesase.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.Formatters.Remove(config.Formatters.XmlFormatter);
config... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace Horesase.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API の設定およびサービス
// Web API ルート
config.MapHttp... | mit | C# |
36e480d9aa571b0fb548a23cd2cd8d44277bfbad | Make the sandbox example even more complex | joelverhagen/SocketToMe | Knapcode.SocketToMe.Sandbox/Program.cs | Knapcode.SocketToMe.Sandbox/Program.cs | using System;
using System.Net;
using System.Net.Http;
using Knapcode.SocketToMe.Http;
using Knapcode.SocketToMe.Socks;
namespace Knapcode.SocketToMe.Sandbox
{
public class Program
{
private static void Main()
{
var endpoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9150);
... | using System;
using System.Net;
using System.Net.Http;
using Knapcode.SocketToMe.Http;
using Knapcode.SocketToMe.Socks;
namespace Knapcode.SocketToMe.Sandbox
{
public class Program
{
private static void Main()
{
var endpoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9150);
... | mit | C# |
1147aee96a71b779e70a9fc4ec97f8bb03e0fcaf | test Struct marked as internal. | impworks/lens | Lens.Test/TestClassHierarchy/Struct.cs | Lens.Test/TestClassHierarchy/Struct.cs | namespace Lens.Test.TestClassHierarchy
{
internal struct Struct
{
}
}
| namespace Lens.Test.TestClassHierarchy
{
struct Struct
{
}
}
| mit | C# |
3c06979880b4eb6d2a6895097411e9a7b77c936f | Create a non-generic interface for aggregate roots | liemqv/EventFlow,AntoineGa/EventFlow,rasmus/EventFlow | Source/EventFlow/Aggregates/IAggregateRoot.cs | Source/EventFlow/Aggregates/IAggregateRoot.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | mit | C# |
10dd13c298472b2e21603e35ee691861db441864 | Update AppCenterEventTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Framework.SharedMobile/Analytics/Telemetry/AppCenterEventTelemeter.cs | TIKSN.Framework.SharedMobile/Analytics/Telemetry/AppCenterEventTelemeter.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using AppCenterAnalytics = Microsoft.AppCenter.Analytics.Analytics;
namespace TIKSN.Analytics.Telemetry
{
public class AppCenterEventTelemeter : IEventTelemeter
{
public Task TrackEventAsync(string name)
{
return TrackE... | using System.Collections.Generic;
using System.Threading.Tasks;
using AppCenterAnalytics = Microsoft.AppCenter.Analytics.Analytics;
namespace TIKSN.Analytics.Telemetry
{
public class AppCenterEventTelemeter : IEventTelemeter
{
public Task TrackEvent(string name)
{
return TrackEvent(... | mit | C# |
59e9d7e9fc9db87c13dff696f2759d13692b430e | Change middle and right mosue button. | V10lator/Ultimate-Cam | FpsMouse.cs | FpsMouse.cs | using UnityEngine;
namespace UltimateCam
{
internal class FpsMouse : MonoBehaviour
{
internal enum MOUSEBUTTON
{
LEFT = 0,
MIDDLE = 2,
RIGHT = 1
}
private const float _sensitivity = 10.0F;
private const float _yRad = 180.0f;
private const float _xRad = 222.22f;
private float yaw = 0.0f;
p... | using UnityEngine;
namespace UltimateCam
{
internal class FpsMouse : MonoBehaviour
{
internal enum MOUSEBUTTON
{
LEFT = 0,
MIDDLE = 1,
RIGHT = 2
}
private const float _sensitivity = 10.0F;
private const float _yRad = 180.0f;
private const float _xRad = 222.22f;
private float yaw = 0.0f;
p... | mit | C# |
57f2556a1b7abd3b7d67ac282c6d86eceee3a42e | Add SerializeTest | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Test/ReactiveProperty.Tests/Helpers/SerializeHelperTest.cs | Test/ReactiveProperty.Tests/Helpers/SerializeHelperTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reactive.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Codeplex.Reactive;
using Codeplex.Reactive.Helpers;
using System.Runtime.Serialization;
using System.IO;
using System.Xml.Serialization;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Codeplex.Reactive;
using Codeplex.Reactive.Helpers;
using System.Runtime.Serialization;
namespace ReactiveProperty.Tests.Serialization
{
[TestClass]
publi... | mit | C# |
2c4cf384bf064527a4a07a8ed325755a07eb6dcb | Remove check | stofte/ream-query | tools/ReamQuery.RefDumper/Helper.cs | tools/ReamQuery.RefDumper/Helper.cs | namespace ReamQuery.RefDumper
{
using System;
using System.IO;
using System.Reflection;
public static class Helper
{
public static string ApplicationPath
{
get { return new Uri(Assembly.GetEntryAssembly().CodeBase).LocalPath; }
}
public static string Pr... | namespace ReamQuery.RefDumper
{
using System;
using System.IO;
using System.Reflection;
public static class Helper
{
public static string ApplicationPath
{
get { return new Uri(Assembly.GetEntryAssembly().CodeBase).LocalPath; }
}
public static string Pr... | mit | C# |
bc603108ef7d01d78d5d8ba90584d73a9bf0a169 | Fix IsActive default when hand preference not explicitly set. | AlexBream/WindowsStateTriggers,dinhchitrung/WindowsStateTriggers,ScottIsAFool/WindowsStateTriggers,onovotny/WindowsStateTriggers,dotMorten/WindowsStateTriggers,Viachaslau-Zinkevich/WindowsStateTriggers,karl-barkmann/WindowsStateTriggers | src/WindowsStateTriggers/UserHandPreferenceStateTrigger.cs | src/WindowsStateTriggers/UserHandPreferenceStateTrigger.cs | // Copyright (c) Morten Nielsen. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Windows.Foundation.Metadata;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
namespace WindowsStateTriggers
{
/// <summary>
/// Trig... | // Copyright (c) Morten Nielsen. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Windows.Foundation.Metadata;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
namespace WindowsStateTriggers
{
/// <summary>
/// Trig... | mit | C# |
e21c61152b8d57471121f0faaaa585d23238c835 | Add event method to TraceLogging test. | brianrob/coretests,brianrob/coretests | managed/tracelogging/Program.cs | managed/tracelogging/Program.cs | using System;
using System.Diagnostics.Tracing;
namespace tracelogging
{
public sealed class MySource : EventSource
{
MySource()
: base(EventSourceSettings.EtwSelfDescribingEventFormat)
{
}
[Event(1)]
public void TestEventMethod(int i, string s)
{
... | using System;
using System.Diagnostics.Tracing;
namespace tracelogging
{
public sealed class MySource : EventSource
{
MySource()
: base(EventSourceSettings.EtwSelfDescribingEventFormat)
{
}
public static MySource Logger = new MySource();
}
class Program
... | mit | C# |
4dcdb15f723ad5ca9ada13d4a3958052ecfc95c7 | Fix version and update copyright | ofetisov/Xamarin.Auth,LoQIStar/Xamarin.Auth,xamarin/Xamarin.Auth,durandt/Xamarin.Auth,dbelcher/Xamarin.Auth,xamarin/Xamarin.Auth,jorik041/Xamarin.Auth,severino32/Xamarin.Auth,xamarin/Xamarin.Auth,YoupHulsebos/Xamarin.Auth,nachocove/Xamarin.Auth | src/Xamarin.Auth/AssemblyInfo.cs | src/Xamarin.Auth/AssemblyInfo.cs | //
// Copyright 2012, Xamarin 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... | //
// Copyright 2012, Xamarin 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... | apache-2.0 | C# |
2ffc2f7bd8ca3bdd0c22f94bf813d929952f70a6 | Update UnitOfWorkBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/UnitOfWorkBase.cs | TIKSN.Core/Data/UnitOfWorkBase.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public abstract class UnitOfWorkBase : IUnitOfWork
{
public abstract Task CompleteAsync(CancellationToken cancellationToken);
public abstract Task DiscardAsync(CancellationToken cancellationToken);
... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public abstract class UnitOfWorkBase : IUnitOfWork
{
public abstract Task CompleteAsync(CancellationToken cancellationToken);
public abstract Task DiscardAsync(CancellationToken cancellationToken);
... | mit | C# |
47247be4e3d77cf462b0e8b84a5fe4dbcf21796d | Increase max password from 100 to 150 Resolves: https://github.com/zkSNACKs/WalletWasabi/issues/1103 | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Helpers/Constants.cs | WalletWasabi/Helpers/Constants.cs | using NBitcoin;
using NBitcoin.Protocol;
using System;
using WalletWasabi.Backend.Models.Responses;
namespace WalletWasabi.Helpers
{
public static class Constants
{
public static readonly Version ClientVersion = new Version(1, 1, 0);
public const string BackendMajorVersion = "3";
public static readonly Versio... | using NBitcoin;
using NBitcoin.Protocol;
using System;
using WalletWasabi.Backend.Models.Responses;
namespace WalletWasabi.Helpers
{
public static class Constants
{
public static readonly Version ClientVersion = new Version(1, 1, 0);
public const string BackendMajorVersion = "3";
public static readonly Versio... | mit | C# |
c5f1048e976cfe6c86a7249cdf91030ec07065a8 | Disable a warning | WolfspiritM/Colore,CoraleStudios/Colore | Corale.Colore.Tester/Classes/DelegateCommand.cs | Corale.Colore.Tester/Classes/DelegateCommand.cs |
namespace Corale.Colore.Tester.Classes
{
using System;
using System.Windows.Input;
public class DelegateCommand : ICommand
{
public DelegateCommand(Action action)
{
this.CommandAction = action;
}
#pragma warning disable CS0067
public event EventHandler Can... |
namespace Corale.Colore.Tester.Classes
{
using System;
using System.Windows.Input;
public class DelegateCommand : ICommand
{
public DelegateCommand(Action action)
{
this.CommandAction = action;
}
public event EventHandler CanExecuteChanged;
public... | mit | C# |
3736083da8e887e52ae98587d06311305635cfcd | Update benchmark and add worst case scenario | smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework.Benchmarks/BenchmarkTextBuilder.cs | osu.Framework.Benchmarks/BenchmarkTextBuilder.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.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Text;
na... | // 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.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Text;
na... | mit | C# |
47c4beaabbc0b25b1388bd366c56cb82e15154a3 | Update LazyAsyncTest | yufeih/Common | test/LazyAsyncTest.cs | test/LazyAsyncTest.cs | namespace System
{
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
public class LazyAsyncTest
{
[Fact]
public async Task concurrent_lazy_requests()
{
for (var i = 0; i < 100; i++)
... | namespace System
{
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
public class LazyAsyncTest
{
[Fact]
public async Task concurrent_lazy_requests()
{
for (var i = 0; i < 100; i++)
... | mit | C# |
cd065b8ff31ce97931cd6e560bf27763290fdccc | Add back GetHashCode. | Nabile-Rahmani/osu,NeoAdonis/osu,tacchinotacchi/osu,johnneijzen/osu,naoey/osu,ppy/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,2yangk23/osu,johnneijzen/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,naoey/osu,EVAST9919/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,Frontear/osuKyzer,osu-R... | osu.Game/Online/Chat/Message.cs | osu.Game/Online/Chat/Message.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 System.ComponentModel;
using Newtonsoft.Json;
using osu.Game.Users;
namespace osu.Game.Online.Chat
{
public class Message : IComparabl... | // 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 System.ComponentModel;
using Newtonsoft.Json;
using osu.Game.Users;
namespace osu.Game.Online.Chat
{
public class Message : IComparabl... | mit | C# |
9310dde83bacdacdc8af57447f2949bd2d2213c1 | Rearrange the conditionals so that I always perform the Free if I got back a non-zero pointer, but only perform the Marshal if I got back a valid pointer and a good status code. | antiduh/nsspi | PackageSupport.cs | PackageSupport.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace NSspi
{
internal static class PackageSupport
{
internal static SecPkgInfo GetPackageCap... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace NSspi
{
internal static class PackageSupport
{
internal static SecPkgInfo GetPackageCap... | bsd-2-clause | C# |
bab1b750087f7efd290bd906aeeaa0a4e167f5d4 | Change private setter to public. | boumenot/lezen,boumenot/lezen | src/Lezen.Core/Entity/Document.cs | src/Lezen.Core/Entity/Document.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lezen.Core.Entity
{
public class Document
{
public Document()
{
this.Authors = new HashSet<Author>();
}
public int ID { get; set; }
public string Title { get; se... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lezen.Core.Entity
{
public class Document
{
public Document()
{
this.Authors = new HashSet<Author>();
}
public int ID { get; set; }
public string Title { get; se... | apache-2.0 | C# |
22962b0145875e787f98c5a882aa838dc7008199 | Use injected cancellation token in GetGitInfo | twsouthwick/poshgit2 | src/PoshGit2.Cmdlet/GetGitInfo.cs | src/PoshGit2.Cmdlet/GetGitInfo.cs | using System;
using System.Management.Automation;
using System.Threading;
namespace PoshGit2
{
[Cmdlet(VerbsCommon.Get, "GitStatus")]
public class GetGitInfo : AutofacCmdlet
{
public IRepositoryCache RepositoryCache { get; set; }
public ICurrentWorkingDirectory WorkingDirectory... | using System;
using System.Management.Automation;
using System.Threading;
namespace PoshGit2
{
[Cmdlet(VerbsCommon.Get, "GitStatus")]
public class GetGitInfo : AutofacCmdlet
{
public IRepositoryCache RepositoryCache { get; set; }
public ICurrentWorkingDirectory WorkingDirectory {... | mit | C# |
f1dc8bdeed03ecbd6b51158f027373a58717e41d | Fix to prevent IndexOutOfRangeException as per #352. | engagementgamelab/hygiene-with-chhota-bheem,engagementgamelab/hygiene-with-chhota-bheem,engagementgamelab/hygiene-with-chhota-bheem | Assets/Scripts/PowerUpUnderlay.cs | Assets/Scripts/PowerUpUnderlay.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class PowerUpUnderlay : MonoBehaviour
{
public GameObject BlueSpellParent;
public GameObject RedSpellParent;
public GameObject YellowSpellParent;
private SpriteRenderer[] _underlayRings;
private int _ringIn... | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class PowerUpUnderlay : MonoBehaviour
{
public GameObject BlueSpellParent;
public GameObject RedSpellParent;
public GameObject YellowSpellParent;
private SpriteRenderer[] _underlayRings;
private int _ringIn... | mit | C# |
4553eb92e864a43028e725b147a88f6c244a054d | Handle null values for EU rate attributes. Resolves #25 | taxjar/taxjar.net | src/Taxjar/Entities/TaxjarRate.cs | src/Taxjar/Entities/TaxjarRate.cs | using Newtonsoft.Json;
namespace Taxjar
{
public class RateResponse
{
[JsonProperty("rate")]
public RateResponseAttributes Rate { get; set; }
}
public class RateResponseAttributes
{
[JsonProperty("zip")]
public string Zip { get; set; }
[JsonProperty("state")]
public string State { get; set; }... | using Newtonsoft.Json;
namespace Taxjar
{
public class RateResponse
{
[JsonProperty("rate")]
public RateResponseAttributes Rate { get; set; }
}
public class RateResponseAttributes
{
[JsonProperty("zip")]
public string Zip { get; set; }
[JsonProperty("state")]
public string State { get; set; }... | mit | C# |
dc70d091eb8d84ac3342c7f261dc3e3cea32db67 | build version number bump | scratch-net/EasyNetQ,chinaboard/EasyNetQ,zidad/EasyNetQ,nicklv/EasyNetQ,Roysvork/AzureNetQ,lukasz-lysik/EasyNetQ,beyond-code-github/AzureNetQ,mleenhardt/EasyNetQ,alexwiese/EasyNetQ,sanjaysingh/EasyNetQ,sanjaysingh/EasyNetQ,ar7z1/EasyNetQ,GeckoInformasjonssystemerAS/EasyNetQ,danbarua/EasyNetQ,tkirill/EasyNetQ,maverix/Ea... | Source/Version.cs | Source/Version.cs | using System.Reflection;
// EasyNetQ verion number: <major>.<minor>.0.<build>
[assembly: AssemblyVersion("0.2.0.1")]
// 0.2 Updgrade to RabbitMQ.Client 2.7.0.0
// 0.1 Initial | using System.Reflection;
// EasyNetQ verion number: <major>.<minor>.0.<build>
[assembly: AssemblyVersion("0.2.0.0")]
// 0.2 Updgrade to RabbitMQ.Client 2.7.0.0
// 0.1 Initial | mit | C# |
fe559951274a595b484346d6b5e4726b9492ae37 | update version | gaochundong/Cowboy | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | mit | C# |
5f1c8b0f21971618abd619b193c2def477aa80e7 | Add a point. | ForNeVeR/fornever.me,ForNeVeR/fornever.me,ForNeVeR/fornever.me | ForneverMind/views/Contact.cshtml | ForneverMind/views/Contact.cshtml | @using RazorEngine.Templating
@inherits TemplateBase
@{
Layout = "_Layout.cshtml";
ViewBag.Title = "Контакты";
}
<p>
<a class="so-badge" href="http://stackoverflow.com/users/2684760/fornever">
<img src="http://stackoverflow.com/users/flair/2684760.png"
width="208"
height=... | @using RazorEngine.Templating
@inherits TemplateBase
@{
Layout = "_Layout.cshtml";
ViewBag.Title = "Контакты";
}
<p>
<a class="so-badge" href="http://stackoverflow.com/users/2684760/fornever">
<img src="http://stackoverflow.com/users/flair/2684760.png"
width="208"
height=... | mit | C# |
b852aa3b4fe98c7310dbe8157a6b74e1132a84d9 | Fix wrong method name, causing a build error | puckipedia/CardsAgainstIRC | CardsAgainstIRC3/Game/Bots/Rando.cs | CardsAgainstIRC3/Game/Bots/Rando.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CardsAgainstIRC3.Game.Bots
{
[Bot("rando")]
public class Rando : IBot
{
public GameManager Manager
{
get;
private set;
}
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CardsAgainstIRC3.Game.Bots
{
[Bot("rando")]
public class Rando : IBot
{
public GameManager Manager
{
get;
private set;
}
pu... | mit | C# |
6291c3b300367164a7931545b3aa197978c71f7e | Fix divide by 0 | muntashir/Pingo | Pingo/Classes/ProgressBarUpdater.cs | Pingo/Classes/ProgressBarUpdater.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
using System.Windows.Shell;
namespace Pingo.Classes
{
public class ProgressBarUpdater
{
Progres... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
using System.Windows.Shell;
namespace Pingo.Classes
{ public class ProgressBarUpdater
{
Progress... | mit | C# |
2b8c120302f86a28ec8c68c0dc4db4fc8935e8b1 | Update assembly version to 1.2. | Loris156/LCrypt | LCrypt/Properties/AssemblyInfo.cs | LCrypt/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | mit | C# |
fb6871b8b1dc8994baff126ccf219288c4591782 | Make ball drag match pointer position | andrew-vant/dragalt | dragnavball.cs | dragnavball.cs | using KSP.UI.Screens.Flight;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class NavBallAttacher : MonoBehaviour
{
void Start()
{
print("Starting draggable navball");
GameObject ball = FindObjectOfType<NavBall>().gameObject;
GameObjec... | using KSP.UI.Screens.Flight;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class NavBallAttacher : MonoBehaviour
{
void Start()
{
print("Starting draggable navball");
GameObject ball = FindObjectOfType<NavBall>().gameObject;
GameObjec... | mit | C# |
f7f43a68d92f3ac158b508e264e6642d97fb9b59 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.Adobe/ValuesOut.cs | RegistryPlugin.Adobe/ValuesOut.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.Adobe
{
public class ValuesOut:IValueOut
{
public ValuesOut(string productName, string productVersion, string fullPath, Date... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.Adobe
{
public class ValuesOut:IValueOut
{
public ValuesOut(string productName, string productVersion, string fullPath, Date... | mit | C# |
020f794b1cdb90dae350c74fe3cad1b8a8bb05e5 | Correct default paste behaviour for IMDb textbox | tvdburgt/subtle | Subtle.UI/Controls/ImdbTextBox.cs | Subtle.UI/Controls/ImdbTextBox.cs | using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Subtle.UI.Controls
{
public class ImdbTextBox : TextBox
{
// ReSharper disable once InconsistentNaming
private const int WM_PASTE = 0x0302;
private static readonly Regex ImdbRegex = new Regex(@"tt(\d{7})");
... | using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Subtle.UI.Controls
{
public class ImdbTextBox : TextBox
{
// ReSharper disable once InconsistentNaming
private const int WM_PASTE = 0x0302;
private static readonly Regex ImdbRegex = new Regex(@"tt(\d{7})");
... | mit | C# |
8305f4db36badd72d60954953796dfe28652a6c9 | Fix baseAccess | CalinoursIncorporated/8INF830 | Assets/Scripts/Base/BaseAccess.cs | Assets/Scripts/Base/BaseAccess.cs | //using System.Collections;
//using System.Collections.Generic;
//using UnityEngine;
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//public class BaseAccess : MonoBehaviour {
// public Text Button_Prompt;
// private void Start()
// {
// Button_Prompt.enabled = false;
// }
// priv... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class BaseAccess : MonoBehaviour {
public Text Button_Prompt;
private void Start()
{
Button_Prompt.enabled = false;
}
private void OnTriggerEnter(... | apache-2.0 | C# |
070e19b903a2813fb7a2677a05cc73bdaa7eb0b3 | Fix editor resource mode | GarfieldJiang/UGFWithToLua | Assets/Scripts/ProcedureLaunch.cs | Assets/Scripts/ProcedureLaunch.cs | using GameFramework.Event;
using GameFramework.Procedure;
using UnityEngine;
using UnityGameFramework.Runtime;
using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;
namespace Game
{
public class ProcedureLaunch : ProcedureBase
{
private bool m_HasStartedInitRes = fa... | using GameFramework.Event;
using GameFramework.Procedure;
using UnityGameFramework.Runtime;
using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;
namespace Game
{
public class ProcedureLaunch : ProcedureBase
{
private bool m_HasStartedInitRes = false;
privat... | mit | C# |
a5d606416301132db5d74216bb26a4651776ff18 | Remove unused code | risq/anamorph-unity,risq/anamorph-unity | Assets/Scripts/WebSocketClient.cs | Assets/Scripts/WebSocketClient.cs | using UnityEngine;
using System.Collections;
using SocketIO;
using System.Collections.Generic;
public class WebSocketClient : MonoBehaviour {
SocketIOComponent socket;
bool registered = false;
// Use this for initialization
void Start () {
Debug.Log("Start webSocketClient");
sock... | using UnityEngine;
using System.Collections;
using SocketIO;
using System.Collections.Generic;
public class WebSocketClient : MonoBehaviour {
SocketIOComponent socket;
bool registered = false;
// Use this for initialization
void Start () {
Debug.Log("Start webSocketClient");
sock... | mit | C# |
61c72da27ba88af90e235487d8e61e9b4e29c31d | Add SolidColorBrush.ToString for easier debugging. | grokys/Avalonia | Avalonia/Media/SolidColorBrush.cs | Avalonia/Media/SolidColorBrush.cs | // -----------------------------------------------------------------------
// <copyright file="SolidColorBrush.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Avalonia.Med... | // -----------------------------------------------------------------------
// <copyright file="SolidColorBrush.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Avalonia.Med... | mit | C# |
22cde24e95d33e569ef371985e17104062b8aafa | add more predefined units | mnadel/Metrics.NET,etishor/Metrics.NET,etishor/Metrics.NET,cvent/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.N... | Src/Metrics/Unit.cs | Src/Metrics/Unit.cs |
using System;
using Metrics.Utils;
namespace Metrics
{
public struct Unit : IHideObjectMembers
{
public static readonly Unit None = new Unit(string.Empty);
public static readonly Unit Requests = new Unit("Requests");
public static readonly Unit Commands = new Unit("Commands");
... |
using System;
using Metrics.Utils;
namespace Metrics
{
public struct Unit : IHideObjectMembers
{
public static readonly Unit None = new Unit(string.Empty);
public static readonly Unit Requests = new Unit("Requests");
public static readonly Unit Errors = new Unit("Errors");
publ... | apache-2.0 | C# |
2313bb041b0430129467bb4b1cc666af7dca44a2 | change name for FlowDock | countersoft/App-FlowdockConnector,countersoft/App-FlowdockConnector | views/Settings.cshtml | views/Settings.cshtml | @using System.Web.Mvc.Html;
@model System.String
<div id="cs-adhoc-page">
<form id="flowdock-form" action="" method="post" autocomplete="off">
<table class="data-entry-box">
<tr>
<td>FlowDock API Token</td>
<td>@Html.TextBox("Token", Model, new { @class = "input... | @using System.Web.Mvc.Html;
@model System.String
<div id="cs-adhoc-page">
<form id="flowdock-form" action="" method="post" autocomplete="off">
<table class="data-entry-box">
<tr>
<td>Flow API Token</td>
<td>@Html.TextBox("Token", Model, new { @class = "input-siz... | mit | C# |
1425d8351c374ab9eee7f560f72f4f443ab71e5d | Tidy up UI | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Invitation/Index.cshtml | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Invitation/Index.cshtml | @model SFA.DAS.EmployerApprenticeshipsService.Domain.InvitationView
<div class="grid-row">
<div class="column-two-thirds">
<h2 class="heading-medium">Accept invitation</h2>
<form method="POST" action="@Url.Action("Accept")">
<div class="form-group">
<label class="form-l... | @model SFA.DAS.EmployerApprenticeshipsService.Domain.InvitationView
<div class="grid-row">
<div class="column-two-thirds">
<h2 class="heading-medium">Invitations</h2>
</div>
</div>
<div class="grid-row">
<div class="column-two-thirds">
<h2 class="heading-medium">Accept invitation</h2>
... | mit | C# |
a9e39bbd07d0ae077fb1f7e1e12099beee07fe33 | Check status | SashaKazyrevich/Emigrace,SashaKazyrevich/Emigrace,SashaKazyrevich/Emigrace | Emigrace/Views/Archives/Index.cshtml | Emigrace/Views/Archives/Index.cshtml | @model IEnumerable <Emigrace.Models.ArchiveViewModel>
@{
ViewBag.Title = "Archives list";
}
<div class="container">
<section class="row">
</section>
<section class="row row-table">
<div class="col-sm-12 col-md-4 search-form">
<h4>Add new archive</h4>
<div class="fo... | @model IEnumerable <Emigrace.Models.ArchiveViewModel>
@{
ViewBag.Title = "Archives list";
}
<div class="container">
<section class="row">
</section>
<section class="row row-table">
<div class="col-sm-12 col-md-4 search-form">
<h4>Add new archive</h4>
<div class="fo... | mit | C# |
10f6ea46f5ecc2d17c0470cc4817e4fefac59eab | update portal template | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.PortalTemplate/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.PortalTemplate/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("Ap... | 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("Ap... | apache-2.0 | C# |
3f6fbf9d2c755be1d9a700ced81f295ff0eb164a | Split cell text into many lines | 12joan/hangman | cell.cs | cell.cs | using System;
namespace Hangman {
public class Cell {
public const int RightAlign = 0;
public const int CentreAlign = 1;
public const int LeftAlign = 2;
public string Text;
public int Align;
public Cell(string text) {
Text = text;
Align = LeftAlign;
}
public Cell(str... | using System;
namespace Hangman {
public class Cell {
public const int RightAlign = 0;
public const int CentreAlign = 1;
public const int LeftAlign = 2;
public string Text;
public int Align;
public Cell(string text) {
Text = text;
Align = LeftAlign;
}
public Cell(str... | unlicense | C# |
1b179c62e1c37e95fa3e04331c32e2319c6091e7 | add data protection to service collection | ccccccmd/IdentityServer3.Samples,nicklv/IdentityServer3.Samples,kouweizhong/IdentityServer3.Samples,ryanvgates/IdentityServer3.Samples,MartinKip/IdentityServer3.Samples,daptiv/IdentityServer3.Samples,nicklv/IdentityServer3.Samples,jmalca14/IdentityServer3.Samples,codehedgehog/IdentityServer3.Samples,ccccccmd/IdentitySe... | source/AspNet5Host/src/IdentityServer3/Startup.cs | source/AspNet5Host/src/IdentityServer3/Startup.cs | using System;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Thinktecture.IdentityServer.Core.Configuration;
using AspNet5Host.Configuration;
using System.Security.Cryptography.X509Certificates;
using System.IO;
namespace AspNet5Host
{
public clas... | using System;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Thinktecture.IdentityServer.Core.Configuration;
using AspNet5Host.Configuration;
using System.Security.Cryptography.X509Certificates;
using System.IO;
namespace AspNet5Host
{
public clas... | apache-2.0 | C# |
ae20de1a493f901983cf81835af858a793a4d658 | Rename test | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
[Theory, AutoCommandData]
public void ShouldT... | using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
[Theory, AutoCommandData]
public void ShouldThrowWhenNoArguments(CreateCommand command)
{
var exception = Assert.... | mit | C# |
5d11512ec8d8383ce3e71fe8607e5dd21737569d | Update IProjectEditorPlatform.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Model/Editor/IProjectEditorPlatform.cs | src/Core2D/Model/Editor/IProjectEditorPlatform.cs | #nullable enable
namespace Core2D.Model.Editor;
public interface IProjectEditorPlatform
{
void OnOpen();
void OnSave();
void OnSaveAs();
void OnClose();
void OnImportJson(object? param);
void OnImportSvg(object? param);
void OnImportObject(object? param);
void OnExportJson(... | #nullable enable
using Core2D.ViewModels.Containers;
using Core2D.ViewModels.Data;
namespace Core2D.Model.Editor;
public interface IProjectEditorPlatform
{
void OnOpen();
void OnSave();
void OnSaveAs();
void OnClose();
void OnImportJson(object? param);
void OnImportSvg(object? param)... | mit | C# |
9b939866c9beb877f0a7c0a62ca3da90c9bfff5d | Set version 0.10.0 | jaenyph/DelegateDecompiler,morgen2009/DelegateDecompiler,hazzik/DelegateDecompiler | src/DelegateDecompiler/Properties/AssemblyInfo.cs | src/DelegateDecompiler/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: Assembly... | 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: Assembly... | mit | C# |
1d49e36ea9ded05610bf665a6e7ea0207e2d8d0c | Replace ffmpeg.exe with ffmpeg. | dlemstra/Magick.NET,dlemstra/Magick.NET | src/Magick.NET/Configuration/ConfigurationFile.cs | src/Magick.NET/Configuration/ConfigurationFile.cs | // Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (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.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (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.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
7ab23f0a23e595678b8ae72377b55c89b9fe5456 | fix controller return types | falquan/NTachyon,falquan/NTachyon,falquan/NTachyon,falquan/NTachyon,falquan/NTachyon | src/NTachyon.Api/Controllers/CrontabController.cs | src/NTachyon.Api/Controllers/CrontabController.cs | using System;
using Microsoft.AspNetCore.Mvc;
using NTachyon.Api.Crontab;
using NTachyon.Api.Model;
namespace NTachyon.Api.Controllers
{
[Route("api/[controller]")]
public class CrontabController : Controller
{
private readonly ICrontab crontab;
public CrontabController(ICrontab crontab)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using NTachyon.Api.Crontab;
using NTachyon.Api.Model;
namespace NTachyon.Api.Controllers
{
[Route("api/[controller]")]
public class CrontabController : Co... | mit | C# |
561c12a3a3e705851df2a98b264555ab6e4fe6ff | Remove recipe from core | Evorlor/Wok-n-Roll | Assets/Scripts/Core.cs | Assets/Scripts/Core.cs | using UnityEngine;
using System.Collections;
using System;
public class Core : MonoBehaviour {
private static Core instance;
public static Core GetInstance()
{
return instance;
}
private bool EnableShackingStyle = false;
private int ShackingTimes = 2;
private int currentShackingTime = 0;
private bool deb... | using UnityEngine;
using System.Collections;
using System;
public class Core : MonoBehaviour {
private static Core instance;
public static Core GetInstance()
{
return instance;
}
private bool EnableShackingStyle = false;
private int ShackingTimes = 2;
private int currentShackingTime = 0;
private bool deb... | mit | C# |
f9b111c392898188c188a8ea6f43657275e7be21 | Format MainActivity | SolidNerd/TwitterMonkey | TwitterMonkey.Android/MainActivity.cs | TwitterMonkey.Android/MainActivity.cs | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Android.App;
using Android.OS;
using Android.Widget;
using TwitterMonkey.Portable.Twitter;
using TwitterMonkey.Portable;
using Squareup.Picasso;
using Android.Util;
using System.Collections.Generic;
namespace TwitterMonkey {
[Acti... | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Android.App;
using Android.OS;
using Android.Widget;
using TwitterMonkey.Portable.Twitter;
using TwitterMonkey.Portable;
using Squareup.Picasso;
using Android.Util;
using System.Collections.Generic;
namespace TwitterMonkey {
[Acti... | mit | C# |
8ec3844ea79e8872e4258f7269e7dfeb3a5a6fc2 | fix login bug | phongtlse61770/TakeCoffee_ASS_SE1065,phongtlse61770/TakeCoffee_ASS_SE1065,phongtlse61770/TakeCoffee_ASS_SE1065 | API/Security/AuthenticationFilter.cs | API/Security/AuthenticationFilter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System... | mit | C# |
cd9a8643ce693f4f966b4a80b8284577089260c7 | Bump minor version | kdelmonte/active-directory-utilities | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ac... | 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("Ac... | mit | C# |
05c182a3fb9ee38766a63c6ecc910e9822afdc2c | Remove INetworkEntityRegistery from BlockOtherPLayerLeaveGameEventPayloadHandler | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Handlers/Payload/BlockOtherPlayerLeaveGameEventPayloadHandler.cs | src/Booma.Proxy.Client.Unity.Ship/Handlers/Payload/BlockOtherPlayerLeaveGameEventPayloadHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using SceneJect.Common;
namespace Booma.Proxy
{
[AdditionalRegisterationAs(typeof(IRemotePlayerLeaveLobbyEventSubscribable))]
[SceneTypeCreate(GameSceneType.Pionee... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using SceneJect.Common;
namespace Booma.Proxy
{
[AdditionalRegisterationAs(typeof(IRemotePlayerLeaveLobbyEventSubscribable))]
[SceneTypeCreate(GameSceneType.Pionee... | agpl-3.0 | C# |
9deaa8f120ea37054ea36e7655acd09a18ac15b7 | Remove unused directive | dotnet/roslyn-analyzers,mavasani/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers | src/Microsoft.CodeAnalysis.Analyzers/CSharp/MetaAnalyzers/Fixers/CSharpCompareSymbolsCorrectlyFix.cs | src/Microsoft.CodeAnalysis.Analyzers/CSharp/MetaAnalyzers/Fixers/CSharpCompareSymbolsCorrectlyFix.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.Composition;
using Microsoft.CodeAnalysis.Analyzers.MetaAnalyzers.Fixers;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.C... | // 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.Collections.Generic;
using System.Composition;
using System.Linq;
using Microsoft.CodeAnalysis.Analyzers.MetaAnalyzers.Fixers;
using Microsoft.C... | mit | C# |
14473b545889539151d7cf5d8c2a58ade870af2d | Return IServiceCollection from AddSession extension methods | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Session/SessionServiceCollectionExtensions.cs | src/Microsoft.AspNetCore.Session/SessionServiceCollectionExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Session;
namespace Microsoft.Extensions.DependencyInjection
{
/// <sum... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Session;
namespace Microsoft.Extensions.DependencyInjection
{
/// <sum... | apache-2.0 | C# |
bb560fd00d552b055e6de1fa3c7613110a0c1ffd | Make AutofacViewModelFactory resolve operation 'optional', so we don't throw | Velir/Jabberwocky | Jabberwocky.Glass.Autofac.Mvc/Models/Factory/AutofacViewModelFactory.cs | Jabberwocky.Glass.Autofac.Mvc/Models/Factory/AutofacViewModelFactory.cs | using System;
using Autofac;
using Glass.Mapper.Sc;
using Jabberwocky.Glass.Autofac.Mvc.Services;
using Jabberwocky.Glass.Models;
namespace Jabberwocky.Glass.Autofac.Mvc.Models.Factory
{
public class AutofacViewModelFactory : IViewModelFactory
{
private readonly IComponentContext _resolver;
private readonly ISi... | using System;
using Autofac;
using Glass.Mapper.Sc;
using Jabberwocky.Glass.Autofac.Mvc.Services;
using Jabberwocky.Glass.Models;
namespace Jabberwocky.Glass.Autofac.Mvc.Models.Factory
{
public class AutofacViewModelFactory : IViewModelFactory
{
private readonly IComponentContext _resolver;
private readonly ISi... | mit | C# |
4bbda41cbf00c8194b3b44d9455a6a71d58ef752 | upgrade versio to 0.1.0.1 | icsharp/log4net.Kafka | log4net.Kafka/Properties/AssemblyInfo.cs | log4net.Kafka/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("lo... | 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("lo... | apache-2.0 | C# |
4e08a5c4c48f660a258d96adadbd9839e2dd3c97 | Update CryptoMethods.cs | fredatgithub/Crypto | CryptoLibrary/CryptoMethods.cs | CryptoLibrary/CryptoMethods.cs | using System.Security.Cryptography.X509Certificates;
namespace CryptoLibrary
{
public static class CryptoMethods
{
public static readonly char[] PossibleCharacters = {'0','1','2','3','4','5','6','7','8','9',
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x',... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | mit | C# |
b63b90df61337254541a68ba54333981943f48b5 | Update CollectionItemValidatorTests.cs | Squidex/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex | tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/Validators/CollectionItemValidatorTests.cs | tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/Validators/CollectionItemValidatorTests.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
372a09161248da2b2f828a62a1bf8c586bb3d43b | Bump version | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Properties/AssemblyInfo.cs | src/SyncTrayzor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
dc0fa394f057bb9db880ceaeeaf08268a0d774bb | Increment version to v1.1.0.19 | XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/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("XeroApi")]
[assembly: AssemblyDesc... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XeroApi")]
[assembly: AssemblyDesc... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.