content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Db.Entities.Users
{
/// <summary>
/// 角色类
/// </summary>
public class Role:PrimaryKey
{
/// <summary>
/// 角色名称
/// </summary>
[Required,StringLength(64)]
public string N... |
using BrawlLib.SSBBTypes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace BrawlLib.SSBB.ResourceNodes
{
public unsafe class MDL0DefNode : MDL0EntryNode
{
internal List<object> _items = new List<object>();
private int _len;
//in... |
namespace Services.Products.Domain
{
using System;
using System.Collections.Generic;
public interface IProductRepository
{
Product Get(Guid id);
IEnumerable<Product> Get();
void Upsert(Product entity);
}
}
|
namespace MoiteRecepti.Web.ViewModels.Recipes
{
using MoiteRecepti.Data.Models;
using MoiteRecepti.Services.Mapping;
public class IngredientsViewModel : IMapFrom<RecipeIngredient>
{
public string IngredientName { get; set; }
public string Quantity { get; set; }
}
}
|
namespace ImageProcessingLib
{
using System.Drawing;
using System.Text;
/// <summary>
/// Represents a structuring element matrix for masking a <see cref="BinaryImage"/>.
/// The values for black and white are the same as for <see cref="BinaryImage.Black"/> and
/// <see cref="BinaryImage.White... |
using System;
namespace Sproto {
public class SprotoStream {
public const int SEEK_BEGIN = 0;
public const int SEEK_CUR = 1;
public const int SEEK_END = 2;
public const int MAX_SIZE = 0x1000000;
private byte[] buffer;
private int pos;
public SprotoStream () {
this.buffer = new byte[256];
this.po... |
using Deviax.QueryBuilder.Visitors;
namespace Deviax.QueryBuilder.Parts
{
public class ContainsPart : Part, IBooleanPart
{
public readonly IPart Left;
public readonly IPart Right;
public ContainsPart(IPart left, IPart right)
{
Left = left;
Right = right... |
using QuizyfyAPI.Contracts.Responses.Pagination;
namespace QuizyfyAPI.Data;
public interface IQuizRepository : IRepository
{
PagedList<Quiz> GetQuizzes(PagingParams pagingParams, bool includeQuestions = false);
Task<Quiz> GetQuiz(int id, bool includeQuestions = false);
}
|
// -----------------------------------------------------------------------
// <copyright file="ApplicationInsightsLoggerEventSource.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// All rights reserved. 2013
// </copyright>
// -----------------------------------------------------------------------
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;
namespace G15Map.Parsers
{
public class Tileset
{
// 23:401... |
using static War3Api.Common;
namespace AzerothWarsCSharp.MacroTools.Commands
{
public class Command
{
public string Activator { get; }
public OnCommandDelegate OnCommand { get; }
public delegate void OnCommandDelegate(player triggerPlayer, string[] arguments);
protected Command(string activa... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Buffer4096.cs" company="Catel development team">
// Copyright (c) 2008 - 2016 Catel development team. All rights reserved.
// </copyright>
// -----------------------------------... |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.Caching;
using Beef.Caching.Policy;
using NUnit.Framework;
using System;
using System.Linq;
namespace Beef.Core.UnitTest.Caching
{
[TestFixture]
public class MultiTenantCacheTest
{
public stat... |
namespace System.Linq.Sql
{
#if DEBUG
public
#else
internal
#endif
struct CommandField
{
private readonly string field;
private readonly int ordinal;
private readonly string table;
public CommandField(string table, string field, int ordinal)
{
this.t... |
using System;
using Newtonsoft.Json;
namespace Preact
{
[JsonObject(MemberSerialization.OptIn)]
public class Account
{
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonPr... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PastryShop.Models;
namespace PastryShop.TestTools
{
[TestClass]
public class BreadTests
{
[TestMethod]
public void BreadConstructor_CreatesInstanceOfItem_Item()
{
Bread newBread = new Bread();
Assert.AreEqual(typeof(Bread), newBrea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LeetCode.Naive.Problems
{
/// <summary>
/// Problem: https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/
/// Submission: https://leetcode.com/submissions/detail/252376293/
/... |
using MetroLog.Layouts;
using MetroLog.Targets;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetroLog.Targets
{
/// <summary>
/// Defines a target that will append messages to a single file.
/// </summary>
... |
//Do not edit! This file was generated by Unity-ROS MessageGeneration.
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Unity.Robotics.ROSTCPConnector.MessageGeneration;
using RosMessageTypes.Std;
namespace RosMessageTypes.Aruco
{
[Serializable]
public class MarkerMsg... |
using System.Collections.Generic;
using System.Diagnostics;
namespace AddressFinder.Tests
{
public class AddressValidationTestBase
{
[Conditional("DEBUG")]
protected void ExplainResult(PostalAddressSearchResult result)
{
Trace.WriteLine(string.Format("{0} - {1}", result.Sco... |
using System;
using System.Collections.Generic;
using System.Reflection;
namespace ILRuntime.Runtime.Generated
{
}
|
using Baseline;
using Miru.Core;
using Scriban;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Miru.Userfy.Invitable;
public class Maker
{
public bool DryRun { get; set; }
public static Maker For(MiruPath currentDirectory)
{
return new Maker(new MiruS... |
using System.Collections.Generic;
using Course.Contracts;
using MongoDB.Bson;
using MongoDB.Driver;
namespace Course.Services
{
public class MovieService : IMovieService
{
private readonly IMongoCollection<BsonDocument> _movies;
public MovieService(IDbClient client)
{
_mov... |
using UnityEngine;
namespace PicoUnity.Audio
{
internal class SfxEffectVibrato : SfxEffect
{
private Oscillator lfo;
private float maxFrequency;
private float minFrequency;
public SfxEffectVibrato(float minFrequency, float maxFrequency, float frequencyLFO)
{
... |
namespace HandyControl.Data
{
public enum ChatMessageType
{
String,
Image,
Audio,
Custom
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using static ReedSolomonApp.NativeReedSolomon;
namespace ReedSolomonApp
{
public sealed class NativeReedSolomonImpl
{
private RSBuffer input;
private RSBuffer ... |
namespace CustomMediator.Implementation.Interfaces
{
public interface IBaseRequestHandler { }
}
|
using System;
namespace Engine
{
[Serializable]
public class RecordedEventArgs : EventArgs
{
public byte[] Data { get; private set; }
public int DataSize { get; private set; }
public int Channels { get; private set; }
public int BitPerChannel { get; private set; }
public int Frequency { get;... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
namespace Bing.Security.Claims
{
/// <summary>
/// 声明类型
/// </summary>
public static class BingClaimTypes
{
/// <summary>
/// 用户名。默认:<see cref="System.Security.Claims.ClaimTypes.Name"/>
/// </summary>
public static string UserName { get; set; } = System.Security.Clai... |
using Teronis.Identity.Entities;
namespace Teronis.Identity.Datransjects
{
public class RoleDescriptorRoleConverter : IConvertRoleDescriptor<RoleDescriptorDatatransject, RoleEntity>
{
public RoleEntity Convert(RoleDescriptorDatatransject source) =>
source.ToRole();
}
}
|
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.Json;
using System.Text.RegularExpressions;
namespace JsonCons.JsonPath
{
interface IUnaryOperator
{
int PrecedenceLevel {get;}
... |
using System.Collections.Generic;
namespace FirebirdDbComparer.Interfaces
{
public interface IMetadata
{
string ConnectionString { get; }
void Initialize();
T GetSpecificDatabaseObject<T>() where T : IDatabaseObject;
IReadOnlyCollection<IDatabaseObject> DatabaseObjects { get; }
... |
using ScriptsLevels.Inventory;
namespace ScriptsLevels.Bestiary
{
public class ReagentViewBestiaryItem : ViewBestiaryItem<ReagentItem>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace FragmetApp
{
[Activity(Label = "DialogActivity")]
public class DialogActivity : Activit... |
using Core.Hotels;
using ECS;
namespace Core.Components
{
public class HotelComponent : IComponent
{
public Hotel Hotel;
}
} |
//-----------------------------------------------------------------------
// <copyright file="Configs.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//------... |
@model Model.Product
@{
ViewBag.Title = "Delete Product";
}
<h2>Delete Product</h2>
|
namespace FeatureSwitches.Definitions;
public class FeatureFilterDefinition
{
/// <summary>
/// Gets or sets the filter name.
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// Gets or sets the filter settings.
/// </summary>
public object? Settings { get; set;... |
using System;
using System.Threading.Tasks;
using Swan.Logging;
namespace Swan.Ldap.Samples
{
public static class Program
{
/// <summary>
/// Mains the specified arguments.
/// </summary>
/// <param name="args">The arguments.</param>
public static async Task Main(string... |
namespace Havit.Blazor.Components.Web.Bootstrap
{
public enum SpinnerType
{
/// <summary>
/// <a href="https://getbootstrap.com/docs/5.0/components/spinners/#border-spinner" />
/// </summary>
Border = 1,
/// <summary>
/// <a href="https://getbootstrap.com/docs/5.0/components/spinners/#growing-spinner" /... |
namespace MassTransit.EventHubIntegration
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.EventHubs;
using Azure.Messaging.EventHubs.Producer;
using Context;
using Pipeline;
using Pipeline.Observables;
... |
namespace Hotfix
{
public enum EDataType
{
DataLogin,
DataPlayer,
}
} |
#region License
// Copyright (c) Pawel Balaga https://xreactor.codeplex.com/
// Licensed under MS-PL, See License file or http://opensource.org/licenses/MS-PL
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
... |
using System;
using System.Linq;
using DesignPatterns.Creational.Prototypes.Serialization;
using FluentAssertions;
using Xunit;
namespace DesignPatterns.Tests.Creational.Prototypes.Serialization
{
public class BinaryTreeTests
{
private readonly Random _random;
public BinaryTreeTests()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using FiveSQD.Parallels.Runtime;
using FiveSQD.Parallels.Runtime.Engine.Scene;
public class TabController : MonoBehaviour
{
private class TabConfig
{
public string url;
public Stac... |
using UnityEngine;
namespace UGF.CustomSettings.Runtime.Tests
{
public static class TestSettingsFile
{
public static CustomSettingsFile<TestSettingsData> Settings { get; } = new CustomSettingsFile<TestSettingsData>
(
$"{Application.streamingAssetsPath}/test.settings.json"
);... |
using System;
using System.Collections.Generic;
namespace GoCardlessApi.Events
{
public class Event
{
public string Id { get; set; }
/// <summary>
/// See <see cref="Events.Actions"/> for possible values.
/// </summary>
public string Action { get; set; }
publi... |
//
// Copyright 2012 Hakan Kjellerstrand
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using System;
using System.Collections.Generic;
namespace Web.Db
{
public partial class Supplier : ILocation, IPostStatus
{
public Supplier()
{
SupplierPpeTypes = new HashSet<SupplierPpeType>();
SupplierNotes = new HashSet<SupplierNote>();
NeedPpeTypes = new HashSet<NeedPpeTy... |
using AspNetCoreStarterKit.Domain.Entities.OrganizationUnits;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
namespace AspNetCoreStarterKit.Domain.Entities.Authorization
{
public class User : IdentityUser<Guid>
{
public string FirstName { get; set; }
publ... |
namespace GodotEngine
{
public enum Error : int
{
OK = 0,
FAILED = 1,
ERR_UNAVAILABLE = 2,
ERR_UNCONFIGURED = 3,
ERR_UNAUTHORIZED = 4,
ERR_PARAMETER_RANGE_ERROR = 5,
ERR_OUT_OF_MEMORY = 6,
ERR_FILE_NOT_FOUND = 7,
ERR_FILE_BAD_DRIVE = 8,
... |
namespace Rocket.Chat.Net.Portability.Contracts
{
using System;
using Rocket.Chat.Net.Portability.Websockets;
public abstract class PortableWebSocketBase
{
public PortableWebSocketBase(string url)
{
}
public abstract event EventHandler<PortableMessageReceivedEventArgs... |
using NUnit.Framework;
namespace AdventOfCode2021;
[TestFixture]
public class Day3
{
private List<string> binaryNumbers;
private int numberOfBits;
[SetUp]
public void SetUp()
{
binaryNumbers = File.ReadAllLines("Day3.txt").ToList();
numberOfBits = binaryNumbers[0].Length;
}
... |
namespace HipChatConnect.Core.Models
{
public class CapabilitiesDocument
{
public Capabilities capabilities { get; set; }
public string description { get; set; }
public string key { get; set; }
public Links links { get; set; }
public string name { get; set; }
publ... |
// Copyright (c) Samuel Cragg.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
namespace Crest.Host.Diagnostics
{
using System;
using System.Globalization;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Crest.A... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Resources;
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.Inp... |
using System;
using System.Collections.Generic;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;
using NetTopologySuite.IO;
namespace NetTopologySuite.Index.IntervalRTree
{
public abstract class IntervalRTreeNode<T>
{
public double Min { get; protected set; }
public double Max { get;... |
using Microsoft.AspNetCore.SignalR;
namespace YourBrand.Payments.Hubs;
public class PaymentsHub : Hub<IPaymentsHubClient>
{
public override async Task OnConnectedAsync()
{
await base.OnConnectedAsync();
var httpContext = Context.GetHttpContext();
if (httpContext is not nu... |
using System;
using System.Reflection;
namespace ITGlobal.Fountain.Parser
{
public class EnumValueDesc: IDeprecatableDesc, IDescriptableDesc
{
public string Description { get; set; }
public bool IsDeprecated { get; set; }
public string DeprecationCause { get; set; }
public objec... |
namespace OmniNumbers
{
/// <summary>
/// Part of the <see cref="Number"/> responsible for math operations.
/// </summary>
/// <author>
/// Krzysztof Dobrzyński - https://github.com/Sejoslaw/OmniNumbers
/// </author>
public partial class Number
{
public static Number operator +(N... |
using System;
namespace SharpGlyph {
public class ContextualGlyphSubstitutionSubtable {
public STXHeader stxHeader;
public uint substitutionTable;
public ushort newState;
public ushort flags;
public ushort markIndex;
public ushort currentIndex;
}
}
|
@model FreelanceTech.Models.Job
@{
ViewData["Title"] = "Create";
}
<h2>Create</h2>
<h4>Job</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Create">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
... |
using Prism.Navigation;
using Prism.Commands;
namespace PrismSample.ViewModels
{
public class ResultPageViewModel
{
private readonly INavigationService _navigationService;
public DelegateCommand GoBackCommand { get; private set; }
public ResultPageViewModel(INavigationService navigat... |
using System.Collections.Generic;
namespace timebot.Classes
{
public class botcommand
{
public int id { get; set; }
public ulong serverid { get; set; }
public string commandname { get; set; }
}
public class commands_json
{
public string api_key { get; set; }
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Cursed.Models.Entities.Data;
namespace Cursed.Models.Context
{
public partial class CursedDataContext : DbContext
{
public CursedDataContext()
{
}
public CursedDataContext(Db... |
using GenerationAttributes;
public static class MacroAssembly2
{
public static void test() {
var s = MacroAssembly1.macro1(42);
}
[LazyProperty] public static string lazyTest {
get { return "str"; }
}
[LazyProperty] public static string lazyTest2 => "str";
[Implicit] static ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cocon90.Db.Common.Data
{
public enum DbTypeEnum
{
SqlServer = 0,
Mysql = 1,
Sqlite = 2
}
}
|
using System;
using System.Text;
using Bonsai.Exceptions;
namespace Bonsai.Persistence.Helpers
{
public class PasswordHelper
{
public PasswordHelper()
{
}
public void CreatePasswordHashAndSalt(string password, out byte[] hash, out byte[] salt)
{
if (string... |
using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Java.Textures.Block
{
public class NetheriteBlock : JavaBlockTexture
{
public NetheriteBlock() : base("Netherite Block")
{
AddVersion("netherite_block");
//.WithDefaultModel<Java.... |
namespace Labyrinth.Console
{
using System;
using Labyrinth.Common;
using Labyrinth.Common.Enums;
using Labyrinth.Logic.Interfaces;
/// <summary>
/// Interacts with console user, process commands.
/// </summary>
public class ConsoleInterface : IUserInterface
{
/// <summary>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class I_am_an_Object : MonoBehaviour
{
private Transform target;
public Transform angle;
public GameObject Explosion_PF;
const int Player_Layer = 3, Object_Layer = 6;
private float Health, MaxHealth;
private R... |
/*
* Copyright (c) Johnny Z. All rights reserved.
*
* https://github.com/StormHub/NetUV
*
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*
* Copyright (c) 2020 The Dotnetty-Span-Fork Project (cuteant@outlook.com)
*
* https://github.com/cuteant/dotnetty... |
using System;
using System.Windows.Forms;
using System.Drawing;
namespace CommonGUI
{
public class PopUpPanel : Form
{
bool isShowingDialogueBox = false;
public PopUpPanel ()
{
ShowInTaskbar = false;
FormBorderStyle = FormBorderStyle.None;
}
protected override void OnDeactivate (EventArgs e)... |
using System.Collections.Generic;
using JoyGodot.Assets.Scripts.Entities.Abilities;
using JoyGodot.Assets.Scripts.Helpers;
namespace JoyGodot.Assets.Scripts.Items
{
public struct IdentifiedItem
{
public string name;
public string description;
public int value;
public IEnumerabl... |
namespace Atlasd.Battlenet.Protocols.Udp
{
enum Messages : byte
{
PKT_STORM = 0x00,
PKT_CLIENTREQ = 0x03,
PKT_SERVERPING = 0x05,
PKT_KEEPALIVE = 0x07,
PKT_CONNTEST = 0x08,
PKT_CONNTEST2 = 0x09,
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using Photon.Pun;
using UnityEngine.UI;
using Photon.Realtime;
public class ScoreManager : MonoBehaviourPunCallbacks, IPunObservable
{
//public static ScoreManager instance;
public int value = 1;
public TextMeshProU... |
using System;
using System.IO;
using System.Net.Sockets;
using NewLife.Messaging;
using NewLife.Net.Sockets;
using NewLife.Reflection;
namespace NewLife.Net.Common
{
/// <summary>网络服务消息提供者</summary>
/// <remarks>
/// 服务端是异步接收,在处理消息时不方便进一步了解网络相关数据,可通过<see cref="Message.UserState"/>附带用户会话。
/... |
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Xml.Linq;
namespace Novacode
{
internal static class Extensions
{
internal static string ToHex(this Color source)
{
byte red = source.R;
byte green = source.G;
byte blue ... |
using System;
using System.Collections.Generic;
namespace Merge;
/// <summary>
/// 排序算法类模板。
/// </summary>
public abstract class BaseSort
{
/// <summary>
/// 对数组 a 进行排序,用各种不同的方式进行实现。
/// </summary>
/// <typeparam name="T">用于排序的类型。</typeparam>
/// <param name="a">需要排序的数组。</param>
public abstra... |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SimplCommerce.Infrastructure.Data;
using SimplCommerce.Infrastructure.Web;
using SimplCommerce.Module.Core.Extensions;
using SimplCommerce.Module.Orders.Models;
using SimplCommerce.Module.Reviews... |
using System.Collections.Generic;
namespace TextComposerLib.Code.JavaScript
{
public interface IJsCodeHtmlPageGenerator
{
string HtmlTemplateText { get; }
string HtmlPageTitle { get; }
IEnumerable<string> JavaScriptIncludes { get; }
string GetJavaScriptCode();
}
} |
namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class LoopL0_304Map :
X12LayoutMap<LoopL0_304, X12Entity>
{
public LoopL0_304Map()
{
Id = "Loop_L0_304";
Name = "Loop L0";
Segment(x => x.LineIte... |
/* ====================================================================
This file is part of the fyiReporting RDL project.
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 System;
using System.Linq;
using System.Collections.Generic;
using Mono.Options;
namespace PEDollController.Commands
{
// Command "unhook": Uninstalls a hook.
// unhook 0xOEP
class CmdUnhook : ICommand
{
public string HelpResId() => "Commands.Help.Unhook";
public string HelpSh... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Xml;
using ICSharpCode.SharpDevelop.Gui;
namespace ICSharpCode.XmlEditor
{
/// <summary>
/// Rep... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Prism.AppModel
{
public interface IApplicationStore
{
IDictionary<string, object> Properties { get; }
Task SavePropertiesAsync();
}
}
|
using RecommendationSystem.Knn.Foundation.Models;
using RecommendationSystem.SimpleKnn.Users;
namespace RecommendationSystem.SimpleKnn.Models
{
public interface ISimpleKnnModel : IKnnModel<ISimpleKnnUser>
{}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SeattleScotchSociety.ScotchNight.Api.Models
{
public class SummaryNote
{
[Required]
public Guid BottleId { get; set; }
[Range(0, 5)]
public float? Rating { get; set; }
... |
using System;
namespace Sugar.Language.Tokens.Enums
{
internal enum DescriberType : byte
{
Static = 0,
Function = 1,
Mutability = 2,
Inhertiance = 3,
AccessModifier = 4
}
}
|
using System.Threading.Tasks;
namespace Camunda.Api.Client.History
{
public class HistoricCaseInstanceResource
{
private IHistoricCaseInstanceRestService _api;
private string _caseInstanceId;
internal HistoricCaseInstanceResource(IHistoricCaseInstanceRestService api, string caseInstan... |
using System.Collections.Generic;
namespace CSharpDesignPatterns
{
/// <summary>
/// Client
/// </summary>
public class MementoTest
{
public static void Run()
{
var editor = new Editor();
var history = new History();
editor.Content = "a";
... |
// Copyright (c) 2020 Sergio Aquilini
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using Silverback.Messaging.Configuration.Kafka;
using Silverback.Util;
namespace Silverback.Messaging.Configuration
{
/// <summary>
/// Adds the <c>AddKafkaEndpoints</c> method to... |
@using EA.Iws.Web.Areas.Admin.Views.ExportNotification
@model EA.Iws.Web.Areas.Admin.ViewModels.ExportNotification.NewOrExistingNotificationViewModel
@{
ViewBag.Title = NewOrExistingNotificationResources.Header;
}
<h1 class="heading-large">@NewOrExistingNotificationResources.Header</h1>
@using (Html.BeginForm()... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class PauseButton : MonoBehaviour, IPointerDownHandler
{
private bool _pauseActive = false;
private Image _buttonImage;
void Start()
{
_buttonImage = GetComponent<Image>();
}
public void Paused(){
... |
using CovidSharp.owiData.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace CovidSharp.Models
{
public class Country
{
public string CountryCode;
public string CountryName;
public int Population;
public List<OwidDay> CovidData { get; set; }
... |
// Copyright (c) 2021 DXNET - Pomianowski Leszek & Contributors
// Copyright (c) 2010-2019 SharpDX - Alexandre Mutel & SharpDX Contributors
//
// 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 Soft... |
namespace GRA.CommandLine.DataGenerator
{
internal class GeneratedUser
{
public Domain.Model.User User { get; set; }
public string Password { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace csConsoleApp
{
class Program
{
[DllImport(@"cppDll4cs.dll")]
//[DllImport(@"d:\git\cpp\cppDll4cs\x64\Release\cppDll4cs.dll")]
public static extern int add... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Asset_Management_Utility : SingletonComponent<Asset_Management_Utility>
{
public static Asset_Management_Utility Instance
{
get { return ((Asset_Management_Utility)_Instance); }
set { _Instance = value;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.