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
c6440d810dfe007eb88470d5d23fd30b94333dc0
Use extension method for WindsorRegistrationHelper.AddServices
volosoft/castle-windsor-ms-adapter
src/Castle.Windsor.MsDependencyInjection/WindsorServiceProviderFactory.cs
src/Castle.Windsor.MsDependencyInjection/WindsorServiceProviderFactory.cs
using System; using Microsoft.Extensions.DependencyInjection; namespace Castle.Windsor.MsDependencyInjection { public class WindsorServiceProviderFactory : IServiceProviderFactory<IWindsorContainer> { public IWindsorContainer CreateBuilder(IServiceCollection services) { var contain...
using System; using Microsoft.Extensions.DependencyInjection; namespace Castle.Windsor.MsDependencyInjection { public class WindsorServiceProviderFactory : IServiceProviderFactory<IWindsorContainer> { public IWindsorContainer CreateBuilder(IServiceCollection services) { var contain...
mit
C#
d08be94640195b7669285c2e21c0a22f92773a29
Update Program.cs
SteveAndrews/EmptyFolderDeleter
EmptyFolderDeleter/Program.cs
EmptyFolderDeleter/Program.cs
using System; using System.IO; using System.Linq; namespace EmptyFolderDeleter { public class Program { private static string rootPath = @"C:\ReplaceWithDirectoryPath\"; public static void Main(string[] args) { RecurseDirectory(rootPath); Console.WriteLine(); ...
using System; using System.IO; using System.Linq; namespace EmptyFolderDeleter { public class Program { private static string rootPath = @"C:\ReplaceWithDirectoryPath\"; public static void Main(string[] args) { RecurseDirectory(rootPath); Console.WriteLine(); ...
mit
C#
a7e541a941f4068a4f5d66d3a607663d6dbe82cd
Add interface as resharper forgot
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs
using NUnit.Framework; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers { public class MyDatabaseSettings : IMyDatabaseSettings { public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\Tests.db;Version=3;New=True;BinaryGUID=False...
using NUnit.Framework; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers { public class MyDatabaseSettings { public string ConnectionString { get; } = $@"{TestContext.CurrentContext.TestDirectory}\Tests.db"; } }
mit
C#
344e34de4e62fd152261b5b45d7b4e871bf2c59a
remove incomplete nav
volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,TukekeSoft/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,TukekeSoft/Serenity,linpiero/Serenity,volkanceylan/Serenity,linpiero/Serenity,dfaruque...
Samples/BasicApplication/BasicApplication/BasicApplication.Web/Modules/Common/Navigation/NavigationItems.cs
Samples/BasicApplication/BasicApplication/BasicApplication.Web/Modules/Common/Navigation/NavigationItems.cs
using Serenity; using Serenity.Navigation; using Northwind = BasicApplication.Northwind.Pages; using Administration = BasicApplication.Administration.Pages; [assembly: NavigationLink(1000, "Dashboard", url: "~/", permission: "", icon: "icon-speedometer")] [assembly: NavigationMenu(8000, "Northwind", icon: "ic...
using Serenity; using Serenity.Navigation; using Northwind = BasicApplication.Northwind.Pages; using Administration = BasicApplication.Administration.Pages; [assembly: NavigationLink(1000, "Dashboard", url: "~/", permission: "", icon: "icon-speedometer")] [assembly: NavigationMenu(8000, "Northwind", icon: "ic...
mit
C#
5d2aee6323033b082a5f5a6131b7dfee7aa8785e
add param guards
DosGuru/MembershipReboot,brockallen/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,tomascassidy/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot
src/BrockAllen.MembershipReboot/Validation/PasswordComplexityValidator.cs
src/BrockAllen.MembershipReboot/Validation/PasswordComplexityValidator.cs
using System; using System.ComponentModel.DataAnnotations; using System.Linq; namespace BrockAllen.MembershipReboot { public class PasswordComplexityValidator<T> : IValidator<T> where T : UserAccount { public int MinimumLength { get; set; } public int MinimumNumberOfComplexityRules { g...
using System; using System.ComponentModel.DataAnnotations; using System.Linq; namespace BrockAllen.MembershipReboot { public class PasswordComplexityValidator<T> : IValidator<T> where T : UserAccount { public int MinimumLength { get; set; } public int MinimumNumberOfComplexityRules { g...
bsd-3-clause
C#
0aa8645b208bf331145f5d55d349109ff81b6777
Add back using to EventSourceException
ViktorHofer/corefx,wtgodbe/corefx,BrennanConroy/corefx,wtgodbe/corefx,BrennanConroy/corefx,ericstj/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,V...
src/Common/src/CoreLib/System/Diagnostics/Tracing/EventSourceException.cs
src/Common/src/CoreLib/System/Diagnostics/Tracing/EventSourceException.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using System.Runtime.Serialization; #if ES_BUILD_STANDALONE using Environment = Micr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Runtime.Serialization; #if ES_BUILD_STANDALONE using Environment = Microsoft.Diagnost...
mit
C#
20470b9f31bed9ba1fd3d5189190ebd9f05dfdb0
Update the closest known distance.
izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib
IModel.cs
IModel.cs
using System; using System.Collections.Generic; namespace ChamberLib { public interface IModel { object Tag { get; set; } IEnumerable<IMesh> GetMeshes(); void Draw(Matrix world, Matrix view, Matrix projection, IMaterial materialOverride=null, LightingData? lig...
using System; using System.Collections.Generic; namespace ChamberLib { public interface IModel { object Tag { get; set; } IEnumerable<IMesh> GetMeshes(); void Draw(Matrix world, Matrix view, Matrix projection, IMaterial materialOverride=null, LightingData? lig...
lgpl-2.1
C#
66f86e3f7d0d39c53d38a7135aa8e10b3eed9e55
Make ES mapping configuration Properties setter public
karolz-ms/diagnostics-eventflow
src/Microsoft.Diagnostics.EventFlow.Outputs.ElasticSearch/Configuration/ElasticSearchMappingsConfiguration.cs
src/Microsoft.Diagnostics.EventFlow.Outputs.ElasticSearch/Configuration/ElasticSearchMappingsConfiguration.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Diagnostics.EventFlow.Configuration { public class ElasticSearchMappingsConfiguration { public Dictionary<string, ElasticSearchMappingsConfigurationPropertyDescriptor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Diagnostics.EventFlow.Configuration { public class ElasticSearchMappingsConfiguration { public Dictionary<string, ElasticSearchMappingsConfigurationPropertyDescriptor...
mit
C#
1486296269ba69da38e1de8979b8c3b444e73cad
Fix missing ;
gwvandesteeg/plain-old-pong
Assets/Scripts/RotatingHints.cs
Assets/Scripts/RotatingHints.cs
/* * Copyright (c) 2016, Gerwin van de Steeg * All rights reserved. * * This program is free software, distributed under the * BSD 2 Clause license, see the LICENSE file at the * top of the source tree for a full copy of the license. * */ using UnityEngine; using UnityEngine.UI; using UnityEngine.Assertions; ...
/* * Copyright (c) 2016, Gerwin van de Steeg * All rights reserved. * * This program is free software, distributed under the * BSD 2 Clause license, see the LICENSE file at the * top of the source tree for a full copy of the license. * */ using UnityEngine; using UnityEngine.UI; using UnityEngine.Assertions; ...
bsd-2-clause
C#
d89f4c3216fbaacfc2ed967decd81e5e5c3d54db
Include converter for DocumentTypeResponses
mios-fi/mios.swiftype,mios-fi/mios.swiftype
Library/SwiftypeClientBase.cs
Library/SwiftypeClientBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Mios.Swiftype { public a...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Mios.Swiftype { public a...
bsd-2-clause
C#
e3df921269068819e2124bfe41be7341cae18147
make index.html default for directory
barld/project5_6,barld/project5_6,barld/project5_6
MVC/Routing/RouteWebFolder.cs
MVC/Routing/RouteWebFolder.cs
using MVC.View; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace MVC.Routing { public class RouteWebFolder : IRoute { public string UrlPath { get; } public string Folder { get; } ...
using MVC.View; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace MVC.Routing { public class RouteWebFolder : IRoute { public string UrlPath { get; } public string Folder { get; } ...
mit
C#
39cddc5bff409b415ad2cb15fd92b436b8f1c549
Fix GetWeakTransitions()
lou1306/CIV,lou1306/CIV
CIV.Ccs/Processes/CcsProcess.cs
CIV.Ccs/Processes/CcsProcess.cs
using System; using System.Collections.Generic; using CIV.Interfaces; using System.Linq; namespace CIV.Ccs { public abstract class CcsProcess : IHasWeakTransitions, IEquatable<CcsProcess> { public abstract bool Equals(CcsProcess other); public abstract IEnumerable<Transition> GetTransitio...
using System; using System.Collections.Generic; using CIV.Interfaces; namespace CIV.Ccs { public abstract class CcsProcess : IHasWeakTransitions, IEquatable<CcsProcess> { public abstract bool Equals(CcsProcess other); public abstract IEnumerable<Transition> GetTransitions(); publ...
mit
C#
361b6372cab154655bc3d3e882733538ad6f1255
Bump version
o11c/WebMConverter,Yuisbean/WebMConverter,nixxquality/WebMConverter
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("We...
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("We...
mit
C#
7593cd7217cc5f5e7c1759b747564096dfcdf36b
Update properties
Omnicrash/FMath
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Frostfire.Math")] [assembly: AssemblyProduct("Frostfire.Math")] [assembly: AssemblyDescription("Api-independent 3D math library")] [assembly: ComVisible(false)] [assembly: Guid("a1...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
81f53f6de6ddad37b26013b59959d5ae01fc56b1
Bump version number.
lukesampson/HastyAPI,lukesampson/HastyAPI
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("Ha...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ha...
mit
C#
f049a579552ecd1ab3636396a6d1410b3919e9ba
Make method private.
DustinCampbell/roslyn,Hosch250/roslyn,dpoeschl/roslyn,gafter/roslyn,jasonmalinowski/roslyn,physhi/roslyn,drognanar/roslyn,CyrusNajmabadi/roslyn,AArnott/roslyn,sharwell/roslyn,khyperia/roslyn,Pvlerick/roslyn,gafter/roslyn,bbarry/roslyn,jkotas/roslyn,agocke/roslyn,panopticoncentral/roslyn,bkoelman/roslyn,AdamSpeight2008/...
src/Workspaces/Core/Portable/Workspace/Host/TaskScheduler/WorkspaceTaskSchedulerFactory.WorkspaceTaskQueue.cs
src/Workspaces/Core/Portable/Workspace/Host/TaskScheduler/WorkspaceTaskSchedulerFactory.WorkspaceTaskQueue.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.Threading; using System.Threading.Tasks; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Host { internal partial cla...
// 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.Threading; using System.Threading.Tasks; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Host { internal partial cla...
mit
C#
08928f6a11802d7cc0208a3dd8c2637f2a7b6396
Replace CSharpHighlightingTestBase (will be removed in 2016.2 SDK) usage with TestNetFramework4-attribute
ulrichb/XmlDocInspections,ulrichb/XmlDocInspections,ulrichb/XmlDocInspections
Src/XmlDocInspections.Plugin.Tests/Integrative/MissingXmlDocHighlightingTestsBase.cs
Src/XmlDocInspections.Plugin.Tests/Integrative/MissingXmlDocHighlightingTestsBase.cs
using System.IO; using JetBrains.Annotations; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.FeaturesTestFramework.Daemon; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.TestFramework; using XmlDocInspections.Plugin.Highlighting; namespace ...
using System.IO; using JetBrains.Annotations; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.FeaturesTestFramework.Daemon; using JetBrains.ReSharper.Psi; using XmlDocInspections.Plugin.Highlighting; namespace XmlDocInspections.Plugin.Tests.Integrativ...
mit
C#
38756b3d7695efbe999f6fd0218515c06e2e52c5
Fix typo
SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples
Connectors/src/Rabbit/Views/Shared/_Layout.cshtml
Connectors/src/Rabbit/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - RabbitMQ</title> <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/css/bootstrap.min.css" /> </head> <body> <div cl...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - MySql</title> <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/css/bootstrap.min.css" /> </head> <body> <div class...
apache-2.0
C#
f3259197112ad78e413c97c39fff7608651beb78
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/IQuestionRespository.cs
Trappist/src/Promact.Trappist.Repository/Questions/IQuestionRespository.cs
using Promact.Trappist.DomainModel.Models.Question; using System.Collections.Generic; namespace Promact.Trappist.Repository.Questions { public interface IQuestionRepository { /// <summary> /// Get all questions /// </summary> /// <returns>Question list</returns> List<Si...
using Promact.Trappist.DomainModel.Models.Question; using System.Collections.Generic; namespace Promact.Trappist.Repository.Questions { public interface IQuestionRepository { /// <summary> /// Get all questions /// </summary> /// <returns>Question list</returns> List<Si...
mit
C#
90874bc981d317da6b2c80405e64132bb7556884
Update JoinComparisonOperatorsExtensions.cs
Flepper/flepper,Flepper/flepper
Flepper.QueryBuilder/Join/Operators/Comparison/Extensions/JoinComparisonOperatorsExtensions.cs
Flepper.QueryBuilder/Join/Operators/Comparison/Extensions/JoinComparisonOperatorsExtensions.cs
namespace Flepper.QueryBuilder { /// <summary> /// Join Comparison Operator Extensions /// </summary> public static class JoinComparisonOperatorsExtensions { /// <summary> /// Add Where to query /// </summary> /// <param name="joinComparisonOperators">Join Comparison...
namespace Flepper.QueryBuilder { /// <summary> /// Join Comparison Operator Extensions /// </summary> public static class JoinComparisonOperatorsExtensions { /// <summary> /// Add Where to query /// </summary> /// <param name="joinComparisonOperators">Join Comparison...
mit
C#
ec467a1aaa5f5fbf4e95bb49e3196bca4e2a257c
Modify the companies house verification service to use the config initalised as a constructor parameter
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/CompaniesHouseEmployerVerificationService.cs
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/CompaniesHouseEmployerVerificationService.cs
using System.Net; using System.Threading.Tasks; using Newtonsoft.Json; using NLog; using SFA.DAS.EmployerApprenticeshipsService.Domain; using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration; using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces; namespace SFA.DAS.EmployerApprenticeshipsService.In...
using System; using System.Net; using System.Threading.Tasks; using Microsoft.Azure; using Newtonsoft.Json; using NLog; using SFA.DAS.EmployerApprenticeshipsService.Domain; using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces; namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Services { pu...
mit
C#
8720ef98437302e3b54c6217762121a7efd22c50
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
8fd5ca19f7e16a7f396d753a94996779a2899fdb
Fix violations of SA1203 (ConstantsMustAppearBeforeFields)
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1652EnableXmlDocumentationOutput.cs
StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1652EnableXmlDocumentationOutput.cs
namespace StyleCop.Analyzers.DocumentationRules { using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Text; /// <summary> /// The project is configured to not parse XML documentation comments. /// </summar...
namespace StyleCop.Analyzers.DocumentationRules { using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Text; /// <summary> /// The project is configured to not parse XML documentation comments. /// </summar...
mit
C#
dbcf9e6e29449ca6a13192fd5a709dc915962255
correct small error
UnstableMutex/IDbDataRecordExtentionsLib
IDbDataRecordExtentionsLib/IDbDataRecordExtentionsLib/ParameterAssigner.cs
IDbDataRecordExtentionsLib/IDbDataRecordExtentionsLib/ParameterAssigner.cs
using System; using System.Data.SqlClient; using System.Linq; static class ParametersAssigner { static bool IsNullable<T>(T obj) { if (obj == null) return true; // obvious Type type = typeof(T); if (!type.IsValueType) return true; // ref-type if (Nullabl...
using System; using System.Data.SqlClient; using System.Linq; static class ParametersAssigner { static bool IsNullable<T>(T obj) { if (obj == null) return true; // obvious Type type = typeof(T); if (!type.IsValueType) return true; // ref-type if (Nullabl...
mit
C#
cb417c0277b1b0106232e77972ee87a1ba1818d2
Fix spelling error in method name
SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api
src/Esfa.Vacancy.Register.UnitTests/SearchApprenticeship/Api/GivenSearchApprenticeshipParameters/AndPageNumber.cs
src/Esfa.Vacancy.Register.UnitTests/SearchApprenticeship/Api/GivenSearchApprenticeshipParameters/AndPageNumber.cs
using AutoMapper; using Esfa.Vacancy.Api.Types; using Esfa.Vacancy.Register.Api; using Esfa.Vacancy.Register.Application.Queries.SearchApprenticeshipVacancies; using FluentAssertions; using NUnit.Framework; namespace Esfa.Vacancy.Register.UnitTests.SearchApprenticeship.Api.GivenSearchApprenticeshipParameters { [T...
using AutoMapper; using Esfa.Vacancy.Api.Types; using Esfa.Vacancy.Register.Api; using Esfa.Vacancy.Register.Application.Queries.SearchApprenticeshipVacancies; using FluentAssertions; using NUnit.Framework; namespace Esfa.Vacancy.Register.UnitTests.SearchApprenticeship.Api.GivenSearchApprenticeshipParameters { [T...
mit
C#
d83971713118afe7dff0ea2f31d47e540b9d3f27
Remove unnecessary intermediate method
smoogipoo/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,johnneijzen/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,ppy/osu,peppy/osu,Neo...
osu.Game/Overlays/Profile/Header/Components/ProfileRulesetSelector.cs
osu.Game/Overlays/Profile/Header/Components/ProfileRulesetSelector.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.UserIn...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.UserIn...
mit
C#
30b1335e6fae0363d52f08836e9f90f763fa17f4
add logging
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/UnityTools/UnityFind.cs
Unity/UnityTools/UnityFind.cs
/** MIT License Copyright (c) 2017 NDark 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, publish, distr...
/** MIT License Copyright (c) 2017 NDark 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, publish, distr...
mit
C#
3a1215d9afdd5e6521338ff016ae08eb24fe9cab
Solve SuikaShake warnings
Barleytree/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Resources/Microgames/SuikaShake/Scripts/SuikaShakeBottle.cs
Assets/Resources/Microgames/SuikaShake/Scripts/SuikaShakeBottle.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SuikaShakeBottle : MonoBehaviour { #pragma warning disable 0649 [SerializeField] private float health, minSpeed, progressMult; [SerializeField] private int healthPerSuika; [SerializeField] private Vector2 suikaOffset...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SuikaShakeBottle : MonoBehaviour { [SerializeField] private float health, minSpeed, progressMult; [SerializeField] private int healthPerSuika; [SerializeField] private Vector2 suikaOffsetXBounds, suikaOffsetYBounds; [Se...
mit
C#
68140ffa1b1595e7577b0a2506542804b6dfe832
put the attribute back
kevbite/CompaniesHouse.NET,LiberisLabs/CompaniesHouse.NET
src/LiberisLabs.CompaniesHouse.IntegrationTests/Tests/CompanyFilingHistoryTests/CompanyFilingHistoryTestsInvalid.cs
src/LiberisLabs.CompaniesHouse.IntegrationTests/Tests/CompanyFilingHistoryTests/CompanyFilingHistoryTestsInvalid.cs
using NUnit.Framework; namespace LiberisLabs.CompaniesHouse.IntegrationTests.Tests.CompanyFilingHistoryTests { [TestFixture] public class CompanyFilingHistoryTestsInvalid : CompanyFilingHistoryTestBase { private const string InvalidCompanyNumber = "ABC00000"; [Test] protected over...
using NUnit.Framework; namespace LiberisLabs.CompaniesHouse.IntegrationTests.Tests.CompanyFilingHistoryTests { [TestFixture] public class CompanyFilingHistoryTestsInvalid : CompanyFilingHistoryTestBase { private const string InvalidCompanyNumber = "ABC00000"; protected override void When(...
mit
C#
89009a8e68b877ff30766d6880f90c374bc89c9b
fix swagger gen conflict schemaIds
csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-works...
save-points/2b-BackEnd-completed/ConferencePlanner/BackEnd/Startup.cs
save-points/2b-BackEnd-completed/ConferencePlanner/BackEnd/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using BackEnd.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; us...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using BackEnd.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; us...
mit
C#
7945b13ae4de42215ef852f8057cced158112fa9
Update demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demo/DemoF_Utilities.cs
Src/Asp.Net/SqlServerTest/Demo/DemoF_Utilities.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class DemoF_Utilities { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### Utilities St...
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class DemoF_Utilities { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### Utilities St...
apache-2.0
C#
b09df3a34f83d396d83961d75047577073a510d2
Update StringLocalizerMonitor.cs
tiksn/TIKSN-Framework
TIKSN.Core/Localization/StringLocalizerMonitor.cs
TIKSN.Core/Localization/StringLocalizerMonitor.cs
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.Globalization; namespace TIKSN.Localization { /// <summary> /// IStringLocalizer decorator for monitoring not found resources. /// </summary> ...
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.Globalization; namespace TIKSN.Localization { /// <summary> /// IStringLocalizer decorator for monitoring not found resources. /// </summary> ...
mit
C#
d64956799a756e358e73e135095a3195fcbb8dc5
Update DotNetXmlDeserializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/DotNetXmlDeserializer.cs
TIKSN.Core/Serialization/DotNetXmlDeserializer.cs
using System.IO; using System.Text; using System.Xml.Serialization; namespace TIKSN.Serialization { public class DotNetXmlDeserializer : DeserializerBase<string> { protected override T DeserializeInternal<T>(string serial) { if (string.IsNullOrEmpty(serial)) { ...
using System.IO; using System.Text; using System.Xml.Serialization; using TIKSN.Analytics.Telemetry; namespace TIKSN.Serialization { public class DotNetXmlDeserializer : DeserializerBase<string> { public DotNetXmlDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter) { ...
mit
C#
4768db824ac34fb26f0f1fa6a8096b7304f42077
Test Expander header title.
toroso/ruibarbo
tungsten.sampletest/Features/ExpanderTest.cs
tungsten.sampletest/Features/ExpanderTest.cs
using NUnit.Framework; using tungsten.core.Search; using tungsten.core.Wpf; using tungsten.core.Wpf.Base; using tungsten.nunit; using tungsten.sampletest.AutomationLayer; namespace tungsten.sampletest.Features { [TestFixture] public class ExpanderTest : TestBase { [Test] publi...
using NUnit.Framework; using tungsten.core.Wpf; using tungsten.nunit; using tungsten.sampletest.AutomationLayer; namespace tungsten.sampletest.Features { [TestFixture] public class ExpanderTest : TestBase { [Test] public void ExpanderIsExpanded() { var tab5...
apache-2.0
C#
d410d5576e529888c29db558cd65ed94ed601451
Create one single instance of StringBuilder
davesmits/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,dbastienMS/HoloToolkit-Unity,HoloFan/HoloToolkit-Unity,darax/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,chadbramwell/HoloToolkit-Unity,CameronVetter/HoloToolkit-Unity,willcong/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unit...
Assets/HoloToolkit/Utilities/Scripts/Extensions/TransformExtensions.cs
Assets/HoloToolkit/Utilities/Scripts/Extensions/TransformExtensions.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Text; using UnityEngine; namespace HoloToolkit.Unity { public static class TransformExtensions { /// <summary> /// An extension...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Text; using UnityEngine; namespace HoloToolkit.Unity { public static class TransformExtensions { /// <summary> /// An extension...
mit
C#
5f015521d5c06a0db9b4860b0f89404baff7e989
delete unuse comment.
ztmdsbt-studio/Purchase,ztmdsbt-studio/Purchase
ZTMDSBT.Purchase/Service/PuchaseRequestHandler.cs
ZTMDSBT.Purchase/Service/PuchaseRequestHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ZTMDSBT.Purchase.Service { public class PurchaseHttpHandler : HttpClientHandler { protected override Task<HttpResponseM...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ZTMDSBT.Purchase.Service { public class PurchaseHttpHandler : HttpClientHandler { protected override Task<HttpResponseM...
mit
C#
feb3e0ba22fa1cf37d5ee2d6e56ed98e781dcf33
Add interface for UserStorage.
eylvisaker/AgateLib
AgateLib/Storage/UserStorage.cs
AgateLib/Storage/UserStorage.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.IsolatedStorage; using System.Text; namespace AgateLib.Storage { /// <summary> /// Interface that provides storage on a per-user basis. /// </summary> public interface IUserStorage { bool FileExists(string pat...
using System; using System.Collections.Generic; using System.IO; using System.IO.IsolatedStorage; using System.Text; namespace AgateLib.Storage { [Singleton] public class UserStorage { private IsolatedStorageFile iso; public UserStorage() { //iso = IsolatedStorageFile....
mit
C#
241de2306ff1d302e21fadabd8bdac4eb8798f12
Update _ValidationScriptsPartial.cshtml
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Shared/_ValidationScriptsPartial.cshtml
src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Shared/_ValidationScriptsPartial.cshtml
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script> <script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
 <script src="~/lib/jquery-validation/dist/jquery.validate.js"></script> <script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
apache-2.0
C#
a1c1b02d185c014479bc534a9c2b63e93de090c9
Simplify gen7 rng best path code
wwwwwwzx/3DSRNGTool
3DSRNGTool/Util/Gen7EggPath.cs
3DSRNGTool/Util/Gen7EggPath.cs
using System.Collections.Generic; namespace Pk3DSRNGTool { public static class Gen7EggPath { private static int[] Pre; // Previous Node private static int[] W; // Weight const int accept = 1; const int reject = 1; public static List<int> Calc(int[] FrameAdvList) ...
using System.Collections.Generic; namespace Pk3DSRNGTool { public static class Gen7EggPath { private static int[] Pre; // Previous Node private static int[] W; // Weight const int accept = 1; const int reject = 1; public static List<int> Calc(int[] FrameAdvList) ...
mit
C#
0473a1aaa5cb9e52df2bf92db310e55fb708a114
remove index field from ArrayStream
acple/ParsecSharp
ParsecSharp/Data/ArrayStream.cs
ParsecSharp/Data/ArrayStream.cs
using System.Collections.Generic; using ParsecSharp.Internal; namespace ParsecSharp { public sealed class ArrayStream<TToken> : IParsecStateStream<TToken> { private readonly IReadOnlyList<TToken> _source; private readonly LinearPosition _position; public TToken Current => this._source...
using System.Collections.Generic; using ParsecSharp.Internal; namespace ParsecSharp { public sealed class ArrayStream<TToken> : IParsecStateStream<TToken> { private readonly IReadOnlyList<TToken> _source; private readonly int _index; private readonly LinearPosition _position; ...
mit
C#
99ad57eb18ec67bb87c4fc96f801ad43c7f57733
test if manager and node processes is running
Teleopti/Stardust
Manager.Integration/Manager.Integration.Test/DebugTCServerTests.cs
Manager.Integration/Manager.Integration.Test/DebugTCServerTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Manager.Integration.Test.Helpers; using NUnit.Framework; namespace Manager.Integration.Test { [TestFixture] public class DebugTCServerTests { [Test] public void Manager...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Manager.Integration.Test.Helpers; using NUnit.Framework; namespace Manager.Integration.Test { [TestFixture] public class DebugTCServerTests { [Test] public void Manager...
mit
C#
3e4ad9d5473c3f0fd36bab3d6eda94f726f79244
improve message
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/Infrastructure/ConsoleLoggingHandler.cs
Dashen/Infrastructure/ConsoleLoggingHandler.cs
using System; using System.Diagnostics; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Dashen.Infrastructure { public class ConsoleLoggingHandler : DelegatingHandler { protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken...
using System; using System.Diagnostics; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Dashen.Infrastructure { public class ConsoleLoggingHandler : DelegatingHandler { protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken...
lgpl-2.1
C#
a5bcc368b93ba132c48788c3b8cf1cc116050b51
Update to rebar material by yield stress
Kodestruct/Kodestruct.Dynamo
Kodestruct/Concrete/ACI318/General/Rebar/RebarMaterialByYieldStress.cs
Kodestruct/Concrete/ACI318/General/Rebar/RebarMaterialByYieldStress.cs
#region Copyright /*Copyright (C) 2015 Konstantin Udilovich 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 applicab...
#region Copyright /*Copyright (C) 2015 Konstantin Udilovich 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 applicab...
apache-2.0
C#
9060aa1f1ae48aad564811123e4e97a7923a279c
Mark method as static
alastairs/BobTheBuilder
BobTheBuilder/DynamicBuilder.cs
BobTheBuilder/DynamicBuilder.cs
using BobTheBuilder.ArgumentStore; using BobTheBuilder.ArgumentStore.Queries; using BobTheBuilder.Syntax; using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; namespace BobTheBuilder { public class DynamicBuilder<T> : DynamicObject where T : class { private readonly ...
using BobTheBuilder.ArgumentStore; using BobTheBuilder.ArgumentStore.Queries; using BobTheBuilder.Syntax; using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; namespace BobTheBuilder { public class DynamicBuilder<T> : DynamicObject where T : class { private readonly ...
apache-2.0
C#
879c20f735dd0d280b7ba41ac8f4eff916dc8b32
change test a bit
Alexx999/SwfSharp
SwfTest/Program.cs
SwfTest/Program.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using SwfSharp; namespace SwfTest { class Program { static void Main(string[] args) { var files = Directory.GetF...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using SwfSharp; namespace SwfTest { class Program { static void Main(string[] args) { var swf1 = SwfFile.FromStream(File.OpenRead("TestLZMA.swf")); ...
mit
C#
c0f2a56552bb54b44aa0ae56e2ac46e0e9f32f42
Update Person.cs
jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode
Immutability/Builder1/Person.cs
Immutability/Builder1/Person.cs
// Copyright 2016 Jon Skeet. All Rights Reserved. // Licensed under the Apache License Version 2.0. using System.Collections.Generic; using System.Collections.Immutable; public sealed class Person { public string Name { get; } public Address Address { get; } public IImmutableList<PhoneNumber> Phones { ge...
// Copyright 2016 Jon Skeet. All Rights Reserved. // Licensed under the Apache License Version 2.0. using System.Collections.Generic; using System.Collections.Immutable; public sealed class Person { public string Name { get; } public Address Address { get; } public IImmutableList<PhoneNumber> Phones { ge...
apache-2.0
C#
d8680f87ffcc3247aa96d78cd748ac64751ba599
create required menu results
nerai/CMenu
src/ConsoleMenu/MenuResult.cs
src/ConsoleMenu/MenuResult.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleMenu { /// <summary> /// Result of command processing. /// /// Either <c>Normal</c> (no change) or <c>Quit</c> (menu processing exits). /// </summary> public enum MenuResult { /// <summary> /// Use defaul...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleMenu { /// <summary> /// Result of command processing. /// /// Either <c>Normal</c> (no change) or <c>Quit</c> (menu processing exits). /// </summary> public enum MenuResult { Normal = 0, Quit = 255, } }...
mit
C#
9a11527b5fcff194bd2e32ed008a0b6b3fef06f8
bump assembly version
stephen-swensen/im-only-resting,stephen-swensen/im-only-resting,SwensenSoftware/im-only-resting,SwensenSoftware/im-only-resting
Ior/Properties/AssemblyInfo.cs
Ior/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("I'm Only Resting")] [assembly: Ass...
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("I'm Only Resting")] [assembly: Ass...
apache-2.0
C#
f9e3e9ede3e4bc8cc0d8a6f7c10c5311f9bc1e4a
Fix program.cs
lou1306/CIV,lou1306/CIV
CIV/Program.cs
CIV/Program.cs
using CIV.Ccs; namespace CIV { class Program { static void Main(string[] args) { var text = System.IO.File.ReadAllText(args[0]); var processes = CcsFacade.ParseAll(text); var trace = CcsFacade.RandomTrace(processes["Prison"], 450); foreach (var action in t...
using CIV.Ccs; namespace CIV { class Program { static void Main(string[] args) { // Parse the file and do a random trace var processes = CcsFacade.ParseFile(args[0]); CcsFacade.RandomTrace(processes["Prison"], 450); } } }
mit
C#
0c2fc69e8f7051e336379692f570b76d850c4491
Comment for Character.IsAvailable
leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
JoinRpg.DataModel/Character.cs
JoinRpg.DataModel/Character.cs
using System.Collections.Generic; using System.Linq; namespace JoinRpg.DataModel { public class Character : IClaimSource { public int CharacterId { get; set; } public int ProjectId { get; set; } int IProjectSubEntity.Id => CharacterId; ICollection<CharacterGroup> IWorldObject.ParentGroups => Group...
using System.Collections.Generic; using System.Linq; namespace JoinRpg.DataModel { public class Character : IClaimSource { public int CharacterId { get; set; } public int ProjectId { get; set; } int IProjectSubEntity.Id => CharacterId; ICollection<CharacterGroup> IWorldObject.ParentGroups => Group...
mit
C#
4d35e6678c44b524c66d88e49c705eec5496ed73
Add person support
aloisdg/edx-csharp
edX/Module1/Program.cs
edX/Module1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Module1 { class Program { enum Gender { Male, Female, Other } enum SchoolStatus { Student, Professor, Other } class Address { public string AddressLine...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Module1 { class Program { static void Main(string[] args) { } } }
mit
C#
6f6aed9508cdf94c839d4713cf31e584bea0e768
Return exitCode
Kingloo/Rdr
Rdr/Program.cs
Rdr/Program.cs
using System; using System.Globalization; using Rdr.Common; using Rdr.Gui; namespace Rdr { public static class Program { [STAThread] public static int Main() { App app = new App(); int exitCode = app.Run(); if (exitCode != 0) { ...
using System; using System.Globalization; using Rdr.Common; using Rdr.Gui; namespace Rdr { public static class Program { [STAThread] public static int Main() { App app = new App(); int exitCode = app.Run(); if (exitCode != 0) { ...
unlicense
C#
18a4ae7bd97ddf6960019eb1303ea102fbae6ced
add back xml attributes which enable correct parsing
tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising
Nager.AmazonProductAdvertising/Model/Tracks.cs
Nager.AmazonProductAdvertising/Model/Tracks.cs
using System.Xml.Serialization; namespace Nager.AmazonProductAdvertising.Model { [XmlRoot(Namespace = "", IsNullable = false)] public class Tracks { public TracksDisc Disc { get; set; } } public class TracksDisc { [XmlElement("Track")] public TracksDiscTrack[] Track { ...
namespace Nager.AmazonProductAdvertising.Model { public class Tracks { public TracksDisc Disc { get; set; } } public class TracksDisc { public TracksDiscTrack[] Track { get; set; } public byte Number { get; set; } } public class TracksDiscTrack { publi...
mit
C#
c353effb6e03808b053e70baab99d0108776c0aa
Use DALGeneric in DalVols
guillaume-chs/EMN-dotnet,guillaume-chs/EMN-dotnet,guillaume-chs/EMN-dotnet,guillaume-chs/EMN-dotnet
PKG-vols-hotels/DALVols/Vols.cs
PKG-vols-hotels/DALVols/Vols.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; using DalGeneric; namespace DALVols { public class Vols { public const string SERVER_NAME = "PAUL\\SQLEXPRESS"; public const strin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; namespace DALVols { public class Vols { public const string SERVER_NAME = "PAUL\\SQLEXPRESS"; public const string BD_NAME = "VOLS"...
mit
C#
473e331eece4af1707a3a38c0b5de92567c132fd
fix missing namespace and license header
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/_Core/Utilities/Editor/EditorProjectUtilities.cs
Assets/MixedRealityToolkit/_Core/Utilities/Editor/EditorProjectUtilities.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEditor; #if UNITY_EDITOR namespace Microsoft.MixedReality.Toolkit.Core.Utilities.Editor { [InitializeOnLoad] internal class EditorProjectUtiliti...
using UnityEditor; #if UNITY_EDITOR [InitializeOnLoad] internal class EditorProjectUtilities { /// <summary> /// Static constructor that allows for executing code on project load. /// </summary> static EditorProjectUtilities() { CheckMinimumEditorVersion(); } /// <summary> //...
mit
C#
fdcea728e2f9786563f8307abc3ecbf002cfef35
set v1.3.2
punker76/MahApps.Metro.SimpleChildWindow
MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow/Properties/AssemblyInfo.cs
MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("MahApps.Metro.SimpleChildWindow")] [assembly: AssemblyDescription("A simple child window for MahApps.Metro")] [assembly: AssemblyCompany("MahApps")] [assembly: AssemblyCopyright("Copyright © Jan Karger 2014-...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("MahApps.Metro.SimpleChildWindow")] [assembly: AssemblyDescription("A simple child window for MahApps.Metro")] [assembly: AssemblyCompany("MahApps")] [assembly: AssemblyCopyright("Copyright © Jan Karger 2014-...
mit
C#
53581da48658e3c58b789a8ad461be32b6a0f4ee
Add telemetryService initialization to DebugEngineHost for VS
Microsoft/MIEngine,faxue-msft/MIEngine,orbitcowboy/MIEngine,chuckries/MIEngine,csiusers/MIEngine,csiusers/MIEngine,faxue-msft/MIEngine,Microsoft/MIEngine,csiusers/MIEngine,orbitcowboy/MIEngine,rajkumar42/MIEngine,csiusers/MIEngine,rajkumar42/MIEngine,pieandcakes/MIEngine,orbitcowboy/MIEngine,faxue-msft/MIEngine,pieandc...
src/DebugEngineHost/Host.cs
src/DebugEngineHost/Host.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Internal.VisualStudio.Shell; using ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.DebugEngineHost { /// <sum...
mit
C#
19d1e7aa146ba35323c2cca80119033d81c6a14f
Make ParserErrorListener public + renaming vars
julsam/VineScript
VineScriptLib/Compiler/ParserErrorListener.cs
VineScriptLib/Compiler/ParserErrorListener.cs
using System; using Antlr4.Runtime; namespace VineScriptLib { public class ParserErrorListener : BaseErrorListener { public override void SyntaxError(IRecognizer recognizer, IToken offendingSymbol, int line, int charPositionInLine, string desc, RecognitionException e) { string msg ...
using System; using Antlr4.Runtime; namespace VineScriptLib { class ParserErrorListener : BaseErrorListener { public override void SyntaxError(IRecognizer recognizer, IToken offendingSymbol, int line, int charPositionInLine, string msg, RecognitionException e) { string m = string.F...
mit
C#
9c0a43031593423592ee1eba619c1597260ec4d1
Use nameof
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/HttpRequestUriBuilder.cs
WalletWasabi/Helpers/HttpRequestUriBuilder.cs
using WalletWasabi.Http.Models; namespace System.Net.Http { public class HttpRequestUriBuilder : UriBuilder { public HttpRequestUriBuilder(UriScheme uriScheme, string host, string path = "") { // https://tools.ietf.org/html/rfc7230#section-2.7.3 // The scheme and host are case-insensitive and normally prov...
using WalletWasabi.Http.Models; namespace System.Net.Http { public class HttpRequestUriBuilder : UriBuilder { public HttpRequestUriBuilder(UriScheme uriScheme, string host, string path = "") { // https://tools.ietf.org/html/rfc7230#section-2.7.3 // The scheme and host are case-insensitive and normally prov...
mit
C#
aeece5dfd6a975ad7fd33b9661ac2875ff8fd89d
Fix - in "gestione utenti" la ricerca avviene anche per sede (es: "rm1000", "rm")
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Persistence.MongoDB/GestioneUtenti/GestioneUtente/GetUtentiByCodiciSede.cs
src/backend/SO115App.Persistence.MongoDB/GestioneUtenti/GestioneUtente/GetUtentiByCodiciSede.cs
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Autenticazione; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti; using System; using System.Collections.Generic; using System.Linq; namespace SO115App.Persistence.MongoDB.GestioneUtenti.GestioneUtente { /// <su...
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Autenticazione; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti; using System; using System.Collections.Generic; using System.Linq; namespace SO115App.Persistence.MongoDB.GestioneUtenti.GestioneUtente { /// <su...
agpl-3.0
C#
9dd050d4219f0ba388c34e1fa1e4f47aa454d814
set back Waypoint properties to public (fix my mistake from earlier)
ericnewton76/gmaps-api-net
src/Google.Maps/Waypoint.cs
src/Google.Maps/Waypoint.cs
using System; namespace Google.Maps { //It is not obsolete, still works the same I just had to add support to string inputs -- bbotond90 //[Obsolete("Functionality was absorbed by Location being polymorphic")] /// <summary> /// Google documentation: https://developers.google.com/maps/documentation/directio...
using System; namespace Google.Maps { //It is not obsolete, still works the same I just had to add support to string inputs -- bbotond90 //[Obsolete("Functionality was absorbed by Location being polymorphic")] /// <summary> /// Google documentation: https://developers.google.com/maps/documentation/directio...
apache-2.0
C#
c2178e88658fb4c06aca56714df635046c9568d0
Fix some map's timing failing to load.
Damnae/storybrew
common/Mapset/ControlPoint.cs
common/Mapset/ControlPoint.cs
using System; using System.Globalization; namespace StorybrewCommon.Mapset { [Serializable] public class ControlPoint { public double Offset; public double BeatDuration; public int BeatPerMeasure; public int SampleType; public int SampleSet; public float Vol...
using System; using System.Globalization; namespace StorybrewCommon.Mapset { [Serializable] public class ControlPoint { public int Offset; public double BeatDuration; public int BeatPerMeasure; public int SampleType; public int SampleSet; public float Volume...
mit
C#
43acceb2ebc2e64a59207671311276198fc122f2
fix OperationException
gomafutofu/BtrieveWrapper,gomafutofu/BtrieveWrapper,yezorat/BtrieveWrapper,yezorat/BtrieveWrapper
BtrieveWrapper/OperationException.cs
BtrieveWrapper/OperationException.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Security.Permissions; using System.Text; using System.Xml.Serialization; namespace BtrieveWrapper { [Serializable] public class OperationException : Exception { stat...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Security.Permissions; using System.Text; using System.Xml.Serialization; namespace BtrieveWrapper { [Serializable] public class OperationException : Exception { stat...
mit
C#
a9f7b0b6793e6e94457d19b04e263f57fd10b158
Stop webview from reloading when rotated
LibertyLocked/webscripthook-android
webscripthook-android/WebActivity.cs
webscripthook-android/WebActivity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; using Android.Runtime; using Android.Views; using Android.Webkit; using Android.Widget; namespace webscripthook_android { [Activity(Label = "GT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; using Android.Runtime; using Android.Views; using Android.Webkit; using Android.Widget; namespace webscripthook_android { [Activity(Label = "GT...
mit
C#
fecc67e29472252a3f3aa6f4eb154da666140a35
Update ArmyOfCreatures
owolp/Telerik-Academy,owolp/Telerik-Academy,owolp/Telerik-Academy,owolp/Telerik-Academy
Modul-2/Unit-Testing/Exam-Preparation/ArmyOfCreatures/ArmyOfCreatures.UnitTests/Logic/Battles/BattleManager/AddCreatures_Should.cs
Modul-2/Unit-Testing/Exam-Preparation/ArmyOfCreatures/ArmyOfCreatures.UnitTests/Logic/Battles/BattleManager/AddCreatures_Should.cs
namespace ArmyOfCreatures.UnitTests.Logic.Battles.BattleManager { using System; using ArmyOfCreatures.Logic; using ArmyOfCreatures.Logic.Battles; using ArmyOfCreatures.Logic.Creatures; using NUnit.Framework; using Moq; using Ploeh.AutoFixture; [TestFixture] public class AddCreature...
namespace ArmyOfCreatures.UnitTests.Logic.Battles.BattleManager { using System; using ArmyOfCreatures.Logic; using ArmyOfCreatures.Logic.Battles; using ArmyOfCreatures.Logic.Creatures; using NUnit.Framework; using Moq; using Ploeh.AutoFixture; [TestFixture] public class AddCreature...
mit
C#
0d92070f233c69d2dd98b7f128b96d5f4800777a
Add CanExecute support for AsyncRelayCommand
Anapher/Anapher.Wpf.Swan
Anapher.Wpf.Swan/AsyncRelayCommand.cs
Anapher.Wpf.Swan/AsyncRelayCommand.cs
using System; using System.Threading.Tasks; using System.Windows.Input; namespace Anapher.Wpf.Swan { /// <summary> /// A command whose sole purpose is to relay its functionality to other objects by invoking delegates. The default /// return value for the CanExecute method is 'true' when the comman...
using System; using System.Threading.Tasks; using System.Windows.Input; namespace Anapher.Wpf.Swan { /// <summary> /// A command whose sole purpose is to relay its functionality to other objects by invoking delegates. The default /// return value for the CanExecute method is 'true' when the comman...
mit
C#
60f264b1ddd38ba3125e16a9d752cb32699bd031
support for clearer error handling & handler exec order
versionone/VersionOne.Client.VisualStudio,versionone/VersionOne.Client.VisualStudio
VersionOne.VisualStudio.VSPackage/VersionOne.VisualStudio.VSPackage/BackgroundTaskRunner.cs
VersionOne.VisualStudio.VSPackage/VersionOne.VisualStudio.VSPackage/BackgroundTaskRunner.cs
using System; using System.ComponentModel; namespace VersionOne.VisualStudio.VSPackage { /// <summary> /// A wrapper that simplifies execution of long running tasks in background thread so that UI would not be frozen. /// </summary> public partial class BackgroundTaskRunner : Component { publi...
using System; using System.ComponentModel; namespace VersionOne.VisualStudio.VSPackage { /// <summary> /// A wrapper that simplifies execution of long running tasks in background thread so that UI would not be frozen. /// </summary> public partial class BackgroundTaskRunner : Component { publi...
bsd-3-clause
C#
0f05475fc2c4f7aadee4ccc2305aaa18b30bc36b
Add test
sakapon/Samples-2017
MathSample/DecimalConsole/Program.cs
MathSample/DecimalConsole/Program.cs
using System; using System.Collections.Generic; using System.Linq; namespace DecimalConsole { class Program { static void Main(string[] args) { URealDecimal_ToString(); URealDecimal_Add(); EnumerableHelperTest(); } static vo...
using System; using System.Collections.Generic; using System.Linq; namespace DecimalConsole { class Program { static void Main(string[] args) { URealDecimal_ToString(); EnumerableHelperTest(); } static void URealDecimal_ToString() ...
mit
C#
076a737f09d69228ece1a5ddb389b23140aa7267
Work around missing 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#
e3a90283f6a25adb43aceaea47d66200db1d6c9f
Update QiniuCSharpSDK.cs
qiniu/csharp-sdk
src/Qiniu/QiniuCSharpSDK.cs
src/Qiniu/QiniuCSharpSDK.cs
/// <summary> /// Qiniu (Cloud) C# SDK for .NET Framework 2.0+/Core/UWP /// Modules in this SDK: /// "Storage" 存储相关功能,上传,下载,数据处理,资源管理 /// "CDN", Fusion CDN, 融合CDN加速; /// "Util", Utilities such as MD5 hashing, 实用工具(如MD5哈希计算等); /// "Http", HTTP Request Manager, HTTP请求管理器 /// </summary> public class QiniuCSharpSDK ...
/// <summary> /// Qiniu (Cloud) C# SDK for .NET Framework 2.0+/Core/UWP /// Modules in this SDK: /// "Storage" 存储相关功能,上传,下载,数据处理,资源管理 /// "CDN", Fusion CDN, 融合CDN加速; /// "Util", Utilities such as MD5 hashing, 实用工具(如MD5哈希计算等); /// "Http", HTTP Request Manager, HTTP请求管理器 /// </summary> public class QiniuCSharpSDK ...
mit
C#
c064fc0f3eb2338216d196e3d4ed28940f9578ef
Add std header to ZipNameTransform
McNeight/SharpZipLib
src/Zip/ZipNameTransform.cs
src/Zip/ZipNameTransform.cs
// ZipNameTransform.cs // // Copyright 2005 John Reilly // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // Thi...
/* * Created by SharpDevelop. * User: JohnR * Date: 13/02/2005 * Time: 9:39 p.m. * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.IO; using ICSharpCode.SharpZipLib.Core; namespace ICSharpCode.SharpZipLib.Zip { /// <summary> /// ZipNameTransform...
mit
C#
dcf3385be7d68a7b2849545061efd174708bcd26
bump version
MetacoSA/QBitNinja
QBitNinja/Properties/AssemblyInfo.cs
QBitNinja/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. #if SERVER [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. #if SERVER [assembly...
mit
C#
d3192ed43e73b96b479355788c88ecdbb3dee114
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.AppPaths/ValuesOut.cs
RegistryPlugin.AppPaths/ValuesOut.cs
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.AppPaths { public class ValuesOut : IValueOut { public ValuesOut(string filename, string path1, string path2, DateTimeOffset? timestamp) { FileName = filename; Path1 = path1; Path2 =...
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.AppPaths { public class ValuesOut : IValueOut { public ValuesOut(string filename, string path1, string path2, DateTimeOffset? timestamp) { FileName = filename; Path1 = path1; Path2 =...
mit
C#
152991bfadaf2c3b90115e1f532f21cbc18a4170
Add more endpoints to csp header
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml
src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml
@using System.Threading.Tasks @using StockportWebapp.FeatureToggling @inject FeatureToggles FeatureToggles @{ var host = Context.Request.Host.Host; } @if (FeatureToggles.SecurityHeaders && (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-"))) { <meta http-...
@using System.Threading.Tasks @using StockportWebapp.FeatureToggling @inject FeatureToggles FeatureToggles @{ var host = Context.Request.Host.Host; } @if (FeatureToggles.SecurityHeaders && (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-"))) { <meta http-...
mit
C#
98726e9ec54c29f0cd8aed4bdc599b55224a79d0
Fix h1 class to match other views
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Web/Views/Login/AuthorizeResponse.cshtml
src/SFA.DAS.EmployerUsers.Web/Views/Login/AuthorizeResponse.cshtml
@model IdentityServer3.Core.ViewModels.AuthorizeResponseViewModel @{ ViewBag.PageID = "authorize-response"; ViewBag.Title = "Login Successful"; ViewBag.HideSigninLink = "true"; } <h1 class="heading-xlarge">Login successful</h1> <form id="mainForm" method="post" action="@Model.ResponseFormUri"> ...
@model IdentityServer3.Core.ViewModels.AuthorizeResponseViewModel <h1 class="heading-large">Login successful</h1> <form id="mainForm" method="post" action="@Model.ResponseFormUri"> <div id="autoRedirect" style="display: none;">Please wait...</div> @Html.Raw(Model.ResponseFormFields) <div id="man...
mit
C#
6b78aaab1da9d8d577c28a729528fbade5c62db7
Update targets.cake
SharpeRAD/Cake.Powershell,SharpeRAD/Cake.Powershell
build/scripts/targets.cake
build/scripts/targets.cake
////////////////////////////////////////////////////////////////////// // TASK TARGETS ////////////////////////////////////////////////////////////////////// Task("Package") .IsDependentOn("Run-Unit-Tests") .IsDependentOn("Zip-Files") .IsDependentOn("Create-NuGet-Packages") .IsDependentOn("Publish-Loca...
////////////////////////////////////////////////////////////////////// // TASK TARGETS ////////////////////////////////////////////////////////////////////// Task("Package") .IsDependentOn("Run-Unit-Tests") .IsDependentOn("Zip-Files") .IsDependentOn("Create-NuGet-Packages") .IsDependentOn("Publish-Loca...
mit
C#
680869a1424c32130b06d4e7e57f7b32cb849089
Store the number of time units per second in a static const value.
izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp
FbxTime.cs
FbxTime.cs
using System; namespace FbxSharp { public struct FbxTime { public static readonly FbxTime Infinite = new FbxTime(0x7fffffffffffffffL); public static readonly FbxTime Zero = new FbxTime(0); public const long UnitsPerSecond = 46186158000L; public FbxTime(long time) { ...
using System; namespace FbxSharp { public struct FbxTime { public static readonly FbxTime Infinite = new FbxTime(0x7fffffffffffffffL); public static readonly FbxTime Zero = new FbxTime(0); public FbxTime(long time) { Value = time; } public long Valu...
lgpl-2.1
C#
d182698ad7546e8d25095cab455ec9cd508bca7d
Add company metadata to light up taskmgr (closes #63)
File-New-Project/EarTrumpet
EarTrumpet/Properties/AssemblyInfo.cs
EarTrumpet/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("Ear Trumpet")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("File-New-Project")] [assembly: AssemblyProduct("Ear Trumpet")] [assembly: AssemblyCopyright...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("Ear Trumpet")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Ear Trumpet")] [assembly: AssemblyCopyright("")] [assembly:...
mit
C#
2958e0504a9efcf10513f4b63206f24b10d54126
Replace https post test
nopara73/DotNetTor
src/DotNetTor.Tests/PostTests.cs
src/DotNetTor.Tests/PostTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using DotNetTor.SocksPort; using Xunit; using System.Diagnostics; namespace DotNetTor.Tests { // For proper configuraion see https://github.com/nopara73/DotNetTor public class PostTests { priva...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using DotNetTor.SocksPort; using Xunit; namespace DotNetTor.Tests { // For proper configuraion see https://github.com/nopara73/DotNetTor public class PostTests { private static HttpClient _clie...
mit
C#
eb827708b55b8a8b4da623abbc46ba4ccd37c052
Add MountainLion attribute
cwensley/maccore,jorik041/maccore,mono/maccore
src/ObjCRuntime/LionAttribute.cs
src/ObjCRuntime/LionAttribute.cs
// // LionAttribute.cs: Used to flag classes, methods and properties that // were introduced in Lion. // // 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 Softwa...
// // LionAttribute.cs: Used to flag classes, methods and properties that // were introduced in Lion. // // 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 Softwa...
apache-2.0
C#
960560eaae6d371bea6c201864fdda9569856efe
fix password desc
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/Password/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/Password/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("Pa...
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("Pa...
apache-2.0
C#
50fda92329a0bad8b9cffa68ecd613dad91ce8b3
Add ToString to Event
peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ppy/osu-framewor...
osu.Framework/Event/Event.cs
osu.Framework/Event/Event.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Extensions.TypeExtensions; namespace osu.Framework.Event { /// <summary> /// The base abstract class of all event types. /// <...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu.Framework.Event { /// <summary> /// The base abstract class of all event types. /// </summary> public abstract class Event { ...
mit
C#
589cae2c4fe9c1ac5caf47c2e84945d6adf34eea
Rename of field for AccountBalance
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Entities/Account/AccountBalance.cs
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Entities/Account/AccountBalance.cs
namespace SFA.DAS.EAS.Domain.Entities.Account { public class AccountBalance { public long AccountId { get; set; } public decimal Balance { get; set; } } }
namespace SFA.DAS.EAS.Domain.Entities.Account { public class AccountBalance { public long Id { get; set; } public decimal Balance { get; set; } } }
mit
C#
c90a945e2880bf60e85cabd6612cec65f2e19bed
Fix build.
mminns/xwt,residuum/xwt,cra0zy/xwt,antmicro/xwt,iainx/xwt,lytico/xwt,TheBrainTech/xwt,hwthomas/xwt,directhex/xwt,steffenWi/xwt,sevoku/xwt,akrisiun/xwt,mminns/xwt,mono/xwt,hamekoz/xwt
Xwt.Mac/Xwt.Mac/ScrollViewBackend.cs
Xwt.Mac/Xwt.Mac/ScrollViewBackend.cs
// // ScrollViewBackend.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2012 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 withou...
// // ScrollViewBackend.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2012 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 withou...
mit
C#
dc52136918e86793ad14a998b08579991d1a20d0
Add prefix config attribute
robbihun/NStatsD.Client
NStatsD/StatsDConfigurationSection.cs
NStatsD/StatsDConfigurationSection.cs
using System.Configuration; namespace NStatsD { public class StatsDConfigurationSection : ConfigurationSection { [ConfigurationProperty("enabled", DefaultValue = "true", IsRequired = false)] public bool Enabled { get { return (bool) this["enabled"]; } set { this...
using System.Configuration; namespace NStatsD { public class StatsDConfigurationSection : ConfigurationSection { [ConfigurationProperty("enabled", DefaultValue = "true", IsRequired = false)] public bool Enabled { get { return (bool) this["enabled"]; } set { this...
mit
C#
064efcb8a8622a7e533e791d322b4cf2f21f2a73
Add “using static System.Console” to main
lou1306/CIV,lou1306/CIV
CIV/Program.cs
CIV/Program.cs
using static System.Console; using CIV.Ccs; namespace CIV { class Program { static void Main(string[] args) { var text = System.IO.File.ReadAllText(args[0]); var processes = CcsFacade.ParseAll(text); var trace = CcsFacade.RandomTrace(processes["Prison"], 450); ...
using CIV.Ccs; namespace CIV { class Program { static void Main(string[] args) { var text = System.IO.File.ReadAllText(args[0]); var processes = CcsFacade.ParseAll(text); var trace = CcsFacade.RandomTrace(processes["Prison"], 450); foreach (var action in t...
mit
C#
47486bfc257b0783082bbfcd05cdeee89c672607
Support for parsing relational operator.
TestStack/TestStack.FluentMVCTesting
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
using NUnit.Framework; using System; using System.Linq.Expressions; using TestStack.FluentMVCTesting.Internal; namespace TestStack.FluentMVCTesting.Tests.Internal { [TestFixture] public class ExpressionInspectorShould { [Test] public void Correctly_parse_equality_comparison_with_string_ope...
using NUnit.Framework; using System; using System.Linq.Expressions; using TestStack.FluentMVCTesting.Internal; namespace TestStack.FluentMVCTesting.Tests.Internal { [TestFixture] public class ExpressionInspectorShould { [Test] public void Correctly_parse_equality_comparison_with_string_ope...
mit
C#
5a8f34103708b11ea86b86eefaf4bef42b1b720f
enable api update order
phamhuyhoang95/online-store-dotnetcore
Controllers/CartController.cs
Controllers/CartController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using project.Middleware; using project.Services; namespace project.Controllers { [Route("api/[controller]")] public class CartController : Controller { private readonly...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using project.Middleware; using project.Services; namespace project.Controllers { [Route("api/[controller]")] public class CartController : Controller { private readonly...
mit
C#
fbf6d4d77868785b5ca73efde92b0726157abdc2
Update HomeController.cs
firepacket/Trustfreemarket,firepacket/Trustfreemarket,firepacket/Trustfreemarket,firepacket/Trustfreemarket
Controllers/HomeController.cs
Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using AnarkRE.Models; namespace AnarkRE.Controllers { public class HomeController : BaseController { [InitializeSimpleMembershipAttribute] // REMOVE THIS AFTER RUNNING FIRST TIME!! public...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using AnarkRE.Models; namespace AnarkRE.Controllers { public class HomeController : BaseController { public ActionResult Index() { var features = data.Listings.Get(s => s.Feat...
cc0-1.0
C#
08ca43e32846a732a2e1cca14d50991fbe140288
Update 'foreach' test
jonathanvdc/ecsc
tests/cs/foreach/Foreach.cs
tests/cs/foreach/Foreach.cs
using System; using System.Collections.Generic; public class Enumerator { public Enumerator() { } public int Current { get; private set; } = 10; public bool MoveNext() { Current--; return Current > 0; } public void Dispose() { Console.WriteLine("Hi!"); } } pu...
using System; using System.Collections.Generic; public class Enumerator { public Enumerator() { } public int Current { get; private set; } = 10; public bool MoveNext() { Current--; return Current > 0; } public void Dispose() { Console.WriteLine("Hi!"); } } pu...
mit
C#
9e07d5a25bea3625ca036e883b37192041de4598
add logging to domainUserMiddleware
geeklearningio/gl-dotnet-domain
src/GeekLearning.Domain.AspnetCore/Internal/DomainUserMiddleware.cs
src/GeekLearning.Domain.AspnetCore/Internal/DomainUserMiddleware.cs
namespace GeekLearning.Domain.AspnetCore.Internal { using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Threading.Tasks; public class DomainUserMiddleware { private reado...
namespace GeekLearning.Domain.AspnetCore.Internal { using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.Threading.Tasks; public class DomainUserMiddleware { private readonly RequestDelegate next; publi...
mit
C#
a92ccf553dced9a9318b02bbee5a9f273d3f49dc
Update player management context metadata
ankodu/nether,navalev/nether,ankodu/nether,vflorusso/nether,vflorusso/nether,navalev/nether,vflorusso/nether,MicrosoftDX/nether,vflorusso/nether,navalev/nether,navalev/nether,oliviak/nether,krist00fer/nether,ankodu/nether,ankodu/nether,vflorusso/nether
src/Nether.Data.Sql/PlayerManagement/PlayerManagementContextBase.cs
src/Nether.Data.Sql/PlayerManagement/PlayerManagementContextBase.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; using System; using Nether.Data.PlayerManagement; using System.Threading.Tasks; using System.Collections.Generic; using System.Lin...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; using System; using Nether.Data.PlayerManagement; using System.Threading.Tasks; using System.Collections.Generic; using System.Lin...
mit
C#
db6011981ba720c257de2a3f38ce0f823808bf66
add support to easily add additional LanguageSources
sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp
src/Satrabel.Starter.Web.Spa/Localization/LocalizationConfigurer.cs
src/Satrabel.Starter.Web.Spa/Localization/LocalizationConfigurer.cs
using Abp.Configuration.Startup; using Abp.Localization.Dictionaries; using Abp.Localization.Dictionaries.Xml; using Abp.Reflection.Extensions; namespace Satrabel.Starter.Web.Localization { public static class LocalizationConfigurer { public static void Configure(ILocalizationConfiguration localizatio...
using Abp.Configuration.Startup; using Abp.Localization.Dictionaries; using Abp.Localization.Dictionaries.Xml; using Abp.Reflection.Extensions; namespace Satrabel.Starter.Web.Localization { public static class LocalizationConfigurer { public static void Configure(ILocalizationConfiguration localizatio...
mit
C#
ac6625a80c5b3e35a2a5dff345df508eece8e22a
Handle `loginModel.RedirectUrl` in Login partial (#5587)
KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,madsoulswe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,rasmuseeg/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS...
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Login.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Login.cshtml
@using System.Web.Mvc.Html @using ClientDependency.Core.Mvc @using Umbraco.Web @using Umbraco.Web.Models @using Umbraco.Web.Controllers @inherits Umbraco.Web.Macros.PartialViewMacroPage @{ var loginModel = new LoginModel(); loginModel.RedirectUrl = HttpContext.Current.Request.Url.AbsolutePath; Html.Enable...
@using System.Web.Mvc.Html @using ClientDependency.Core.Mvc @using Umbraco.Web @using Umbraco.Web.Models @using Umbraco.Web.Controllers @inherits Umbraco.Web.Macros.PartialViewMacroPage @{ var loginModel = new LoginModel(); Html.EnableClientValidation(); Html.EnableUnobtrusiveJavaScript(); Html.Requi...
mit
C#
6ad1b7767e6ded5cd992838a7395c7205378b90c
Update osu.Game/Online/API/APIMod.cs
smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu
osu.Game/Online/API/APIMod.cs
osu.Game/Online/API/APIMod.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.Collections.Generic; using System.Linq; using Humanizer; using Newtonsoft.Json; using osu.Framework.Bindables; using osu.Game.Configuration; us...
// 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.Collections.Generic; using System.Linq; using Humanizer; using Newtonsoft.Json; using osu.Framework.Bindables; using osu.Game.Configuration; us...
mit
C#
774ddc1bbccd49983026e9e35bc07bb77cf538e4
clean up: add nullability annotations and format
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/IUnityAssetDataElementContainer.cs
resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/IUnityAssetDataElementContainer.cs
using JetBrains.Annotations; using JetBrains.Application.Threading; using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy; using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.Utils; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches {...
using JetBrains.Application.Threading; using JetBrains.Lifetimes; using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy; using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.Utils; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches { ...
apache-2.0
C#
c8aff1e4b6233c67ef08de2ddf740308c0811d6a
Create table
jefking/King.B-Trak
King.BTrak.Program/Program.cs
King.BTrak.Program/Program.cs
namespace King.BTrak.Program { using System; using System.Diagnostics; using System.Threading.Tasks; /// <summary> /// B-Trak synchronizer, from SQL Server to Azure Table Storage /// </summary> public class Program { #region Methods /// <summary> /// Program Mai...
namespace King.BTrak.Program { using System; using System.Diagnostics; /// <summary> /// B-Trak synchronizer, from SQL Server to Azure Table Storage /// </summary> public class Program { #region Methods /// <summary> /// Program Main Entry /// </summary> ...
mit
C#
575537a38d076d53e2c92e675e56e6f732a7c1b3
Define private method Game#LetterIsCorrect
12joan/hangman
game.cs
game.cs
using System; using System.Collections.Generic; namespace Hangman { public class Game { public string Word; private List<char> GuessedLetters; public Game(string word) { Word = word; GuessedLetters = new List<char>(); } public string ShownWord() { return Word; } priva...
using System; using System.Collections.Generic; namespace Hangman { public class Game { public string Word; private List<char> GuessedLetters; public Game(string word) { Word = word; GuessedLetters = new List<char>(); } public string ShownWord() { return Word; } priva...
unlicense
C#
7ecfee2b4ba009f0e0a88bfe2ab80835674ea43e
change starting medium view
punker76/simple-music-player
SimpleMusicPlayer/SimpleMusicPlayer/ValueConverters/SizeConverter.cs
SimpleMusicPlayer/SimpleMusicPlayer/ValueConverters/SizeConverter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Data; namespace SimpleMusicPlayer.ValueConverters { public class SizeConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Glob...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Data; namespace SimpleMusicPlayer.ValueConverters { public class SizeConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Glob...
mit
C#
865fafee951fdc82a63b2218aadeb1bcc52e1fce
Update PowerShellEventTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellEventTelemeter.cs
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellEventTelemeter.cs
using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellEventTelemeter : IEventTelemeter { private readonly Cmdlet cmdlet; public PowerShellEventTelemeter(Cmdlet cmdlet) ...
using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellEventTelemeter : IEventTelemeter { private readonly Cmdlet cmdlet; public PowerShellEventTelemeter(Cmdlet cmdlet) ...
mit
C#