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 |
|---|---|---|---|---|---|---|---|---|
abe10068242fa366fd82c933ba8201d76a70ba0d | Set trust token in instance method | sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge | src/LfMerge.Core/Actions/Infrastructure/ChorusHelper.cs | src/LfMerge.Core/Actions/Infrastructure/ChorusHelper.cs | // Copyright (c) 2016-2018 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Autofac;
using SIL.Network;
using LfMerge.Core.Settings;
using SIL.LCModel;
using System.Web;
namespace LfMerge.Core.Actions.Infrastructure
{
public class ChorusHelp... | // Copyright (c) 2016-2018 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Autofac;
using SIL.Network;
using LfMerge.Core.Settings;
using SIL.LCModel;
using System.Web;
namespace LfMerge.Core.Actions.Infrastructure
{
public class ChorusHelp... | mit | C# |
d596d531a89eba777ed3cf725f5251c3e19fc450 | Change border size | noahmorrison/genodf | src/Properties/TableCellProperties.cs | src/Properties/TableCellProperties.cs | using System.Xml;
public interface ITableCellProperties
{
string Bg {get; set;}
bool Border {get; set;}
bool BorderTop {get; set;}
bool BorderBottom {get; set;}
bool BorderLeft {get; set;}
bool BorderRight {get; set;}
}
public static class TableCellPropertiesExtension
{
public static void ... | using System.Xml;
public interface ITableCellProperties
{
string Bg {get; set;}
bool Border {get; set;}
bool BorderTop {get; set;}
bool BorderBottom {get; set;}
bool BorderLeft {get; set;}
bool BorderRight {get; set;}
}
public static class TableCellPropertiesExtension
{
public static void ... | mit | C# |
6f949b5497dcc645f75da4e830f61896cb717135 | Fix build failure casued by wrong namespace of Assert | mysticfall/Alensia | Assets/Alensia/Core/I18n/Translator.cs | Assets/Alensia/Core/I18n/Translator.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using UnityEngine.Assertions;
using Zenject;
namespace Alensia.Core.I18n
{
public abstract class Translator : ITranslator, IInitializable, IDisposable
{
public ILocaleService LocaleService { get; }
p... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using NUnit.Framework;
using Zenject;
namespace Alensia.Core.I18n
{
public abstract class Translator : ITranslator, IInitializable, IDisposable
{
public ILocaleService LocaleService { get; }
public I... | apache-2.0 | C# |
dd1ab4d0389fe82ad851e9e62d1e9ef0d1230946 | Fix game menu problem with UMA demo | mysticfall/Alensia | Assets/Alensia/Demo/MainMenuHandler.cs | Assets/Alensia/Demo/MainMenuHandler.cs | using System;
using System.Linq;
using Alensia.Core.Control;
using Alensia.Core.Game;
using Alensia.Core.I18n;
using Alensia.Core.UI;
using UniRx;
using Zenject;
namespace Alensia.Demo
{
public class MainMenuHandler : UIHandler<Panel>
{
[Inject, NonSerialized] public IGame Game;
[Inject, NonSe... | using System;
using System.Linq;
using Alensia.Core.Control;
using Alensia.Core.Game;
using Alensia.Core.I18n;
using Alensia.Core.UI;
using UniRx;
using Zenject;
namespace Alensia.Demo
{
public class MainMenuHandler : UIHandler<Panel>
{
[Inject, NonSerialized] public IGame Game;
[Inject, NonSe... | apache-2.0 | C# |
5a586ff986161f11549b0ded187b37bbea0e77a1 | Fix drops | Endure-Game/Endure | Assets/Scripts/Health.cs | Assets/Scripts/Health.cs | using UnityEngine;
using System.Collections;
public class Health : MonoBehaviour {
public int maxHealth = 10;
[System.Serializable]
public class Drop {
public int chance;
public GameObject item;
}
public Drop[] drops;
private GameObject healthChangeDisplay;
private int currentHealth;
public int Curren... | using UnityEngine;
using System.Collections;
public class Health : MonoBehaviour {
public int maxHealth = 10;
[System.Serializable]
public class Drop {
public int chance;
public GameObject item;
}
public Drop[] drops;
private GameObject healthChangeDisplay;
private int currentHealth;
public int Curren... | mit | C# |
7b68c0286ebef3417d5237d25b9f1514a61d1768 | make autofac container visible | ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack | src/ServiceStack/Funke/Container.cs | src/ServiceStack/Funke/Container.cs | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
namespace Funke
{
public interface IHasContainer
{
Container Container { get; }
}
public class Container : IDisposable
{
private readonly static ContainerBuilder _builder = new ContainerBuilder();
publi... | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
namespace Funke
{
public interface IHasContainer
{
Container Container { get; }
}
public class Container : IDisposable
{
private static ContainerBuilder _builder = new ContainerBuilder();
private IConta... | bsd-3-clause | C# |
60334046e4dd7dface21e505d9ea929627993433 | Revert `UserTrackingScrollContainer` changes | ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Graphics/Containers/UserTrackingScrollContainer.cs | osu.Game/Graphics/Containers/UserTrackingScrollContainer.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.Graphics;
namespace osu.Game.Graphics.Containers
{
public class UserTrackingScrollContainer : UserTrackingScrollContainer<Drawable>
{
... | // 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.Graphics;
namespace osu.Game.Graphics.Containers
{
public class UserTrackingScrollContainer : UserTrackingScrollContainer<Drawable>
{
... | mit | C# |
773bb4717987bbdaf48cf7ccb421715bfdb99ba7 | Refactor VkVersion | rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary | CSGL.Vulkan/VkVersion.cs | CSGL.Vulkan/VkVersion.cs | using System;
using System.Text;
namespace CSGL.Vulkan {
public struct VkVersion {
uint version;
public VkVersion(int major, int minor, int revision) {
version = 0;
Major = major;
Minor = minor;
Revision = revision;
}
public VkVersi... | using System;
using System.Text;
namespace CSGL.Vulkan {
public struct VkVersion {
uint version;
public VkVersion(uint major, uint minor, uint revision) {
version = 0;
Major = major;
Minor = minor;
Revision = revision;
}
public VkVe... | mit | C# |
40bcf1b173cd0c7f146e64d244d5811e8fd00b38 | correct environment | modulexcite/lokad-cqrs | Cqrs.Azure.Tests/ConnectionConfig.cs | Cqrs.Azure.Tests/ConnectionConfig.cs | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using Microsoft.WindowsAzure;
namespace Cqrs.Azure.Tests
{
public static class Conn... | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using Microsoft.WindowsAzure;
namespace Cqrs.Azure.Tests
{
public static class Conn... | bsd-3-clause | C# |
b93049dc89d18bf7936fdf8794fc02a2807a2cac | Update Unit.cs And Converter.csproj | zonetrooper32/UnitConverter | Converter/Models/Unit.cs | Converter/Models/Unit.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Converter.Models
{
public class Unit
{
public string UnitName { get; set; }
public string ChineseUnitName { get; set; }
public double ConvertingValue { get; set... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Converter.Models
{
public class Unit
{
public string unitname { get; set; }
public double convertingvalue { get; set; }
//ConvertingValue is a double that multi... | mit | C# |
02663c997657f2fe59bdc5b0fdf92532bee5e2ec | FIx autofac registarion | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/IoC/IoC_Example_Installers/AutofacRegistrar.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/IoC/IoC_Example_Installers/AutofacRegistrar.cs | using System;
using System.Data;
using Autofac;
using Smooth.IoC.UnitOfWork;
namespace Smooth.IoC.Repository.UnitOfWork.Tests.ExampleTests.IoC.IoC_Example_Installers
{
public class AutofacRegistrar
{
public void Register(ContainerBuilder builder)
{
builder.Register(c=> new DbFactor... | using System;
using System.Data;
using Autofac;
using Smooth.IoC.UnitOfWork;
namespace Smooth.IoC.Repository.UnitOfWork.Tests.ExampleTests.IoC.IoC_Example_Installers
{
public class AutofacRegistrar
{
public void Register(ContainerBuilder builder)
{
builder.Register(c=> new AutofacD... | mit | C# |
d0fa35e851f13fb00b4789d0151f3a6c8c378e26 | Set the artist to the username | flagbug/Espera,punker76/Espera | Espera/Espera.Core/SoundCloudSong.cs | Espera/Espera.Core/SoundCloudSong.cs | using Espera.Network;
using Newtonsoft.Json;
using System;
namespace Espera.Core
{
public class SoundCloudSong : Song
{
private User user;
public SoundCloudSong()
: base(String.Empty, TimeSpan.Zero)
{ }
[JsonProperty("artwork_url")]
public Uri ArtworkUrl { ... | using Espera.Network;
using Newtonsoft.Json;
using System;
namespace Espera.Core
{
public class SoundCloudSong : Song
{
public SoundCloudSong()
: base(String.Empty, TimeSpan.Zero)
{ }
[JsonProperty("artwork_url")]
public Uri ArtworkUrl { get; set; }
public ... | mit | C# |
8db36102390e55ace9d425e3d648d5203e5ac72a | change CubesGenerator | RicardoEPRodrigues/Bichux | Assets/Scripts/CubesGenerator.cs | Assets/Scripts/CubesGenerator.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CubesGenerator : MonoBehaviour
{
//standard prefab
[SerializeField]
private GameObject defaultCube;
//cubes number
public int numberCubes;
//refernece to manager
private GameManager manager;
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CubesGenerator : MonoBehaviour
{
//standard configs
[SerializeField]
private GameObject defaultCube;
[SerializeField]
private float speed;
public bool cubesEnable;
public int numberCubes;
//... | mit | C# |
1a550d449b5c4ff7ab3b5f38946bfab9780e55a0 | Comment Title | karitasolafs/TextDoc,karitasolafs/TextDoc | TextDuck/Views/Home/Subtitle.cshtml | TextDuck/Views/Home/Subtitle.cshtml | @model IQueryable<TextDuck.Models.srtFiles>
<h1>Skjátextar</h1>
<div>
@Html.ActionLink("Bæta við skjátexta", "Create", "Home")
</div>
<table class="table table-hover">
<tr>
<th>
Nafn
</th>
<th>
Tungumal
</th>
<th>
Flokkur
<... | @model IQueryable<TextDuck.Models.srtFiles>
<h1>Skjátextar</h1>
<div>
@Html.ActionLink("Bæta við skjátexta", "Create", "Home")
</div>
<table class="table table-hover">
<tr>
<th>
Nafn
</th>
<th>
Tungumal
</th>
<th>
Flokkur
<... | mit | C# |
b6188809c7169112b3a28fbe67ad294185b8853f | Fix not to create instance of AppLovinSdk class. This class is abstract class. | googleads/googleads-mobile-unity,googleads/googleads-mobile-unity | mediation/AppLovin/source/plugin/Assets/GoogleMobileAds/Platforms/Android/Mediation/AppLovin/AppLovinClient.cs | mediation/AppLovin/source/plugin/Assets/GoogleMobileAds/Platforms/Android/Mediation/AppLovin/AppLovinClient.cs | // Copyright (C) 2017 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | // Copyright (C) 2017 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | apache-2.0 | C# |
17102b7283bbde0b1f79a217a47fc2217fc41a52 | Change WM_DEVICECHANGE value to hexadecimal | ggobbe/WinUsbInit | WinUsbInit/DeviceArrivalListener.cs | WinUsbInit/DeviceArrivalListener.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WinUsbInit
{
class DeviceArrivalListener : NativeWindow
{
// Constant values was found in the "windows.h" header file.
private const int WM_... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WinUsbInit
{
class DeviceArrivalListener : NativeWindow
{
// Constant value was found in the "windows.h" header file.
private const int WM_D... | mit | C# |
43666fdd6241c709cc30dbf30770bb7903be3b7b | Remove workaround for ApplicationInsights | martincostello/website,martincostello/website,martincostello/website,martincostello/website | tests/Website.Tests/Integration/TestServerCollection.cs | tests/Website.Tests/Integration/TestServerCollection.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Website.Integration
{
using Xunit;
/// <summary>
/// A class representing the collection fixture for a test... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Website.Integration
{
using Xunit;
/// <summary>
/// A class representing the collection fixture for a test... | apache-2.0 | C# |
b4746be3057fc7620d262776f154f1b5432ad0cc | Add doc | ErikSchierboom/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,davkean/roslyn,mavasani/roslyn,mgoertz-msft/roslyn,brettfo/roslyn,physhi/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,panopticoncentral/roslyn,aelij/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,reaction1989/roslyn,tmat/roslyn,dotnet/roslyn,bartdesmet/roslyn,g... | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeIncrementalAnalyzerProvider.cs | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeIncrementalAnalyzerProvider.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 Microsoft.CodeAnalysis.SolutionCrawler;
namespace Microsoft.CodeAnalysis.Remote
{
/// ... | // 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 Microsoft.CodeAnalysis.SolutionCrawler;
namespace Microsoft.CodeAnalysis.Remote
{
inte... | mit | C# |
087b5af8fe484beb179ae3dc2b22d91930d4c43a | add last site config modified time to environment api | uQr/kudu,barnyp/kudu,MavenRain/kudu,barnyp/kudu,oliver-feng/kudu,oliver-feng/kudu,badescuga/kudu,bbauya/kudu,juoni/kudu,chrisrpatterson/kudu,juvchan/kudu,sitereactor/kudu,badescuga/kudu,chrisrpatterson/kudu,oliver-feng/kudu,badescuga/kudu,duncansmart/kudu,mauricionr/kudu,sitereactor/kudu,projectkudu/kudu,dev-enthusiast... | Kudu.Services/EnvironmentController.cs | Kudu.Services/EnvironmentController.cs | using System.IO;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Kudu.Core;
using Newtonsoft.Json.Linq;
namespace Kudu.Services
{
public class EnvironmentController : ApiController
{
private static readonly string _version = typeof(EnvironmentController).Assembly.GetName().Versio... | using System.Net;
using System.Net.Http;
using System.Web.Http;
using Newtonsoft.Json.Linq;
namespace Kudu.Services
{
public class EnvironmentController : ApiController
{
private static readonly string _version = typeof(EnvironmentController).Assembly.GetName().Version.ToString();
/// <summar... | apache-2.0 | C# |
e9c44438d6256604d8c4b53012eaec67e35c19ee | Use $ for hex symbol to match wla | Drenn1/LynnaLab,Drenn1/LynnaLab | LynnaLab/UI/SpinButtonHexadecimal.cs | LynnaLab/UI/SpinButtonHexadecimal.cs | using System;
using Gtk;
namespace LynnaLab
{
[System.ComponentModel.ToolboxItem(true)]
public partial class SpinButtonHexadecimal : Gtk.SpinButton
{
public SpinButtonHexadecimal() : base(0,100,1)
{
this.Numeric = false;
}
protected override int OnOutput() {
... | using System;
using Gtk;
namespace LynnaLab
{
[System.ComponentModel.ToolboxItem(true)]
public partial class SpinButtonHexadecimal : Gtk.SpinButton
{
public SpinButtonHexadecimal() : base(0,100,1)
{
this.Numeric = false;
}
protected override int OnOutput() {
... | mit | C# |
f68541e4aac5906a7911d350705dccc2f9c6fcca | Fix signature of undirected edge | DasAllFolks/SharpGraphs | Graph/IUndirectedEdge.cs | Graph/IUndirectedEdge.cs | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Represents an undirected edge (link) in a labeled <see cref="IGraph"/>.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
/// <typeparam name="W">
... | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Represents an undirected edge (link) in a labeled <see cref="IGraph"/>.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
/// <typeparam name="W">
... | apache-2.0 | C# |
4d9eef4e7e014f0e84825db62368efa916a4612b | Update versioninfo | vnbaaij/ImageProcessor.Web.Episerver,vnbaaij/ImageProcessor.Web.Episerver,vnbaaij/ImageProcessor.Web.Episerver | src/ImageProcessor.Web.Episerver/Properties/AssemblyInfo.cs | src/ImageProcessor.Web.Episerver/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("Imag... | 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("Imag... | mit | C# |
8dead6e837f9c6ef0ef8cd873b0f808e897634ed | add example | corngood/omnisharp-server,svermeulen/omnisharp-server,x335/omnisharp-server,corngood/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,mispencer/OmniSharpServer | OmniSharp/Solution/StringExtensions.cs | OmniSharp/Solution/StringExtensions.cs | using System;
using System.IO;
using System.Text.RegularExpressions;
namespace OmniSharp.Solution
{
public static class StringExtensions
{
/// <example>
/// " " -> " ".
/// "foo \n bar" -> "foo bar".
/// </example>
public static string MultipleWhit... | using System;
using System.IO;
using System.Text.RegularExpressions;
namespace OmniSharp.Solution
{
public static class StringExtensions
{
public static string MultipleWhitespaceCharsToSingleSpace
(this string stringToTrim) {
return Regex.Replace(stringToTrim, @"\s+... | mit | C# |
55aec0bf07a1075f06e61424c177404a1b5d2e1f | Make sure the install doesn't fail if the user opts out of a custom machine key | umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,marcemarc/Umbraco-CMS,leekelleher/Umbraco-CMS,rasmuseeg/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquar... | src/Umbraco.Web/Install/InstallSteps/ConfigureMachineKey.cs | src/Umbraco.Web/Install/InstallSteps/ConfigureMachineKey.cs | using System.Linq;
using System.Threading.Tasks;
using System.Web.Configuration;
using System.Xml.Linq;
using Umbraco.Core.IO;
using Umbraco.Core.Security;
using Umbraco.Web.Install.Models;
namespace Umbraco.Web.Install.InstallSteps
{
[InstallSetupStep(InstallationType.NewInstall,
"ConfigureMachineKey", "... | using System.Linq;
using System.Threading.Tasks;
using System.Web.Configuration;
using System.Xml.Linq;
using Umbraco.Core.IO;
using Umbraco.Core.Security;
using Umbraco.Web.Install.Models;
namespace Umbraco.Web.Install.InstallSteps
{
[InstallSetupStep(InstallationType.NewInstall,
"ConfigureMachineKey", "... | mit | C# |
6e56c0daabf15463328bdccadf23dfd19f2d2e93 | Bump version to 0.13.0.0 | github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
36dc83641e0f8e8e36235d40bef291c7f43924a3 | Set module group to use a nested path, Thirdparty/TinyXML2 | markfinal/bam-xml,markfinal/bam-xml,markfinal/bam-xml | packages/tinyxml2-3.0.0/bam/Scripts/TinyXML2.cs | packages/tinyxml2-3.0.0/bam/Scripts/TinyXML2.cs | #region License
// Copyright (c) 2010-2015, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | #region License
// Copyright (c) 2010-2015, Mark Final
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// ... | bsd-3-clause | C# |
04b2b56690a55852f61e02c498c40df749359369 | Fix temporary models for relations. | peeedge/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,peeedge/mobile | Phoebe/Data/ForeignKeyJsonConverter.cs | Phoebe/Data/ForeignKeyJsonConverter.cs | using System;
using Newtonsoft.Json;
namespace Toggl.Phoebe.Data
{
public class ForeignKeyJsonConverter : JsonConverter
{
public override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
{
var model = (Model)value;
if (model == null) {
... | using System;
using Newtonsoft.Json;
namespace Toggl.Phoebe.Data
{
public class ForeignKeyJsonConverter : JsonConverter
{
public override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
{
var model = (Model)value;
if (model == null) {
... | bsd-3-clause | C# |
46e684904cdcb325ef07ed47c82fe7dc179c987f | Fix Message Handler | quasar/QuasarRAT,quasar/QuasarRAT | Quasar.Common/Messages/MessageHandler.cs | Quasar.Common/Messages/MessageHandler.cs | using Quasar.Common.Networking;
using System.Collections.Generic;
using System.Linq;
namespace Quasar.Common.Messages
{
/// <summary>
/// Handles registration of <see cref="IMessageProcessor"/>s and processing of <see cref="IMessage"/>s.
/// </summary>
public static class MessageHandler
{
... | using Quasar.Common.Networking;
using System.Collections.Concurrent;
using System.Linq;
namespace Quasar.Common.Messages
{
/// <summary>
/// Handles registration of <see cref="IMessageProcessor"/>s and processing of <see cref="IMessage"/>s.
/// </summary>
public static class MessageHandler
{
... | mit | C# |
9c03b88419b086b728321db113da1031740c2339 | Use explicit IEnumerable. | jesterret/ReClass.NET,KN4CK3R/ReClass.NET,jesterret/ReClass.NET,KN4CK3R/ReClass.NET,KN4CK3R/ReClass.NET,jesterret/ReClass.NET | ReClass.NET/Forms/EnumSelectionForm.cs | ReClass.NET/Forms/EnumSelectionForm.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Windows.Forms;
using ReClassNET.Project;
using ReClassNET.UI;
namespace ReClassNET.Forms
{
public partial class EnumSelectionForm : IconForm
{
private readonly ReClassNetProject project;
public E... | using System;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Windows.Forms;
using ReClassNET.Project;
using ReClassNET.UI;
namespace ReClassNET.Forms
{
public partial class EnumSelectionForm : IconForm
{
private readonly ReClassNetProject project;
public EnumDescription SelectedItem => ite... | mit | C# |
c9b7874c3eb26249767260740998ec50bf210b02 | Update MultiDriverTests | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata.Tests/MultiDriverTests.cs | src/Atata.Tests/MultiDriverTests.cs | using System;
using FluentAssertions;
using NUnit.Framework;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.IE;
namespace Atata.Tests
{
[TestFixture(DriverAliases.Chrome)]
[TestFixture(DriverAliases.InternetExplorer)]
public class MultiDriverTests : UITestFixtureBase
{
private readonly st... | using NUnit.Framework;
namespace Atata.Tests
{
[TestFixture(DriverAliases.Chrome)]
[TestFixture(DriverAliases.InternetExplorer)]
public class MultiDriverTests
{
private readonly string driverAlias;
public MultiDriverTests(string driverAlias)
{
this.driverAlias = dr... | apache-2.0 | C# |
315abf4bb95661793aad9555d5144bdc9ef7a9b5 | Fix OnReceiveMessage subscribe | Nirklav/ScreenshotPlugin | ScreenShotPlugin/ScreenClientPlugin.cs | ScreenShotPlugin/ScreenClientPlugin.cs | using Engine;
using Engine.Model.Client;
using Engine.Model.Common;
using Engine.Model.Entities;
using Engine.Model.Server;
using Engine.Plugins;
using Engine.Plugins.Client;
using System;
using System.Collections.Generic;
using System.IO;
namespace ScreenshotPlugin
{
public class ScreenClientPlugin : ClientPlugin
... | using Engine;
using Engine.Model.Client;
using Engine.Model.Common;
using Engine.Model.Entities;
using Engine.Model.Server;
using Engine.Plugins;
using Engine.Plugins.Client;
using System;
using System.Collections.Generic;
using System.IO;
namespace ScreenshotPlugin
{
public class ScreenClientPlugin : ClientPlugin
... | mit | C# |
4260a662abc3a9ef031913a354f7da547838f89f | Fix routes | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/SiteRoutes.cs | src/LondonTravel.Site/SiteRoutes.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site;
/// <summary>
/// A class containing the names of the routes for the site. This class cannot be inhe... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site;
/// <summary>
/// A class containing the names of the routes for the site. This class cannot be inhe... | apache-2.0 | C# |
9ba37ffa9d79fd108c11bb2116688622d9bf4acc | Remove commented code. | affecto/dotnet-AuthenticationServer | Source/AuthenticationServer/Startup.cs | Source/AuthenticationServer/Startup.cs | using Affecto.AuthenticationServer.Configuration;
using Affecto.Logging;
using Autofac;
using IdentityServer3.Core.Configuration;
using IdentityServer3.Core.Services;
using Owin;
namespace Affecto.AuthenticationServer
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
... | using Affecto.AuthenticationServer.Configuration;
using Affecto.Logging;
using Autofac;
using IdentityServer3.Core.Configuration;
using IdentityServer3.Core.Services;
using Owin;
namespace Affecto.AuthenticationServer
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
... | mit | C# |
84542224655e4cca68987cf49c0ba317270eaa95 | Add anomaly type | Kerbas-ad-astra/Orbital-Science,DMagic1/Orbital-Science | Source/Contracts/DMScienceContainer.cs | Source/Contracts/DMScienceContainer.cs | #region license
/* DMagic Orbital Science - DMScienceContainer
* Object to store experiment properties
*
* Copyright (c) 2014, David Grandy <david.grandy@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the fol... | #region license
/* DMagic Orbital Science - DMScienceContainer
* Object to store experiment properties
*
* Copyright (c) 2014, David Grandy <david.grandy@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the fol... | bsd-3-clause | C# |
3b9e8b3bb4b3ac2aab91c43b06856340ebe7e00e | Update CanonicalUrlAttribute.cs | Gibe/Gibe.DittoProcessors | Gibe.DittoProcessors/Processors/CanonicalUrlAttribute.cs | Gibe.DittoProcessors/Processors/CanonicalUrlAttribute.cs | using Umbraco.Core;
using Umbraco.Web;
namespace Gibe.DittoProcessors.Processors
{
public class CanonicalUrlAttribute : TestableDittoProcessorAttribute
{
private string _homeDocTypeAlias;
public CanonicalUrlAttribute(string homeDocTypeAlias = "home")
{
_homeDocTypeAlias = homeDocTypeAlias;
}
publi... | using Umbraco.Core;
using Umbraco.Web;
namespace Gibe.DittoProcessors.Processors
{
public class CanonicalUrlAttribute : TestableDittoProcessorAttribute
{
public override object ProcessValue() => Context.Content.DocumentTypeAlias.InvariantEquals("home")
? Context.Content.UrlAbsolute().Replace(Context.Content.Url... | mit | C# |
96a9e1e6b95b456e614d8d3a2c6647bb0ce1bd5d | add in test for throwing property | Pondidum/Stronk,Pondidum/Stronk | src/Stronk.Tests/AcceptanceTests.cs | src/Stronk.Tests/AcceptanceTests.cs | using System;
using System.Configuration;
using Shouldly;
using Stronk.Policies;
using Xunit;
#pragma warning disable 649
namespace Stronk.Tests
{
public class AcceptanceTests
{
[Fact]
public void When_loading_the_configuration_to_private_setters()
{
var config = new ConfigWithPrivateSetters();
config.F... | using System;
using System.Configuration;
using Shouldly;
using Xunit;
#pragma warning disable 649
namespace Stronk.Tests
{
public class AcceptanceTests
{
[Fact]
public void When_loading_the_configuration_to_private_setters()
{
var config = new ConfigWithPrivateSetters();
config.FromAppConfig();
va... | lgpl-2.1 | C# |
702839b199a36d0aa69d27b6dd87d7e1ef0c14aa | fix method name (GetALlPOIs to GetAllPOIs) | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | MobileApp/smarttripsService/Controllers/POIController.cs | MobileApp/smarttripsService/Controllers/POIController.cs | using Microsoft.Azure.Mobile.Server;
using MyTrips.DataObjects;
using smarttripsService.Helpers;
using smarttripsService.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
namespace smarttripsSer... | using Microsoft.Azure.Mobile.Server;
using MyTrips.DataObjects;
using smarttripsService.Helpers;
using smarttripsService.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
namespace smarttripsSer... | mit | C# |
f1f8d3fba8d56987154aaa097014e72b649870cf | Use new intent instead of reusing broadcast one. | eatskolnikov/mobile,masterrr/mobile,ZhangLeiCharles/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,eatskolnikov/mobile,masterrr/mobile,peeedge/mobile,peeedge/mobile | Joey/Net/GcmBroadcastReceiver.cs | Joey/Net/GcmBroadcastReceiver.cs | using System;
using Android.App;
using Android.Content;
using Android.Support.V4.Content;
namespace Toggl.Joey.Net
{
[BroadcastReceiver (Permission = "com.google.android.c2dm.permission.SEND")]
[IntentFilter (new string[] { "com.google.android.c2dm.intent.RECEIVE" },
Categories = new string[]{ "com.tog... | using System;
using Android.App;
using Android.Content;
using Android.Support.V4.Content;
namespace Toggl.Joey.Net
{
[BroadcastReceiver (Permission = "com.google.android.c2dm.permission.SEND")]
[IntentFilter (new string[] { "com.google.android.c2dm.intent.RECEIVE" },
Categories = new string[]{ "com.tog... | bsd-3-clause | C# |
e58aa595249666dc954c93a7f6f0b61acccc31b7 | Bump version | lars-erik/our-umbraco-forms-expressions,lars-erik/our-umbraco-forms-expressions,lars-erik/our-umbraco-forms-expressions | Our.Umbraco.Forms.Expressions/Properties/AssemblyInfo.cs | Our.Umbraco.Forms.Expressions/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("Ou... | 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("Ou... | mit | C# |
bc3b0a1f77f509307ae86225eeb3bd4c77f4c5a8 | Set character encoding when displaying html from markdown (BL-3785) | ermshiperete/libpalaso,glasseyes/libpalaso,sillsdev/libpalaso,tombogle/libpalaso,ddaspit/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,sillsdev/libpalaso,tombogle/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,sillsd... | SIL.Windows.Forms/ReleaseNotes/ShowReleaseNotesDialog.cs | SIL.Windows.Forms/ReleaseNotes/ShowReleaseNotesDialog.cs | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using MarkdownDeep;
using SIL.IO;
namespace SIL.Windows.Forms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private... | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using MarkdownDeep;
using SIL.IO;
namespace SIL.Windows.Forms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private... | mit | C# |
7207c3d58d96b4db0a261fbcb435bfa885257ca5 | Refactor logic for thousands (M, MM, MMM). | pvasys/PillarRomanNumeralKata | VasysRomanNumeralsKata/RomanNumeral.cs | VasysRomanNumeralsKata/RomanNumeral.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace VasysRomanNumeralsKata
{
public class RomanNumeral
{
private int? _baseTenRepresentation = null;
public RomanNumeral(int baseTenNumber)
{
_baseTenRepresentation = baseTenNumber;
}
... | using System;
using System.Collections.Generic;
using System.Text;
namespace VasysRomanNumeralsKata
{
public class RomanNumeral
{
private int? _baseTenRepresentation = null;
public RomanNumeral(int baseTenNumber)
{
_baseTenRepresentation = baseTenNumber;
}
... | mit | C# |
7140da937ec024e9b0afa495dbe8e91dc6765bd8 | Fix build | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | LmpClient/Harmony/Vessel_Load.cs | LmpClient/Harmony/Vessel_Load.cs | using Harmony;
using LmpClient.Systems.SafetyBubble;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to avoid loading a vessel if it's in safety bubble
/// </summary>
[HarmonyPatch(typeof(Vessel))]
[HarmonyPatch("Load")]
public class Vess... | using Harmony;
using LmpClient.Systems.SafetyBubble;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to avoid loading a vessel if it's in safety bubble
/// </summary>
[HarmonyPatch(typeof(Vessel))]
[HarmonyPatch("Load")]
public class Vess... | mit | C# |
c08232c4074160fc677048534b491e733b83a2e5 | Update LandscapeFactory.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/Landscapes/LandscapeFactory.cs | src/Landscapes/LandscapeFactory.cs | // Contributors:
// James Domingo, Green Code LLC
using Landis.SpatialModeling;
namespace Landis.Landscapes
{
public class LandscapeFactory : ILandscapeFactory
{
/// <summary>
/// Creates a new landscape using an input grid of active sites.
/// </summary>
/// <par... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/B... | apache-2.0 | C# |
987731eaf1d19e1ee2e3a92241f341a2be840ad0 | Add endpoint for metrics | mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard | src/Okanshi.Dashboard/ApiModule.cs | src/Okanshi.Dashboard/ApiModule.cs | using Nancy;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public class ApiModule : NancyModule
{
public ApiModule(IConfiguration configuration, IGetMetrics getMetrics, IGetHealthChecks getHealthChecks)
{
Get["/api/instances"] = _ => Response.AsJson(configuration.GetAll());
Get["/api/instan... | using Nancy;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public class ApiModule : NancyModule
{
public ApiModule(IConfiguration configuration, IGetMetrics getMetrics, IGetHealthChecks getHealthChecks)
{
Get["/api/instances"] = _ => Response.AsJson(configuration.GetAll());
Get["/api/instan... | mit | C# |
e78a4bcc3892c67179dfba62db94617f5963aa31 | Improve tower shoot behavior | emazzotta/unity-tower-defense | Assets/Scripts/Tower.cs | Assets/Scripts/Tower.cs | using UnityEngine;
using System.Collections;
public class Tower : MonoBehaviour {
Transform towerTransform;
public float range = 10f;
public GameObject bulletPrefab;
public int cost = 5;
public int damage = 10;
public float radius = 0;
private MetallKefer nearestMetallKefer;
void Start () {
InvokeRepe... | using UnityEngine;
using System.Collections;
public class Tower : MonoBehaviour {
Transform towerTransform;
public float range = 10f;
public GameObject bulletPrefab;
public int cost = 5;
//float fireCooldown = 0.5f;
//float fireCooldownLeft = 0;
public int damage = 10;
public float radius = 0;
//privat... | mit | C# |
910efb5f720cefca57d8b1bb9272fd20f957c727 | Use the latest major version when saving a new LS file | Norbyte/lslib,Norbyte/lslib,Norbyte/lslib | LSLib/LS/Resource.cs | LSLib/LS/Resource.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace LSLib.LS
{
public class InvalidFormatException : Exception
{
public InvalidFormatException(string message)
: base(message)
{ }
}
public struct LSMetadata
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace LSLib.LS
{
public class InvalidFormatException : Exception
{
public InvalidFormatException(string message)
: base(message)
{ }
}
public struct LSMetadata
{
... | mit | C# |
c57dfcc1b172b820c5a8a2c7f357ffbb78622e64 | add docs | jonnii/SpeakEasy | src/SpeakEasy/INamingConvention.cs | src/SpeakEasy/INamingConvention.cs | namespace SpeakEasy
{
/// <summary>
/// The naming convention is the process by which a segment name is converted into a
/// query string parameter
/// </summary>
public interface INamingConvention
{
/// <summary>
/// Converts a property name to a parameter name
/// </s... | namespace SpeakEasy
{
/// <summary>
/// The naming convention is the process by which a segment name is converted into a
/// query string parameter
/// </summary>
public interface INamingConvention
{
string ConvertPropertyNameToParameterName(string propertyName);
}
}
| apache-2.0 | C# |
ed701bf45304f974bbdf604e33862ac5b40ff9d0 | fix failijg tests | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipBulkUpload/ApprenticeshipBulkUploadValidationTestBase.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipBulkUpload/ApprenticeshipBulkUploadValidationTestBase.cs | using System;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models.BulkUpload;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Types;
using SFA.DAS.Provi... | using System;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models.BulkUpload;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Types;
using SFA.DAS.Provi... | mit | C# |
8f8abab942364670aa9138beef0a0916ca901a70 | Print filename with each error | vindvaki/xlsx-validator | XlsxValidator/Program.cs | XlsxValidator/Program.cs | using System;
using System.Linq;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
// Adapted from
// https://blogs.msdn.microsoft.com/ericwhite/2010/03/04/validate-open-xml-documents-using-the-open-xml-sdk-2-0/
namespace XlsxValidator
{
class MainClass
{
public static void Main(st... | using System;
using System.Linq;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
// Adapted from
// https://blogs.msdn.microsoft.com/ericwhite/2010/03/04/validate-open-xml-documents-using-the-open-xml-sdk-2-0/
namespace XlsxValidator
{
class MainClass
{
public static void Main(st... | apache-2.0 | C# |
16e5e4007c8f73018b23a73fd0470538ed759be1 | Add extra check on result type | mspons/DiceApi | test/DiceApi.WebApi.Tests/DieControllerTest.cs | test/DiceApi.WebApi.Tests/DieControllerTest.cs | using Microsoft.AspNetCore.Mvc;
using Xunit;
using DiceApi.WebApi.Controllers;
namespace DiceApi.WebApi.Tests
{
/// <summary>
/// Test class for <see cref="DieController" />.
/// </summary>
public class DieControllerTest
{
/// <summary>
/// Verifies that Get() returns a BadRequest... | using Microsoft.AspNetCore.Mvc;
using Xunit;
using DiceApi.WebApi.Controllers;
namespace DiceApi.WebApi.Tests
{
/// <summary>
/// Test class for <see cref="DieController" />.
/// </summary>
public class DieControllerTest
{
/// <summary>
/// Verifies that Get() returns a BadRequest... | mit | C# |
eb92831b23a5a4060f8f1d8b28f9c07ab0411be1 | Update sample app to use newer config API | serilog-web/classic | test/SerilogWeb.Test/Global.asax.cs | test/SerilogWeb.Test/Global.asax.cs | using System;
using Serilog;
using Serilog.Events;
using SerilogWeb.Classic;
namespace SerilogWeb.Test
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
// ReSharper disable once PossibleNullReferenceException
... | using System;
using Serilog;
using Serilog.Events;
using SerilogWeb.Classic;
namespace SerilogWeb.Test
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
ApplicationLifecycleModule.FormDataLoggingLevel = LogEventLevel... | apache-2.0 | C# |
afb15ff7fdd4752438aa435b057b06fa8a7b38f3 | Add assert helper for tests | Xeeynamo/KingdomHearts | OpenKh.Tests/Helpers.cs | OpenKh.Tests/Helpers.cs | using System;
using System.IO;
using System.Linq;
using OpenKh.Common;
using OpenKh.Kh2;
using Xunit;
namespace OpenKh.Tests
{
public static class Helpers
{
public static void Dump(this Stream stream, string path) =>
File.Create(path).Using(outStream =>
{
stream... | using System;
using System.IO;
using OpenKh.Common;
using Xunit;
namespace OpenKh.Tests
{
public static class Helpers
{
public static void Dump(this Stream stream, string path) =>
File.Create(path).Using(outStream =>
{
stream.Position = 0;
stream... | mit | C# |
7babb8f13fa614b01b4d23b891c171e9a7f3d8a5 | Update IContainer.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | Test/Core/IContainer.cs | Test/Core/IContainer.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test.Core
{
public interface ICo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test.Core
{
public interface IContainer
{
double Width { get; set; }
double Height { get; set; }
IList<XStyle> Styles { get; set; }
XStyle CurrentStyle ... | mit | C# |
88cf7724497b498552ab345fa3187c26cc1b3051 | Update Drivers/ManagePersonsPermissionCheckerTaskDisplayDriver.cs | Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module | Drivers/ManagePersonsPermissionCheckerTaskDisplayDriver.cs | Drivers/ManagePersonsPermissionCheckerTaskDisplayDriver.cs | using Lombiq.TrainingDemo.Activities;
using Lombiq.TrainingDemo.ViewModels;
using OrchardCore.Workflows.Display;
using OrchardCore.Workflows.Models;
namespace Lombiq.TrainingDemo.Drivers;
// ActivityDisplayDriver is specifically for implementing workflow tasks. It performs a simple mapping of a ManagePersonsPermissio... | using Lombiq.TrainingDemo.Activities;
using Lombiq.TrainingDemo.ViewModels;
using OrchardCore.Workflows.Display;
using OrchardCore.Workflows.Models;
namespace Lombiq.TrainingDemo.Drivers;
// ActivityDisplayDriver is specifically for implementing workflow tasks. It performs a simple mapping of a ManagePersonsPermissio... | bsd-3-clause | C# |
4ec7f47c3caa0da2c3f39256df8351230cc54b1b | Adjust BackoffIdleStrategy defaults | AdaptiveConsulting/Aeron.NET,AdaptiveConsulting/Aeron.NET | src/Adaptive.Agrona/Concurrent/Configuration.cs | src/Adaptive.Agrona/Concurrent/Configuration.cs | namespace Adaptive.Agrona.Concurrent
{
public class Configuration
{
/// <summary>
/// Spin on no activity before backing off to yielding.
/// </summary>
public const long IDLE_MAX_SPINS = 10;
/// <summary>
/// Yield the thread so others can run before backing of... | namespace Adaptive.Agrona.Concurrent
{
public class Configuration
{
/// <summary>
/// Spin on no activity before backing off to yielding.
/// </summary>
public const long IDLE_MAX_SPINS = 10;
/// <summary>
/// Yield the thread so others can run before backing of... | apache-2.0 | C# |
469fa5adde358fe39eea1ded6230f753922b3740 | Add [Serializable] attribute | dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute | Source/NSubstitute/Exceptions/NotRunningAQueryException.cs | Source/NSubstitute/Exceptions/NotRunningAQueryException.cs | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class NotRunningAQueryException : SubstituteException
{
public NotRunningAQueryException() { }
protected NotRunningAQueryException(SerializationInfo info, StreamingContext context) : b... | using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class NotRunningAQueryException : SubstituteException
{
public NotRunningAQueryException() { }
protected NotRunningAQueryException(SerializationInfo info, StreamingContext context) : base(info, con... | bsd-3-clause | C# |
241cbc571e3e999d8d9c66154f042c0dfd4755c3 | Add the C test suite via Cake to Travis and AppVeyor. | jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddi... | build.cake | build.cake | #!mono .cake/Cake/Cake.exe
#tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
#load "build/Utils.cake"
#load "build/Android.cake"
#load "build/Tests.cake"
#load "build/Packaging.cake"
Task("Clean")
.Does(() =>
{
... | #!mono .cake/Cake/Cake.exe
#tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
#load "build/Utils.cake"
#load "build/Android.cake"
#load "build/Tests.cake"
#load "build/Packaging.cake"
Task("Clean")
.Does(() =>
{
... | mit | C# |
58fb4e3d441a224a7054fa647a7062688c378e6a | Revert "Fix "Pack" step to be dependent on the "Test" step" | HangfireIO/Cronos | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
#addin "Cake.FileHelpers"
// Don't edit manually! Use `.\build.ps1 -ScriptArgs '--newVersion="*.*.*"'` command instead!
var version = "0.2.0";
var configuration = Argument("configuration", "Release");
var newVersion = Argument("newVersion", version);
var target = Argument("... | #tool "nuget:?package=xunit.runner.console"
#addin "Cake.FileHelpers"
// Don't edit manually! Use `.\build.ps1 -ScriptArgs '--newVersion="*.*.*"'` command instead!
var version = "0.2.0";
var configuration = Argument("configuration", "Release");
var newVersion = Argument("newVersion", version);
var target = Argument("... | mit | C# |
81d1dc14f81655e0f5b779f04a82f4009dedb8bc | Remove unnecessary using statements. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Helpers/StatusHelper.cs | src/CompetitionPlatform/Helpers/StatusHelper.cs | using System;
using CompetitionPlatform.Models;
namespace CompetitionPlatform.Helpers
{
public static class StatusHelper
{
public static Status GetProjectStatusFromString(string status)
{
if (status == "CompetitionRegistration") return Status.Registration;
if (status ==... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Models;
namespace CompetitionPlatform.Helpers
{
public static class StatusHelper
{
public static Status GetProjectStatusFromString(string status)
{
if (status ... | mit | C# |
e9e3c240ec259db0a6ee34609aa605c0e1e8edaa | Update player stats | mk-dev-team/mk-world-of-imagination | src/Hevadea/Scenes/Widgets/WidgetPlayerStats.cs | src/Hevadea/Scenes/Widgets/WidgetPlayerStats.cs | using Hevadea.Framework.Graphic.SpriteAtlas;
using Hevadea.Framework.UI;
using Hevadea.GameObjects.Entities.Components.States;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Hevadea.Scenes.Widgets
{
public class WidgetPlayerStats : Widget
{
pr... | using Hevadea.Framework.Graphic.SpriteAtlas;
using Hevadea.Framework.UI;
using Hevadea.GameObjects.Entities.Components.States;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Hevadea.Scenes.Widgets
{
public class WidgetPlayerStats : Widget
{
pr... | mit | C# |
a0bd4b7d1bb10e15082bfcf1c2977a70ccc352e4 | Update MobSpawnControlScript.cs | fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Gateway/MobSpawnControlScript.cs | UnityProject/Assets/Scripts/Gateway/MobSpawnControlScript.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class MobSpawnControlScript : NetworkBehaviour
{
public List<GameObject> MobSpawners;
public bool DetectViaMatrix;
private bool SpawnedMobs;
private float timeElapsedServer = 0;
[Server]
public void SpawnMobs... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class MobSpawnControlScript : NetworkBehaviour
{
public List<GameObject> MobSpawners;
public bool DetectViaMatrix;
private bool SpawnedMobs;
private float timeElapsedServer = 0;
[Server]
public void SpawnMobs... | agpl-3.0 | C# |
91c99ef0477604616aaef4d65279caa871910185 | Update AssemblyInfo.cs | dotJEM/web-host,dotJEM/web-host,dotJEM/web-host | DotJEM.Web.Host.Test/Properties/AssemblyInfo.cs | DotJEM.Web.Host.Test/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("Do... | 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("Do... | mit | C# |
36c0541aebf91d22f0d68f6422070799f35dce21 | change version to 0.1 | raol/amazon-sqs-net-extended-client-lib | src/Amazon.SQS.ExtendedClient/Properties/AssemblyInfo.cs | src/Amazon.SQS.ExtendedClient/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("Am... | 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("Am... | apache-2.0 | C# |
c17c58f940b73810f6c249ee8026f2e11b5019af | use task run | 6bee/Remote.Linq | src/Remote.Linq/DynamicQuery/AsyncDynamicResultMapper.cs | src/Remote.Linq/DynamicQuery/AsyncDynamicResultMapper.cs | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.DynamicQuery
{
using Aqua.Dynamic;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
internal sealed class AsyncDyna... | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.DynamicQuery
{
using Aqua.Dynamic;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
internal sealed class AsyncDyna... | mit | C# |
555a71c13f5d1773f99e1a501584ad5a189c0390 | Fix indirizzo località | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/Condivise/Localita.cs | src/backend/SO115App.Models/Classi/Condivise/Localita.cs | //-----------------------------------------------------------------------
// <copyright file="Localita.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
... | //-----------------------------------------------------------------------
// <copyright file="Localita.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
... | agpl-3.0 | C# |
397c73e786aa8c49ff233fc74bab2ec1bdd24657 | Add audio adjustment support to `Metronome` | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu | osu.Game/Rulesets/Mods/Metronome.cs | osu.Game/Rulesets/Mods/Metronome.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.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Game.Audio;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Gra... | // 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.Audio.Track;
using osu.Framework.Graphics;
using osu.Game.Audio;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game... | mit | C# |
503d238a2d80f5c784d1cd55a20a4364ff53cc09 | Fix path to internal test data location | BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB | src/core/BrightstarDB.InternalTests/TestConfiguration.cs | src/core/BrightstarDB.InternalTests/TestConfiguration.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrightstarDB.InternalTests
{
internal static class TestConfiguration
{
public static string DataLocation = "..\\..\\..\\Data\\";
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrightstarDB.InternalTests
{
internal static class TestConfiguration
{
public static string DataLocation = "..\\..\\Data\\";
}
}
| mit | C# |
ab43f8277150a6fc231cff57132899b28b5f5f0f | Update audio_ffmpeg.cs | AntiTcb/Discord.Net,Confruggy/Discord.Net,LassieME/Discord.Net,RogueException/Discord.Net | docs/guides/samples/audio_ffmpeg.cs | docs/guides/samples/audio_ffmpeg.cs | private async Task SendAsync(IAudioClient client, string path)
{
// Create FFmpeg using the previous example
var ffmpeg = CreateStream(path);
var output = ffmpeg.StandardOutput.BaseStream;
var discord = client.CreatePCMStream(AudioApplication.Mixed, 1920);
await output.CopyToAsync(discord);
awai... | private async Task SendAsync(IAudioClient client, string path)
{
// Create FFmpeg using the previous example
var ffmpeg = CreateStream(path);
var output = ffmpeg.StandardOutput.BaseStream;
var discord = client.CreatePCMStream(1920);
await output.CopyToAsync(discord);
await discord.FlushAsync();
... | mit | C# |
25f59e0489a292b825f60af57d6a8ac9df7e1692 | Add failing test cases | NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModSpunOut.cs | osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModSpunOut.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 NUnit.Framework;
using osu.Framework.Testing;
using osu.Framework.Utils;
using osu.Game.Beatmaps;... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Objects;
using o... | mit | C# |
397066663b96a176315aec22031d40f026398f0a | Add missing Platform | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Logging/LogArea.cs | src/Avalonia.Base/Logging/LogArea.cs | namespace Avalonia.Logging
{
/// <summary>
/// Specifies the area in which a log event occurred.
/// </summary>
public static class LogArea
{
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = "Property";
... | namespace Avalonia.Logging
{
/// <summary>
/// Specifies the area in which a log event occurred.
/// </summary>
public static class LogArea
{
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = "Property";
... | mit | C# |
1fd975f333c4a149e9b3b036f2a75f6aba0cc36b | Remove debug info | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Payment/Receipt.cshtml | Anlab.Mvc/Views/Payment/Receipt.cshtml | @model AnlabMvc.Models.CyberSource.ReceiptResponseModel
@{
ViewData["Title"] = "Receipt";
//var paymentDict = (Dictionary<string, string>)ViewBag.PaymentDictionary;
}
<h1>Thank you for your payment.</h1>
<h2>@Model.Auth_Amount</h2>
@*<div>
<h2>Debugging Info</h2>
<div>
@foreach (... | @model AnlabMvc.Models.CyberSource.ReceiptResponseModel
@{
ViewData["Title"] = "Receipt";
var paymentDict = (Dictionary<string, string>)ViewBag.PaymentDictionary;
}
<h2>Receipt</h2>
<h1>@Model.Auth_Amount</h1>
<div>
<h2>Debugging Info</h2>
<div>
@foreach (var key in paymentDict)
... | mit | C# |
a2d3767ea940dbb49aaba26bcfbaf6461b679ccc | copy and paste is a bitch | mzrimsek/resume-site-api | Core/Interfaces/ILanguageRepository.cs | Core/Interfaces/ILanguageRepository.cs | using System.Collections.Generic;
using Core.Models;
namespace Core.Interfaces
{
public interface ILanguageRepository
{
IEnumerable<LanguageDomainModel> GetAll();
LanguageDomainModel GetById(int id);
LanguageDomainModel Save(LanguageDomainModel language);
void Delete(int id);
... | using System.Collections.Generic;
using Core.Models;
namespace Core.Interfaces
{
public interface ILanguageRepository
{
IEnumerable<LanguageDomainModel> GetAll();
LanguageDomainModel GetById(int id);
LanguageDomainModel Save(LanguageDomainModel job);
void Delete(int id);
}
} | mit | C# |
bcaccc0bbcf0b16b9006b52f19cbf9ee6b530112 | Add more comments | attemoi/MoistureBot | SampleAddins/GameInviteReply/GameInviteReply.cs | SampleAddins/GameInviteReply/GameInviteReply.cs | using System;
using Mono.Addins;
using MoistureBot.ExtensionPoints;
using MoistureBot.Steam;
using System.Xml;
using System.Collections.Generic;
using System.Threading;
[assembly:Addin("GameInviteReply", "1.0")]
[assembly:AddinDependency("MoistureBot", "1.0")]
[assembly:AddinAuthor("Atte Moisio")]
[assembl... | using System;
using Mono.Addins;
using MoistureBot.ExtensionPoints;
using MoistureBot.Steam;
using System.Xml;
using System.Collections.Generic;
using System.Threading;
[assembly:Addin("GameInviteReply", "1.0")]
[assembly:AddinDependency("MoistureBot", "1.0")]
[assembly:AddinAuthor("Atte Moisio")]
[assembl... | mit | C# |
c58226913a803ee4ce23c4cb838ba03409b86ef4 | Improve constants. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Core/TraktConstants.cs | Source/Lib/TraktApiSharp/Core/TraktConstants.cs | namespace TraktApiSharp.Core
{
internal static class TraktConstants
{
internal static readonly string APIClientIdHeaderKey = "trakt-api-key";
internal static readonly string APIVersionHeaderKey = "trakt-api-version";
internal static readonly string OAuthBaseAuthorizeUrl = "https://trak... | namespace TraktApiSharp.Core
{
internal static class TraktConstants
{
internal static string APIClientIdHeaderKey = "trakt-api-key";
internal static string APIVersionHeaderKey = "trakt-api-version";
internal static string OAuthBaseAuthorizeUrl => "https://trakt.tv";
internal s... | mit | C# |
48c94f78a10fb6fc0e4b5355e7047969e6ad7d36 | update progress | justcoding121/Advanced-Algorithms,justcoding121/Algorithm-Sandbox | Algorithm.Sandbox/DataStructures/Tree/AsBTree.cs | Algorithm.Sandbox/DataStructures/Tree/AsBTree.cs | using System;
namespace Algorithm.Sandbox.DataStructures.Tree
{
internal class AsBTreeNode<T> where T : IComparable
{
public T[] Values { get; set; }
public AsBTreeNode<T> Parent { get; set; }
public AsBTreeNode<T>[] Children { get; set; }
public int Count { get; internal set;... | using System;
namespace Algorithm.Sandbox.DataStructures.Tree
{
internal class AsBTreeNode<T> where T : IComparable
{
public AsArrayList<T> Value { get; set; }
public AsBTreeNode<T> Parent { get; set; }
public AsArrayList<AsBTreeNode<T>> Children { get; set; }
}
public class... | mit | C# |
bfc9cb955232d806a914c3603ee89b3423e43840 | Fix cherry pick, spaces not tabs and remove unused delegate | rover886/CefSharp,gregmartinhtc/CefSharp,Livit/CefSharp,AJDev77/CefSharp,dga711/CefSharp,battewr/CefSharp,wangzheng888520/CefSharp,rlmcneary2/CefSharp,Octopus-ITSM/CefSharp,yoder/CefSharp,ruisebastiao/CefSharp,ITGlobal/CefSharp,Octopus-ITSM/CefSharp,Haraguroicha/CefSharp,AJDev77/CefSharp,battewr/CefSharp,haozhouxu/CefS... | CefSharp/IsBrowserInitializedChangedEventArgs.cs | CefSharp/IsBrowserInitializedChangedEventArgs.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Event arguments to the IsBrowserInitializedChanged event handler.
/// </summary>... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Event arguments to the IsBrowserInitializedChanged event handler.
/// </summary>
public ... | bsd-3-clause | C# |
90985b6af65a6008b55fd968d523e7c9ebc40d05 | Add missing license header | NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,johnneijzen/osu,peppy/osu,ZLima12/osu,EVAST9919/osu,peppy/osu-new,peppy/osu,ppy/osu,smoogipooo/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,smo... | osu.Game/Skinning/SkinUtils.cs | osu.Game/Skinning/SkinUtils.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.Bindables;
namespace osu.Game.Skinning
{
/// <summary>
/// Contains helper methods to assist in implementing <see cref="ISkin"/>s.
/// </... | using osu.Framework.Bindables;
namespace osu.Game.Skinning
{
/// <summary>
/// Contains helper methods to assist in implementing <see cref="ISkin"/>s.
/// </summary>
public static class SkinUtils
{
/// <summary>
/// Converts an <see cref="object"/> to a <see cref="Bindable{TValue}"/... | mit | C# |
ed020e0269e326e7a51cb855e83891c27b9daf21 | Update moment.js | martincostello/api,martincostello/api,martincostello/api | src/API/Pages/Shared/_Scripts.cshtml | src/API/Pages/Shared/_Scripts.cshtml | <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.0/js/bootstrap.bundle.min.js" integrity="sha512-9GacT4119eY3AcosfWtHMsT5JyZudrexyEVzTBWV3viP/YfB9e2pEy3N7WXL3SV6ASXpTU0vzzSxsbfsuUH4sQ==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/... | <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.0/js/bootstrap.bundle.min.js" integrity="sha512-9GacT4119eY3AcosfWtHMsT5JyZudrexyEVzTBWV3viP/YfB9e2pEy3N7WXL3SV6ASXpTU0vzzSxsbfsuUH4sQ==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/... | mit | C# |
146f85c30d73e04dfdc02b4a3dad4fec8ed3283d | Update XTemplates.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Collections/XTemplates.cs | src/Core2D/Collections/XTemplates.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Project;
namespace Core2D.Collections
{
/// <summary>
/// Observab... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Project;
namespace Core2D.Collections
{
/// <summary>
/// Observable <see cref="... | mit | C# |
e9a18f8f1b17e7046f7e4ba7e693cb5fd9df6441 | Fix tableName not correctly saved | lecaillon/Evolve | src/Evolve/Metadata/MetadataTable.cs | src/Evolve/Metadata/MetadataTable.cs | using Evolve.Migration;
using System.Collections.Generic;
using Evolve.Utilities;
using Evolve.Connection;
namespace Evolve.Metadata
{
public abstract class MetadataTable : IEvolveMetadata
{
protected IWrappedConnection _wrappedConnection;
public MetadataTable(string schema, string tableName,... | using Evolve.Migration;
using System.Collections.Generic;
using Evolve.Utilities;
using Evolve.Connection;
namespace Evolve.Metadata
{
public abstract class MetadataTable : IEvolveMetadata
{
protected IWrappedConnection _wrappedConnection;
public MetadataTable(string schema, string tableName,... | mit | C# |
148b32ac59a7a3537d3cf4cc1d33061d8c224655 | Fix FileExistsCondition.IsMet logic. | jinlook/NAppUpdate,synhershko/NAppUpdate,piotrwest/NAppUpdateMono,johnrossell/NAppUpdate,piotrwest/NAppUpdateMono,vbjay/NAppUpdate,group6tech/NAppUpdate2,miguel-misstipsi/NAppUpdate2,lexruster/NAppUpdate,halotron/NAppUpdate | src/NAppUpdate.Framework/Conditions/FileExistsCondition.cs | src/NAppUpdate.Framework/Conditions/FileExistsCondition.cs | using System;
using System.Collections.Generic;
using System.IO;
using NAppUpdate.Framework.Common;
namespace NAppUpdate.Framework.Conditions
{
[Serializable]
[UpdateConditionAlias("exists")]
public class FileExistsCondition : IUpdateCondition
{
[NauField("localPath",
"The local path ... | using System;
using System.Collections.Generic;
using System.IO;
using NAppUpdate.Framework.Common;
namespace NAppUpdate.Framework.Conditions
{
[Serializable]
[UpdateConditionAlias("exists")]
public class FileExistsCondition : IUpdateCondition
{
[NauField("localPath",
"The local path ... | apache-2.0 | C# |
e41c42598834d6d19d174320b8d4413fd8bf46d6 | Change the casting way of event number | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscReaderStatus_1.cs | src/PcscDotNet/PcscReaderStatus_1.cs | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
namespace PcscDotNet
{
public sealed class PcscReaderStatus<TIScardReaderState> : PcscReaderStatus where TIScardReaderState : struct, ISCardReaderState
{
private readonly TIScardReaderState[] _... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
namespace PcscDotNet
{
public sealed class PcscReaderStatus<TIScardReaderState> : PcscReaderStatus where TIScardReaderState : struct, ISCardReaderState
{
private readonly TIScardReaderState[] _... | mit | C# |
0c43eaeeb5ef51571c935a9c6fcf3c0232b4d50c | Update SqliteConnectionStringParser.cs | msallin/SQLiteCodeFirst,liujunhua/SQLiteCodeFirst | SQLite.CodeFirst/SqliteConnectionStringParser.cs | SQLite.CodeFirst/SqliteConnectionStringParser.cs | using System.Collections.Generic;
namespace SQLite.CodeFirst
{
internal static class SqliteConnectionStringParser
{
private const char KeyValuePairSeperator = ';';
private const char KeyValueSeperator = '=';
private const int KeyPosition = 0;
private const int ValuePosition = 1... | using System.Collections.Generic;
namespace SQLite.CodeFirst
{
internal static class SqliteConnectionStringParser
{
private const char KeyValuePairSeperator = ';';
private const char KeyValueSeperator = '=';
private const int KeyPosition = 0;
private const int ValuePosition = 1... | apache-2.0 | C# |
a9bbf5f5be2fc8bfb0e78380ac028173790929b6 | Fix Bahamas | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/BahamasProvider.cs | Src/Nager.Date/PublicHolidays/BahamasProvider.cs | using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class BahamasProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Bahamas
//https://en.wikipedia.org/wiki/... | using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class BahamasProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Bahamas
//https://en.wikipedia.org/wiki/... | mit | C# |
fecec9a859793feaeaf29bfac01e9baa49724db4 | add computer type to enum | sghaida/ADWS | ADWS/Models/ADObjectTypecs.cs | ADWS/Models/ADObjectTypecs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace ADWS.Models
{
[DataContract( Name = "ObjectType" )]
public enum ObjectType
{
[EnumMember( Value = "USER" )]
USER = 1 ,
[EnumMember( Value = "GROUP" )]... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace ADWS.Models
{
[DataContract( Name = "ObjectType" )]
public enum ObjectType
{
[EnumMember( Value = "USER" )]
USER = 1 ,
[EnumMember( Value = "GROUP" )]... | apache-2.0 | C# |
31b118f60071e913cdd363567cc36c530e9687cf | Remove unused using directive. | jmptrader/elmah-mvc,fhchina/elmah-mvc,alexbeletsky/elmah-mvc,mmsaffari/elmah-mvc | src/Tests/Properties/AssemblyInfo.cs | src/Tests/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("Tests")]
[assembly: AssemblyDescription("... | 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("Te... | apache-2.0 | C# |
361b0d2db83f2bc00706f1bde137b3ca93b0f2de | Add tests for `kernel32!SetHandleInformation` and `kernel32!GetHandleInformation` | AArnott/pinvoke | src/Kernel32.Tests/Kernel32Facts.cs | src/Kernel32.Tests/Kernel32Facts.cs | // Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using PInvoke;
using Xunit;
using static PInvoke.Kernel32;
public ... | // Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using PInvoke;
using Xunit;
using static PInvoke.Kernel32;
public partial class Kernel32Fa... | mit | C# |
7246100bef279e20d41ee94d27c6f213d301e704 | fix for pre 1.9 compilers | Yetangitu/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,mono/f-spot,Yetangitu/f-spot,dkoeb/f-spot,mono/f-spot,mans0954/f-spot,GNOME/f-spot,Sanva/f-spot,mono/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,mono/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot... | extensions/Tools/HashJob/HashJob.cs | extensions/Tools/HashJob/HashJob.cs | /*
* HashJob.cs
*
* Author(s)
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details
*/
using System;
using System.Collections.Generic;
using Mono.Unix;
using Mono.Data.SqliteClient;
using Gtk;
using FSpot;
using FSpot.UI.Dialog;
using FSpot.Extensions;
using FSpot.Jo... | /*
* HashJob.cs
*
* Author(s)
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details
*/
using System;
using System.Collections.Generic;
using Mono.Unix;
using Mono.Data.SqliteClient;
using Gtk;
using FSpot;
using FSpot.UI.Dialog;
using FSpot.Extensions;
using FSpot.Jo... | mit | C# |
573be04cbe018d2387f124dddf491cc0bc52d511 | Fix the defines | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | binding/Binding.Shared/PlatformConfiguration.cs | binding/Binding.Shared/PlatformConfiguration.cs | using System;
using System.Runtime.InteropServices;
#if HARFBUZZ
namespace HarfBuzzSharp
#else
namespace SkiaSharp
#endif
{
internal static class PlatformConfiguration
{
public static bool IsUnix { get; }
public static bool IsWindows { get; }
public static bool IsMac { get; }
public static bool IsLinux {... | using System;
using System.Runtime.InteropServices;
#if HARFBUZZ
namespace HarfBuzzSharp
#else
namespace SkiaSharp
#endif
{
internal static class PlatformConfiguration
{
public static bool IsUnix { get; }
public static bool IsWindows { get; }
public static bool IsMac { get; }
public static bool IsLinux {... | mit | C# |
26cbaa76d854eba9e309ea6c07cc5dba5727d9d7 | apply corrections | unosquare/swan | test/Unosquare.Swan.Test/ExtensionsExceptionMEssageTest.cs | test/Unosquare.Swan.Test/ExtensionsExceptionMEssageTest.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Unosquare.Swan.Networking;
using Unosquare.Swan.Test.Mocks;
namespace Unosquare.Swan.Test
{
[TestFixture]
public class ExtensionsExceptionMessageTest
{
[Test]
publi... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Unosquare.Swan.Networking;
using Unosquare.Swan.Test.Mocks;
namespace Unosquare.Swan.Test
{
[TestFixture]
public class ExtensionsExceptionMessageTest
{
[Test]
publi... | mit | C# |
ab1f22ce80c2111dd654d8687ea489f67e015313 | Add missing 'new' modifier. | JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity | src/CyclomaticComplexity/Options/HyperlinkOptionViewModel.cs | src/CyclomaticComplexity/Options/HyperlinkOptionViewModel.cs | /*
* Copyright 2007-2015 JetBrains
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | /*
* Copyright 2007-2015 JetBrains
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 | C# |
2ebc20719a34df6ca762d040b02678de3fe38e50 | Remove Parse(Uri) overload. | GetTabster/Tabster.Core | Parsing/IWebTabParser.cs | Parsing/IWebTabParser.cs | #region
using System;
#endregion
namespace Tabster.Core.Parsing
{
/// <summary>
/// Web-based tab parser.
/// </summary>
public interface IWebTabParser : IStringTabParser
{
///<summary>
/// Determines whether a specified URL matches a specific pattern used by the ... | #region
using System;
using Tabster.Core.Data;
using Tabster.Core.Types;
#endregion
namespace Tabster.Core.Parsing
{
/// <summary>
/// Web-based tab parser.
/// </summary>
public interface IWebTabParser : IStringTabParser
{
/// <summary>
/// Parses tab from URL... | apache-2.0 | C# |
425bded7535a6a8096d39f93c36ae29e998e90b8 | Fix for font sizing | mtskelton/unity-ucs | UCS.cs | UCS.cs | using UnityEngine;
using System.Collections;
/**
* The Universal Coordinate System provides a simple class to convert screen independent co-ordinates from -1.0 to 1.0 into screen space,
* taking into account aspect ratio.
* It's a bit raw in it's current state, so improvements are welcome.
*/
public class UCS : M... | using UnityEngine;
using System.Collections;
/**
* The Universal Coordinate System provides a simple class to convert screen independent co-ordinates from -1.0 to 1.0 into screen space,
* taking into account aspect ratio.
* It's a bit raw in it's current state, so improvements are welcome.
*/
public class UCS : M... | mit | C# |
fa05ad896b996d6f5d7e05bf44d03ca651ade5b0 | Change UI fullnode name | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/BitcoinCore/Monitoring/RpcStatus.cs | WalletWasabi/BitcoinCore/Monitoring/RpcStatus.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.BitcoinCore.Monitoring
{
public class RpcStatus : IEquatable<RpcStatus>
{
public static RpcStatus Unresponsive = new RpcStatus(false, 0, 0, 0);
private RpcStatus(bool success, ulong headers, ulong blocks, int peersCount)
... | using System;
using System.Collections.Generic;
using System.Text;
namespace WalletWasabi.BitcoinCore.Monitoring
{
public class RpcStatus : IEquatable<RpcStatus>
{
public static RpcStatus Unresponsive = new RpcStatus(false, 0, 0, 0);
private RpcStatus(bool success, ulong headers, ulong blocks, int peersCount)
... | mit | C# |
a125cc70a3bfaa7287b1285eb0d2994278c19946 | Add the Material Manager to the context for injection. | Mitsugaru/game-off-2016 | Assets/Scripts/RootContext.cs | Assets/Scripts/RootContext.cs | using UnityEngine;
using System.Collections;
using strange.extensions.context.impl;
using strange.extensions.context.api;
public class RootContext : MVCSContext, IRootContext
{
public RootContext(MonoBehaviour view) : base(view)
{
}
public RootContext(MonoBehaviour view, ContextStartupFlags flags) ... | using UnityEngine;
using System.Collections;
using strange.extensions.context.impl;
using strange.extensions.context.api;
public class RootContext : MVCSContext, IRootContext
{
public RootContext(MonoBehaviour view) : base(view)
{
}
public RootContext(MonoBehaviour view, ContextStartupFlags flags) ... | mit | C# |
6e963b6b91dba4e96f61304980fb614fae3b3db3 | fix cf | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/UpdateChecker.cs | WalletWasabi/Services/UpdateChecker.cs | using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Exceptions;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Models;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Services
{
public cl... | using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Exceptions;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Models;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Services
{
public cl... | mit | C# |
f22d025ef9ca5660721aa3f8569344a8241add02 | set logging to info to see scientist results | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.Common/Logging/LoggingConfig.cs | WebAPI.Common/Logging/LoggingConfig.cs | using System.IO;
using System.Web;
using Serilog;
using Serilog.Core;
using Serilog.Events;
using Serilog.Sinks.Email;
using Serilog.Sinks.GoogleCloudLogging;
namespace WebAPI.Common.Logging
{
public static class LoggingConfig
{
public static void Register(string name)
{
var config... | using System.IO;
using System.Web;
using Serilog;
using Serilog.Core;
using Serilog.Events;
using Serilog.Sinks.Email;
using Serilog.Sinks.GoogleCloudLogging;
namespace WebAPI.Common.Logging
{
public static class LoggingConfig
{
public static void Register(string name)
{
var config... | mit | C# |
64d2e3ae01eda5f69e91a41d540ba9a90d28eeba | Build and publish nuget package | rlyczynski/XSerializer,QuickenLoans/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
6d92437752b78768dec5dcfa84bb47b61f256048 | Set culture in NUnitSettings.cs in Atata.Tests project | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata | src/Atata.Tests/NUnitSettings.cs | src/Atata.Tests/NUnitSettings.cs | using NUnit.Framework;
[assembly: LevelOfParallelism(4)]
[assembly: Parallelizable(ParallelScope.Fixtures)]
[assembly: SetCulture("en-us")]
[assembly: SetUICulture("en-us")]
| using NUnit.Framework;
[assembly: LevelOfParallelism(4)]
[assembly: Parallelizable(ParallelScope.Fixtures)]
| apache-2.0 | C# |
18a165c33d91f57b9771a1e71439cd90fc852498 | Add third first rules | aloisdg/edx-csharp | edX/Module6/Program.cs | edX/Module6/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module6
{
class Program
{
public enum SchoolStatus
{
Student,
Teacher,
Other
}
// 1.Create a Person base class with common attributes for a person
public abstract class A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module6
{
class Program
{
static void Main()
{
}
}
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.