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 |
|---|---|---|---|---|---|---|---|---|
395a425a63728a6d6a3cfd00970d8e4b4653709d | Update _Layout.cshtml | pacoferre/polymercrud,pacoferre/polymercrud,pacoferre/polymercrud | src/PolymerCRUD/Views/Shared/_Layout.cshtml | src/PolymerCRUD/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Polymer CRUD">
<title>@ViewData["Title"] - Polymer CRUD</title>
<!-- Place favicon.ico in th... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Social Wave Deck">
<title>@ViewData["Title"] - Social Wave Deck</title>
<!-- Place favicon.i... | mit | C# |
508bdede0db3ab799521f9aedcded9204805948c | Throw if a VertexProperty is wrapped. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Core/Elements/VertexProperty.cs | ExRam.Gremlinq.Core/Elements/VertexProperty.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace ExRam.Gremlinq.Core.GraphElements
{
public class VertexProperty<TValue, TMeta> : Property<TValue>, IVertexProperty
where TMeta : class
{
public VertexProperty(TValue value) : base(v... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace ExRam.Gremlinq.Core.GraphElements
{
public class VertexProperty<TValue, TMeta> : Property<TValue>, IVertexProperty
where TMeta : class
{
public VertexProperty(TValue value) : base(v... | mit | C# |
4ef6e5da1620ba4270e4f2010dcef5d538454ddb | rename a route | BCITer/Jabber,BCITer/Jabber,BCITer/Jabber | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "SpecificForum",
u... | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Forum",
url: "For... | mit | C# |
0f8f1e9bc24d26ae1b43c517a8e36d23723dd8d2 | Bump version number to v2.0.3 | Li-Yanzhi/Mvc.CascadeDropDown,Li-Yanzhi/Mvc.CascadeDropDown,alexanderar/Mvc.CascadeDropDown,alexanderar/Mvc.CascadeDropDown,alexanderar/Mvc.CascadeDropDown,Li-Yanzhi/Mvc.CascadeDropDown | Mvc.CascadeDropDown/Properties/AssemblyInfo.cs | Mvc.CascadeDropDown/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("Mvc.CascadeDropDown")]
[assembly: Assembl... | 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("Mvc.CascadeDropDown")]
[assembly: Assembl... | mit | C# |
2eb9befd602add624df0125bdf7b407c3fa361ca | Change datatype for OpeningBalance and OpeningRate | techphernalia/MyPersonalAccounts | MyPersonalAccountsModel/Inventory/StockItem.cs | MyPersonalAccountsModel/Inventory/StockItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.techphernalia.MyPersonalAccounts.Model.Inventory
{
public class StockItem
{
public int StockItemId { get; set; }
public string StockItemName { get; set; }
public int StockGroupId { get; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.techphernalia.MyPersonalAccounts.Model.Inventory
{
public class StockItem
{
public int StockItemId { get; set; }
public string StockItemName { get; set; }
public int StockGroupId { get; ... | mit | C# |
c6f061724ae785ddcff59d2b9595e3a335adaeef | Add token issuspended to view model | exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless | src/Exceptionless.Web/Models/Token/ViewToken.cs | src/Exceptionless.Web/Models/Token/ViewToken.cs | using Foundatio.Repositories.Models;
namespace Exceptionless.Web.Models;
public class ViewToken : IIdentity, IHaveDates {
public string Id { get; set; }
public string OrganizationId { get; set; }
public string ProjectId { get; set; }
public string UserId { get; set; }
public string DefaultProject... | using Foundatio.Repositories.Models;
namespace Exceptionless.Web.Models;
public class ViewToken : IIdentity, IHaveDates {
public string Id { get; set; }
public string OrganizationId { get; set; }
public string ProjectId { get; set; }
public string UserId { get; set; }
public string DefaultProject... | apache-2.0 | C# |
948fbb0e430124648b3e3f33d33e0e473e5380f9 | Add .NET Timeout property | djlewisxactware/ModernHttpClient | src/ModernHttpClient/Net45/NetNetworkHandler.cs | src/ModernHttpClient/Net45/NetNetworkHandler.cs | using System;
using System.Net.Http;
using System.Net;
using System.Threading.Tasks;
using System.Threading;
namespace ModernHttpClient
{
public class NativeMessageHandler : HttpClientHandler
{
public NativeMessageHandler() : this(false, false) {}
public TimeSpan? Timeout { get; set; }
... | using System;
using System.Net.Http;
using System.Net;
using System.Threading.Tasks;
using System.Threading;
namespace ModernHttpClient
{
public class NativeMessageHandler : HttpClientHandler
{
public NativeMessageHandler() : this(false, false) {}
public NativeMessageHandler(bool throwOnCapt... | mit | C# |
40da395f26c16a9ed4c6998d2f4458fae6b7574d | Fix reward text | DMagic1/KSP_Contract_Window | Source/ContractsWindow/PanelInterfaces/IntervalNodeUI.cs | Source/ContractsWindow/PanelInterfaces/IntervalNodeUI.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using ProgressParser;
namespace ContractsWindow.PanelInterfaces
{
public class IntervalNodeUI : IIntervalNode
{
private progressInterval node;
public IntervalNodeUI(progressInterval n)
{
if (n == null)
return;
... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using ProgressParser;
namespace ContractsWindow.PanelInterfaces
{
public class IntervalNodeUI : IIntervalNode
{
private progressInterval node;
public IntervalNodeUI(progressInterval n)
{
if (n == null)
return;
... | mit | C# |
42e88a0351d0250fc84806adbf3d33e60023eed4 | Adjust size of spinner based on available size for control | bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto.Platform.iOS/Forms/Controls/SpinnerHandler.cs | Source/Eto.Platform.iOS/Forms/Controls/SpinnerHandler.cs | using System;
using MonoTouch.UIKit;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.iOS.Forms.Controls
{
public class SpinnerHandler : IosControl<UIActivityIndicatorView, Spinner>, ISpinner
{
bool enabled;
public SpinnerHandler()
{
Control = new UIActivityIndicatorView
{
HidesWhenStoppe... | using System;
using MonoTouch.UIKit;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.iOS.Forms.Controls
{
public class SpinnerHandler : IosControl<UIActivityIndicatorView, Spinner>, ISpinner
{
bool enabled;
public SpinnerHandler()
{
Control = new UIActivityIndicatorView
{
HidesWhenStoppe... | bsd-3-clause | C# |
2a2eb9c9f9715fc792c1abb64526835ed2c69893 | Fix wrong conversion of byte[] identifiers for MySQL (#1303). | LinqToDB4iSeries/linq2db,ronnyek/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,MaceWindu/linq2db | Source/LinqToDB/DataProvider/MySql/MySqlMappingSchema.cs | Source/LinqToDB/DataProvider/MySql/MySqlMappingSchema.cs | using System;
using System.Text;
using System.Data.Linq;
namespace LinqToDB.DataProvider.MySql
{
using Mapping;
using SqlQuery;
public class MySqlMappingSchema : MappingSchema
{
public MySqlMappingSchema() : this(ProviderName.MySql)
{
}
protected MySqlMappingSchema(string configuration) :... | using System;
using System.Text;
namespace LinqToDB.DataProvider.MySql
{
using Mapping;
using SqlQuery;
public class MySqlMappingSchema : MappingSchema
{
public MySqlMappingSchema() : this(ProviderName.MySql)
{
}
protected MySqlMappingSchema(string configuration) : base(configuration)
{... | mit | C# |
d690a85917d83527a03ec2c34c93585756f00e4e | update assembly info | johndpalm/Citrius.Owin.Security.Foursquare | Citrius.Owin.Security.Foursquare/Properties/AssemblyInfo.cs | Citrius.Owin.Security.Foursquare/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("Ci... | 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("Ci... | apache-2.0 | C# |
fc526a2ff90e4128f961a8c25f57dcfe4ddf8f0b | Fix failing test on Linux | oocx/acme.net | src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs | src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs | using System;
using Newtonsoft.Json;
using Oocx.ACME.Jose;
using Oocx.ACME.Protocol;
using Xunit;
namespace Oocx.ACME.Tests
{
public class RegistrationTests
{
[Fact]
public void Can_serialize()
{
var request = new NewRegistrationRequest
{
Contact... | using System;
using Newtonsoft.Json;
using Oocx.ACME.Jose;
using Oocx.ACME.Protocol;
using Xunit;
namespace Oocx.ACME.Tests
{
public class RegistrationTests
{
[Fact]
public void Can_serialize()
{
var request = new NewRegistrationRequest
{
Contact... | mit | C# |
90efc59434bd9143d6be26f86754b0f63123e900 | Update WebService1.asmx.cs | aravindbaskaran/DotNetFile-UploadService,aravindbaskaran/DotNetFile-UploadService | WebService1.asmx.cs | WebService1.asmx.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace WebApplication2
{
/// <summary>
/// Summary description for WebService1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebService... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace WebApplication2
{
/// <summary>
/// Summary description for WebService1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebService... | mit | C# |
5dccbc4532212ec553042f9c80ad1593bb217c21 | Remove additional definition of ToolTipText property | nunit/nunit-gui,NUnitSoftware/nunit-gui,nunit/nunit-gui,NUnitSoftware/nunit-gui | src/TestCentric/components/Elements/ICommand.cs | src/TestCentric/components/Elements/ICommand.cs | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, incl... | mit | C# |
f9c71915bcff1ab6b6f10fb560fc37c81a301876 | Add ProductId parameter to StripePlanListOptions | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Plans/StripePlanListOptions.cs | src/Stripe.net/Services/Plans/StripePlanListOptions.cs | using Newtonsoft.Json;
namespace Stripe
{
public class StripePlanListOptions : StripeListOptions
{
[JsonProperty("created")]
public StripeDateFilter Created { get; set; }
/// <summary>
/// Only return plans for the given product.
/// </summary>
[JsonProperty("pr... | using Newtonsoft.Json;
namespace Stripe
{
public class StripePlanListOptions : StripeListOptions
{
}
}
| apache-2.0 | C# |
43e77757f78e527fbb2be7b804d9dc1fbc397640 | Update Heal.cs | jappi00/Mittelalter-2D-Game | Assets/Scripts/Player/Heal.cs | Assets/Scripts/Player/Heal.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Heal : MonoBehaviour {
private float currentHealth;
public Slider healthbar; //Lebens anzeige
public float heal;
// Update is called once per frame
void OnTriggerEnter2D(Collider2D col)
{
currentHealth =... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Heal : MonoBehaviour {
private Transform player;
private float currentHealth;
public Slider healthbar; //Lebens anzeige
public float heal;
// Update is called once per frame
void OnTriggerEnter2D(Collider2D col... | apache-2.0 | C# |
8bfe450d7c9bc8c3b156d8fda3931a1fe8ae7d94 | Test fix? | lucaslorentz/minicover,lucaslorentz/minicover,lucaslorentz/minicover | src/MiniCover/Commands/Options/WorkingDirectoryOption.cs | src/MiniCover/Commands/Options/WorkingDirectoryOption.cs | using System;
using System.IO;
namespace MiniCover.Commands.Options
{
internal class WorkingDirectoryOption : MiniCoverOption<DirectoryInfo>
{
private const string DefaultValue = "./";
private const string OptionTemplate = "--workdir";
private static readonly string Description = $"Ch... | using System;
using System.IO;
namespace MiniCover.Commands.Options
{
internal class WorkingDirectoryOption : MiniCoverOption<DirectoryInfo>
{
private const string DefaultValue = "./";
private const string OptionTemplate = "--workdir";
private static readonly string Description = $"Ch... | mit | C# |
f3431313c4f700fb9a06d1dd9bc67d27a4eecdbd | Add Method to Get Device | ZhangGaoxing/windows-iot-demo,ZhangGaoxing/windows-iot-demo,ZhangGaoxing/windows-iot-demo | AM2320/AM2320Demo/AM2320Demo/AM2320.cs | AM2320/AM2320Demo/AM2320Demo/AM2320.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.I2c;
namespace AM2320Demo
{
public struct AM2320Data
{
public double Temperature;
public double Humidity;
}
public class ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.I2c;
namespace AM2320Demo
{
public struct AM2320Data
{
public double Temperature;
public double Humidity;
}
public class ... | mit | C# |
42ff522cbd5800419056858fb0437e796a25c50d | Update SwaggerExtensionDataAttribute.cs | NSwag/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,NSwag/NSwag,NSwag/NSwag,NSwag/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag | src/NSwag.Annotations/SwaggerExtensionDataAttribute.cs | src/NSwag.Annotations/SwaggerExtensionDataAttribute.cs | //-----------------------------------------------------------------------
// <copyright file="SwaggerTagAttribute.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.com... | //-----------------------------------------------------------------------
// <copyright file="SwaggerTagAttribute.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.com... | mit | C# |
23e90dfbe40264e5dd9e64df579504bbcb74bb12 | Support for ignore attribute | axodox/AxoTools,axodox/AxoTools | AxoCover/Models/TestAssemblyScanner.cs | AxoCover/Models/TestAssemblyScanner.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AxoCover.Models
{
public class TestAssemblyScanner : MarshalByRefObject, ITestAssemblyScanner
{
public string[] ScanAssemblyForTests(string assemblyPath)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AxoCover.Models
{
public class TestAssemblyScanner : MarshalByRefObject, ITestAssemblyScanner
{
public string[] ScanAssemblyForTests(string assemblyPath)
{
var testItems = new List<string>();
... | mit | C# |
e1448884e4d8c58c5bd7dfd683442249993e473c | Use Allow-List; Regex for Slug Generation (#84) | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate | BlogTemplate/Services/SlugGenerator.cs | BlogTemplate/Services/SlugGenerator.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using BlogTemplate._1.Models;
namespace BlogTemplate._1.Services
{
public class SlugGenerator
{
private BlogDataStore _... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTemplate._1.Models;
namespace BlogTemplate._1.Services
{
public class SlugGenerator
{
private BlogDataStore _dataStore;
public SlugGenera... | mit | C# |
0a82adb68c5b1b40a5a074dde143f58e9e7604b5 | add another test case for CardRecord, split constructor and setter | NCTUGDC/HearthStone | HearthStone/HearthStone.Library.Test/CardRecordUnitTest.cs | HearthStone/HearthStone.Library.Test/CardRecordUnitTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
public class CardRecordUnitTest
{
class TestCardRecord : CardRecord
{
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
public class CardRecordUnitTest
{
class TestCardRecord : CardRecord
{
... | apache-2.0 | C# |
855db5b0efe6be842b41bf7c816463a77a7f40a4 | add comment | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/OpenGLObjects/UniformVariables/UniformVariable.cs | CSharpGL/OpenGLObjects/UniformVariables/UniformVariable.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace CSharpGL
{
/// <summary>
/// An uniform variable in shader.
/// </summary>
public abstract class UniformVariable
{
/// <summary>
/// variable name.
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace CSharpGL
{
/// <summary>
/// shader中的一个uniform变量。
/// </summary>
public abstract class UniformVariable
{
/// <summary>
/// 变量名。
/// </summary>
... | mit | C# |
d0fc4ba47ef54818dcf14cbd63a67179bf6c6dea | Update assembly version | nexussays/Xamarin.Mobile,moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,xamarin/Xamarin.Mobile | MonoDroid/MonoMobile.Extensions/Properties/AssemblyInfo.cs | MonoDroid/MonoMobile.Extensions/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("Xam... | 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("Xam... | apache-2.0 | C# |
19159df4ebe714b404f73691ee372bd17e03d68a | move over to interface context | WojcikMike/docs.particular.net | Snippets/Snippets_6/UpgradeGuides/5to6/OutgoingBehavior.cs | Snippets/Snippets_6/UpgradeGuides/5to6/OutgoingBehavior.cs | namespace Snippets6.UpgradeGuides._5to6
{
using System;
using System.Threading.Tasks;
using NServiceBus.Pipeline;
using NServiceBus.Pipeline.OutgoingPipeline;
#region 5to6header-outgoing-behavior
public class OutgoingBehavior : Behavior<IOutgoingLogicalMessageContext>
{
public over... | namespace Snippets6.UpgradeGuides._5to6
{
using System;
using System.Threading.Tasks;
using NServiceBus.Pipeline;
using NServiceBus.Pipeline.OutgoingPipeline;
#region 5to6header-outgoing-behavior
public class OutgoingBehavior : Behavior<OutgoingLogicalMessageContext>
{
public overr... | apache-2.0 | C# |
8506a494a36761a88dc0dad976b7f0bce4385f04 | fix tree | pixel-stuff/ld_dare_32 | Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Tree/tree.cs | Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Tree/tree.cs | using UnityEngine;
using System.Collections;
public class tree : MonoBehaviour {
enum TreeState{
UP,
CHOPED,
FALLEN,
PICKED
};
public GameObject rightChop;
public GameObject leftChop;
public GameObject trunk;
public GameObject stump;
public float SecondeAnimation;
// Use this for initialization
priv... | using UnityEngine;
using System.Collections;
public class tree : MonoBehaviour {
enum TreeState{
UP,
CHOPED,
FALLEN,
PICKED
};
public GameObject rightChop;
public GameObject leftChop;
public GameObject trunk;
public GameObject stump;
public float SecondeAnimation;
// Use this for initialization
priv... | mit | C# |
9b2c9045ebefe8e29a97164ffb79c45d4a0c667e | revise index calcs | ProActiveGames/randraw | source/randraw/RandomDraw.cs | source/randraw/RandomDraw.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace randraw
{
class RandomDraw
{
public void Run(
string key, string inpath, string outpath,
bool noHeader, int numRowsToSelect)
{... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace randraw
{
class RandomDraw
{
public void Run(
string key, string inpath, string outpath,
bool noHeader, int numRowsToSelect)
{... | mit | C# |
35760ad1e08961da909517c7a54b1486955e8b15 | Use helper method. | reaction1989/roslyn,OmarTawfik/roslyn,xasx/roslyn,srivatsn/roslyn,panopticoncentral/roslyn,stephentoub/roslyn,TyOverby/roslyn,bkoelman/roslyn,tannergooding/roslyn,tannergooding/roslyn,dotnet/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,AnthonyDGreen/roslyn,abock/roslyn,DustinCampbell/roslyn,tmat/roslyn,davkean/roslyn,... | src/Features/Core/Portable/AddImport/CodeActions/SymbolReference.SymbolReferenceCodeAction.cs | src/Features/Core/Portable/AddImport/CodeActions/SymbolReference.SymbolReferenceCodeAction.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.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnaly... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnaly... | mit | C# |
79b802ceb64dfe00126866081b4223cac1adc1f0 | Work on bullet trails a tad | TrickWaterArts/ProjectMinotaur | ProjectMinotaur/Assets/Script/Entity/Weapon/BulletTrail.cs | ProjectMinotaur/Assets/Script/Entity/Weapon/BulletTrail.cs | using UnityEngine;
public class BulletTrail : MonoBehaviour {
public float life = 0.5f;
private float alpha = -1.0f;
private float time = 0.0f;
private LineRenderer line;
void Update() {
time += Time.deltaTime;
if (line == null || alpha < 0.0f) {
return;
}
if (time >= life) {
Destroy(ga... | using UnityEngine;
public class BulletTrail : MonoBehaviour {
public float life = 0.05f;
private float alpha = -1.0f;
private float time = 0.0f;
private Vector3 start;
private Vector3 end;
private LineRenderer line;
void Update() {
time += Time.deltaTime;
if (line == null || alpha < 0.0f) {
return;... | apache-2.0 | C# |
6514f06e470584fa16bf3b6b3d80091bee3e4732 | Update AssemblyInfo | AMDL/amdl2maml | amdl2maml/Converter/Properties/AssemblyInfo.cs | amdl2maml/Converter/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
// 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("Amdl.Maml.Converter")]
[assembly: Assembl... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an ... | apache-2.0 | C# |
1fe7c3dc3a7281da4c8d66b40444dcee8b901acf | fix typo | mattwalden/RestSharp,felipegtx/RestSharp,PKRoma/RestSharp,periface/RestSharp,dmgandini/RestSharp,haithemaraissia/RestSharp,wparad/RestSharp,eamonwoortman/RestSharp.Unity,restsharp/RestSharp,KraigM/RestSharp,fmmendo/RestSharp,SaltyDH/RestSharp,huoxudong125/RestSharp,lydonchandra/RestSharp,rivy/RestSharp,dgreenbean/RestS... | RestSharp.MonoTouch/Extensions/ResponseStatusExtensions.cs | RestSharp.MonoTouch/Extensions/ResponseStatusExtensions.cs | using System;
using System.Net;
namespace RestSharp.Extensions
{
public static class ResponseStatusExtensions
{
/// <summary>
/// Convert a <see cref="ResponseStatus"/> to a <see cref="WebException"/> instance.
/// </summary>
/// <param name="responseStatus">The response status.</param>
/// <returns></ret... | using System;
using System.Net;
namespace RestSharp.Extensions
{
public static class ResponseStatusExtensions
{
/// <summary>
/// Convert a <see cref="ResponseStatus"/> to a <see cref="WebException"/> instance.
/// </summary>
/// <param name="responseStatus">The response status.</param>
/// <returns></ret... | apache-2.0 | C# |
11f7523134c125b89a5031731bddabdc7af4ed46 | return notfound | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/Controllers/KioskController.cs | SignInCheckIn/SignInCheckIn/Controllers/KioskController.cs | using System;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Description;
using MinistryPlatform.Translation.Repositories.Interfaces;
using SignInCheckIn.Exceptions.Models;
using SignInCheckIn.Models.DTO;
using SignInCheckIn.Security;
using SignInCheckIn.Services.Interfaces;
using Cross... | using System;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Description;
using MinistryPlatform.Translation.Repositories.Interfaces;
using SignInCheckIn.Exceptions.Models;
using SignInCheckIn.Models.DTO;
using SignInCheckIn.Security;
using SignInCheckIn.Services.Interfaces;
using Cross... | bsd-2-clause | C# |
f99d0151e6fbb0962b50f8200ab0ee272e76874c | Fix AI/NPC error (#10730) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/AI/WorldState/States/Clothing/NearbyClothingState.cs | Content.Server/AI/WorldState/States/Clothing/NearbyClothingState.cs | using Content.Server.AI.Components;
using Content.Server.AI.Utils;
using Content.Server.Clothing.Components;
using Content.Server.Storage.Components;
using JetBrains.Annotations;
using Robust.Server.Containers;
namespace Content.Server.AI.WorldState.States.Clothing
{
[UsedImplicitly]
public sealed class Nearby... | using Content.Server.AI.Components;
using Content.Server.AI.Utils;
using Content.Server.Clothing.Components;
using Content.Server.Storage.Components;
using JetBrains.Annotations;
using Robust.Server.Containers;
namespace Content.Server.AI.WorldState.States.Clothing
{
[UsedImplicitly]
public sealed class Nearby... | mit | C# |
6a23cdf2beee87197b36e41a2e10a2f43f05ecce | Remove old action methods | diolive/cache,diolive/cache | DioLive.Cache/src/DioLive.Cache.WebUI/Controllers/HomeController.cs | DioLive.Cache/src/DioLive.Cache.WebUI/Controllers/HomeController.cs | using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc;
namespace DioLive.Cache.WebUI.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IA... | using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc;
namespace DioLive.Cache.WebUI.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IA... | mit | C# |
f79ed00af5f6ceb60620c99632a09595e5cacc61 | Fix for the wrong updateBuildNumber behavior | asbjornu/GitVersion,GitTools/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion | src/GitVersionCore/Core/BuildAgentBase.cs | src/GitVersionCore/Core/BuildAgentBase.cs | using System;
using System.Collections.Generic;
using GitVersion.Logging;
using GitVersion.OutputVariables;
namespace GitVersion
{
public abstract class BuildAgentBase : ICurrentBuildAgent
{
protected readonly ILog Log;
protected IEnvironment Environment { get; }
protected BuildAgentBa... | using System;
using System.Collections.Generic;
using GitVersion.Logging;
using GitVersion.OutputVariables;
namespace GitVersion
{
public abstract class BuildAgentBase : ICurrentBuildAgent
{
protected readonly ILog Log;
protected IEnvironment Environment { get; }
protected BuildAgentBa... | mit | C# |
b89e872cf72cd0b22f02af270a5a7352a49603d5 | Allow word boundary delimiter to be set by user | refactorsaurusrex/FluentConsole | FluentConsole/FluentConsoleSettings.cs | FluentConsole/FluentConsoleSettings.cs | using System;
namespace FluentConsole.Library
{
/// <summary>
/// Optionial configuration for FluentConsole
/// </summary>
public class FluentConsoleSettings
{
/// <summary>
/// Gets or sets a value indicating how long lines of text should be displayed in the console window.
... | using System;
namespace FluentConsole.Library
{
/// <summary>
/// Optionial configuration for FluentConsole
/// </summary>
public class FluentConsoleSettings
{
/// <summary>
/// Gets or sets a value indicating how long lines of text should be displayed in the console window.
... | mit | C# |
90ed3c4d260753041af8382875ab92b25a8dea8b | Update WorkOrder.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Production/WorkOrder.cs | Test/AdventureWorksFunctionalModel/Production/WorkOrder.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | apache-2.0 | C# |
b0258112a23c71e3cfac32e05725c5f7d7a9b5d0 | test build vsts | arsouza/Aritter,arsouza/Aritter,aritters/Ritter | tests/Application.Seedwork.Tests/Mocks/ProjectionTest.cs | tests/Application.Seedwork.Tests/Mocks/ProjectionTest.cs | namespace Application.Seedwork.Tests.Mocks
{
internal class ProjectionTest
{
public int Id { get; set; }
public string Name { get; set; }
}
}
| namespace Application.Seedwork.Tests.Mocks
{
internal class ProjectionTest
{
public int Id { get; set; }
}
}
| mit | C# |
5a58afbab145e528280fc3c1543a94731f5a53aa | Fix NullReferenceException | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | tests/LondonTravel.Site.Tests/Pages/PageBase.cs | tests/LondonTravel.Site.Tests/Pages/PageBase.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.Pages;
public abstract class PageBase
{
protected PageBase(ApplicationNavigator navigator)
{
... | // 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.Pages;
public abstract class PageBase
{
protected PageBase(ApplicationNavigator navigator)
{
... | apache-2.0 | C# |
ce1e0ec74709dbcc7d5386fad89735d818734ea6 | Update assembly version | AdtecSoftware/Adtec.SagePayMvc,cergis-robert/SagePayMvc,AdtecSoftware/SagePayMvc,JeremySkinner/SagePayMvc | src/SagePayMvc/Properties/AssemblyInfo.cs | src/SagePayMvc/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: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
3d8e6812a0ff017b6fb8bc49b093868aeb3ee6fe | use this message/span | jwldnr/VisualLinter | src/VisualLinter/Linting/MessageMarker.cs | src/VisualLinter/Linting/MessageMarker.cs | using Microsoft.VisualStudio.Text;
namespace jwldnr.VisualLinter.Linting
{
internal class MessageMarker
{
internal EslintMessage Message { get; }
internal SnapshotSpan Span { get; }
internal MessageMarker(EslintMessage message, SnapshotSpan span)
{
Message = messag... | using Microsoft.VisualStudio.Text;
namespace jwldnr.VisualLinter.Linting
{
internal class MessageMarker
{
internal EslintMessage Message { get; }
internal SnapshotSpan Span { get; }
internal MessageMarker(SnapshotSpan span, EslintMessage message)
{
Message = messag... | mit | C# |
91b2e8ffff0131e19be0288cd167bcade84a77a3 | Remove unused code | messagebird/csharp-rest-api | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
namespace MessageBird.Json.Converters
{
class RFC3339DateTimeConverter : JsonConverter
{
private const string Format = "yyyy-MM-dd'T'HH:mm:ssK";
public override void WriteJson(JsonWriter writer, object value, JsonSerializer ser... | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
namespace MessageBird.Json.Converters
{
class RFC3339DateTimeConverter : JsonConverter
{
private const string Format = "yyyy-MM-dd'T'HH:mm:ssK";
public override void WriteJson(JsonWriter writer, object value, JsonSerializer ser... | isc | C# |
bba39c2d2b171418ff33497a1adaa305122534dc | Update UserCreatedHandler.cs | SimonCropp/NServiceBus.Serilog | src/TracingSample/UserCreatedHandler.cs | src/TracingSample/UserCreatedHandler.cs | using System;
using System.Threading.Tasks;
using NServiceBus;
public class UserCreatedHandler :
IHandleMessages<UserCreated>
{
public Task Handle(UserCreated message, IMessageHandlerContext context)
{
context.Logger().Information("Hello from UserCreatedHandler");
throw new Exception("SDfs... | using System;
using System.Threading.Tasks;
using NServiceBus;
public class UserCreatedHandler : IHandleMessages<UserCreated>
{
public Task Handle(UserCreated message, IMessageHandlerContext context)
{
context.Logger().Information("Hello from UserCreatedHandler");
throw new Exception("SDfsd");... | mit | C# |
ae11f313a845e9236d15c53adc2fd979ea1e947d | Update Revoke.cs | jbtule/keyczar-dotnet | Keyczar/KeyczarTool/Commands/Revoke.cs | Keyczar/KeyczarTool/Commands/Revoke.cs | // Copyright 2012 James Tuley (jay+code@tuley.name)
//
// 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... | // Copyright 2012 James Tuley (jay+code@tuley.name)
//
// 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# |
f2df118419344af4ca9eaab28fe967d7288ad100 | Add comments to public methods | prescottadam/ConsoleWritePrettyOneDay | ConsoleWritePrettyOneDay/Spinner.cs | ConsoleWritePrettyOneDay/Spinner.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleWritePrettyOneDay
{
public static class Spinner
{
private static char[] _chars = new[] { '|', '/', '-', '\\', '|', '/', '-', '\\' };
/// <summary>
/// Displays a spinner while the provide... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ConsoleWritePrettyOneDay
{
public static class Spinner
{
private static char[] _chars = new[] { '|', '/', '-', '\\', '|', '/', '-', '\\' };
public static void Wait(Action action, string message = null)
... | mit | C# |
5892632abf1c1ebe23030cfbba4ea9d28f390913 | Bump Version. | blackpanther989/ArchiSteamFarm,blackpanther989/ArchiSteamFarm | ArchiSteamFarm/SharedInfo.cs | ArchiSteamFarm/SharedInfo.cs | /*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... | /*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... | apache-2.0 | C# |
e910f8a498ab08e6fb7e79843001ac829829559a | Update ConvertingWorksheetToSVG.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.... | Examples/CSharp/Files/Utility/ConvertingWorksheetToSVG.cs | Examples/CSharp/Files/Utility/ConvertingWorksheetToSVG.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Rendering;
namespace Aspose.Cells.Examples.Files.Utility
{
public class ConvertingWorksheetToSVG
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dat... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Rendering;
namespace Aspose.Cells.Examples.Files.Utility
{
public class ConvertingWorksheetToSVG
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Exam... | mit | C# |
cbb828512d39797905de499aedf6e814fe6997e1 | fix version | marhoily/Generaid | Generaid/Properties/AssemblyInfo.cs | Generaid/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Generaid")]
[assembly: AssemblyDescription("Utilities to aid C# code generation in VS")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Marhoily inc.")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Generaid")]
[assembly: AssemblyDescription("Utilities to aid C# code generation in VS")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Marhoily inc.")]
[assembly: Assembl... | mit | C# |
484303b291881f7d1fe0d35e124c6a1408b444fd | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
5e5df2b5db6acb2a6c4ad4a807c91d518306e881 | Update IncrementProgram | alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,redknightlois/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,redknightlois/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmi... | Benchmarks/IncrementProgram.cs | Benchmarks/IncrementProgram.cs | using BenchmarkDotNet;
namespace Benchmarks
{
public class IncrementProgram
{
public void Run()
{
var competition = new BenchmarkCompetition();
competition.AddTask("i++", () => After());
competition.AddTask("++i", () => Before());
competition.Run... | using BenchmarkDotNet;
namespace Benchmarks
{
public class IncrementProgram
{
public void Run()
{
var competition = new BenchmarkCompetition();
competition.AddTask("After", () => After());
competition.AddTask("Before", () => Before());
competitio... | mit | C# |
cb8bfd13b0e33ec9c7e86fd53179ceb98984a020 | Use Assert instead of null check because this class is internal. | dlemstra/Magick.NET,dlemstra/Magick.NET | Source/Magick.NET/Core/Drawables/PointInfo.cs | Source/Magick.NET/Core/Drawables/PointInfo.cs | //=================================================================================================
// Copyright 2013-2016 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy o... | //=================================================================================================
// Copyright 2013-2016 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy o... | apache-2.0 | C# |
4f8a1d8b4f500174d8720992a4189a37ce264b8f | Update index.cshtml | Aleksandrovskaya/apmathclouddif | site/index.cshtml | site/index.cshtml | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double t = 0;
double x1 = 0;
double x2 = 0;
d... | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double t = 0;
double x1 = 0;
double x2 = 0;
d... | mit | C# |
db9355fa57b76dcb1e10d6e0a1d12e5fa4112a74 | add GetItem | angeldnd/dap.core.csharp | DapCore/registry/Registry.cs | DapCore/registry/Registry.cs | using System;
using System.Collections.Generic;
namespace angeldnd.dap {
public struct RegistryConsts {
public const char Separator = '/';
}
public class Registry : Context {
public override char Separator {
get { return RegistryConsts.Separator; }
}
public sta... | using System;
using System.Collections.Generic;
namespace angeldnd.dap {
public struct RegistryConsts {
public const char Separator = '/';
}
public class Registry : Context {
public override char Separator {
get { return RegistryConsts.Separator; }
}
public sta... | mit | C# |
5163bae96db420e62e2fa06ab1ef0ee9c8fa293f | Add implementation for app resizing in basicPage.cs | wangjun/windows-app,wangjun/windows-app | wallabag/wallabag.Shared/Common/basicPage.cs | wallabag/wallabag.Shared/Common/basicPage.cs | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using Windows.UI.Core;
namespace wallabag.Common
{
public class basicPage : Page
{
public NavigationHelper navigationHelper;
private const string ViewModelPageKey = "ViewModel";
public basicPage()... | using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace wallabag.Common
{
public class basicPage : Page
{
public NavigationHelper navigationHelper;
private const string ViewModelPageKey = "ViewModel";
public basicPage()
{
this.navigationHelper =... | mit | C# |
fe78be592e86aa689f6e0ccab22006c5ae1506ed | Fix dllimport inconsistency and possibly being broken on windows. | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D | Source/Urho3D/CSharp/Managed/Urho3D.cs | Source/Urho3D/CSharp/Managed/Urho3D.cs | //
// Copyright (c) 2017-2019 the rbfx project.
//
// 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, mer... | //
// Copyright (c) 2017-2019 the rbfx project.
//
// 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, mer... | mit | C# |
6c0d006295e394328d618b20746bf4a3a6e6c539 | Increment Version | zamanak/Zamanak.WebService | Zamanak.WebService/Properties/AssemblyInfo.cs | Zamanak.WebService/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("Za... | 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("Za... | mit | C# |
02a51c00d6f3aec8e3b16ed7c773ae5704bb90e4 | Use new constructor under the hood | peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.cs | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.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.Threading;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.IO
{
///... | // 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.Threading;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.IO
{
///... | mit | C# |
4c29583360462c380c37dead6ac6346d897ef232 | Add some display names for AddClaimViewModel | leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | Joinrpg/Models/AddClaimViewModel.cs | Joinrpg/Models/AddClaimViewModel.cs | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using JoinRpg.DataModel;
using JoinRpg.Web.Helpers;
namespace JoinRpg.Web.Models
{
public class AddClaimViewModel
{
public int ProjectId { get; set; }
public int? CharacterId { get; set; }
p... | using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using JoinRpg.DataModel;
using JoinRpg.Web.Helpers;
namespace JoinRpg.Web.Models
{
public class AddClaimViewModel
{
public int ProjectId { get; set; }
public int? CharacterId { get; set; }
public int? CharacterGroupId {... | mit | C# |
39683dddf495e7a6d97a7732b09e302895a5f599 | Fix method invocation | lou1306/CIV,lou1306/CIV | CIV.Hml/HmlFormula/WeakBoxFormula.cs | CIV.Hml/HmlFormula/WeakBoxFormula.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CIV.Ccs;
using CIV.Interfaces;
namespace CIV.Hml
{
public class WeakBoxFormula : HmlLabelFormula
{
protected override bool CheckStrategy(IEnumerable<IProcess> processes)
=> processes.All(Inner.Check);
prote... | using System;
using System.Collections.Generic;
using System.Linq;
using CIV.Ccs;
using CIV.Interfaces;
namespace CIV.Hml
{
public class WeakBoxFormula : HmlLabelFormula
{
protected override bool CheckStrategy(IEnumerable<IProcess> processes)
=> processes.All(Inner.Check);
prote... | mit | C# |
90d76dcf1cb5a7f46401b64f4e299e885e5a03d3 | Fix for definitions--on close of a view, don't release the ParserDetails. | kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX | File/ViewCreationListener.cs | File/ViewCreationListener.cs | using System;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Utilities;
using System.ComponentModel.Composition;
using System.Diagnostics... | using System;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Utilities;
using System.ComponentModel.Composition;
using System.Diagnostics... | mit | C# |
f5fad18891d5be6132bfba13b5aa1d612fd9d743 | remove more | darkoverlordofdata/minimart,darkoverlordofdata/minimart,darkoverlordofdata/minimart | Minimart/Views/Catalog/Index.cshtml | Minimart/Views/Catalog/Index.cshtml | <div class="container">
<div class="row">
<div class="col-sm-12">
<ul class="breadcrumb">
<li class="active">@ViewBag.BrandName </li>
</ul>
<div id="message"></div>
</div>
</div>
</div>
| <div class="container">
<div class="row">
<div class="col-sm-12">
<ul class="breadcrumb">
<li class="active">@ViewBag.BrandName </li>
</ul>
<div id="message"></div>
</div>
</div>
</div>
@section scripts {
@Scripts.Render("~/js/catalog/in... | mit | C# |
17440784a272981a80244dac0513e24e4b665a96 | fix error in InsertUpdateLogBehavior when fields are not type of integer | rolembergfilho/Serenity,dfaruque/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,volkanceylan... | Serenity.Services/RequestHandlers/IntegratedFeatures/InsertUpdateLog/InsertUpdateLogBehavior.cs | Serenity.Services/RequestHandlers/IntegratedFeatures/InsertUpdateLog/InsertUpdateLogBehavior.cs | using Serenity;
using Serenity.Data;
using Serenity.Data.Mapping;
using Serenity.Reflection;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Serenity.Services
{
public class UpdateInsertLogBehavior : BaseSaveBehavior, I... | using Serenity;
using Serenity.Data;
using Serenity.Data.Mapping;
using Serenity.Reflection;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Serenity.Services
{
public class UpdateInsertLogBehavior : BaseSaveBehavior, I... | mit | C# |
057f5355cbf588f7ab258f5bb23d340113bbab9a | Add StoryPoint | lbarbisan-ullink/JiraRestClient | TechTalk.JiraRestClient/IssueFields.cs | TechTalk.JiraRestClient/IssueFields.cs | using System;
using System.Collections.Generic;
namespace TechTalk.JiraRestClient
{
public class IssueFields
{
public DateTime started;
public IssueFields()
{
status = new Status();
timetracking = new Timetracking();
labels = new List<String>();
... | using System;
using System.Collections.Generic;
namespace TechTalk.JiraRestClient
{
public class IssueFields
{
public IssueFields()
{
status = new Status();
timetracking = new Timetracking();
labels = new List<String>();
comments = new... | bsd-3-clause | C# |
3a76cc09fb71f2c9f66777d6e1e0e5422a13f6b2 | Bump Build | tsebring/ArkSavegameToolkitNet | ArkSavegameToolkitNet.Domain/Properties/AssemblyInfo.cs | ArkSavegameToolkitNet.Domain/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("AR... | 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("AR... | mit | C# |
99060c9a2b91f966a4d7a066b52f29104e10fd90 | Update IBattery.cs | predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,monostefan/Xamarin.Plugins,tim-hoff/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins | Battery/Battery/Battery.Plugin.Abstractions/IBattery.cs | Battery/Battery/Battery.Plugin.Abstractions/IBattery.cs | using System;
namespace Battery.Plugin.Abstractions
{
/// <summary>
/// Interface for Battery
/// </summary>
public interface IBattery : IDisposable
{
/// <summary>
/// Current battery level 0 - 100
/// </summary>
int RemainingChargePercent { get; }
/// <summary>
/// Current status ... | using System;
namespace Battery.Plugin.Abstractions
{
/// <summary>
/// Interface for Battery
/// </summary>
public interface IBattery : IDisposable
{
/// <summary>
/// Current battery level 0 - 100
/// </summary>
int RemainingChargePercent { get; }
/// <summary>
/// Current status ... | mit | C# |
5cb26ecdb7790be7543a3e836690c4b3c064c8b5 | Update assembly info for release 2.1.0 | tunnelvisionlabs/OpenInExternalBrowser | OpenInExternalBrowser/Properties/AssemblyInfo.cs | OpenInExternalBrowser/Properties/AssemblyInfo.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
// General Information about an assembly is c... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
// General Information about an assembly is c... | mit | C# |
5742e0f4fc8e516b328a4e160619829b026ba263 | Remove unused using | 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.Models;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Services
{
public class UpdateChecker : PeriodicRunner
{
public UpdateChecker(TimeSpan period, WasabiSyn... | using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Helpers;
using WalletWasabi.Models;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Services
{
public class UpdateChecker : PeriodicRunner
{
public UpdateChecke... | mit | C# |
7410ceaf3111d6784417616b4f6d3ee2da64a6f7 | update cors for azure | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Demo/NakedObjects.Rest.App.Demo/App_Start/CorsConfig.cs | Demo/NakedObjects.Rest.App.Demo/App_Start/CorsConfig.cs | using System.Web.Http;
using Thinktecture.IdentityModel.Http.Cors.WebApi;
public class CorsConfig {
public static void RegisterCors(HttpConfiguration httpConfig) {
var corsConfig = new WebApiCorsConfiguration();
// this adds the CorsMessageHandler to the HttpConfiguration’s
// MessageHan... | using System.Web.Http;
using Thinktecture.IdentityModel.Http.Cors.WebApi;
public class CorsConfig {
public static void RegisterCors(HttpConfiguration httpConfig) {
var corsConfig = new WebApiCorsConfiguration();
// this adds the CorsMessageHandler to the HttpConfiguration’s
// MessageHan... | apache-2.0 | C# |
0f088c4d9c1801da1855763f928ad849208d2b00 | Add ResolveByName attribute to TargetControl property | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/ShowOnDoubleTappedBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/ShowOnDoubleTappedBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to show control on double tapped event.
/// </summary>
public class ShowOnDoubleTappedBehavior : Behavior<Control>
{
... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that allows to show control on double tapped event.
/// </summary>
public class ShowOnDoubleTappedBehavior : Behavior<Control>
{
... | mit | C# |
bdfacd80e9829664f432217c9de111b140d526bf | Update PBU-Main-Future.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/PBU-Main-Future.cs | ProcessBlockUtil/PBU-Main-Future.cs | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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... | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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... | apache-2.0 | C# |
34fb5af89d45a6caf0aa7105bfa558a106e77f27 | Add test 'Can_replace_extension' | azabluda/InfoCarrier.Core | test/InfoCarrier.Core.FunctionalTests/InfoCarrierDbContextOptionsBuilderExtensionsTest.cs | test/InfoCarrier.Core.FunctionalTests/InfoCarrierDbContextOptionsBuilderExtensionsTest.cs | // Copyright (c) on/off it-solutions gmbh. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
namespace InfoCarrier.Core.FunctionalTests
{
using System.Linq;
using InfoCarrier.Core.Client;
using InfoCarrier.Core.Client.Infrastructure.I... | // Copyright (c) on/off it-solutions gmbh. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
namespace InfoCarrier.Core.FunctionalTests
{
using System.Linq;
using InfoCarrier.Core.Client;
using InfoCarrier.Core.Client.Infrastructure.I... | mit | C# |
4f3511e8e9637fded836e3f0080b5ba28958ecd8 | Fix ring glow lookup being incorrect | johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,ZLima12/osu... | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/GlowPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/GlowPiece.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics... | mit | C# |
b940255972575b24dbbdb494f66610e326456586 | Fix typo in VersionNavigation class name (#5044) | ZLima12/osu,peppy/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,pep... | osu.Game/Online/API/Requests/Responses/APIChangelogBuild.cs | osu.Game/Online/API/Requests/Responses/APIChangelogBuild.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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIChangelogBuild : IEquatabl... | // 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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIChangelogBuild : IEquatabl... | mit | C# |
ffa90c1a2373b7d1c774f5d355a43452c9d19667 | Remove whitespace | ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Screens/OnlinePlay/Components/RoomLocalUserInfo.cs | osu.Game/Screens/OnlinePlay/Components/RoomLocalUserInfo.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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics... | // 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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics... | mit | C# |
b99ea122217e8d95fc9fd74e2166e219f9733587 | Change number of cells. ( 9 => 7 ) | ijufumi/xamarin-lifegame-xaml | XamarinLifeGameXAML/Logic/CellUtils.cs | XamarinLifeGameXAML/Logic/CellUtils.cs | using System;
namespace XamarinLifeGameXAML.Logic
{
public class CellUtils
{
public static int GetIndex(Tuple<int, int> point)
{
return GetIndex(point.Item1, point.Item2);
}
public static int GetIndex(int x, int y)
{
return (y + x * CellSize);
... | using System;
namespace XamarinLifeGameXAML.Logic
{
public class CellUtils
{
public static int GetIndex(Tuple<int, int> point)
{
return GetIndex(point.Item1, point.Item2);
}
public static int GetIndex(int x, int y)
{
return (y + x * CellSize);
... | mit | C# |
2b30713445e3fee02ca85985d4729b9a5b24f127 | simplify use of application convention | domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,oconics/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,c3-ls/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,c3-ls/Ahoy,oconics/Ahoy | src/Swashbuckle.Swagger/Application/SwaggerApplicationConvention.cs | src/Swashbuckle.Swagger/Application/SwaggerApplicationConvention.cs | using Microsoft.AspNet.Mvc.ApplicationModels;
namespace Swashbuckle.Application
{
public class SwaggerApplicationConvention : IApplicationModelConvention
{
public void Apply(ApplicationModel application)
{
application.ApiExplorer.IsVisible = true;
foreach (var controlle... | using System.Linq;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ApplicationModels;
namespace Swashbuckle.Application
{
public class SwaggerApplicationConvention : IApplicationModelConvention
{
public void Apply(ApplicationModel application)
{
foreach (var controller in ap... | mit | C# |
62e1b916ff254c6547d6f0d9010aa2af1ac62593 | improve memory | MasakiMuto/LifegameGame | LifegameGame/MinMaxPlayer.cs | LifegameGame/MinMaxPlayer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace LifegameGame
{
using PointScoreDictionary = Dictionary<Point, float>;
public class MinMaxPlayer : AIPlayerBase
{
protected readonly int ThinkDepth;
public MinMaxPlayer(GameBoard board, Cel... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace LifegameGame
{
using PointScoreDictionary = Dictionary<Point, float>;
public class MinMaxPlayer : AIPlayerBase
{
protected readonly int ThinkDepth;
public MinMaxPlayer(GameBoard board, Cel... | mit | C# |
7553266c240c03a7490b1b4f4bc144f29f30e31d | Update BindAttribute.cs | dimmpixeye/Unity3dTools | Runtime/Attributes/BindAttribute.cs | Runtime/Attributes/BindAttribute.cs | using System;
namespace Pixeye.Actors
{
public class BindAttribute : Attribute
{
public int id;
public BindAttribute(int id)
{
this.id = id;
}
public BindAttribute()
{
}
}
} | using System;
namespace Pixeye.Actors
{
public class BindAttribute : Attribute
{
public int id;
public BindAttribute(int id)
{
this.id = id;
}
}
} | mit | C# |
d6fdca59b034ff0dbd9935ee3ace044ecd1fab28 | Fix benchmark for arraylist iterator | henrikfroehling/RangeIt | Source/Tests/Iterator.Performance.Tests/NotConst/ArrayList_Iterator_Vs_Enumerator_Tests.cs | Source/Tests/Iterator.Performance.Tests/NotConst/ArrayList_Iterator_Vs_Enumerator_Tests.cs | namespace Iterator.Performance.Tests.NotConst
{
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Columns;
using RangeIt.Iterators;
using System;
using System.Collections;
[MinColumn, MaxColumn]
public class ArrayList_Iterator_Vs_Enumerator_Tests
{
private read... | namespace Iterator.Performance.Tests.NotConst
{
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Columns;
using RangeIt.Iterators;
using System;
using System.Collections;
[MinColumn, MaxColumn]
public class ArrayList_Iterator_Vs_Enumerator_Tests
{
private read... | mit | C# |
23da2d640dbb9bc846bb85488ef574fdaafdb73e | Return added disposable from `DisposeWith` | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/DisposableExtensions.cs | SolidworksAddinFramework/DisposableExtensions.cs | using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Text;
namespace SolidworksAddinFramework
{
public static class DisposableExtensions
{
public static IDisposable ToCompositeDisposable(this IEnumerable<IDisposable> d)
{
return new Compos... | using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Text;
namespace SolidworksAddinFramework
{
public static class DisposableExtensions
{
public static IDisposable ToCompositeDisposable(this IEnumerable<IDisposable> d)
{
return new Compos... | mit | C# |
0b77cb16114d2cd6594a4c3cea5d2b22fb019a5a | Increment build number | emoacht/SnowyImageCopy | Source/SnowyImageCopy/Properties/AssemblyInfo.cs | Source/SnowyImageCopy/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | mit | C# |
f4afb518ccfd81baab98bc034727e6ee4b7d517d | Remove unused constant. | codemerlin/git-tfs,WolfVR/git-tfs,codemerlin/git-tfs,kgybels/git-tfs,WolfVR/git-tfs,hazzik/git-tfs,bleissem/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,irontoby/git-tfs,andyrooger/git-tfs,jeremy-sylvis-tmg/git-tfs,hazzik/git-tfs,TheoAndersen/git-tfs,jeremy-sylvis-tmg/git-tfs,vzabavnov/git-tfs,NathanLBCoope... | GitTfs/Commands/InitOptions.cs | GitTfs/Commands/InitOptions.cs | using System;
using System.ComponentModel;
using NDesk.Options;
using Sep.Git.Tfs.Util;
namespace Sep.Git.Tfs.Commands
{
[StructureMapSingleton]
public class InitOptions
{
private const string default_autocrlf = "false";
public InitOptions() { GitInitAutoCrlf = default_autocrlf; }
... | using System;
using System.ComponentModel;
using NDesk.Options;
using Sep.Git.Tfs.Util;
namespace Sep.Git.Tfs.Commands
{
[StructureMapSingleton]
public class InitOptions
{
private const string default_autocrlf = "false";
private const string default_ignorecase = "false";
public Init... | apache-2.0 | C# |
7ae22322ca4d3212de14d658ad1bc9031fe2b2cb | Introduce variables to avoid multiple type casting | sergeyshushlyapin/AutoFixture,dcastro/AutoFixture,adamchester/AutoFixture,AutoFixture/AutoFixture,zvirja/AutoFixture,Pvlerick/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,sean-gilliam/AutoFixture,hackle/AutoFixture,sbrockway/AutoFixture,adamchester/AutoFixture,sergeyshushlyapin/AutoFixture,sbrockway/AutoFixture | Src/AutoFixture.xUnit.net/CustomizeAttributeComparer.cs | Src/AutoFixture.xUnit.net/CustomizeAttributeComparer.cs | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
var xfrozen = x is FrozenAttribute;
var yfrozen = y... | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
if (x is FrozenAttribute && !(y is FrozenAttribute))
... | mit | C# |
42e19d64353939493a7ba34e06cf80ec3bff01e5 | Fix project name in assembly info | TheOtherTimDuncan/TOTD-Mailer | TOTD.Mailer.Templates/Properties/AssemblyInfo.cs | TOTD.Mailer.Templates/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("TOTD.Mailer.Templates")]
[assembly: Assem... | 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("TOTD.Mailer.Html")]
[assembly: AssemblyDe... | mit | C# |
8f5542626505993d51f3ed60557387249aba614d | 更新Demo,避免在某些特殊情况下MessageHandler日志记录过程异常 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Message.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Message.cs | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | apache-2.0 | C# |
50bd7df33f0ba57d05d40224139db56c1db1b3fb | make key input larger | IdentityModel/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,s093294/Thinktecture.AuthorizationServer,yfann/AuthorizationServer,yfann/AuthorizationServer,IdentityModel/AuthorizationServer | source/WebHost/Areas/Admin/Views/Key/SymmetricKey.cshtml | source/WebHost/Areas/Admin/Views/Key/SymmetricKey.cshtml | @{
ViewBag.Title = "Symmetric Key";
}
<h2><span data-bind="text: editDescription"></span> Symmetric Key</h2>
<ul class="nav nav-pills">
<li>
<a href="@Url.Action("Index")">
<i class="icon-arrow-left"></i> Back to Keys</a>
</li>
</ul>
<fieldset>
<legend></legend>
<div>
<... | @{
ViewBag.Title = "Symmetric Key";
}
<h2><span data-bind="text: editDescription"></span> Symmetric Key</h2>
<ul class="nav nav-pills">
<li>
<a href="@Url.Action("Index")">
<i class="icon-arrow-left"></i> Back to Keys</a>
</li>
</ul>
<fieldset>
<legend></legend>
<div>
<... | bsd-3-clause | C# |
0b000e56ef546a3e21b3961f2d1fb2b794879781 | Fix typo | JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,quesera2/Xamarin.Forms.GoogleMaps | XFGoogleMapSample/XFGoogleMapSample/Variables_sample.cs | XFGoogleMapSample/XFGoogleMapSample/Variables_sample.cs | /// PLEASE RENAME THIS FILE TO Variables.cs
using System;
namespace XFGoogleMapSample
{
public static class Variables
{
// https://developers.google.com/maps/documentation/android-api/signup
public const string GOOGLE_MAPS_ANDROID_API_KEY = "your_google_maps_android_api_v2_api_key";
// https://developers.googl... | /// PLEASE RENAME THIS FILE TO Variables.cs
using System;
namespace XFGoogleMapSample
{
public static class Variables
{
// https://developers.google.com/maps/documentation/android-api/signup
public const string GOOGLE_MAPS_ANDROID_API_KEY = "your_google_maps_android_api_v2_api_key";
// https://developers.googl... | mit | C# |
6f482babbbeb42939382d44c6bf36306c4b5019f | revert unintended merge conflict | akamud/code-cracker,f14n/code-cracker,andrecarlucci/code-cracker,code-cracker/code-cracker,GuilhermeSa/code-cracker,thomaslevesque/code-cracker,adraut/code-cracker,AlbertoMonteiro/code-cracker,eriawan/code-cracker,ElemarJR/code-cracker,jwooley/code-cracker,carloscds/code-cracker,dmgandini/code-cracker,thorgeirk11/code-... | src/CSharp/CodeCracker/Usage/RethrowExceptionAnalyzer.cs | src/CSharp/CodeCracker/Usage/RethrowExceptionAnalyzer.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.Usage
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class RethrowExceptionA... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.Usage
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class RethrowExceptionA... | apache-2.0 | C# |
c3595d126846be79e97577702f84d5359f1b5588 | Add incident fields used for querying | AshleyPoole/Noobot.Modules | src/Noobot.Modules.IncidentManagement/Models/Incident.cs | src/Noobot.Modules.IncidentManagement/Models/Incident.cs | using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace Noobot.Modules.IncidentManagement.Models
{
public class Incident : TableEntity
{
public Incident(string incidentTitle, string declaredInChannelName, string declaredBy)
{
this.Id = Guid.NewGuid();
this.PartitionKey = DateTime.UtcNow.ToStr... | using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace Noobot.Modules.IncidentManagement.Models
{
public class Incident : TableEntity
{
public Incident(string incidentTitle, string declaredInChannelName, string declaredBy)
{
this.Id = Guid.NewGuid();
this.PartitionKey = DateTime.UtcNow.ToStr... | mit | C# |
f251f8420784bc0bf4ea617a8610d8b77da52e03 | add mobile application type | CiBuildOrg/WebApi-Boilerplate,CiBuildOrg/WebApi-Boilerplate,CiBuildOrg/WebApi-Boilerplate | App/App.Entities/Security/ApplicationType.cs | App/App.Entities/Security/ApplicationType.cs | namespace App.Entities.Security
{
public enum ApplicationType
{
JavaScript = 0,
NativeConfidential = 1,
ExternalInterface = 2,
Mobile = 3,
}
} | namespace App.Entities.Security
{
public enum ApplicationType
{
JavaScript = 0,
NativeConfidential = 1,
ExternalInterface = 2,
}
} | mit | C# |
55a18181efffa6a493a0ba8a2bab6ce6014c76c5 | Fix ToString | kangaroo/monomac,dlech/monomac,PlayScriptRedux/monomac | src/QTKit/Defs.cs | src/QTKit/Defs.cs | //
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | //
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | apache-2.0 | C# |
eadcab758e7eba3ec122068769026fed61bc1eba | Add test skipping for 0.5.2 | PlayFab/consuldotnet | Consul.Test/CoordinateTest.cs | Consul.Test/CoordinateTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Consul.Test
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void TestCoordinate_Datacenters()
{
var client = new Client();
var info = client.Agent.Self();
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Consul.Test
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void TestCoordinate_Datacenters()
{
var client = new Client();
var datacenters = client.Coordinate.Datace... | apache-2.0 | C# |
f04cdb6a136b41e8c65c034e0cf6e0eb9da7922d | Fix PropertyBridge not updating properly | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Bridge/PropertyBridge.cs | Core/Bridge/PropertyBridge.cs | using System.Text;
namespace TweetDuck.Core.Bridge{
static class PropertyBridge{
public enum Environment{
Browser, Notification
}
public static string GenerateScript(Environment environment){
string Bool(bool value){
return value ? "true;" : "false;... | using System.Text;
namespace TweetDuck.Core.Bridge{
static class PropertyBridge{
public enum Environment{
Browser, Notification
}
public static string GenerateScript(Environment environment){
string Bool(bool value){
return value ? "true," : "false,... | mit | C# |
36a6782fb36734a2f147c8e1dd977685d1c64597 | update tests | ruleechen/DQuery | DQuery.UnitTests/UnitTest1.cs | DQuery.UnitTests/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Collections.Generic;
using DQuery.CustomQuery;
namespace DQuery.UnitTests
{
[TestClass]
public class UnitTest1
{
private List<QueryClause> GetClauses()
{
return QueryClauseParser.P... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Collections.Generic;
using DQuery.CustomQuery;
namespace DQuery.UnitTests
{
[TestClass]
public class UnitTest1
{
private List<QueryClause> GetClauses()
{
return QueryClauseParser.P... | mit | C# |
b8a27bb6f50a1e527bbd414516105afbee8373d7 | Disable Hidden mod for osu!taiko (until it is implemented) (#5201) | ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,EVA... | osu.Game.Rulesets.Taiko/Mods/TaikoModHidden.cs | osu.Game.Rulesets.Taiko/Mods/TaikoModHidden.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModHidden : ModHidden
{
public override string Description => @... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModHidden : ModHidden
{
public override string Description => @... | mit | C# |
8944d0f705c6a1e4ac3b1a8b0fb9269f2f3e00b2 | make it only look for files instead of directories | peppy/osu-new,Drezi126/osu,2yangk23/osu,2yangk23/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,Frontear/osuKyzer,EVAST9919/osu,UselessToucan/osu,naoey/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,johnneij... | osu.Game/Beatmaps/IO/LegacyFilesystemReader.cs | osu.Game/Beatmaps/IO/LegacyFilesystemReader.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace osu.Game.Beatmaps.IO
{
/// <summary>
/// Reads an extracted legacy be... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace osu.Game.Beatmaps.IO
{
/// <summary>
/// Reads an extracted legacy be... | mit | C# |
9787788081d15fa49071f474db45fca99e01f045 | Revert unintended change | ZLima12/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,EVAST9919/osu,smoogipoo/osu,naoey/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,peppy/osu,peppy/osu,naoey/osu,peppy/osu-new,Nabile-Rahmani/osu,johnneijzen/osu,DrabWeb/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/o... | osu.Game/IO/Serialization/IJsonSerializable.cs | osu.Game/IO/Serialization/IJsonSerializable.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using Newtonsoft.Json;
using osu.Game.IO.Serialization.Converters;
namespace osu.Game.IO.Serialization
{
public interface IJsonSerializable
{
}
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using Newtonsoft.Json;
using osu.Game.IO.Serialization.Converters;
namespace osu.Game.IO.Serialization
{
public interface IJsonSerializable
{
}
... | mit | C# |
2480a0adfe0f55eea72d70bd2d584f8781cd7663 | Bump v1.0.12.4803 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri... | apache-2.0 | C# |
68159d9afe85e4d0e4dc6c3f04fb72efd7573c15 | Implement the read/write xml data | wrightg42/todo-list,It423/todo-list | Todo-List/Todo-List/XMLDataSaver.cs | Todo-List/Todo-List/XMLDataSaver.cs | // XMLDataSaver.cs
// <copyright file="XMLDataSaver.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace Todo_List
{
/// <summary>
/// A static class for reading and writing to XML files.
/// </summary>... | // XMLDataSaver.cs
// <copyright file="XMLDataSaver.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace Todo_List
{
/// <summary>
/// A static class for reading and writing to XML files.
/// </summary>... | mit | C# |
494fd31a9f4c391885c5ecc2530bca2ec7205a15 | Fix a logic error causing an invalid validation | evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx | HermaFx.DataAnnotations/ExtendedValidator.cs | HermaFx.DataAnnotations/ExtendedValidator.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace HermaFx.DataAnnotations
{
public static class ExtendedValidator
{
/// <summary>
/// Determines whether the specified object is valid and return an list of Valida... | using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace HermaFx.DataAnnotations
{
public static class ExtendedValidator
{
/// <summary>
/// Determines whether the specified object is valid and return an list of Valida... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.