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 |
|---|---|---|---|---|---|---|---|---|
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("XF... | 37.756757 | 84 | 0.743737 | [
"Apache-2.0"
] | g1357/XamarinFormsDemo | XFDemo01/XFDemo01/XFDemo01.iOS/Properties/AssemblyInfo.cs | 1,400 | C# |
using Lasm.UAlive;
using Ludiq.Bolt;
[assembly: RegisterCodeGenerator(typeof(Break), typeof(BreakLiveGenerator))]
namespace Lasm.UAlive
{
public class BreakLiveGenerator : LiveUnitGenerator<Break>
{
public BreakLiveGenerator(Break unit) : base(unit)
{
}
public override strin... | 21.884615 | 83 | 0.637961 | [
"MIT"
] | Tanner555/UAlive | UAlive/Editor/Generation/Units/Flow/BreakLiveGenerator.cs | 571 | C# |
using System.Xml.Linq;
namespace Xbrl.Discovery.Entities.xbrldt
{
public class DimensionLoc : ItemLoc
{
public DimensionLoc(link.DefinitionLink parent, XElement xElement) : base(parent, xElement)
{ }
}
}
| 21.272727 | 99 | 0.683761 | [
"MIT"
] | OpenSBR/RGS.Taxonomy.Reader | Xbrl Discovery/Entities/xbrldt/DimensionLoc.cs | 236 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VitDeck.Validator.BoundsIndicators
{
[ExecuteInEditMode]
public class BoothRangeIndicator : MonoBehaviour, IBoothRoot
{
[System.NonSerialized]
bool initialized = false;
private Bounds bounds;
... | 22.854167 | 77 | 0.502735 | [
"MIT"
] | Morijellyfish/VitDeck-for-paraket | Assets/VitDeck/Validator/Runtime/BoundsIndicators/BoothRangeIndicator.cs | 2,194 | C# |
using System.Collections.Generic;
using System;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Linq;
using Microsoft.AspNetCore.Hosting;
using webapp.Models;
namespace webapp.Services
{
public class JsonFileAccountService
{
public IEnumerable<Account> GetAcc... | 25.1875 | 65 | 0.555831 | [
"MIT"
] | thecaptainfluffy/websoft | work/s07/webapp/Services/JsonFileAccountService.cs | 806 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.Azur... | 27.944444 | 81 | 0.66004 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/DocumentDB/V20200401/Outputs/DatabaseAccountConnectionStringResponseResult.cs | 1,006 | C# |
using NLog.Layouts;
namespace PeinearyDevelopment.Framework.Logging.NLog.Core.TargetGenerators
{
public interface IBaseParameterInformation
{
string Name { get; set; }
Layout Layout { get; set; }
}
}
| 20.909091 | 74 | 0.686957 | [
"MIT"
] | PdFramework/Logging | NLog.Core/TargetGenerators/IBaseParameterInformation.cs | 232 | C# |
using Sabio.Web.Domain;
using Sabio.Web.Models;
using Sabio.Web.Models.Requests;
using Sabio.Web.Models.Responses;
using Sabio.Web.Requests;
using Sabio.Web.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Sabio.Web.... | 33.030534 | 122 | 0.657499 | [
"MIT"
] | entrotech/deployapp | Sabio.Web/Controllers/Api/GlobalEventsApiController.cs | 4,329 | C# |
using Xamarin.Forms;
namespace SmartHotel.Clients.Core.Effects
{
public class UnderlineTextEffect : RoutingEffect
{
public UnderlineTextEffect() : base("SmartHotel.UnderlineTextEffect")
{
}
}
}
| 19.333333 | 77 | 0.668103 | [
"MIT"
] | ATH89/SmartHotel360_w8bghybo | Source/SmartHotel.Clients/SmartHotel.Clients/Effects/UnderlineTextEffect.cs | 234 | C# |
// Copyright (c) Jan Škoruba. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SkorubaDuende.IdentityServerAdmin.Admin.Api.Dtos.Clients
{
public class ClientApiDto
{
public Cl... | 32.831933 | 79 | 0.630151 | [
"Apache-2.0"
] | CentauriConsulting/Duende.IdentityServer.Admin | templates/template-publish/content/src/SkorubaDuende.IdentityServerAdmin.Admin.Api/Dtos/Clients/ClientApiDto.cs | 3,910 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace IEnumerableExtensionsMain
{
public static class IEnumerableExtensions
{
public static T Sum<T>(this IEnumerable<T> collection)
where T : struct, IComparable, IFormattable, IConvertible, IComparable<T>, IEquatable<T>
... | 28.516949 | 97 | 0.451412 | [
"MIT"
] | frostblooded/TelerikHomework | OOP/ExtensionMethodsDelegatesLambdaLINQ/IEnumerableExtensionsMain/IEnumerableExtensions.cs | 3,367 | C# |
using System.Net;
using System.Threading.Tasks;
using Lykke.Service.ConfirmationCodes.Client.Models.Request;
using Lykke.Service.ConfirmationCodes.Client.Models.Response;
using Lykke.Service.ConfirmationCodes.Core.Entities;
using Lykke.Service.ConfirmationCodes.Core.Services;
using Lykke.Service.ConfirmationCodes.Serv... | 36.593407 | 114 | 0.656156 | [
"MIT"
] | LykkeCity/Lykke.Service.ConfirmationCodes | src/Lykke.Service.ConfirmationCodes/Controllers/EmailConfirmationController.cs | 3,332 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Sample
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
... | 17.368421 | 47 | 0.672727 | [
"MIT"
] | AswinPG/ImageFromXamarinUI | Sample/Sample/MainPage.xaml.cs | 332 | C# |
using System;
using System.Threading.Tasks;
namespace Plugin.Firebase.Firestore
{
/// <summary>
/// Represents a Firestore Database and is the entry point for all Firestore operations.
/// </summary>
public interface IFirebaseFirestore : IDisposable
{
/// <summary>
/// Gets a <c>ICo... | 46.942308 | 139 | 0.650553 | [
"MIT"
] | Kapusch/Plugin.Firebase | src/Shared/Firestore/IFirebaseFirestore.cs | 2,441 | C# |
//-----------------------------------------------------------------------
// <copyright file="TransitionSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
/... | 40.907781 | 149 | 0.586051 | [
"Apache-2.0"
] | IgorFedchenko/akka.net | src/core/Akka.Cluster.Tests.MultiNode/TransitionSpec.cs | 14,197 | C# |
//-----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//-----------------------------------------------------------------------
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Runtime.Serializa... | 32.333333 | 73 | 0.54433 | [
"MIT"
] | QPC-database/msrecruit-scheduling-engine | common/HR.TA.CommonLibrary/HR.TA.Common/Common/Common.Email/Contracts/FileAttachmentRequest.cs | 970 | C# |
#region Copyright (c) 2017 Leoxia Ltd
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ITextWriter.cs" company="Leoxia Ltd">
// Copyright (c) 2017 Leoxia Ltd
// </copyright>
//
// .NET Software Development
// https:/... | 65.409434 | 145 | 0.63259 | [
"MIT"
] | leoxialtd/Leoxia.Abstractions | src/Leoxia.Abstractions.IO/ITextWriter.cs | 34,667 | 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-generate... | 60.597576 | 517 | 0.599324 | [
"Apache-2.0"
] | NasirAziz/NoorInternationalMobileShop | BaarDanaTraderPOS/DataSet1.Designer.cs | 99,988 | C# |
using System;
using System.Collections.Generic;
namespace Sg4Mvc.ModelUnbinders;
public class ModelUnbinderProviders
{
private readonly List<IModelUnbinderProvider> _unbinderProviders = new List<IModelUnbinderProvider>();
public virtual void Add(IModelUnbinderProvider unbinderProvider)
{
_unbinde... | 24.83871 | 106 | 0.649351 | [
"Apache-2.0"
] | MarkFl12/R4MVC | src/Sg4Mvc/ModelUnbinders/ModelUnbinderProviders.cs | 772 | C# |
using System.Threading.Tasks;
using OrchardCore.ContentManagement;
namespace OrchardCore.ContentLocalization.Handlers
{
public abstract class ContentLocalizationPartHandlerBase<TPart> : IContentLocalizationPartHandler where TPart : ContentPart, new()
{
async Task IContentLocalizationPartHandler.Localiz... | 37.777778 | 134 | 0.689216 | [
"BSD-3-Clause"
] | 1051324354/OrchardCore | src/OrchardCore/OrchardCore.ContentLocalization.Abstractions/Handlers/ContentLocalizationPartHandlerBase.cs | 1,020 | C# |
using System;
namespace _04.TransportPrice
{
class Program
{
static void Main(string[] args)
{
const double TaxiStartPrice = 0.70;
const double TaxiDaylyRate = 0.79;
const double TaxiNightRate = 0.90;
const double BussPrice = 0.09;
const double TrainPr... | 26.369565 | 85 | 0.456719 | [
"MIT"
] | anidz/softuni-cs-fundamentals | ConditionalStatementsMore Exercises/04.TransportPrice/Program.cs | 1,215 | C# |
using System.Collections.Generic;
namespace Manager.Core.Types
{
public interface IPagedFilter<TResult, in TQuery> where TQuery : IQuery
{
PagedResult<TResult> Filter(IEnumerable<TResult> values, TQuery query);
}
} | 26.222222 | 79 | 0.728814 | [
"MIT"
] | PiotrKantorowicz1/ScheduleManager | src/Manager.Core/Types/IPagedFilter.cs | 238 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 53.573333 | 253 | 0.607267 | [
"MIT"
] | Agazoth/azure-powershell | src/Purview/Purviewdata.Autorest/generated/api/Models/Api20211001Preview/AzureSynapseScanRulesetPropertiesAutoGenerated.TypeConverter.cs | 7,887 | C# |
namespace GreenHouse.Core.GraphQl.requestHelpers
{
public class PagedRequest
{
public int Take { get; set; } = 100;
public int Offset { get; set; }
}
} | 20 | 48 | 0.611111 | [
"MIT"
] | GagiuFilip1/GreenHouse.WebApi | GreenHouse.WebApi.Core/GraphQl/requestHelpers/PagedRequest.cs | 180 | C# |
namespace Be.Vlaanderen.Basisregisters.Shaperon
{
using System;
using System.Globalization;
using System.IO;
public class DbaseNullableInt16 : DbaseFieldValue
{
public static readonly DbaseIntegerDigits MaximumIntegerDigits = DbaseInt16.MaximumIntegerDigits;
private short? _value;
... | 32.371795 | 129 | 0.561188 | [
"MIT"
] | Informatievlaanderen/shaperon | src/Be.Vlaanderen.Basisregisters.Shaperon/DbaseNullableInt16.cs | 2,525 | C# |
using System.Web;
using ServiceStack.Host.Handlers;
namespace ServiceStack
{
public class PredefinedRoutesFeature : IPlugin
{
public void Register(IAppHost appHost)
{
appHost.CatchAllHandlers.Add(ProcessRequest);
}
public IHttpHandler ProcessRequest(str... | 37.755814 | 114 | 0.469972 | [
"Apache-2.0"
] | BruceCowan-AI/ServiceStack | src/ServiceStack/PredefinedRoutesFeature.cs | 3,164 | C# |
using Stencil.Forms.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Stencil.Forms.Presentation.Shells.Tablet
{
public partial class TabletMenuShellPage : BaseContentPage, IShellView
{
public TabletMenuShellPage()
: base(nameof(TabletMenuShellPage))
{
Ini... | 19.609756 | 74 | 0.46393 | [
"MIT"
] | wmansfield/stencil.v2 | mobile/Stencil.Forms/Platforms/Common/Presentation/Shells/Tablet/TabletMenuShellPage.xaml.cs | 806 | 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 System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System... | 41.886924 | 226 | 0.496456 | [
"MIT"
] | AArnott/winforms | src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxCell.cs | 132,616 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace SNSPushNotification.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally respo... | 36.632653 | 109 | 0.662396 | [
"Apache-2.0"
] | Doug-AWS/aws-sdk-net-samples | XamarinSamples/SNS/SNSPushNotification/SNSPushNotification.iOS/AppDelegate.cs | 1,797 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.Azur... | 28.486957 | 163 | 0.562576 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/AVS/Latest/GetCluster.cs | 3,276 | 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>
//--... | 40.244094 | 188 | 0.584426 | [
"MIT"
] | jirikoud/HuntingTerritory | HuntingModel/Localization/ValidationRes.Designer.cs | 5,113 | C# |
using System;
using Topshelf;
namespace Neo4jManager.Host
{
public static class ServiceFactory
{
public static Topshelf.Host CreateHost(ServiceControl serviceControl, Action<Topshelf.Host> callback = null)
{
var host = HostFactory.New(c =>
{
c.Service<Ser... | 28.828571 | 116 | 0.519326 | [
"MIT"
] | barnardos-au/Neo4jManager | src/Neo4jManager.Host/ServiceFactory.cs | 1,009 | C# |
namespace LegendaryClient.Controls
{
/// <summary>
/// Interaction logic for SmallChampionItem.xaml
/// </summary>
public partial class SmallChampionItem
{
public SmallChampionItem()
{
InitializeComponent();
}
}
} | 21.384615 | 56 | 0.586331 | [
"BSD-2-Clause"
] | nongnoobjung/Legendary-Garena | LegendaryClient/ReplayElements/SmallChampionItem.xaml.cs | 280 | C# |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/checkin/getcheckinoption 接口的响应。</para>
/// </summary>
public class CgibinCheckinGetCheckinOptionResponse : WechatWorkResponse
{
public static class... | 53.237581 | 117 | 0.386425 | [
"MIT"
] | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinCheckin/CgibinCheckinGetCheckinOptionResponse.cs | 26,511 | C# |
#nullable disable
namespace Amazon.CodeBuild
{
public class SourceAuth
{
public string Type { get; set; }
public string Resource { get; set; }
}
}
| 15.75 | 45 | 0.571429 | [
"MIT"
] | JTOne123/Amazon | src/Amazon.CodeBuild/Models/SourceAuth.cs | 191 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace P251_Party_Planner_3
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Applica... | 21.772727 | 66 | 0.565762 | [
"MIT"
] | kysgithub/HeadFirstInCSharp | HeadFirstInCSharp/Ch06/P251-Party Planner 3.0/Program.cs | 501 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Abraks.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Cr... | 43.063348 | 122 | 0.498266 | [
"MIT"
] | Ceappie/Abraks | Abraks.Data/Migrations/00000000000000_CreateIdentitySchema.cs | 9,519 | C# |
// -- FILE ------------------------------------------------------------------
// name : TimePeriodCollectionTest.cs
// project : Itenso Time Period
// created : Jani Giannoudis - 2011.02.18
// language : C# 4.0
// environment: .NET 2.0
// copyright : (c) 2011-2012 by Itenso GmbH, Switzerland
// --... | 41.661945 | 182 | 0.692747 | [
"MIT"
] | JeroenMX/TimePeriod | src/TimePeriodTests/TimePeriodCollectionTest.cs | 44,120 | C# |
using System;
using System.Collections.Generic;
namespace EZOper.NetSiteUtilities.AopApi
{
/// <summary>
/// AOP API: alipay.open.public.message.custom.send
/// </summary>
public class AlipayOpenPublicMessageCustomSendRequest : IAopRequest<AlipayOpenPublicMessageCustomSendResponse>
{
/// ... | 23.436364 | 114 | 0.605508 | [
"MIT"
] | erikzhouxin/CSharpSolution | NetSiteUtilities/AopApi/Request/AlipayOpenPublicMessageCustomSendRequest.cs | 2,590 | C# |
using System;
using System.Collections.Generic;
using Perpetuum.Accounting.Characters;
namespace Perpetuum.Services.Social
{
internal class FriendInfo
{
public readonly Character character;
public SocialState socialState;
public string note;
public DateTime lastStateUpdate;
... | 28.666667 | 122 | 0.588178 | [
"MIT"
] | LoyalServant/PerpetuumServerCore | Perpetuum/Services/Social/FriendInfo.cs | 1,034 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Irony.Interpreter
{
public static class Util
{
public static string SafeFormat(this string template, params object[] args)
{
if (args == null || args.Length == 0) return template;
... | 27.625 | 125 | 0.553167 | [
"MIT"
] | Hyperspaces/Hyperspace.DotLua | src/Irony.Interpreter/Utilities/Util.cs | 886 | C# |
namespace TaxiDinamica.Web.ViewModels.Partners
{
using System.Collections.Generic;
public class PartnersOwnerViewModel
{
public IEnumerable<PartnersOwnerViewModel> Partners { get; set; }
}
}
| 21.6 | 73 | 0.726852 | [
"MIT"
] | jarvandev/cero-filas | src/Web/TaxiDinamica.Web.ViewModels/Partners/PartnersOwnerViewModel.cs | 216 | C# |
using Domain.Models;
using System.Collections.Generic;
namespace Domain
{
/// <summary>
/// A repository managing data access for Customer, Order, Store, and Inventory objects.
/// </summary>
public interface IBurgerRepo
{
/// <summary>
/// Get all stores with deferred execution.
... | 31.090909 | 92 | 0.583918 | [
"MIT"
] | 2002-feb24-net/pauls-project1 | Domain/IBurgerRepo.cs | 3,422 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataTools.Graphs.EdgeWeightedUndirectedGraph
{
/// <summary>
/// The Edge class represents a weighted edge in an edge weighted graph.
/// Each edge consists of 2 integers (naming t... | 32.702128 | 108 | 0.534483 | [
"MIT"
] | D15190304050/CSharpConsole2017 | DataTools/Graphs/EdgeWeightedGraph/Edge.cs | 3,076 | C# |
using Nucleus.Maths;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Nucleus.Results.Deprecated
{
/// <summary>
/// Results storage table for nodes, keyed by result type
/// </summary>
[Se... | 25.027778 | 105 | 0.642619 | [
"MIT"
] | escooo/Nucleus | Nucleus/Nucleus/Deprecated/NodeResults.cs | 903 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GoL
{
public class Cell : ICell
{
public int X { get; set; }
public int Y { get; set; }
public Cell(int x, int y)
{
X = x;
Y = y;
}
public o... | 22.145833 | 62 | 0.38476 | [
"MIT"
] | pezia/game-of-life-c-sharp | GoLImpl/Cell.cs | 1,065 | C# |
using System;
using Xamarin.Forms;
namespace ShapesDemos
{
public class SpiralRunnerDemoPage : SpiralDemoPage
{
public SpiralRunnerDemoPage()
{
polyline.StrokeDashArray.Add(4);
polyline.StrokeDashArray.Add(2);
double total = polyline.StrokeDashArray[0] + pol... | 25.958333 | 85 | 0.577849 | [
"Apache-2.0"
] | 15217711253/xamarin-forms-samples | UserInterface/ShapesDemos/ShapesDemos/Views/SpiralRunnerDemoPage.cs | 625 | 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("Ub... | 38.305556 | 84 | 0.751269 | [
"Unlicense"
] | Gammern/ubllarsen | UblLarsen/UblLarsen.IntegrationV2_0.Test/Properties/AssemblyInfo.cs | 1,382 | C# |
//
// CFException.cs: Convert CFError into an CFException
//
// Authors: Mono Team
//
// Copyright (C) 2009 Novell, Inc
// Copyright 2012 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to d... | 37.080292 | 118 | 0.751378 | [
"BSD-3-Clause"
] | Therzok/xamarin-macios | src/CoreFoundation/CFException.cs | 5,080 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// AOP API: alipay.open.mini.version.gray.cancel
/// </summary>
public class AlipayOpenMiniVersionGrayCancelRequest : IAlipayRequest<AlipayOpenMin... | 23.891892 | 113 | 0.585596 | [
"MIT"
] | AkonCoder/Payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenMiniVersionGrayCancelRequest.cs | 2,666 | C# |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 41.581395 | 116 | 0.700783 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/securitycenter/v1/google-cloud-securitycenter-v1-csharp/Google.Cloud.SecurityCenter.V1.StandaloneSnippets/SecurityCenterClient.SetFindingStateResourceNamesAsyncSnippet.g.cs | 1,788 | C# |
using System;
using System.Text;
using System.Collections.Generic;
namespace Altazion.Api.Data
{
///<summary>
///Objet de données PubliciteData
///</summary>
public class PubliciteData
{
///<summary>
///Obtient ou définit la valeur EstValide
///</summary>
public bool EstValide{ get; set; }
///<summary... | 20.061224 | 43 | 0.650051 | [
"MIT"
] | altazion/altazion-sdk-csharp | SdkCSharpSources/Altazion.Api/Data/CommercialOpeCommControllerPubliciteData.cs | 993 | C# |
using ApplicationCore.Entities.PostAggregate;
using Ardalis.Specification;
namespace ApplicationCore.Specifications
{
public class PostWithCommentsSpecification : Specification<Post>
{
public PostWithCommentsSpecification(int postId)
{
Query
.Where(p => p.Id == post... | 25.6 | 68 | 0.630208 | [
"MIT"
] | aslamovyura/api-on-endpoints | ApplicationCore/Specifications/PostWithCommentsSpecification.cs | 386 | C# |
namespace Windows.UI.Xaml.Controls;
public class NavigationViewBackRequestedEventArgs
{
}
| 15.166667 | 49 | 0.846154 | [
"MIT"
] | ljcollins25/Codeground | src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/NavigationViewBackRequestedEve.cs | 91 | C# |
using System.Xml;
using EppLib.Entities;
namespace EppLib.Extensions.Nominet.Notifications
{
public class ReferralAcceptNotification : PollResponse
{
public DomainCreateResult DomainCreateResult { get; set; }
public ReferralAcceptNotification(string xml) : base(xml) { }
public ReferralAcceptNotification(byte... | 30.857143 | 112 | 0.765046 | [
"Apache-2.0"
] | CodeMakerInc/EppLib.NET | EppLib/Extensions/Nominet/Notifications/ReferralAcceptNotification.cs | 866 | C# |
using System.Collections.Generic;
using NGitLab.Models;
namespace NGitLab
{
public interface IIssueClient
{
IEnumerable<Issue> All();
IEnumerable<Issue> AllInState(IssueState state);
IEnumerable<Issue> Get(string title, IssueState state);
Issue Get(int id);
/// <su... | 25.106383 | 69 | 0.642373 | [
"MIT"
] | Duffylo/NGitLabPlus | NGitLab/NGitLab/IIssueClient.cs | 1,182 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileOpenerAPI
{
public class FileOpenerServiceMain
{
FileOpenerService service;
public FileOpenerServiceMain()
{
service = new FileOpenerService();
... | 23.5 | 80 | 0.68472 | [
"MIT"
] | ITB-Github/ITB_IT | FileOpenerAPI/FileOpenerServiceMain.cs | 519 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Fund : Form
{
public Fund()
{
... | 32.373913 | 141 | 0.46159 | [
"MIT"
] | PopeFrancisOgbonna/ATM | WindowsFormsApp1/Fund.cs | 7,448 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imagi... | 29.860656 | 84 | 0.682679 | [
"MIT"
] | trigger-death/TerraLauncher | TerraLauncher/Controls/Terraria/TerrariaWindow.cs | 3,645 | C# |
namespace SoftUni.Models
{
using System.Collections.Generic;
using System;
public partial class Project
{
public Project()
{
EmployeesProjects = new HashSet<EmployeeProject>();
}
public int ProjectId { get; set; }
public string Name { get; set; }
... | 26.333333 | 83 | 0.605787 | [
"MIT"
] | AntoniyaIvanova/SoftUni | C#/C# DB/Entity Framework Core/03. ENTITY FRAMEWORK INTRODUCTION/EntityFrameworkIntro/SoftUni/Models/Project.cs | 555 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Security.Principal;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animatio... | 38.15671 | 486 | 0.563318 | [
"MIT"
] | amadare42/HunterPie | HunterPie/Hunterpie.xaml.cs | 44,073 | C# |
//-----------------------------------------------------------------------
// <copyright file="AugmentedImageExampleController.cs" company="Google">
//
// Copyright 2018 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... | 39.79845 | 99 | 0.593689 | [
"Apache-2.0"
] | ARtSSt/ARCore | Assets/GoogleARCore/Examples/AugmentedImage/Scripts/AugmentedImageExampleController.cs | 5,134 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntSimulation
{
class Ant : GameObject
{
private Nest nest;
private bool hasFood = false;
public Ant(Nest nest)
{
thi... | 27.588235 | 99 | 0.442888 | [
"MIT"
] | RichoM/TO2021 | Ejercicios/AntSimulation/AntSimulation/Ants/Ant.cs | 3,285 | C# |
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ESFA.DC.ILR.ValidationService.Interface;
namespace ESFA.DC.ILR.ValidationService.Stubs
{
public class ContextMessageStringProviderService : IMessageStreamProviderService
{
private readonly IPreValidationCon... | 29.375 | 91 | 0.740426 | [
"MIT"
] | sampanu/DC-ILR-1819-ValidationService | src/ESFA.DC.ILR.ValidationService.AcceptanceTests/Stubs/ContextMessageStringProviderService.cs | 707 | C# |
namespace CompatibilityChecker.Library
{
using System.Collections.Immutable;
using System.Reflection.Metadata;
public struct ArrayShapeSignature
{
private readonly BlobReader reader;
public ArrayShapeSignature(BlobReader blobReader)
{
reader = blobReader;
}
... | 25.649485 | 75 | 0.459405 | [
"Apache-2.0"
] | EraYaN/dotnet-compatibility | CompatibilityChecker.Library/ArrayShapeSignature.cs | 2,488 | C# |
using UniLife.Server.Middleware.Wrappers;
using UniLife.Shared.Dto.Definitions;
using System.Threading.Tasks;
namespace UniLife.Server.Managers
{
public interface IDonemManager
{
Task<ApiResponse> Get();
Task<ApiResponse> Get(int id);
Task<ApiResponse> Create(DonemDto donemDto);
... | 29.166667 | 70 | 0.702857 | [
"MIT"
] | ahmetsekmen/UniLife | src/UniLife.Server/Managers/IDonemManager.cs | 527 | C# |
using System.Collections.Generic;
namespace Frapper.ViewModel.Messages
{
public class MessageTemplate
{
public string Subject { get; set; }
public string Body { get; set; }
public string ToAddress { get; set; }
public IEnumerable<string> Bcc { get; set; }
public IEnumer... | 27.461538 | 52 | 0.630252 | [
"MIT"
] | Ramasagar/Frapper | Frapper.Web/Frapper.ViewModel/Messages/MessageTemplate.cs | 359 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementAndStatementStatementByteMatchStatementFieldToMatchSingleQueryArgument")]
public class Wafv2... | 39.1 | 293 | 0.789003 | [
"MIT"
] | scottenriquez/cdktf-alpha-csharp-testing | resources/.gen/aws/aws/Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementAndStatementStatementByteMatchStatementFieldToMatchSingleQueryArgument.cs | 782 | C# |
using System.Diagnostics;
namespace KihonEngine.Studio.Helpers
{
public static class ExternalResources
{
public const string DocumentationUrl = "https://github.com/nico65535/KihonEngine/blob/main/doc/kihon-engine-studio.md";
public static void Navigate(string url)
{
// fo... | 33 | 127 | 0.685185 | [
"MIT"
] | nico65535/KihonEngine | source/KihonEngine.Studio/Helpers/ExternalResources.cs | 596 | C# |
/*
* Copyright (c) 2012 Stephen A. Pratt
*
* 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, ... | 43.974359 | 80 | 0.763848 | [
"MIT"
] | bluesky7290/NFrame_unity3d_nav | source/build/assemblyInfo/cai-nmbuild.cs | 1,718 | C# |
using System;
namespace TinyPngApi.Areas.HelpPage
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
/// </summary>
public class TextSample
{
public TextSample(string text)
{
... | 23.945946 | 140 | 0.532731 | [
"Apache-2.0"
] | ahmadaghazadeh/TinyPngApi | src/TinyPngApi/Areas/HelpPage/SampleGeneration/TextSample.cs | 886 | C# |
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved.
#if UNITY_GOOGLE_DRIVE_AVAILABLE
using System.Collections.Generic;
using System.Linq;
using UniRx.Async;
using UnityGoogleDrive;
namespace Naninovel
{
public class GoogleDriveResourceLocator<TResource> : LocateResourcesRunner<TResource>
... | 36.214286 | 125 | 0.629191 | [
"MIT"
] | BSK-Baesick/Partita | Assets/Naninovel/Runtime/Common/ResourceProvider/GoogleDriveResourceLocator.cs | 2,030 | 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
namespace DotNetNuke.Web.Mvp
{
using System;
[Obsolete("Deprecated in DNN 9.2.0. Replace WebFormsMvp a... | 36.923077 | 149 | 0.741667 | [
"MIT"
] | Acidburn0zzz/Dnn.Platform | DNN Platform/DotNetNuke.Web/Mvp/WebServiceView.cs | 482 | C# |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;
using System.Diagnostics;
using Microsoft.Xna.Framework.Graphics;
using NuclearWinter.Xna;
#if !FNA
using OSKey = System.Windows.Forms.Keys;
#endif
namespace NuclearWinter.UI
{
/*
... | 40.349666 | 288 | 0.466854 | [
"MIT"
] | robintheilade/nuclearwinter4monogame | NuclearWinter/UI/Screen.cs | 18,119 | C# |
using System;
using Xunit;
using System.IO;
using Lab03WordGuessGame;
using static Lab03WordGuessGame.Program;
namespace XUnitTestLab03WordGuessGame
{
public class UnitTest1
{
/// <summary>
/// makes sure the dummy text file "wordTest.txt" does not exist
/// yet by deleting any known instance of it
... | 34.171875 | 75 | 0.612254 | [
"MIT"
] | nguyenvinh2/Hangman-for-C-Sharp | XUnitTestLab03WordGuessGame/UnitTest1.cs | 6,561 | C# |
using Newtonsoft.Json;
namespace FreeAgentSniper.Models
{
public class GetTokenResponse
{
[JsonProperty("access_token")]
public string AccessToken { get; set; }
[JsonProperty("refresh_token")]
public string RefreshToken { get; set; }
[JsonProperty("expi... | 24.421053 | 48 | 0.601293 | [
"MIT"
] | jmbledsoe/FreeAgentSniper | src/Models/GetTokenResponse.cs | 464 | C# |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Validation;
using System.Linq;
using System.Runtime.Serialization;
using Hl7.Fhir.Utility;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without mod... | 42.544199 | 163 | 0.616194 | [
"BSD-3-Clause"
] | CASPA-Care/caspa-fhir-net-api | src/Hl7.Fhir.Core/Model/Generated/AppointmentResponse.cs | 15,403 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.RegularExpressions;
namespace GraphQL.EntityFramework
{
public static class ExpressionBuilder<T>
{
const string LIST_PROPERTY_PATTERN = @"\[(.*)\]";
#re... | 43.487437 | 167 | 0.583372 | [
"MIT"
] | Intecpsp/GraphQL.EntityFramework | src/GraphQL.EntityFramework/Where/ExpressionBuilder.cs | 17,310 | C# |
// Copyright 2015 Google Inc. 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
//
// Unless required b... | 39.913636 | 167 | 0.455301 | [
"Apache-2.0"
] | GabberBaby/sandbox-attacksurface-analysis-tools | CheckObjectManagerAccess/Program.cs | 8,783 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace DirGen {
/// <summary>
/// メッセージを格納するイベント引数を提供します。
/// </summary>
public class MessageEventArgs : EventArgs {
/// <summary>
/// メッセージを... | 29.625344 | 124 | 0.634834 | [
"BSD-2-Clause"
] | Nia-TN1012/DirGen | DirGen/DirectoryGenerator.cs | 15,286 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.data.dataservice.ad.offline
/// </summary>
public class AlipayDataDataserviceAdOfflineRequest : IAopRequest<AlipayDataDataserviceAdOfflineResponse>... | 23.581818 | 108 | 0.605628 | [
"Apache-2.0"
] | Varorbc/alipay-sdk-net-all | AlipaySDKNet/Request/AlipayDataDataserviceAdOfflineRequest.cs | 2,602 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using Paradigm.ORM.Data.Converters;
using Paradigm.ORM.Data.Database;
using Npgsql;
using Paradigm.ORM.Data.Exceptions;
namespace Paradigm.ORM.Data.PostgreSql
{
/// <summary>
/// Provides a way to execute commands on a PostgreSQL Server Databas... | 35.977509 | 138 | 0.539601 | [
"MIT"
] | MiracleDevs/Paradigm.ORM | src/Paradigm.ORM.Data.PostgreSql/PostgreSqlDatabaseCommand.cs | 20,795 | C# |
using Halcyon.HAL.Attributes;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using Threax.AspNetCore.Halcyon.Ext;
using Threax.AspNetCore.UserBuilder.Entities;
using Threax.AspNetCore.UserBuilder.Entities.Mvc;
namespace DevApp.Controllers.Api
{
[Ro... | 42.146341 | 140 | 0.755787 | [
"Apache-2.0"
] | threax/AspNetCore.Swashbuckle.Convention | src/DevApp/Controllers/Api/RolesController.cs | 1,730 | 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("GS... | 38.297297 | 84 | 0.745942 | [
"Apache-2.0"
] | Tyler-Wu/weekly | GS.WeeklyReport.Common/Properties/AssemblyInfo.cs | 1,420 | C# |
#pragma checksum "..\..\..\..\..\Views\Data\MainData.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5D1A1845EA31868A158D7ED919374ABC110516F1"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.... | 42.2 | 143 | 0.680513 | [
"Unlicense"
] | AlexanderAndrenko/Univer-programming--project- | Kindergarten/Kindergarten/obj/Debug/net472/Views/Data/MainData.g.i.cs | 3,589 | C# |
using System;
using System.Security.Principal;
using System.Web;
using System.Web.Hosting;
namespace MongoDB.Messaging.Security
{
/// <summary>
/// A class to get user information
/// </summary>
public static class UserHelper
{
private static string GetCurrentUserName()
{
... | 25.304348 | 54 | 0.547251 | [
"Apache-2.0"
] | IsaacSee/MongoDB.Messaging | Source/MongoDB.Messaging/Security/UserHelper.cs | 1,166 | C# |
using System.Runtime.CompilerServices;
using System.Xml;
namespace System.Html.Speech {
[Imported, Serializable]
public partial class SpeechRecognitionEventInit : EventInit {
public DocumentBase Emma {
get;
set;
}
public string Interpretation {
get;
set;
}
public int ResultIndex {
get;
... | 13.642857 | 62 | 0.672775 | [
"Apache-2.0"
] | Saltarelle/SaltarelleWeb | Web/Generated/Html/Speech/SpeechRecognitionEventInit.cs | 384 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Autodesk.Revit.DB;
using Objects.BuiltElements.Revit;
using Speckle.Core.Models;
using DB = Autodesk.Revit.DB;
using Mesh = Objects.Geometry.Mesh;
namespace Objects.Converter.Revit
{
public partial class ConverterRevit
{
public List<App... | 35.268182 | 136 | 0.67354 | [
"Apache-2.0"
] | dtnaughton/speckle-sharp | Objects/Converters/ConverterRevit/ConverterRevitShared/Partial Classes/ConvertWall.cs | 7,761 | C# |
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using Microsoft.WindowsAzure.Mobile.Service;
using AJTaskManagerServiceService.DataObjects;
using AJTaskManagerServiceService.Models;
namespace AJTaskManagerServiceService.Controller... | 30.886792 | 87 | 0.651191 | [
"Apache-2.0"
] | qbasko/AJTaskManager | AJTaskManagerService/AJTaskManagerServiceService/Controllers/GroupController.cs | 1,639 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cus.Entities.Entities
{
public class Order_details
{
public int OrderID {get; set;}
public int ProductID {get; set;}
public decimal UnitPrice {get; set;}
public object Quantity {get; set;}
public object Discount... | 18.833333 | 38 | 0.731563 | [
"Unlicense"
] | wugelis/Cus.WebForm | Cus.Entities/Entities/Order_details.cs | 339 | C# |
// <copyright file="FhirUtils.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// </copyright>
using System;
using System.Collections.Generic;
using System.Text;
using... | 32.385396 | 116 | 0.39296 | [
"MIT"
] | FirelyTeam/fhir-codegen | src/Microsoft.Health.Fhir.SpecManager/Models/FhirUtils.cs | 15,981 | C# |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | 47.623656 | 112 | 0.577632 | [
"BSD-3-Clause"
] | Michelle-Argus/ArribasimExtract | OpenSim/Region/UserStatistics/SimStatsAJAX.cs | 13,287 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BotesPesqueros
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThread]
sta... | 22.521739 | 65 | 0.617761 | [
"MIT"
] | JoseLuisRojasAranda/Visual-Practicas | BotesPesqueros/BotesPesqueros/Program.cs | 521 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 65.385965 | 488 | 0.676371 | [
"MIT"
] | v-kaifazhang/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineCollection.cs | 22,362 | 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Allo... | 38.291209 | 146 | 0.538958 | [
"MIT"
] | Azyyyyyy/osu | osu.Game.Tests/Visual/UserInterface/TestSceneUpdateableBeatmapSetCover.cs | 6,788 | C# |
using System;
using System.IO;
namespace Socket.Quobject.EngineIoClientDotNet.Parser {
public class ByteBuffer
{
private long _limit = 0;
private readonly MemoryStream _memoryStream;
public ByteBuffer(int length)
{
this._memoryStream = new MemoryStream();
this._memoryStream.SetLength((... | 21.369565 | 63 | 0.62411 | [
"MIT"
] | EliseuPHP/MotionSensorUnity | Assets/Plugins/Socket/Quobject/EngineIoClientDotNet/Parser/ByteBuffer.cs | 1,966 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum GroundType { Ground, Water }
public class GroundTileData
{
public GroundType groundType = GroundType.Ground;
public float primaryGrowth = 0f;
public bool primaryGrowthComplete = false;
public float secondaryGr... | 22.68 | 66 | 0.561728 | [
"MIT"
] | KeithSwanger/a-field-of-flowers | Start From Nothing/Assets/Scripts/GroundTileData.cs | 1,136 | C# |
//
// ServiceOperationResultKind.cs
//
// Author:
// Marek Habersack <grendel@twistedcode.net>
//
// Copyright (c) 2011 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 So... | 36 | 80 | 0.751355 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Data.Services/System.Data.Services.Providers/ServiceOperationResultKind.cs | 1,478 | C# |
using FluentAssertions;
using FluentAssertions.Execution;
using Pubs.CoreDomain.Entities;
using Pubs.UnitTests.Setup;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Pubs.UnitTests.Domain.Entities
{
public class AuthorTests : UnitTestBase
{
[Fact]
public void proper... | 32.0625 | 87 | 0.495127 | [
"MIT"
] | theMickster/pubs | tests/Pubs.UnitTests/Domain/Entities/AuthorTests.cs | 1,541 | C# |
using UnityEngine;
using System.Collections;
/*
*
* バトルの管理をするスクリプト
*
*/
public class BattleManager : MonoBehaviour {
public CharaInfo charaInfo;
// Use this for initialization
void Start () {
charaInfo = charaInfo.GetComponent<CharaInfo>();
}
// Update is called once per frame
void Update () {
... | 14.08 | 56 | 0.664773 | [
"MIT"
] | reverinu/reverinuBattleSystemProject | KawakenBattleSystem/Assets/Scripts/Manager/BattleManager.cs | 382 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.