content stringlengths 23 1.05M |
|---|
using CharlieBackend.Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CharlieBackend.Data.Configurations
{
class StudentGroupEntityConfiguration : IEntityTypeConfiguration<StudentGroup>
{
public void Configure(EntityTypeBuilder<Studen... |
// Copyright (c) 2012, Joshua Burke
// All rights reserved.
//
// See LICENSE for more information.
using System.Runtime.InteropServices;
using SharpDX;
namespace Frost.DirectX.Composition
{
[StructLayout(LayoutKind.Sequential)] internal struct RenderConstants
{
public static readonly int ByteSize;
static R... |
using System;
using Net.Sf.Pkcs11.Wrapper;
namespace Net.Sf.Pkcs11.Objects
{
/// <summary>
/// Description of GostPrivateKey.
/// </summary>
public class GostPrivateKey : PrivateKey
{
/// <summary>
/// Params.
/// </summary>
protected ByteArrayAttribute params_ = ne... |
using System;
using System.Data.Linq.Mapping;
using Bloom.Domain.Enums;
namespace Bloom.Domain.Models
{
/// <summary>
/// Represents a segment of a song.
/// </summary>
[Table(Name = "song_segment")]
public class SongSegment
{
/// <summary>
/// Creates a new song segment instan... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DelaunayTriangulation
{
public class Edge
{
private float m_Length;
public float length
{
get
{
return m_Length;
}
}
private Ver... |
using System;
namespace Fizz
{
public class FizzError
{
public static readonly int ERROR_BAD_ARGUMENT = 0xF122400;
public static readonly int ERROR_REQUEST_FAILED = 0xF122401;
public static readonly int ERROR_INVALID_REQUEST = 0xF122402;
public static readonly int ERROR_AUTH_FA... |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SujaySarma.Sdk.Azure.Storage
{
/// <summary>
/// Routing preference for the storage endpoints
/// </summary>
public class RoutingPreference
{
/// <summary>
/// Specify if internet routing storage endpoints are to b... |
// Copyright (c) Anton Abramenko <anton@abramenko.dev>
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
namespace ExactJson.Tests.Unit
{
public sealed class JsonNumberTests
... |
using Microservices.Core.Infrastructure.Options;
using System.Collections.Generic;
namespace Web.Infrastructure.Options
{
public class AppConfig
{
public StoreSettings StoreSettings { get; set; }
public ServiceConfig Services { get; set; }
public RedisOptions Redis { get; se... |
namespace ImageSharp.Processing.AutoCrop.Models
{
public interface IAutoCropSettings
{
int PadX { get; }
int PadY { get; }
int? ColorThreshold { get; }
float? BucketThreshold { get; }
PadMode PadMode { get; }
bool AnalyzeWeights { get; }
}
}
|
using DavidLievrouw.Utils.ForTesting.FakeItEasy;
using DavidLievrouw.Utils.ForTesting.FluentAssertions;
using DavidLievrouw.Voter.Data.Dapper;
using FluentAssertions;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Data {
[TestFixture]
public class KnownUserDataServiceTests {
IQueryExecutor _queryExecuto... |
using System.Collections.Generic;
namespace ReadingIsGood.Entities.DTOs
{
public class UpdateBookDto
{
public string ISBN { get; set; }
public string AuthorId { get; set; }
public IEnumerable<string> CategoryIds { get; set; }
public string Name { get; set; }
public stri... |
using CleanArchitectureCosmosDB.Core.Interfaces;
using CleanArchitectureCosmosDB.Core.Interfaces.Persistence;
using CleanArchitectureCosmosDB.Infrastructure.AppSettings;
using CleanArchitectureCosmosDB.Infrastructure.CosmosDbData.Repository;
using CleanArchitectureCosmosDB.Infrastructure.Extensions;
using CleanArchite... |
using System;
using System.Linq;
using System.Reflection;
namespace Alsein.Extensions.DependencyInjection.Internal
{
internal sealed class ReflectionConstructorRegistryBuilder : RegistryBuilderBase, IConstructorRegistryBuilder
{
private ConstructorInfo _constructor;
private object[] _providedA... |
using Hikipuro.Text.Interpreter;
using Hikipuro.Text.Parser.Generator;
using Hikipuro.Text.Parser.Generator.Expressions;
using Hikipuro.Text.Tokenizer;
using System.Diagnostics;
using TokenType = Hikipuro.Text.Parser.EBNF.EBNFParser.TokenType;
namespace Hikipuro.Text.Parser.EBNF.Expressions {
/// <summary>
/// EBNF... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Plugin.Geolocator;
using Plugin.Connectivity;
using Xamarin.Forms;
using Android;
using Android.Locations;
using Android.Content;
using Android.Net;
namespace GPSAppClient
{
public partial cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AssetsSobre : MonoBehaviour
{
[SerializeField]
private GameObject autoresText = null;
[SerializeField]
private GameObject assetsLegendaText = null;
[SerializeField]
private GameObject assets1Text = null... |
#region Header
// Vorspire _,-'/-'/ TypeSelect.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -===========... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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 Microsoft.EntityFrameworkCore.Migrations;
namespace Async_Inn.Migrations
{
public partial class firsthotl : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Name",
table: "... |
using System;
using Server.Core.Common.Messages;
namespace Server.Core.Lists.Workflow.RemoveListItem
{
/// <summary>
/// Ответ на удаляемый список.
/// </summary>
public class RemoveListItemResponse: MessageOutputBase
{
/// <summary>
/// Код удаленного списка.
/// </summary... |
namespace Transit.Core.Events
{
public class EventRoutePreRegistrationEventArgs : EventRouteRegistrationEventArgs
{
private EventRoutePreRegistrationEventArgs() : base(null)
{
}
public EventRoutePreRegistrationEventArgs(EventRoute eventRoute) : base(eventRoute)
{
... |
namespace Bbt.Campaign.Public.Dtos.CampaignRule
{
public class CampaignRuleUpdateFormDto : CampaignRuleInsertFormDto
{
public bool IsInvisibleCampaign { get; set; }
public CampaignRuleDto CampaignRule { get; set; }
}
}
|
using System;
using System.Linq;
namespace _06.Batteries
{
public class Batteries
{
public static void Main()
{
double[] capacity = Console.ReadLine().Split(' ').Select(double.Parse).ToArray();
double[] usagePerHour = Console.ReadLine().Split(' ').Select(double.Parse).T... |
namespace Xamarin.Cognitive.Face.Model
{
/// <summary>
/// Noise level. The level include `Low`, `Medium` and `High`.
/// </summary>
public enum NoiseLevel
{
/// <summary>
/// Low.
/// </summary>
Low,
/// <summary>
/// Medium.
/// </summary>
Medium,
/// <summary>
/// High.
/// </summary>
... |
using System;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using LibGit2Sharp;
namespace ReactiveGit
{
public partial class ObservableRepository
{
/// <inheritdoc />
public IObservable<Unit> Push(IObserver<Tuple<string... |
using Frank.Libraries.Logging.Shared;
namespace Frank.Libraries.Logging.EntityFramework
{
public class EntityFrameworkLoggerConfiguration : LoggerConfigurationBase
{
}
} |
namespace SemanticReleaseNotesParser.BuildServers
{
internal interface IBuildServer
{
bool CanApplyToCurrentContext();
void SetEnvironmentVariable(string variable, string value);
}
}
|
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ErsatzTV.Core;
using ErsatzTV.Core.Domain;
using ErsatzTV.Core.Interfaces.Repositories;
using LanguageExt;
using MediatR;
using static LanguageExt.Prelude;
namespace ErsatzTV.Application.Streaming.Quer... |
using System;
namespace DapperDemo
{
class Program
{
static void Main(string[] args)
{
using var db = new DemoDb();
db.Open();
db.AllData().ForEach(Console.WriteLine);
Console.WriteLine("\r\nFiltered:");
db.DataLike("an").ForEach(Cons... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using HelperExpressions;
using HelperExpressionsTest;
using System;
namespace BenchmarkHelpers
{
class Program
{
public static void Main(string[] args)
{
BenchmarkRunner.Run<SimpleTest>();
}
}
public c... |
//
// Copyright Seth Hendrick 2020.
// Distributed under the MIT License.
// (See accompanying file LICENSE in the root of the repository).
//
using Cake.LicenseHeaderUpdater.Tests.TestCore;
using NUnit.Framework;
namespace Cake.LicenseHeaderUpdater.Tests.IntegrationTests
{
[TestFixture]
public class HeaderR... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NMF.Expressions
{
public interface INotifyEnumerable : IEnumerable, INotifyCollectionChanged, INotifiable { }
public interface INotifyEnumerable<out ... |
using SpearPay.Naming;
using System;
namespace SpearPay.AllinPay.Models
{
public abstract class BaseModel : IModel
{
protected BaseModel()
{
RandomStr = Guid.NewGuid().ToString("N");
}
/// <summary> 随机字符串 </summary>
[Naming("randomstr")]
public stri... |
namespace ReduxSimple.Uwp.RouterStore
{
/// <summary>
/// Interface of a state used to store router navigation details.
/// </summary>
public interface IBaseRouterState
{
/// <summary>
/// Router state.
/// </summary>
RouterState Router { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDO.Core.Model
{
public class ElseIf :ICloneable
{
public ElseIf()
{
IfCondition = new IfCondition();
}
public IfCondition IfCondition { get; set; }
public string... |
#region File Description
//-----------------------------------------------------------------------------
// CollectCollection.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endre... |
@{
ViewBag.Title = "Contact";
}
<ol class="breadcrumb">
<li><a href="#">Mitra</a></li>
<li class="active">Contato</li>
</ol> |
namespace Platform.Network.ExtensibleServer
{
/// <summary>
/// Summary description for AnyRunLevel.
/// </summary>
public class AnyRunLevel
: RunLevel
{
public const string RunLevelName = "ANY";
public static readonly AnyRunLevel Default = new AnyRunLevel();
public AnyRunLevel()
: base(R... |
using Mantle.Data.Entity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Mantle.Tasks.Domain
{
public class ScheduledTaskMap : IEntityTypeConfiguration<ScheduledTask>, IMantleEntityTypeConfiguration
{
public void Configure(EntityTypeBuilder<Schedu... |
using System;
using System.Collections.Generic;
using System.Text;
using Zephyr.Core;
namespace Zephyr.Models
{
[Module("Sys")]
public class sys_menuService : ServiceBase<sys_menu>
{
}
public class sys_menu : ModelBase
{
[PrimaryKey]
public string MenuCode { get; set... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace HorseMoon
{
public class ScreenFade : SingletonMonoBehaviour<ScreenFade>
{
//private Canvas canvas;
private RawImage blackImage;
private Coroutine doFadeCoroutine;
public System.Action fadedOut;
public System.Action fadedIn;
... |
namespace Core
{
public class TextIdStrategy : IdentityStrategy
{
private string id;
public string GetId()
{
return this.id;
}
public void SetId(string newId)
{
this.id = newId;
}
}
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullable enable
using System.Text.Json;
namespace Microsoft.AspNetCore.Components.Web
{
internal static class WheelEventArgsReader
{
... |
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
namespace Microsoft... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InnovatorAdmin
{
public class QueryParameter
{
public enum DataType
{
String,
Boolean,
DateTime,
Decimal,
Integer,
Null
}
public string Name { get; set; }
public... |
using System;
using Moq;
using TestEasy.Core.Abstractions;
namespace TestEasy.TestHelpers
{
public class MockGenerator
{
public static string Randomize(string val)
{
var r1 = new Random((int) DateTime.Now.Ticks/2);
var r2 = new Random(r1.Next());
val = val +... |
using Creekdream.SimpleDemo.Books.Dto;
using System.Threading.Tasks;
using Creekdream.Application.Service;
using Creekdream.Application.Service.Dto;
using System;
namespace Creekdream.SimpleDemo.Books
{
/// <summary>
/// 书信息服务
/// </summary>
public interface IBookService : IApplicationService
{
... |
using System.Collections.Generic;
namespace Norml.Common.Data
{
public interface IModelDataConverter
{
IDatatableObjectMapping ConvertToDataTable<TModel>(IEnumerable<TModel> models);
}
}
|
using System;
namespace ArchiveUnpacker.Core.Exceptions
{
// Should prob make this better
public class InvalidMagicException : Exception { }
}
|
using System;
using System.Collections.Generic;
using Ninject;
using Ninject.Syntax;
using TehPers.Core.Api.DI;
namespace TehPers.Core.DI
{
internal class SimpleFactory<TService> : ISimpleFactory<TService>
{
private readonly IResolutionRoot serviceResolver;
public SimpleFactory(IResolutionRoo... |
using ChiaRPC.Models;
using ChiaRPC.Parsers;
using System;
using System.Text.Json.Serialization;
namespace ChiaRPC.Results
{
internal sealed class GetRecentEosResult : ChiaResult
{
[JsonPropertyName("eos")]
public EndOfSubSlotBundle EndOfSubSlotBundle { get; init; }
[JsonPropertyName(... |
using SteamKit2;
using System.Collections.Generic;
namespace SteamChatBot.Triggers.TriggerOptions
{
public class AntiSpamTriggerOptions
{
public string Name { get; set; }
public NoCommand NoCommand { get; set; }
public List<SteamID> admins { get; set; }
public Dictionary<SteamI... |
namespace FactoryPattern
{
public class SlicedPepperoni : Pepperoni
{
}
}
|
// Taken from the Windows API Code Pack for Microsoft (r) .NET Framework
// Originally Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Runtime.InteropServices;
namespace Taskbar
{
#region Enums
internal enum KnownDestinationCategory
{
Frequent = 1,... |
using System.Collections.Generic;
using System.Text;
namespace tvn.cosine.expressions
{
public class InfixExpression<T> : List<ExpressionObject>, ICalculate<T>
{
public Operand<T> Calculate()
{
var sya = new ShuntingYard<T>();
var pf = sya.ToPostFix(this);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CozyKxlol.Engine.Tiled.Json;
namespace CozyKxlol.Engine.Tiled
{
public class CozyTileJsonManager
{
private Dictionary<string, CozyTileJsonResult> TilesDictionary = new Dictionary<string, CozyTileJsonResult>();
... |
using System;
using System.Collections.Generic;
namespace Cartogram
{
public class Map : IEquatable<Map>
{
public int Id { get; set; }
public int SqlId { get; set; }
public string Rarity { get; set; }
public int Level { get; set; }
public string Name { get; set; }
... |
using System.Drawing;
using ChartJS.NET.Infrastructure;
namespace ChartJS.NET.Charts.Doughnut
{
public class DoughnutChartOptions
{
/// <summary>
/// Whether or not to show a stroke on each segment
/// </summary>
public bool? SegmentShowStroke { get; set; }
/// <su... |
using System.Collections;
using System.Diagnostics;
namespace C3DE.Components
{
public class Coroutine
{
/// <summary>
/// A coroutine that waits for n seconds. It depends of the time scale.
/// </summary>
/// <returns>The for seconds.</returns>
/// <param name="time">T... |
using System;
using System.Collections.Generic;
namespace PdfReader
{
public abstract class PdfPageInherit : PdfDictionary
{
public PdfPageInherit(PdfObject parent, ParseDictionary dictionary)
: base(parent, dictionary)
{
}
public PdfPageInherit Inherit { get => Ty... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//
// Used to switch something on/off
//
public class Switch : MonoBehaviour
{
[SerializeField] bool isOn;
[SerializeField] Renderer renderer;
[SerializeField] Material onMaterial;
[SerializeField] Material offMaterial;
... |
using LexLibrary.Google.reCAPTCHA.Models;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Text;
namespace LexLibrary.Google.reCAPTCHA
{
public static class GoogleCaptchaH... |
using System;
using System.Runtime.InteropServices;
using AudioSwitcher.AudioApi.CoreAudio.Interfaces;
namespace AudioSwitcher.AudioApi.CoreAudio.Topology
{
[Guid(ComInterfaceIds.CONTROL_INTERFACE_IID)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IControlInterface
{
... |
using System;
namespace Phema.Validation.Examples.WorkerService
{
public class ReceivedMessage
{
public TimeSpan Elapsed { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace NetPad.Compilation
{
public static class SystemAssemblies
{
private static HashSet<string>? _systemAssembliesLocations;
public static HashSet<string> GetAssemblyLocations()
{
retur... |
using AutoMapper;
using Fancy.Data.Models.Models;
using Fancy.Web.Areas.Admin.Models;
namespace Fancy.Web.App_Start.AutomapperProfiles
{
public class ModelViewToData : Profile
{
public ModelViewToData()
{
this.CreateMap<AddItemViewModel, Item>()
.ForMember(x => x.Or... |
using System;
using System.Security.Cryptography;
using System.Text;
namespace Mffer {
/// <summary>
/// Static methods for general utilization
/// </summary>
public static class Utilities {
/// <summary>
/// Calculates a hashed version of a string
/// </summary>
/// <remarks>
/// Creates a base 64 repre... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AzPerf.Storage.Helpers;
using Microsoft.WindowsAzure.Storage.Blob;
namespace AzPerf.Storage.Blob
{
public class UploadSinglePageFileMultipleThreadsSmart : StoragePerformanceScenarioBase
{
... |
using Fast.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Fast.Buffers.Tests
{
[TestClass]
public class FastCopyTest
{
[TestMethod]
public void test_fast_copy()
{
const int count = 23;
var expected = Utility.GetTestArray(count);
... |
using Microsoft.Extensions.FileProviders;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Smidge.Tests")]
namespace Smidge
{
/// <summary>
/// A marker interface for an <see cref="IFileProvider"/> for Smidge
/// </summary>
public interface ISmidgeFileProvider : IFileProvider
... |
using BeboerWeb.Api.Domain.Models.Bookings;
using BeboerWeb.Api.Domain.Models.Chat;
using BeboerWeb.Api.Domain.Models.Documents;
using BeboerWeb.Api.Domain.Models.PropertyManangement;
using Microsoft.EntityFrameworkCore;
namespace BeboerWeb.Api.Persistence.Contexts
{
public interface IApiDbContext : IDbContext
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Zaabee.Cryptographic.UnitTest
{
public class Md5Test
{
[Fact]
public void Test()
{
Md5Helper.Encoding = Encoding.UTF8;
Assert.Equal(Md5Helper.Encoding, En... |
namespace EPI.Graphs.Algorithms
{
public class AdjacencyListGraphNode
{
public int destNode;
public int weight;
public AdjacencyListGraphNode(int node, int w)
{
destNode = node;
weight = w;
}
}
}
|
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.Formatter;
using MQTTnet.Packets;
using MQTTnet.Protocol;
namespace MQTTnet.Tests.Server
{
[TestClass]
public sealed class KeepAlive_Tests : BaseTestClass
{
[TestMe... |
using bS.Sked.Model.Interfaces.Entities.Base;
namespace bS.Sked.Model.Interfaces.Elements.Properties
{
public interface IAttachableFileModel : IFileObject, IPersisterEntity, IHistoricalEntity
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IoTSharp.Models.DeviceMapping.Prop;
namespace IoTSharp.Models.DeviceMapping
{
public class Node<T>
{
public string id { get; set; }
public T Biz { get; set; } //原始设备数据
public int zIn... |
using System.Numerics;
using static glTFLoader.Schema.MeshPrimitive;
namespace AssetGenerator.Runtime
{
internal enum MeshPrimitiveMode
{
Points = ModeEnum.POINTS,
Lines = ModeEnum.LINES,
LineLoop = ModeEnum.LINE_LOOP,
LineStrip = ModeEnum.LINE_STRIP,
Triangles = ModeEn... |
using System;
using System.Threading.Tasks;
using CCS.Application.Domains.Entities;
using CCS.Application.Domains.Interfaces;
using CCS.Application.Domains.Requests;
using MediatR;
namespace CCS.Application.Applications
{
public class SampleService : BaseService
{
public SampleService(IMediator mediat... |
//
// CSVReaderBuilderTest.cs
//
// Author:
// tsntsumi <tsntsumi@tsntsumi.com>
//
// Copyright (c) 2016 tsntsumi
//
// 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 restrict... |
using System;
using System.Collections;
using Microsoft.Maui.Graphics;
using NUnit.Framework;
namespace Microsoft.Maui.Controls.Core.UnitTests
{
[TestFixture(Category = "RadioButton")]
public class RadioButtonTemplateTests : BaseTestFixture
{
class FrameStyleCases : IEnumerable
{
public IEnumerator GetEnumer... |
using BoomBang.Forms;
using BoomBang.game.dao;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BoomBang.game.instances
{
public class CatalogObjectInstance
{
public int id;
public string titulo;
... |
using System;
using System.Collections.Generic;
using System.Text;
using MarioObjects.Objects.BaseObjects;
namespace MarioObjects.Objects.Patterns
{
public class VisitorObject
{
public virtual void Action(GraphicObject g) { }
}
}
|
using UnityEngine;
using System;
using System.Collections.Generic;
using Toki.Tween;
public interface IXTween
{
float Duration
{
get;
}
float Position
{
get;
}
bool IsPlaying
{
get;
}
void StopOnDestroy();
IXTween Play();
IXTween Play( float position );
WaitForTweenPlay WaitForPlay();
Wait... |
namespace Tabula.Writers
{
public class TSVWriter : CSVWriter
{
public TSVWriter() : base("\t")
{ }
}
}
|
namespace Softeq.XToolkit.DefaultAuthorization.Infrastructure
{
public enum ErrorCodes
{
//NotFound
UserNotFound = 1001,
UserRoleNotFound = 1003,
//InputValidation
UserIsInDeletedState = 2001,
RequestModelValidationFailed = 2003,
InvalidEmailConfirmation... |
using System;
namespace ARMeilleure.CodeGen.RegisterAllocators
{
unsafe readonly struct LiveRange : IEquatable<LiveRange>
{
private struct Data
{
public int Start;
public int End;
public LiveRange Next;
}
private readonly Data* _data;
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.Extensions.Configuration;
namespace soverance.com.Models
{
public partial class DatabaseContext : DbContext
{
public DatabaseContext(DbContextOptions<DatabaseContext> options)
:... |
namespace Tarea25
{
partial class FRMCON
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... |
@{
Layout = "_Layout";
}
@using VendorOrderTracker.Models;
<h1>Vendors</h1>
@if (@Model.Count == 0)
{
<div class="card bg-light mb-3">
<div class="card-body">
<h3>Please Add Vendors!</h3>
</div>
</div>
}
@foreach (Vendor vendor in Model)
{
... |
using reposer.Config;
using reposer.Rendering.CopyHtml;
using reposer.Repository;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace reposer.Rendering
{
public class RenderService
{
public RenderService(
ConfigService... |
using DevExpress.Mvvm.UI.Interactivity;
using DevExpress.Xpf.Core.Native;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Controls;
namespace DevExpress.DevAV {
public class HorizontalScrollingOnMouseWheelBehavior : Behavior<ListView> {
protected override void On... |
using Castle.MicroKernel.Context;
using Castle.MicroKernel.Lifestyle.Scoped;
namespace Castle.Windsor.MsDependencyInjection
{
/// <summary>
/// Implements <see cref="IScopeAccessor"/> to get <see cref="ILifetimeScope"/>
/// from <see cref="MsLifetimeScope.Current"/>.
/// </summary>
public class Ms... |
using Microsoft.EntityFrameworkCore;
using Mix.Cms.Lib.Extensions;
namespace Mix.Cms.Lib.Models.Cms
{
public partial class SqliteMixCmsContext : MixCmsContext
{
public SqliteMixCmsContext()
{
}
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
... |
using TwilightSparkle.Forum.Foundation.ThreadsService;
namespace TwilightSparkle.Forum.Features.Threads.Models
{
public class ThreadCommentsCountResult
{
public int Count { get; set; }
public ThreadCommentsCountResult(ThreadCommentsCount commentsCount)
{
Count ... |
namespace Npgsql;
#pragma warning disable CS1591
#pragma warning disable RS0016
public static class NpgsqlEventId
{
#region Connection
public const int OpeningConnection = 1000;
public const int OpenedConnection = 1001;
public const int ClosingConnection = 1003;
public const int ClosedC... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Dml.Diagram
{
[Serializable]
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
[XmlType(Namespace = ... |
using System;
using System.Collections.Generic;
namespace Claytondus.EasyPost.Models
{
public class ScanForm
{
public string? id { get; set; }
public DateTime? created_at { get; set; }
public DateTime? updated_at { get; set; }
public List<string>? tracking_codes { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class confettiTrigger : MonoBehaviour
{
public GameObject confetti1, confetti2, confetti3, confetti4, confetti5, confetti6;
private void Start()
{
confetti1.SetActive(false);
confetti2.SetActive(false);
... |
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using DSInternals.Common.Data;
using DSInternals.Common.Exceptions;
using Newtonsoft.Json;
namespace DSInternals... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.