content stringlengths 23 1.05M |
|---|
using FlubuCore.Context;
using FlubuCore.Scripting;
namespace FlubuCore
{
/// <summary>
/// Build script template.
/// </summary>
public class BuildScript : DefaultBuildScript
{
protected override void ConfigureBuildProperties(IBuildPropertiesContext context)
{
context.... |
namespace Tests;
using StringBuilderType;
using System;
using Xunit;
public class Tests
{
public static readonly StringBuilderMethods stringBuilderMethods = new StringBuilderMethods();
[Fact]
public void GivenAString_WhenCallingMethodWillDefineAndAppend_ThenReturnAStringBuilder()
{
//Arrange
... |
@page
@model Cvl.DynamicForms.Areas.DynamicForms.Pages.Grid.IndexModel
@{
Layout = "_Layout";
}
<div class="container-fluid">
<form method="get">
<input name="mainfilter" id="mainfilter" type="text" placeholder="Enter filter value..." />
<input name="submit" type="submit" id="submitButton" val... |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Combats
{
[TestFixture]
public class ClassHitDiceTests : AdjustmentsTests
{
protected override string tableName
{
get { return TableName... |
class pNGJWx72b5hG
{
public bool njXJosRsQAQKQqbqjxmmye3W1oi7a0H = false;
public float Vv6vZTTijaG7klI06l79q3P3hCGeNQYoKhea0oLt = 0.0f;
string JgMZspBI1RMzyuZRvPsuRrOX_XrGEVFd0g9Rgaiw = null;
float XR60S_8oUPHXLx9udrVZtGvl = 0.0f;
private string ly8KI3pPhKY6a = null;
private bool SQJ7YyOF_kQS... |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Leto.OpenSsl11
{
internal static class ExceptionHelper
{
[MethodImpl(MethodImplOptions.NoInlining)]
[DebuggerStepThrough]
internal static void ThrowException(Exception ex) => throw ex;
}
}
|
namespace EstateSocialSystem.Web.Controllers
{
using Services.Data;
using System.Web.Mvc;
using Data.Models;
using Microsoft.AspNet.Identity;
public class CommentController : Controller
{
private readonly IEstateCommentService estateComments;
private readonly IApplianceCommentS... |
using System;
using System.IO;
namespace GraphQlClientGenerator
{
public class SingleFileGenerationContext : GenerationContext
{
private readonly string _indentation;
private bool _isNullableReferenceScopeEnabled;
private int _enums;
private int _directives;
private in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NoteApp;
using Newtonsoft.Json;
using System.IO;
namespace NoteApp
{
/// <summary>
/// Класс отвечающий за сериализацию
/// </summary>
public class ProjectManager
{
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
namespace Server.Core.RestApi.Infrastructure.Middlewares
{
public static class OptionsMiddlewareExtensions
{
public static IApplicationBuilder UseCorsAndOptions(this IAp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using MEC;
using System;
using Yodo1.MAS;
public class UIController : MonoBehaviour
{
#region Instance:
public static UIController instance;
private void Awake()
{
if (instance !=... |
// Copyright (c) 2016 Framefield. All rights reserved.
// Released under the MIT license. (see LICENSE.txt)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Newtonsoft.Json;
namespace Framefield.Core.Commands
{
[JsonObject(MemberSer... |
using System;
class Program
{
public static void Main()
{
string letter = "aBcDefGHIJKlmnOPqRSTUVwxyZ";
Console.WriteLine("Uppercase: {0}", letter.ToUpper());
Console.WriteLine("Lowercase: {0}", letter.ToLower());
}
} |
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when <code>Document</code> has been totally updated. Node ids are no longer valid.
/// </summary>
[Event(ProtocolName.DOM.DocumentUpdated)]
public class DocumentUpdatedEvent
{
}
}
|
using eProdaja.Services;
using Microsoft.AspNetCore.Mvc;
namespace eProdaja.Controllers
{
public class BaseCrudController<T, TSearch, TInsert, TUpdate> : BaseController<T, TSearch>
where T : class where TSearch:class where TInsert : class where TUpdate:class
{
public BaseCrudController(ICRUDSe... |
using Newtonsoft.Json;
namespace Tinkoff.Trading.OpenApi.Models
{
[JsonConverter(typeof(StreamingResponseConverter))]
public abstract class StreamingResponse
{
[JsonIgnore] public abstract string Event { get; }
}
public abstract class StreamingResponse<T> : StreamingResponse
{
... |
using Epsilon.Logic.Entities;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Epsilon.Logic.SqlContext.Mapping
{
public class ResponseTimingMap : EntityTypeConfiguration<ResponseTiming>
{
public const int ACTION_MAX_LENGTH = 128;
... |
using ContosoUniversity.Data.Entities;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace ContosoUniversity.Common.Interfaces
{
public interface IPersonRepository<T> : IRepository<T> where T : Person
{
IQueryable<T> GetByLastName(string lastName);
}
}
|
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/KastraCMS/kastra-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using System.Collections.Generic;
using System.Diagnost... |
// ******************************************************************************
// © 2018 Sebastiaan Dammann | damsteen.nl
//
// Some code is Copyright Microsoft and licensed under the MIT license.
// See: https://github.com/aspnet/JavaScriptServices
//
// File: : WebpackHttpModule.cs
// Pr... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Pensive.Services.Models;
namespace Pensive.Services.Interfaces
{
public interface IReviewTypeService
{
public Task<List<ReviewTypeModel>> GetAllAsync();
public Task<ReviewTypeModel> GetByCode(string code);
}
} |
using MediatR;
using Core.Dtos;
namespace Core.Modules.TournamentModule.List
{
public class ListTournamentsQuery : IRequest<TournamentFullData[]>
{
}
}
|
namespace Iota.Lib.CSharp.Api.Exception
{
/// <summary>
/// This exception occurs when certain core API calls on the node are disabled
/// </summary>
/// <seealso cref="System.Exception" />
public class IllegalAccessError : System.Exception
{
}
} |
using System;
namespace FLog
{
public class LogData
{
public string LoggerName;
public DateTime Time;
public int ThreadId;
public LogLevel Level;
public string Message;
public Exception Error;
public bool ForceWrite;
}
} |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Uglify.NET Terminal test application")]
[assembly: AssemblyDescription("The Terminal test application fo UglifyJS executed with IronJS on .NET.")]
[assembly: Guid("f902b148-1e61-433f-965f-8ab76f915ed0")] |
using Kata.December2017;
using NUnit.Framework;
using System;
using System.Linq;
namespace KeithKatas.Tests.December2017
{
[TestFixture]
public class InvertValueTests
{
[Test]
public void InvertValue_InvertValues_BasicTests()
{
Assert.AreEqual(new int[] { -1, -2, -3, -4... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Confluent.Kafka;
namespace Streamiz.Kafka.Net.Processors
{
public interface ITopicCreatorManager : IDisposable
{
IAdminClient AdminClient { get; }
Task<IEnumerable<string>> CreateNewTopics(IDictionary<string, ... |
#region License Header
/*
* QUANTLER.COM - Quant Fund Development Platform
* Quantler Core Trading Engine. Copyright 2018 Quantler B.V.
*
* 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:... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using OrderApi.Models;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Or... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HuiEF.Web.Controllers
{
public class BaseController : Controller
{
// GET: Base
#region Ajax请求 返回的消息
/// <summary>
/// 成功
/// </summa... |
using AutoMapper;
using BundleSVC.DTO;
using bundleSVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using bundleSVC.DTO;
namespace bundleSVC.Profiles
{
public class BundlesProfile : Profile
{
public BundlesProfile()
{
//So... |
using System;
using System.Threading;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Threading;
namespace Community.VisualStudio.Toolkit
{
/// <summary>
/// Provides a JoinableTaskFactory that is safe to use in MEF components or when an AsyncPackage.JoinableTaskFactory
/// is not availab... |
using MakeInvoice.Api.Interfaces;
using MakeInvoice.Api.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace MakeInvoice.Api.Repositories
{
/// <summary>
/// Contractor Repository
... |
using FluentValidation;
using SkillMap.Validator.Abstractions;
namespace BackOffice.Domain.Employees.Validators
{
public class EmployeeValidator : WrapperAbstractValidator<Employee>
{
public EmployeeValidator()
{
RuleFor(x => x.Name).NotNull().NotEmpty();
RuleFor(x => x... |
using System;
using System.Linq;
using DocumentFormat.OpenXml;
using ShapeCrawler.Placeholders;
using ShapeCrawler.Shared;
using A = DocumentFormat.OpenXml.Drawing;
using P = DocumentFormat.OpenXml.Presentation;
namespace ShapeCrawler.Factories
{
/// <summary>
/// Represents a shape location and size data... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using NuGet.Frameworks;
using Stride.Core.Annotations;
using Stride.Core.Presentation.ValueConverters;
namespace Stride.LauncherApp.ViewModels
{
class FrameworkConverter : ValueConverterBase<FrameworkConverter>
{
... |
namespace BaristaLabs.ChromeDevTools.Runtime.HeadlessExperimental
{
using Newtonsoft.Json;
/// <summary>
/// Puts the browser into deterministic mode. Only effective for subsequently created web contents.
/// Only supported in headless mode. Once set there's no way of leaving deterministic mode.
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
public class CheckPointCollection : MonoBehaviour
{
public CheckPoint[] checkPoints;
public Vector2 offsetRespawn = Vector2.zero;
public SoundManager soundManager;
private CheckPoint currentCheckPo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Weapon : MonoBehaviour {
public int damage = 10, maxReserve = 500, maxClip = 30;
public float spread = 2f, recoil = 1f, range = 10f, shootRate = 0.2f;
public Transform shotOrigin;
public GameObject bulletPrefab;
public b... |
using Syrinj.Attributes;
using Syrinj.Injection;
using UnityEngine;
namespace Syrinj.Resolvers
{
public class FindResolver : IResolver
{
public object Resolve(Injectable injectable)
{
var name = ((FindAttribute)injectable.Attribute).GameObjectName;
var gameObject = Game... |
namespace GameCreator.Stats
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using GameCreator.Core;
using GameCreator.Variables;
#if UNITY_EDITOR
using UnityEditor;
#endif
[AddComponentMenu("")]
public class ConditionStatusEffect : ICo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sylabs.Parsing
{
public class DecimalDigit : Symbol
{
private string CharacterValue;
public override string ToString() { return CharacterValue; }
public DecimalDigit(char c) { CharacterValue ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CN.MACH.AOP.Fody
{
public class MgConstants
{
public static string Options { get; } = "options";
public static string SrcCodeConfigsKey { get; } = "src:configs";
... |
namespace Imagekit
{
public partial class Imagekit
{
public Imagekit Path(string value) { return Add("path", value); }
public Imagekit Src(string value) { return Add("src", value); }
public Imagekit UrlEndpoint(string value) { return Add("urlEndpoint", value); }
public... |
// Copyright (c) Yufei Huang. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Buffers;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
using SkiaSharp;
using Svg.Skia;
namespace Isles.Graphics;
#nullab... |
using HarmonyLib;
using UnityEngine;
using Common.Stasis;
using Common.Harmony;
namespace StasisModule
{
[PatchClass]
static class Vehicle_OnUpgradeModuleUse_Patch
{
static bool isStasisModule(TechType techType)
{
return techType == PrawnSuitStasisModule.TechType ||
#if GAME_SN
techType == SeaMothStasis... |
using System.Configuration;
using System.Web.Configuration;
namespace FunnelWeb.Settings
{
public class AppHarborSettings : IAppHarborSettings
{
public string SqlServerConnectionString
{
get
{
var apphbConnectionString = ConfigurationManager.Ap... |
using System;
using System.Collections.Generic;
namespace NServiceKit.Common
{
/// <summary>An int extensions.</summary>
public static class IntExtensions
{
/// <summary>An int extension method that times.</summary>
///
/// <param name="times">The times to act on.</param>
... |
namespace Test_SysX.CodeGeneration.Reflection.DuckTyper;
using Assert = Xunit.Assert;
public class TryMethodTests
{
[Fact]
public void Should_Wrap_Try_Method_To_Try_Method()
{
var value = new Duck();
var wrapper = SysX.CodeGeneration.DuckTyper.Wrap<IDuck>(value);
var success = wra... |
using System.Threading.Tasks;
namespace AzureCognitiveSearch.PowerSkills.Video.VideoIndexer
{
public interface IVideoIndexerBlobClient
{
Task<string> GetSasKey(string blobPath);
}
} |
using System;
using System.Threading;
namespace Miru.Tests;
public static class Execute
{
public static bool Until(Func<bool> task, TimeSpan timeOut)
{
var success = false;
var elapsed = 0;
while (!success && elapsed < timeOut.TotalMilliseconds)
{
Threa... |
using Agridea.Resources;
using FluentValidation;
namespace Agridea.News
{
public class NewsValidator : AbstractValidator<NewsItem>
{
public NewsValidator()
{
#region Basic validation
RuleFor(model => model.Title).NotEmpty()
.WithMessage(AgrideaCoreStrin... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
namespace Norma.Eta.Models.Operations
{
public class ChangeChannelOp : IOperation
{
public ChangeChannelOp(string channel)
{
Context = channel;
}
#region Implementation of IOperation
public object Context { get; set; }
#endregion
}
} |
using MvpFramework.Menu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MvpFramework.WinForms
{
// Conversion to and from WinForms types:
/// <summary>
/// Extension methods of or relating to <see c... |
using System;
using HotChocolate.Execution.Configuration;
using HotChocolate.Stitching;
using HotChocolate.Stitching.Delegation;
namespace HotChocolate.Execution
{
public static class StitchingQueryExecutionBuilderExtensions
{
public static IQueryExecutionBuilder UseQueryDelegationPipeline(
... |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
namespace NUnit... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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 a... |
/*
* CKFinder
* ========
* http://cksource.com/ckfinder
* Copyright (C) 2007-2015, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute ... |
using System.Collections.Generic;
using System;
namespace models
{
public class Order
{
public Order(int appUser, int Location)
{
Total = 0;
UserId = appUser;
LocationId = Location;
}
public Order()
{
}
publ... |
using System.Collections.Generic;
namespace BoxCLI.BoxHome.Models
{
public class BoxHomeSettings
{
public string BoxHomeEnvironmentVariable { get; set; } = "BOX_HOME";
public string BoxHomeDirectoryName { get; set; } = ".box";
public string BoxHomeEnvironmentsFileName { get; set; } = "... |
using System.Net.Http;
using System.Threading.Tasks;
namespace HalKit.Http
{
public interface IApiResponseFactory
{
Task<IApiResponse<T>> CreateApiResponseAsync<T>(HttpResponseMessage response);
}
}
|
using MvcExtensions.Services.Impl.FluentNHibernate;
namespace MvcExtensions.Model
{
public interface IModule
{
void Register(Database database);
}
}
|
using System;
using Compressor.Logging;
namespace Compressor.Tool
{
internal sealed class ConsoleLogger : Logger
{
private const string Format = "[{0:dd/MM/yyyy hh:mm:ss.fff} {1}] {2}.";
private readonly LogLevel _minimumLogLevel;
public ConsoleLogger(LogLevel minimumLogLevel = LogLeve... |
/**
*
* name : GameResult.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Data.Models
{
/// <summary>
/// the enum class represents a list of possible game results
/// </summary>
public enum GameResult
{
Win,
Drew,
... |
namespace FastReport.Engine
{
partial class ReportEngine
{
private void InitializePages()
{
for (int i = 0; i < Report.Pages.Count; i++)
{
ReportPage page = Report.Pages[i] as ReportPage;
if (page != null)
PreparedPages... |
using Microsoft.CodeAnalysis;
using System.IO;
namespace Generator
{
class Logger
{
public Logger(GeneratorExecutionContext context)
{
context.AnalyzerConfigOptions.GlobalOptions.TryGetValue("build_property.CsWinRTEnableLogging", out var enableLoggingStr);
if (enableLog... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class TogglerController : MonoBehaviour
{
[SerializeField] Transform _isOnTrans;
[SerializeField] Transform _isOffTrans;
[SerializeField] GameObject _shapeOfToggler;
[SerializeF... |
namespace Climbing.Web.Utilities
{
using System.Collections;
using System.Collections.Generic;
public class PagedCollection<T> : IPagedCollection<T>
{
public PagedCollection(IEnumerable<T> page, int pageNumber, int totalPages, int pageSize)
{
Guard.NotNull(page, nameof(page)... |
using System;
using Amazon.Lambda.Core;
using Amazon.Lambda.SQSEvents;
using System.Collections.Generic;
using AppRastreamento.Models;
using AppRastreamento.Utils;
using Newtonsoft.Json;
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.Json.JsonSerializer))]
namespace AppRastreamento
{
public class ... |
using Xunit;
using System;
// using System.Linq;
using System.Collections.Generic;
namespace Palindromes
{
public class PalindromTest
{
[Fact]
public void TestCheckPalindrome()
{
Palindrome newPalindrome = new Palindrome("hannah");
Assert.Equal(true, newPalindrome.CheckPalindrome());
}
... |
using System;
using System.Reflection;
using System.Reflection.Emit;
namespace ILLightenComparer.Extensions
{
internal static class ModuleBuilderExtensions
{
public static TypeBuilder DefineType(
this ModuleBuilder moduleBuilder,
string name,
params Type[] interface... |
using System;
using System.Collections.Generic;
namespace AJSON {
public static class AJSONExtensions {
/// <summary>
/// Returns true if value string representation contains only digits or one seperator per string.
/// </summary>
/// <param name="value">Value to check.</param>
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IdentityByExamples.Models.Configuration
{
public class EmployeeConfiguration : IEntityTypeConfiguration<Employee>
... |
using System.Collections.Generic;
namespace Service.Info.Mac
{
internal class ServiceInfo : ServiceInfoBase, IServiceInfo
{
public List<Service> GetServiceList()
{
return new List<Service>();
}
public Service GetService(string serviceName)
{
ret... |
using Microsoft.AspNetCore.Mvc;
using DataMetrics.Domain;
using DataMetrics.Api.Host.Models;
using DataMetrics.ApplicationServices;
using System.Linq;
namespace DataMetrics.Api.Host.Controllers
{
[Route("api/metrics/gauge")]
[ApiController]
public class MetricsGaugeController : ControllerBase
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Management.Automation;
using Microsoft.PowerShell.Commands;
using System.Net;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices;
using System.Management.Automation.Ru... |
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using Microsoft.IdentityModel.Tokens;
namespace Ncc.China.Services.Identity.Api
{
public static class Util
{
public static object GenerateJwt(string subValue, string issuer, string audience,
... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Bot.Builder.Community.Adapters.Twitter.Webhooks.Models.Twitter
{
public class EnvironmentRegistration
{
[JsonProperty("environment_name")] public string Name { get; set; }
[JsonProperty("webhooks")] public IList<WebhookRegistr... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using NUnit.Framework;
namespace Lightning2x.AdventOfCode2020
{
public class Day2 : IDay
{
public void Run(string path)
{
List<Password> passwords = new List<Password>();
passwords = U... |
using System.Collections.Generic;
namespace OnlineDocumentationGenerator.DocInformations.Utils
{
public class ComponentTemplateList
{
private readonly List<TemplateDocumentationPage> _templates = new List<TemplateDocumentationPage>();
public List<TemplateDocumentationPage> Templates => _templa... |
using System;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Entities;
using UnityEngine;
namespace Nuwa.Blob
{
[Serializable]
public class BlobAsset<T> where T : unmanaged
{
[SerializeReference, UnboxSingleProperty, UnityDrawProperty] internal IBuilder Builder;
... |
using DragonSpark.Compose;
using System;
using System.ComponentModel.DataAnnotations;
namespace DragonSpark.Application.Components.Validation;
public sealed class ValidationContexts : IValidationContexts
{
readonly IValidatorKey<GraphValidationContext> _context;
readonly IValidatorKey<ObjectGraphValidator> _vali... |
using Appst.IO.Serial.Error;
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
// https://msdn.microsoft.com/en-gb/library/windows/desktop/aa363189%28v=vs.85%29.aspx
namespace Appst.IO.Serial.Win32.native {
public class ComProps {
[DllImport("kernel32.dll", C... |
using ShineEngine;
/// <summary>
/// trigger方法组(generated by shine)
/// </summary>
public class TriggerFuncListData:TriggerObjData
{
/// <summary>
/// 数据类型ID
/// </summary>
public const int dataID=ShineDataType.TriggerFuncList;
/// <summary>
/// 函数组
/// </summary>
public TriggerFuncData[] args... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace OntApiClient.Rpc.DTOs
{
public class Transaction
{
[JsonProperty("Version")]
public byte Version { get; set; }
[JsonProperty("Nonce")]
public uint Nonce { get; set; }
[JsonProperty("TxType")]
p... |
using RPSLS.Audio;
using RPSLS.Miscellaneous;
using RPSLS.Services;
using RPSLS.UI.Screens;
using UnityEngine;
using UnityEngine.UI;
namespace RPSLS.UI.Items
{
public class PlayableItemUI : MonoBehaviour
{
[SerializeField] private Image iconImg;
internal GameEnums.PlayableHandType HandType { g... |
using System.Security.Claims;
using Sample.Domain.DDD;
namespace Sample.Domain.Model.Customer.Events
{
public class AppendClaimEvent : DomainEvent<CustomerAccount>
{
public Claim Claim { get; private set; }
public AppendClaimEvent(Claim claim)
{
Claim = claim;
}
... |
using System.Linq;
using SlimDX;
namespace Core {
public class Frustum {
private readonly Plane[] _frustum;
public const int Left = 0;
public const int Right = 1;
public const int Bottom = 2;
public const int Top = 3;
public const int Near = 4;
publi... |
using Domain.Abstractions;
namespace Presentation.ViewModels
{
public class DCAppDataFieldViewModel : BaseViewModel
{
public DCAppDataFieldViewModel(Entity entity):base(entity)
{
}
public DCAppDataFieldViewModel()
{
}
public string DataType { get; set... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace Hangfire.JobsLogger
{
/// <summary>github
/// Options for configuring the Hangfire.JobsLogger plugin
/// </summary>
public class JobsLoggerOptions
{
/// <s... |
using System;
using System.Collections.Generic;
using System.Text;
namespace IneffectiveSorts.Core
{
public interface IIneffectiveSortingAlgorithm
{
IEnumerable<int> Sort(IEnumerable<int> source);
}
}
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Globalization;
using System.Numerics;
using Newtonsoft.Json;
namespace IconSDK.RPCs
{
using Types;
using Extensions;
using Blockchain;
public class GetTotalSupplyRequestMessage : RPCRequestMessage
{
... |
using TMPro;
using UnityEngine;
namespace Demo.UI
{
/// <summary>
/// Displays the player's current combo
/// </summary>
[RequireComponent(typeof(TMP_Text))]
public class UICombo : MonoBehaviour
{
private TMP_Text text;
private void Awake()
{
// initialize t... |
// CropOperation.cs
//
// Copyright (C) BEditor
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using BEditor.Drawing.Pixel;
namespace BEditor.Drawing.RowOperation
{
/// <summary>
/// Crops the image to the specified area.
/// <... |
using System.ComponentModel.DataAnnotations;
namespace Seguranca.Domain
{
public class SegurancaModel
{
[Required]
public int UsuarioId { get; set; }
[Required]
public int ModuloId { get; set; }
[Required]
public int PerfilId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
namespace VRCAvatars3Validator.Utilities
{
public class RuleUtility
{
public const string RULES_FOLDER_PATH = "Assets/VRCAvatars3Validator/Editor/Rules";
public const string IGNORE_RULE_NAME ... |
using System;
namespace UrlShortener.Domain.Caching
{
public interface ICacheManagerService
{
/// <summary>
/// Verilen keyi cacheten siler.
/// </summary>
/// <param name="key"></param>
void Remove(string key);
/// <summary>
/// Cache'i temizler.
... |
using System;
namespace Assman.Mvc.Registration
{
public class DummyStringResult
{
private static readonly DummyStringResult _instance = new DummyStringResult();
public static DummyStringResult Instance
{
get { return _instance; }
}
private DummyStringResult() {}
public override st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.