content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 35.234694 | 167 | 0.637996 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Rekognition/Generated/Model/Internal/MarshallTransformations/FaceSearchSettingsUnmarshaller.cs | 3,453 | C# |
using RemindManager.Models.Frequencies;
using System.Collections.Generic;
using Xamarin.Forms;
namespace RemindManager.Models.Interfaces
{
/// <summary>
/// Интерфейс напоминания
/// </summary>
public interface IReminder
{
/// <summary>
/// Идентификатор
/// </summary>
... | 24.632653 | 70 | 0.540182 | [
"MIT"
] | AidarGiza/RemindManager | RemindManager/RemindManager/Models/Interfaces/IReminder.cs | 1,386 | C# |
using System;
using System.Reflection;
using Xunit;
using Xunit.Abstractions;
namespace Dynamic.Tests {
public class LoadUnsafeAssembly {
private ITestOutputHelper _output;
public LoadUnsafeAssembly(ITestOutputHelper output) {
_output = output;
}
[Fact]
public v... | 35.116279 | 96 | 0.628477 | [
"MIT"
] | heynickc/DynamicType | Dynamic.Tests/LoadUnsafeAssembly.cs | 1,512 | C# |
//
// System.ComponentModel.ListSortDirection.cs
//
// Author:
// Rodrigo Moya (rodrigo@ximian.com)
//
// (C) Rodrigo Moya, 2002
//
//
// 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 wi... | 34.292683 | 73 | 0.74111 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System/System.ComponentModel/ListSortDirection.cs | 1,406 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;... | 30.945313 | 105 | 0.480939 | [
"MIT"
] | Kaszub09/Pyramids-Solver-and-Generator | Pyramids/WindowChooseNumber.xaml.cs | 3,963 | C# |
using UnityEngine;
public class Entity : MonoBehaviour {
[SerializeField] protected LayerMask obstacleLayerMask;
protected Animator animator;
protected Vector3 directionVector;
void Awake() {
animator = GetComponent<Animator>();
}
void OnEnable() {
animator.GetBehaviour<DeathAnimator>().target... | 19.193548 | 63 | 0.705882 | [
"MIT"
] | mpmitchell/Honours-Project | Assets/Game/Scripts/Entities/Entity.cs | 597 | C# |
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
namespace CellopointAddin.Web.Models.Account
{
public class LoginViewModel
{
[Required]
public string UsernameOrEmailAddress { get; set; }
[Required]
[DisableAuditing]
public string Password { get; set; }... | 20.833333 | 58 | 0.650667 | [
"MIT"
] | chuncui0207/cellopoint-add-in | service/src/CellopointAddin.Web.Mvc/Models/Account/LoginViewModel.cs | 377 | C# |
using Newtonsoft.Json;
using SQLiteDatabase;
using System;
using System.Collections.Generic;
using System.Linq;
public class SQLiteTable<T> where T : new()
{
readonly SQLiteDB _db;
readonly string _tableIdentifier;
readonly SQLiteConfiguration _config;
readonly System.Reflection.PropertyInfo[] _itemP... | 35.12549 | 148 | 0.550631 | [
"MIT"
] | chriszumberge/SQLiteORM.Net | SQLiteORM.Net/Assets/SQLiteORM.Net/Source/SQLiteTable.cs | 8,959 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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
*
... | 32.862745 | 95 | 0.668854 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Vpc/V20170312/Models/ModifyCustomerGatewayAttributeRequest.cs | 1,762 | C# |
namespace Akade.IndexedSet.Tests.Samples.Appointments;
internal static class DateOnlyExtensions
{
public static DateTime WithDayTime(this DateOnly dateOnly, int hours, int minutes)
{
return new DateTime(dateOnly.Year, dateOnly.Month, dateOnly.Day, hours, minutes, 0);
}
}
| 29.4 | 92 | 0.748299 | [
"MIT"
] | akade/Akade.IndexedSet | Akade.IndexedSet.Tests/Samples/Appointments/DateOnlyExtensions.cs | 296 | C# |
// Copyright (c) 2017 Jan Pluskal, Matus Dobrotka
//
//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 ... | 40.9 | 74 | 0.772616 | [
"Apache-2.0"
] | mvondracek/NetfoxDetective | Framework/Snoopers/SnooperWebmails.Tests/Properties/AssemblyInfo.cs | 820 | C# |
using System;
namespace Septem.Notifications.Core.Exceptions;
internal class ServiceNotImplementedException<T> : Exception
{
public ServiceNotImplementedException() : base($"{typeof(T).FullName} not implemented")
{
}
} | 21.272727 | 91 | 0.747863 | [
"MIT"
] | rasimismatulin/Septem.Utils | src/Septem.Notifications.Core/Exceptions/ServiceNotImplementedException.cs | 236 | C# |
using System;
namespace DepartmentStoreOne.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | 19.636364 | 70 | 0.680556 | [
"Apache-2.0"
] | takemurakimio/department-store | DepartmentStoreOne/Models/ErrorViewModel.cs | 216 | C# |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace PvrtcTest
{
public sealed class DirectBitmap : IDisposable
{
public DirectBitmap(int width, int height)
{
Width = width;
Height = height;
Bits = new byte[width * height * 4];
m_bitsHandle... | 21.774648 | 110 | 0.64489 | [
"MIT"
] | AssetRipper/TextureDecoder | PvrtcTest/DirectBitmap.cs | 1,546 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tera.Game.Messages;
namespace PacketViewer.Heuristic
{
class C_REQUEST_USER_PAPERDOLL_INFO : AbstractPacketHeuristic
{
public static ushort PossibleOpcode;
public static st... | 26.25 | 102 | 0.612698 | [
"MIT"
] | Fenixk/ShinraMeter | PacketViewer.Core/Heuristic/C_REQUEST_USER_PAPERDOLL_INFO.cs | 947 | C# |
using System.Collections.Generic;
using SheepIt.Api.Model.Components;
using SheepIt.Api.Model.Packages;
namespace SheepIt.Api.Model.DeploymentProcesses
{
public class DeploymentProcess
{
// identity
public int Id { get; set; }
// relations
public int Component... | 22.708333 | 59 | 0.581651 | [
"MIT"
] | sheepit/sheepit | source/SheepIt.Api/Model/DeploymentProcesses/DeploymentProcess.cs | 545 | C# |
// 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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Game.Graphics.Containers;
namespace osu... | 32.363636 | 147 | 0.608146 | [
"MIT"
] | peppy/osu-new | osu.Game/Screens/OsuScreenStack.cs | 2,071 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace SimpleCqrs
{
public class AssemblyTypeCatalog : ITypeCatalog
{
private readonly IEnumerable<Type> loadedTypes;
public AssemblyTypeCatalog(IEnumerable<Ass... | 32.345679 | 106 | 0.521374 | [
"Unlicense",
"MIT"
] | AdnanAsotic/SimpleCQRS | src/SimpleCqrs/AssemblyTypeCatalog.cs | 2,622 | C# |
using System;
using PostSharp.Aspects;
namespace PostSharpWeaving
{
[Serializable]
public class ConsoleWriterAspect : OnMethodBoundaryAspect
{
public override void OnEntry(MethodExecutionArgs args)
{
base.OnEntry(args);
Console.WriteLine(args.Method.Nam... | 20.352941 | 63 | 0.618497 | [
"Apache-2.0"
] | weeniearms/codeweaving | src/PostSharpWeaving/PostSharpWeaving/ConsoleWriterAspect.cs | 348 | C# |
namespace DataAccess.UnitTests.Expressions
{
using System;
using System.Linq.Expressions;
using System.Reflection;
using Crest.DataAccess;
using Crest.DataAccess.Expressions;
using FluentAssertions;
using NSubstitute;
using Xunit;
public class MappingCacheTests
{
private... | 32.5 | 87 | 0.546806 | [
"MIT"
] | samcragg/Crest | test/DataAccess.UnitTests/Expressions/MappingCacheTests.cs | 3,835 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 32.828452 | 107 | 0.597629 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/DescribeFlowDefinitionResponse.cs | 7,846 | C# |
// 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;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Objects.Drawables;
namespace osu.Game.Rulesets.Catch.Skinning.Default
... | 33.978723 | 126 | 0.604884 | [
"MIT"
] | Aleeeesz/osu | osu.Game.Rulesets.Catch/Skinning/Default/FruitPiece.cs | 1,551 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Example3 : MonoBehaviour
{
[SerializeField]
private Transform m_p1;
[SerializeField]
private Transform m_p2;
[SerializeField]
private Transform m_nearPoint;
[SerializeField]
private Transform m_dr... | 22.833333 | 128 | 0.770073 | [
"MIT"
] | LightGive/SystemCalc | SystemCalc/Assets/LightGive/Utilities/SystemCalc/Examples/Scripts/Example3.cs | 824 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | 37.361111 | 99 | 0.620818 | [
"Unlicense"
] | shunsuke-kawai/decode2017_MW08 | decode2017_MW08/decode2017_MW08/decode2017_MW08.UWP/App.xaml.cs | 4,037 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using WebApiPractice.Api.Enumerations;
using WebApiPractice.Api.ValidationFlow;
using WebApiPractice.Api.ResponseStructure;
using WebApiPractice.Api.ValidationFlow.Interfaces;
namespace WebApiPractice.Api.Resources.C... | 40.457627 | 192 | 0.639296 | [
"MIT"
] | is-aka-konor/WebApiPractice | WebApiPractice.Api/Resources/Customers/Validations/GetCustomersValidationContractHandler.cs | 2,389 | C# |
//
// Copyright (c) 2004-2019 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | 38.017208 | 146 | 0.514057 | [
"BSD-3-Clause"
] | AchimStuy/NLog | tests/NLog.UnitTests/Filters/WhenRepeatedTests.cs | 19,883 | C# |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace DevelopersCommunity.PerformanceCounters
{
internal static class NativeMethods
{
internal const uint FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x00000100;
internal const uint FORMAT_MESSAGE_IGNORE_INSERTS = 0x00000200;
... | 39.441341 | 140 | 0.668839 | [
"MIT"
] | DevelopersCommunity/PerformanceCounters | src/PerformanceCounters/NativeMethods.cs | 7,062 | C# |
// <auto-generated />
using System;
using CompanyManager.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace CompanyManager.Data.Migrations
{
[DbContext(t... | 37.364706 | 133 | 0.459488 | [
"MIT"
] | LSvilenov/CompanyManager.Web | CompanyManager.Data/Migrations/ApplicationDbContextModelSnapshot.cs | 9,530 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using TestLibrary;
unsafe partial class GenericsNative
{
[DllImport(nameof(GenericsNative), EntryPoint = "GetIComInterface")]... | 35.203125 | 100 | 0.70617 | [
"MIT"
] | belav/runtime | src/tests/Interop/PInvoke/Generics/GenericsTest.IComInterfaceC.cs | 2,253 | C# |
using OrchardVNext.Localization;
using System;
namespace OrchardVNext {
public class OrchardFatalException : Exception {
private readonly LocalizedString _localizedMessage;
public OrchardFatalException(LocalizedString message)
: base(message.Text) {
_localizedMessage = mes... | 29.619048 | 87 | 0.68328 | [
"BSD-3-Clause"
] | ahweb/OrchardNoCMS | src/OrchardVNext/OrchardFatalException.cs | 624 | C# |
using UnityEngine;
using System;
using Undefined.Checkpoints;
public class CheckPointManager : MonoBehaviour {
#region Variables
[Header("Last Save Information")]
[SerializeField] private Save save;
// Action
public Action onSave;
public Action onLoad;
#endregion
public voi... | 20.7 | 63 | 0.644122 | [
"Apache-2.0"
] | prize34/undefined | Assets/Scripts/Managers/CheckPointManager/CheckPointManager.cs | 621 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 38.763889 | 183 | 0.604801 | [
"MIT"
] | junhsieh/csharpexample | wpf/RadioEnumProperty/RadioEnumProperty/Properties/Resources.Designer.cs | 2,793 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace MUXControlsTestApp
{
public sealed partial class ParallaxViewStackPanelPage : TestPage
{
public ParallaxViewStackPanelPage()
{
... | 26.714286 | 91 | 0.695187 | [
"MIT"
] | 07101994/microsoft-ui-xaml | dev/ParallaxView/TestUI/ParallaxViewStackPanelPage.xaml.cs | 376 | C# |
using System;
using System.IO;
using System.Linq;
using McMaster.Extensions.CommandLineUtils;
using static Bullseye.Targets;
using static SimpleExec.Command;
namespace build
{
class Program
{
private const bool RequireTests = true;
private const string ArtifactsDir = "artifacts";
priv... | 34.877193 | 175 | 0.491449 | [
"Apache-2.0"
] | ErazerBrecht/IdentityModel.AspNetCore.OAuth2Introspection | build/Program.cs | 3,978 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Routing.Core.Endpoints
{
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Routing.Core.Checkpointers;
using Microsoft.Azure.Devices.Edge.Util;
public class StoringAsyncEndpointExecutorFactory : IEndpointExecut... | 51.108108 | 163 | 0.752512 | [
"MIT"
] | avranju/iotedge | edge-hub/src/Microsoft.Azure.Devices.Routing.Core/endpoints/StoringAsyncEndpointExecutorFactory.cs | 1,891 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Openpay.EpiCommerce.AddOns.PaymentGateway.Models.CreationNewOrderRequest
{
public class CartItem
{
public string ItemName { get; set; }
public string ItemGroup { get; s... | 28.65 | 82 | 0.675393 | [
"Apache-2.0"
] | openpay-innovations/episerver-plugin | Episerver-Plugin/Openpay.EpiCommerce.AddOns.PaymentGateway/Models/CreationNewOrderRequest/CartItem.cs | 575 | C# |
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
using System.Diagnostics;
namespace Landis.SpatialModeling
{
/// <summary>
/// An individual site on a landscape.
/// </summary>
public struct Site
{
private ILandscape landscape;
private Loc... | 32.428571 | 80 | 0.405438 | [
"Apache-2.0"
] | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/Site.cs | 6,583 | C# |
namespace Movies.API.Models.Base
{
public abstract class Entity : EntityBase<int>
{
}
}
| 14.428571 | 50 | 0.653465 | [
"Apache-2.0"
] | 6895mahfuzgit/MicroservicesMoviesWithIdentityApp | Movies.API/Models/Base/Entity.cs | 103 | C# |
/****************************** Module Header ******************************\
* Module Name: DownloaderHelper.cs
* Project: CSMultiThreadedWebDownloader
* Copyright (c) Microsoft Corporation.
*
* This class supplies the methods to
* 1. Initialize a HttpWebRequest object.
* 2. Check the url and initiali... | 36.180791 | 99 | 0.496252 | [
"MIT"
] | Ranin26/msdn-code-gallery-microsoft | OneCodeTeam/Multithreaded web downloader (CSMultiThreadedWebDownloader)/[C#]-Multithreaded web downloader (CSMultiThreadedWebDownloader)/C#/CSMultiThreadedWebDownloader/DownloaderHelper.cs | 6,406 | C# |
using UnityEngine;
using System.Collections;
using Photon.Pun;
/*
* Credit To : Scott Sewell, developer at KinematicSoup
* http://www.kinematicsoup.com/news/2016/8/9/rrypp5tkubynjwxhxjzd42s3o034o8
* /
/*
* Interpolates an object to the transform at the latest FixedUpdate from the transform at the previous FixedU... | 32.404255 | 121 | 0.686474 | [
"Unlicense"
] | U3cSeroH1/PUN2TUTORIAL | Assets/thirdparty/_FPS Player/FixedInterpolation/InterpolatedTransform.cs | 3,048 | C# |
// ReSharper disable once CheckNamespace
namespace System
{
internal static class StringExtensions
{
public static bool IsNullOrWhiteSpace(this string value)
{
#if !(NET20 || NET35)
return string.IsNullOrWhiteSpace(value);
#else
if (value == null)
{
... | 21.571429 | 64 | 0.456954 | [
"MIT"
] | StefH/Stef.Validation | src/Stef.Validation/Compatibility/StringExtensions.cs | 606 | C# |
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("RPN... | 37.351351 | 84 | 0.74602 | [
"MIT"
] | polytronicgr/Fusion3D | RPNTest/Properties/AssemblyInfo.cs | 1,385 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CM.Payments.Client.Model;
using System.Reflection;
using CM.Payments.Client.Enums;
//<auto-generated>
// IMPORTANT NOTE:
// This code is generated by Mess... | 34.79661 | 98 | 0.762786 | [
"MIT"
] | Finturi/payments-sdk-net | Source/CM.Payments.Client.Test.40/Generated/SofortDetailsResponse_Tests.cs | 2,055 | C# |
public class Program
{
private static void Main()
{
var engine = new Engine();
engine.Start();
}
} | 15.875 | 34 | 0.535433 | [
"MIT"
] | tanyta78/CSharpOOP | Exam Preparation/Avatar2/Avatar2/Program.cs | 129 | C# |
using System.Windows;
using System.Windows.Controls;
namespace LightBuzz.Vitruvius.WPF
{
public static class ControlExtensions
{
static readonly Point ZERO = new Point(0, 0);
public static Rect Position(this Control element)
{
try
{
return new R... | 25.44898 | 77 | 0.504411 | [
"Apache-2.0"
] | LightBuzz/Vitruvius | Kinect v1/LightBuzz.Vitruvius.WPF/Extensions/ControlExtensions.cs | 1,249 | C# |
namespace BedStats
{
internal class BedStatsArguments
{
/// <summary>
/// Display Verbose logging during processing.
/// </summary>
public bool verbose;
/// <summary>
/// NormalizeInput .BED files prior to processing.
/// </summary>
public bool no... | 24.895833 | 58 | 0.502929 | [
"Apache-2.0"
] | dotnetbio/bio | Tools/BedStats/BedStatsArguments.cs | 1,195 | C# |
// Copyright 2016 Esri.
//
// 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 in writing, software ... | 41.894366 | 191 | 0.623634 | [
"Apache-2.0"
] | Druffl3/arcgis-runtime-samples-dotnet | src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Data/FeatureLayerQuery/FeatureLayerQuery.xaml.cs | 5,949 | C# |
using CommonCore.LockPause;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CommonCore.SideScrollerGame
{
/// <summary>
/// Controller for a player follow camera
/// </summary>
public class CameraFollowScript : MonoBehaviour
{
private const float T... | 31.152 | 140 | 0.518233 | [
"MIT"
] | XCVG/heavymetalslug | Assets/CommonCoreGame/SideScrollerGame/CameraFollowScript.cs | 3,896 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 31.173913 | 81 | 0.51325 | [
"MIT"
] | BryanSoltis/KenticoMVCWidgetShowcase | CMS/CMSFormControls/System/ObjectBindingControl.ascx.designer.cs | 719 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
namespace Earth.Core
{
/// <summary>
/// A message queue for passing messages between threads. Messages can be simple objects that are processed by
/// the <see cref="MessageReceived"/> event, or they can be delegates which are invok... | 35.262658 | 123 | 0.502109 | [
"MIT"
] | Shakenbake158/Earth | Assets/Scripts/Core/MessageQueue.cs | 11,145 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview
{
using Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.PowerShell;
/// <summary>A list of firewall rules.</summary>
[System.ComponentModel.TypeConverter(typeof(FirewallRuleListResultAutoGeneratedTypeConverter))]
... | 72.688889 | 632 | 0.720269 | [
"MIT"
] | 3quanfeng/azure-powershell | src/PostgreSql/generated/api/Models/Api20200214Preview/FirewallRuleListResultAutoGenerated.PowerShell.cs | 9,679 | C# |
namespace InfernoInfinity.Core.Commands
{
using System;
public class End : Command
{
public End(string[] data) : base(data)
{
}
public override void Execute()
{
Environment.Exit(0);
}
}
}
| 15.705882 | 46 | 0.509363 | [
"MIT"
] | valkin88/CSharp-Fundamentals | CSharp OOP Advanced/Reflection and Attributes - Exercises/InfernoInfinity/InfernoInfinity/Core/Commands/End.cs | 269 | C# |
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v13.14.5.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
// </auto-generated>
//----------------------
#nullable enable
using Shared.Models;
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.To... | 51.807018 | 268 | 0.69308 | [
"MIT"
] | ElevateData/OpenTemenos | src/DataHub.OperationalDataStore.System/ServiceDetailService.cs | 8,859 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V27.Segment;
using NHapi.Model.V27.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V27.Group
{
///<summary>
///Represents the CSU_C09_STUDY_SCHEDULE Group. A Group is an ordered c... | 30.869159 | 160 | 0.707841 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V27/Group/CSU_C09_STUDY_SCHEDULE.cs | 6,606 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using Ocelot.DependencyInjection;
using Ocelot.Middleware;
namespace Web.Novel.Bff
{
... | 29.508772 | 107 | 0.603448 | [
"MIT"
] | zcqiand/Barasingha-WebApi | src/ApiGateways/Web.Bff/Web.Novel.Bff/Startup.cs | 1,682 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Moq;
using StructureMap.AutoMocking;
namespace Chutzpah.Facts
{
public class Testable<TClassUnderTest> where TClassUnderTest : class
{
protected MoqAutoMocker<TClassUnderTest> autoMocker = new MoqAutoMocker<TCl... | 22.529412 | 99 | 0.59356 | [
"MIT"
] | CUSE341/CUSE.github.io | chutzpah/Facts/Testable.cs | 1,151 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Ragnarok.ObjectModel;
using Ragnarok.Utility;
namespace Ragnarok.Extra.Effect.Animation
{
/// <summary>
/// アニメーション停止時の挙動を指定します。
/// </summary>
public enum FillBehavior
{
... | 27.381333 | 78 | 0.481691 | [
"MIT"
] | ebifrier/Ragnarok | Ragnarok.Extra/Effect/Animation/PropertyAnimation.cs | 12,220 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 31.928571 | 179 | 0.696868 | [
"ECL-2.0",
"Apache-2.0"
] | AdminTurnedDevOps/pulumi-azure | sdk/dotnet/KeyVault/Outputs/CertifiateCertificatePolicySecretProperties.cs | 894 | C# |
namespace TeamCitySharp.ActionTypes
{
public class ActionHelper
{
/// <summary>
/// Create a url with fields
/// </summary>
/// <param name="url"></param>
/// <param name="fields"></param>
/// <returns></returns>
public static string CreateFieldUrl(string url, string fields)
{
... | 25.0625 | 98 | 0.546135 | [
"MIT"
] | TattsGroup/TeamCitySharp | src/TeamCitySharp/ActionTypes/ActionHelper.cs | 804 | C# |
using System;
using System.Collections.Generic;
namespace Anagram
{
public class testWord
{
public string testOutput;
public string test(string testWord1)
{
string testWord = testWord1.ToLower();
string sortedWord = "";
List<string>anagramList = new List<string>{};
char[] array = testWord.ToCharA... | 17.654545 | 47 | 0.633368 | [
"MIT"
] | sonekase/anagram-csharp | Anagram/Anagram.cs | 971 | C# |
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
namespace depot.Mvc.Example
{
public class MvcApplication : HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
WebApiConfig.Register(GlobalC... | 27.555556 | 70 | 0.689516 | [
"MIT"
] | Dzmuh/webstack-by-daniel | depot/src/Depot.Mvc.Example/Global.asax.cs | 498 | C# |
using UnityEngine;
using UnityEngine.Tilemaps;
namespace UnityEditor
{
/// <summary>
/// The Editor for a HexagonalRuleTile.
/// </summary>
[CustomEditor(typeof(HexagonalRuleTile), true)]
[CanEditMultipleObjects]
public class HexagonalRuleTileEditor : RuleTileEditor
{
/// <summary>
... | 39.272321 | 120 | 0.468 | [
"MIT"
] | AGGP-NHTI/Abeille | Assets/Systems/2d-extras-master/Editor/Tiles/HexagonalRuleTile/HexagonalRuleTileEditor.cs | 8,797 | C# |
using Xunit;
using Verify = CSharpVerifier<Xunit.Analyzers.SerializableClassMustHaveParameterlessConstructor>;
public class SerializableClassMustHaveParameterlessConstructorFixerTests
{
[Fact]
public async void WithPublicParameteredConstructor_AddsNewConstructor()
{
var before = @"
public class [|MyTest... | 36.13913 | 128 | 0.752887 | [
"Apache-2.0"
] | louis-z/xunit.analyzers | src/xunit.analyzers.tests/Fixes/SerializableClassMustHaveParameterlessConstructorFixerTests.cs | 4,044 | C# |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Umbraco.Core.Models;
using Umbraco.Web;
using Umbraco.Web.Models;
using RareDiseases.Common;
using RareDiseases.Models.DocumentTypes.Nodes;
using RareDiseases.Models.DocumentTypes.Pages;
using RareDiseases.Models.Extensions;
using R... | 34.084211 | 148 | 0.769302 | [
"Apache-2.0"
] | tamarakatic/RareDiseases | RareDiseases.Models/DocumentTypes/Compositions/PageModel.cs | 3,240 | C# |
using System;
namespace Sample.Exceptionless.WebApi
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}
| 19.25 | 69 | 0.616883 | [
"MIT"
] | raychiutw/exceptionless_sample | src/Sample.Exceptionless.WebApi/WeatherForecast.cs | 308 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Succubus.Backend.ZeroMQ.Messages.Diagnostics
{
class Ping : IDiagnostics
{
public DateTime Timestamp { get; set; }
}
}
| 19.071429 | 54 | 0.726592 | [
"MIT"
] | COCPORN/succubus | src/Succubus/Succubus.Backend.ZeroMQ/Messages/Diagnostics/Ping.cs | 269 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SevenTiny.Bantina.Logging;
using SevenTiny.Cloud.ScriptEngine;
using SevenTiny.Cloud.Scr... | 36.468085 | 215 | 0.65986 | [
"Apache-2.0"
] | sevenTiny/Chameleon.FaaS | src/dotnet/old/SevenTiny.Cloud.FaaS.GRpc/Startup.cs | 1,716 | C# |
using SMLHelper.V2.Json;
using SMLHelper.V2.Options.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScannerRoomUpgrades.Configuration
{
public class Config: ConfigFile
{
}
}
| 17.4375 | 43 | 0.774194 | [
"MIT"
] | desperationfighter/Subnautica-Mods | ScannerRoomUpgrades/Configuration/Config.cs | 281 | C# |
// SplitOrderedList.cs
//
// Copyright (c) 2010 Jérémie "Garuma" Laval
//
// 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... | 28.328713 | 1,171 | 0.610373 | [
"MIT"
] | espenrl/TnsNames | erl.Oracle.TnsNames/Antlr4.Runtime/Sharpen/Compat/SplitOrderedList.cs | 14,308 | C# |
using System.Runtime.Serialization;
namespace jcFUS.PCL.Transports.Auth {
[DataContract]
public class AuthRequestItem {
[DataMember]
public string Username { get; set; }
[DataMember]
public string Password { get; set; }
}
} | 22.5 | 44 | 0.637037 | [
"MIT"
] | jcapellman/jcFUS | jcFUS.PCL/Transports/Auth/AuthRequestItem.cs | 272 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Avalonia;
using Avalonia.Controls;
namespace GridExtra.Avalonia
{
public partial class ResponsiveGrid
{
static ResponsiveGrid()
{
AffectsMeasure<ResponsiveGrid>(MaxDivisionProperty,
... | 35.049231 | 124 | 0.623738 | [
"MIT"
] | jmacato/GridExtra | GridExtra.Avalonia/ResponsiveGrid.Properties.cs | 11,431 | C# |
#region Copyright & License
/*
Copyright (c) 2022, Integrated Solutions, Inc.
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, ... | 60.967742 | 754 | 0.78836 | [
"BSD-3-Clause"
] | ISI-Extensions/ISI.Extensions | src/ISI.Extensions.Jenkins/View.cs | 1,892 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 38.791667 | 184 | 0.605084 | [
"MIT"
] | Compac-Michael/SWCustomProperties | SWCustomProperties/SWCustomProperties/Properties/Resources.Designer.cs | 2,795 | C# |
// Copyright (c) True Goodwill. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.TimeStamps.Benchmarks
{
using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BenchmarkDotNet.Attributes... | 33.041667 | 101 | 0.65889 | [
"MIT"
] | FastFinTech/FFT.TimeStamps | src/FFT.TimeStamps.Benchmarks/NowMethods.cs | 1,588 | C# |
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace FFXIV.Framework.Common
{
public class DirectoryHelper
{
[MethodImpl(MethodImplOptions.NoInlining)]
public static string FindSubDirectory(
string subDirectoryName)
{
var par... | 32.185185 | 114 | 0.570771 | [
"BSD-3-Clause"
] | Xinkle/ACT.Hojoring | source/FFXIV.Framework/FFXIV.Framework/Common/DirectoryHelper.cs | 1,738 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Windows.Controls;
using System.Windows;
using SnakeGame.ViewModel;
namespace SnakeGame
{
public class Snake
{
priva... | 39.813084 | 134 | 0.564085 | [
"MIT"
] | Milka03/Snake-Game | SnakeGame/GameComponents/Snake.cs | 4,262 | C# |
/*
* Copyright(c) 2019 Samsung Electronics 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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 40.613194 | 199 | 0.594703 | [
"Apache-2.0",
"MIT"
] | chauhan321/TizenFX | src/Tizen.NUI/src/public/Window.cs | 58,483 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... | 46.619835 | 282 | 0.690835 | [
"MIT"
] | 594270461/fivestar | Unity/Assets/Model/ILBinding/System_Collections_Generic_ICollection_1_Int32_Binding.cs | 5,641 | C# |
using System;
using System.IO;
using System.Linq.Expressions;
using System.Runtime.Serialization.Formatters;
using System.Runtime.Serialization.Formatters.Binary;
using Zyan.Communication;
namespace Zyan.InterLinq.Expressions
{
/// <summary>
/// Serialization handler for Linq expressions
/// </summary>
... | 24.5 | 69 | 0.6492 | [
"MIT"
] | ErrCode/Zyan.Core.LocalIPC | branches/withoutremoting/Zyan.Communication/InterLinq/Expressions/ExpressionSerializationHandler.cs | 1,815 | C# |
/* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... | 34.901099 | 128 | 0.539358 | [
"MIT"
] | AlexanderSemenyak/UA-.NETStandard-Samples | Samples/Opc.Ua.Sample/TestData/HistoryDataReader.cs | 9,528 | C# |
using System;
using Bibliotheca.Server.Mvc.Middleware.Diagnostics.Exceptions;
namespace Bibliotheca.Server.Depository.AzureStorage.Core.Exceptions
{
public class BranchAlreadyExistsException : BibliothecaException
{
public BranchAlreadyExistsException(string message) : base(message)
{
}... | 27.333333 | 75 | 0.75 | [
"MIT"
] | BibliothecaTeam/Bibliotheca.Server.Depository.AzureStorage | src/Bibliotheca.Server.Depository.AzureStorage.Core/Exceptions/BranchAlreadyExistsException.cs | 328 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SyNet.MessageTypes
{
class MsgZigbeeTxStatus : MsgZigbee {
/// <summary>
/// Copy Constructor
/// </summary>
/// <param name="p_msg"></param>
public MsgZigbeeTxStatus(Msg p_msg)
... | 18.516129 | 61 | 0.560976 | [
"Apache-2.0"
] | mkurdziel/BitHome-Hub-CSharp-V1 | SyNet Controller/MessageTypes/MsgZigbeeTxStatus.cs | 576 | C# |
using System.Collections.Generic;
namespace IdSrvEf.Web.Models.Consent
{
public class ConsentInputModel
{
public string Button { get; set; }
public IEnumerable<string> ScopesConsented { get; set; }
public bool RememberConsent { get; set; }
public string ReturnUrl { get; set; }
... | 25.230769 | 64 | 0.655488 | [
"MIT"
] | nagasudhirpulla/wrldc_identity_server | src/IdSrvEf.Web/Models/Consent/ConsentInputModel.cs | 330 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 36.290698 | 153 | 0.636975 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/S3Control/Generated/Model/Internal/MarshallTransformations/EstablishedMultiRegionAccessPointPolicyUnmarshaller.cs | 3,121 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeepdreamGui.Model
{
/// <summary>
/// Trace Listener for debug messages. Writes Messages to File.
/// </summary>
public class LocalT... | 31 | 99 | 0.553763 | [
"MIT"
] | neuralartgui/neuralartgui | _Application/DeepdreamGui/ExtensionMethods/LocalTraceListener.cs | 2,048 | C# |
using System;
namespace org.pescuma.progressmonitor.utils
{
/// <summary>
/// Throws an OperationCanceledException when a request was requested and a step related method is called.
/// </summary>
public class ThrowOnCancelledProgressMonitor : ProgressMonitor
{
private readonly Pro... | 25.181818 | 111 | 0.545126 | [
"MIT"
] | pescuma/progressmonitor | csharp/ProgressMonitor/utils/ThrowOnCancelledProgressMonitor.cs | 1,941 | C# |
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("Da... | 38.135135 | 84 | 0.746279 | [
"MIT"
] | jshurst/dapper-wrapper | DapperWrapper.Tests/Properties/AssemblyInfo.cs | 1,414 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using BenchmarkDotNet.Attributes;
using Microsoft.Extensions.DependencyInjection;
using MicroBenchmarks;
namespace ... | 29.106667 | 106 | 0.621164 | [
"MIT"
] | BruceForstall/performance | src/benchmarks/micro/libraries/Microsoft.Extensions.Logging/LoggingOverheadBenchmark.cs | 2,183 | C# |
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEngine.Events;
using Zeltex.Generators;
using Zeltex.Util;
using Zeltex.Combat;
using Zeltex.Voxels;
using Zeltex.Items;
using Zeltex.Skeletons;
namespace Zeltex
{
/// <summary>
/// GUI Class for data manager
/// </s... | 36.550877 | 193 | 0.456385 | [
"Apache-2.0"
] | Deus0/Zeltexium | Assets/Scripts/Data/DataGUI.cs | 62,504 | C# |
using Cirilla.Core.Models;
using Cirilla.Core.Structs.Native;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Runtime.InteropServices;
namespace Cirilla.Core.Test.Tests
{
[TestClass]
public class SaveDataTests
{
[TestMethod]
public void SizeOf__SaveData_He... | 32.861702 | 102 | 0.602784 | [
"MIT"
] | Fusion86/Cirilla | src/Cirilla.Core.Test/Tests/SaveDataTests.cs | 3,091 | C# |
/*
* Copyright(c) 2017 Samsung Electronics 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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 40.280079 | 203 | 0.635834 | [
"Apache-2.0"
] | Reni-90/TizenFX | src/Tizen.NUI/src/internal/ItemView.cs | 20,422 | C# |
using System.Collections.Generic;
using Horizon.Payment.Alipay.Response;
namespace Horizon.Payment.Alipay.Request
{
/// <summary>
/// alipay.ins.marketing.experience.account.query
/// </summary>
public class AlipayInsMarketingExperienceAccountQueryRequest : IAlipayRequest<AlipayInsMarketingExperienceA... | 22.895161 | 131 | 0.551603 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Request/AlipayInsMarketingExperienceAccountQueryRequest.cs | 2,859 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// Event effect: Spawn Projectiles
[AddComponentMenu("Game/Event Effect: Spawn Projectiles")]
public class EventEffect_SpawnProjectiles : MonoBehaviour, IEventEffect
{
[SerializeField, Tooltip("Serialized Parameters for projectiles to ... | 39.115385 | 126 | 0.768928 | [
"MIT"
] | hsandt/dragon-raid | Assets/Scripts/InGame/Event/EventEffect_SpawnProjectiles.cs | 1,017 | C# |
namespace ClearHl7.Codes.V280
{
/// <summary>
/// HL7 Version 2 Table 0282 - Referral Disposition.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0282</remarks>
public enum CodeReferralDisposition
{
/// <summary>
/// AM - Assume Management.
/// </summary>
... | 24.724138 | 59 | 0.504881 | [
"MIT"
] | davebronson/clear-hl7-net | src/ClearHl7.Codes/V280/CodeReferralDisposition.cs | 719 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TcpMethodServer
{
internal class MRequest
{
[JsonIgnore]
internal string Address { get; set; }
[JsonProperty("RequestID")]
intern... | 31.633333 | 108 | 0.646997 | [
"MIT"
] | ECourant/TcpMethodService | TcpMethodServer/MRequest.cs | 951 | C# |
using System;
using Xamarin.Forms;
namespace TodoREST
{
public partial class TodoItemPage : ContentPage
{
bool isNewItem;
public TodoItemPage (bool isNew = false)
{
InitializeComponent ();
isNewItem = isNew;
}
async void OnSaveActivated (object sender, EventArgs e)
{
var todoItem = (TodoItem)... | 21.333333 | 61 | 0.710938 | [
"Apache-2.0"
] | tibi0930/xamarin-forms-samples | WebServices/TodoREST/TodoREST/Views/TodoItemPage.xaml.cs | 898 | C# |
// --
// -- TestCop http://github.com/testcop
// -- License http://github.com/testcop/license
// -- Copyright 2014
// --
using System.IO;
using JetBrains.Application.Settings;
using JetBrains.Application.UI.ActionsRevised.Menu;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi;... | 40.468354 | 151 | 0.627463 | [
"BSD-3-Clause"
] | SirDuke/Resharper.TestCop | Project/Src/TestCop.Plugin.Tests/MultipleTestProjectToSingleCodeProjectViaProjectName/ClassToTestFileNavigationTests.cs | 3,197 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 39.594595 | 176 | 0.659044 | [
"ECL-2.0",
"Apache-2.0"
] | Dominik-K/pulumi-aws | sdk/dotnet/Route53/GetDelegationSet.cs | 2,930 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 31 | 99 | 0.526267 | [
"MIT"
] | bamajeed/Industrial-IoT | services/src/Microsoft.Azure.IIoT.Services.Processor.Telemetry.Ux/src/Runtime/ServiceInfo.cs | 1,085 | C# |
using System;
using System.Drawing;
using System.Globalization;
using System.Runtime.InteropServices;
namespace BrawlLib.Internal
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public unsafe struct Vector2 : IComparable
{
public float _x;
public float _y;
public Vector2(float x... | 25.061404 | 96 | 0.436939 | [
"MIT"
] | kitlith/BrawlCrate | BrawlLib/Internal/Vector2.cs | 8,573 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.