content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChanceNET;
using ChanceNET.Attributes;
namespace ChanceNET.Tests
{
public class Book
{
[Year]
public int Year;
[Sentence]
public string Title;
[Date]
public DateTime Release;
... |
using System;
namespace BLToolkit.Aspects
{
/// <summary>
/// http://www.bltoolkit.net/Doc/Aspects/index.htm
/// </summary>
[AttributeUsage(
AttributeTargets.Class |
AttributeTargets.Interface |
AttributeTargets.Property |
AttributeTargets.Method,
AllowMultiple=true)]
public class NoCacheAt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orient.Client.API.Types;
namespace Orient.Client.Protocol.Serializers
{
public static class RecordSerializerFactory
{
public static IRecordSerializer GetSerializer(ODatabase database)
{
... |
using Auth.Domain.Entities;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
namespace Auth.Infrastructure.Jwt
{
public class JwtTokenService
{
private SigningConfigurations _signingConfigurations;
private T... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CalcDatabaseSize
{
public partial class TableControle : UserControl
{
public T... |
using Ardalis.Result;
using Thing.Designer.SolidModeling.Models;
using Thing.Domain.SolidModeling;
using Thing.ModelDesign;
namespace Thing.Designer.SolidModeling;
public class SolidModelDesigner
{
public event EventHandler<SolidModelMeshDto>? ModelMeshUpdated;
public IResult RecalculateSolidModel(SolidMode... |
namespace StudentManagement.Data
{
public partial class Course
{
public Course()
{
Enrollments = new HashSet<Enrollment>();
}
public int Id { get; set; }
public string Name { get; set; } = null!;
public int Credits { get; set; }
public virtu... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Discord;
namespace Zhongli.Data.Models.Discord.Message.Components;
public class ActionRow
{
public ActionRow() { }
public ActionRow(ActionRowComponent row) : this(row.Components) { }
public Ac... |
namespace Specify.Configuration
{
/// <summary>
/// Represents an action to be performed once per Appliction (before and after all scenarios are run).
/// </summary>
public interface IPerApplicationAction
{
/// <summary>
/// Action to be performed before any scenarios have ru... |
using System;
using System.Linq;
namespace QueryPro
{
class Program
{
static void Main(string[] args)
{
var provider = new QueryProvider();
var customer = new Query<Customer>(provider);
IQueryable<Customer> query = customer.Where(c => c.Id == 1);
... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using Microsoft.Azure.Cosmos;
using Newtonsoft.Json;
namespace coffeebook
{
/// <summary>
/// ユーザー情報のインターフェース
/// </summary>
public partial class UserI... |
using Common;
using Backend.Game;
using System;
namespace Backend.Network
{
public partial class Incoming
{
private void OnRecvChangeStatus(IChannel channel, Message message)
{
CChangeStatus request = message as CChangeStatus;
var conn = db.Instance.Connect();
... |
// Parkitect.Mods.AssetPacks.MaterialDecorator
using Parkitect.Mods.AssetPacks;
using UnityEngine;
internal class MaterialDecorator : IDecorator
{
private Material standard;
private Material diffuse;
private Material colorDiffuse;
private Material specular;
private Material colorSpecular;
private Material... |
using Bitmex.NET.Models;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace Bitmex.NET.IntegrationTests.Tests
{
[TestClass]
[TestCategory("REST")]
public class BitmexApiServicePositionApiTests : IntegrationTestsClass<I... |
using System;
using System.IO;
using System.Reflection;
namespace WebAssembly{
/// <summary>A WebAssembly global section.</summary>
public class GlobalSection : Section{
/// <summary>All globals in this section.</summary>
public GlobalVariable[] Globals;
public GlobalSection():base(6)... |
namespace DoExtension
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtension
{
public static ICollection<T> FluentAdd<T>(this ICollection<T> list, T obj)
{
list.Add(obj);
return list;
}
pu... |
#nullable enable
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using JetBlack.MessageBus.Distributor.Roles;
namespace JetBlack.MessageBus.Distributor.Test.Roles
{
[TestClass]
public class InteractorRoleTest
{
[TestMethod]
public void ShouldUnderstandRoles()
{
... |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.DocumentationRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testi... |
using UnityEngine;
public class CameraPlacer : MonoBehaviour {
/// <summary>
/// Насколько больше будет Bounds при вычислении размера камеры
/// </summary>
[SerializeField]
private float margin = 1;
private new Camera camera;
private void Awake()
{
camera = GetComponent<Camera>();
}
/// <summary>
//... |
namespace MonetDb.Mapi.Enums
{
/// <summary>
/// Enum definitions for the close Commands
/// </summary>
public enum CommandCloseStrategy
{
/// <summary>
/// None
/// </summary>
None = 0,
/// <summary>
/// Terminated Session
/// </summar... |
using Newtonsoft.Json;
namespace Crimediggers.Geo.Console
{
public class WaypointContainer
{
[JsonProperty("wpt")]
public Waypoint[] Waypoints { get; set; }
}
}
|
using System;
namespace Agent.Plugins.TestResultParser.Plugin
{
public interface IBus<out TMessage>
{
/// <summary>
/// Subscribe to Message Bus to receive messages via Pub-Sub model
/// </summary>
Guid Subscribe(Action<TMessage> handlerAction);
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StardewModdingAPI;
using StardewValley;
using xTile.Layers;
using xTile.Dimensions;
namespace Entoarox.Utilities.Internals
{
using Api;
using Helpers;
using Tools;
using xTile.Ti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Gallery.Common.Security
{
public class ProtectedDataHelper
{
public static string ProtectString(string text, byte[] entropy = null)
... |
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("CQRSMagic")]
[assembly: AssemblyDescription("todo - assembly description")]
[assembly: InternalsVisibleTo("CQRSMagic.Specifications")] |
using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.Extensions.NETCore.Setup;
using EasyDynamo.Abstractions;
using EasyDynamo.Config;
using EasyDynamo.Exceptions;
using EasyDynamo.Extensions.DependencyInjection;
using EasyDynamo.Tests.Fakes;
using Microsoft.Extensions.Configuration;
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* d... |
namespace AMKsGear.Core.Automation.Mapper
{
public enum MappingType
{
ObjectMap,
QueryableProjection,
CollectionSynchronization,
Default = ObjectMap
}
} |
namespace AVRDisassembler.InstructionSet.OpCodes.Branch
{
public class ICALL : OpCode
{
public override string Comment => "Indirect Call to Subroutine";
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DecisionMaking.StateMachine;
public class Defending : TeamStateBehaviour
{
protected override void Enter()
{
base.Enter();
}
protected override void Execute()
{
base.Execute();
}
protecte... |
using Aquality.Selenium.Elements.Interfaces;
using Aquality.Selenium.Forms;
using OpenQA.Selenium;
namespace Aquality.Selenium.Tests.Integration.TestApp.AutomationPractice.Forms
{
internal class AuthenticationForm : Form
{
public AuthenticationForm() : base(By.Id("email_create"), "Authentication")
... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace XamarinStudy11
{
public partial class StartPage : ContentPage
{
NavigationPage navi;
public StartPage()
{
InitializeComponent();
}
protected override void OnParentSet()
... |
@model TeamBins.Common.ViewModels.DashBoardVm
@{
ViewBag.Title = "Dashboard";
}
@if (!Model.IsCurrentUserTeamMember)
{
<div>
<div data-duration="10000" class="alert alert-info" role="alert">You are seeing a view only version of the dashboard because the admin of this dashbaord made it public-readon... |
using System;
namespace ArduinoMajoro
{
public class Arduino : IEquatable<Arduino>
{
public Arduino(string name, string serialPort)
{
Name = name;
SerialPort = serialPort;
}
public string Name { get; private set; }
public string SerialPort { ge... |
namespace Popcron.Sheets
{
public enum AuthorizationType
{
Key,
AccessToken
}
}
|
// 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microso... |
namespace _04.Random_List
{
using System;
using System.Collections;
public class RandomList : ArrayList
{
private Random rdn;
public RandomList()
{
this.rdn = new Random();
}
public int randomInteger()
{
return this.rdn.Next();
... |
/*
Copyright 2018 Esri
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
using System;
namespace LaubPlusCo.Foundation.HelixTemplating.Manifest
{
public class ManifestTypeInstantiator
{
internal T CreateInstance<T>(string typeAttribute)
{
var type = Type.GetType(typeAttribute);
if (type == null) throw new ArgumentException("Cannot find type " + typeAttribute);
... |
using System;
namespace LogoFX.Client.Mvvm.ViewModel
{
/// <summary>
/// Child Operation Event Arguments
/// </summary>
/// <typeparam name="T"> type of child</typeparam>
public class ChildEventArgs<T> : EventArgs
{
private readonly ChildOperation _operation;
private readonly T ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public float moveSpeed = 10.0f;
public float drag = 0.5f;
public float terminalRotationSpeed = 25.0f;
public Vector3 MoveVector { set; get; }
public VirtualJoystick joysti... |
using System;
using UnityEngine;
// Token: 0x02000027 RID: 39
public class SE_Harpooned : StatusEffect
{
// Token: 0x060003AC RID: 940 RVA: 0x0001EF30 File Offset: 0x0001D130
public override void Setup(Character character)
{
base.Setup(character);
}
// Token: 0x060003AD RID: 941 RVA: 0x0001F45C File Offset: 0... |
namespace PetStore.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PetStore.Data;
using PetStore.Data.Models;
public class PetsService : IPetsService
{
private readonly ApplicationDbContext dbContext;
p... |
namespace Edi.Core.Converters.MessageType
{
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Imaging;
[ValueConversion(typeof(Msg.MsgCategory), typeof(ImageSource))]
public class MsgTypeToReso... |
@model MySqlASPNetMVC.Models.Pessoa
@{
ViewBag.Title = "Detalhe Pessoa";
}
<div class="page-header">
<h1>Pessoa <small>organize o cadastro de pessoas</small></h1>
<a href="@Url.Action("Cadastrar","Pessoa")" class="btn btn-sm btn-primary">Nova Pessoa</a>
</div>
<fieldset>
<legend>Detalhes da Pessoa</l... |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SSMLVerifier;
using SSMLVerifier.Extensions;
using SSMLVerifier.TagStrategies.Amazon;
namespace SSMLVerifierTests.TagStrategies.Amazon
{
[TestClass]
public class PhonemeStrategyTests
{
[TestMethod]
public void Ret... |
using AzR.Utilities.Attributes;
namespace AzR.Core.Config
{
[IgnoreEntity]
public interface IBaseEntity
{
}
} |
using Cosmos.HAL.Drivers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.System
{
public class VBEScreen
{
/// <summary>
/// Driver for Setting vbe modes and ploting/getting pixels
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// the class that contains the waypoint info to serialize
/// </summary>
[System.Serializable]
public class Point {
// Enums
public enum PointType
{
TakeOff = 0,
WayPoint,
Stop,
La... |
using PlayFab;
using PlayFab.ClientModels;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Core : Entity
{
void Start()
{
base.Start();
}
protected override void OnDead(GameObject killer)
{
GameObject.FindObjectOfType<Ga... |
using System;
using System.Runtime.InteropServices;
namespace TidyDesktopMonster.WinApi.Shell32
{
// https://msdn.microsoft.com/en-us/library/windows/desktop/bb759795.aspx
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 2)]
internal struct ShellFileOptions
{
public IntPt... |
using System.Collections.Generic;
namespace AdapterPattern.DBOperations
{
interface IAdapter<T> where T : class
{
List<T> GetData(string tableName);
}
}
|
using UnityEngine;
public class ApplicationSettings : MonoBehaviour
{
[SerializeField]
private int _targetFrameRate = 60;
[SerializeField]
private int _sleepTimeout = SleepTimeout.SystemSetting;
private void Awake()
{
Screen.sleepTimeout = _sleepTimeout;
Application.... |
using OpenTracker.Models.Sections;
namespace OpenTracker.ViewModels.Maps.Locations
{
public interface IMarkingMapLocationVM
{
delegate IMarkingMapLocationVM Factory(IMarkableSection section);
}
} |
using BLL.Infrastructure;
using Microsoft.AspNetCore.Mvc;
namespace RL.Utilities
{
public static class ControllerUtilities
{
public static ActionResult CheckResult(Result result)
{
if (result.Failure)
return new BadRequestObjectResult(result.Error);
ret... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace AirCannon.Framework.Tests.Utilities
{
/// <summary>
/// Verifies the methods on <see cref = "Assert2" /> work correctly.
/// </summary>
[TestFixture]
public class Assert2Tests
{
/// <summary>
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BreakableGroundWalk : MonoBehaviour
{
public AudioClip settle;
public AudioSource source;
public ParticleSystem dust;
public void OnTriggerEnter2D(Collider2D other){
if(other.tag == "Pl... |
using CY.Core.Regularization;
using CY.Core.Service;
using System;
using System.Collections.Generic;
using System.Text;
namespace CY.Application.Service
{
public class AccessWEB:IAccesscs
{
private List<string> result;
private LotteryDataRegularization _regularization;
public AccessWE... |
using UnityEngine;
namespace Character
{
public class PlayerInventory : MonoBehaviour
{
[SerializeField] private Inventory playerInventory;
private void Awake()
{
if (GlobalInventory.playerInventoryInstance == null)
{
GlobalInventory.pla... |
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace DotNetFramework.CAP.Diagnostics
{
public class TracingHeaders : IEnum... |
namespace PlayMe.Plumbing.Diagnostics
{
public class Logger : NLog.Logger, ILogger
{
}
}
|
using OpenTK.Windowing.GraphicsLibraryFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VengineX.Core;
namespace VengineX.Input
{
public class MouseActionBinding : Binding<bool>
{
public MouseButton Button { get; set; }... |
namespace Battleship.Model
{
public class GuessRequest
{
public Cell Cell { get; set; }
public string GameState { get; set; }
}
} |
using System.Collections.Generic;
namespace API_Football.SDK.V3
{
public static class Venues
{
public static ApiResponse<List<Models.Venue>> GetVenues(this Instance instance)
{
return instance.DoCall<List<Models.Venue>>("venues");
}
}
} |
using Microsoft.Data.SqlClient;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RepoDb.Extensions;
using RepoDb.IntegrationTests.Models;
using RepoDb.IntegrationTests.Setup;
using System;
using System.Collections.Generic;
using System.Linq;
namespace RepoDb.IntegrationTests.Operations
{
[TestClass]
... |
using CarDealership.Models.DataModels;
using CarDealership.Models.DataModels.Adds.Vehicles;
using CarDealership.Models.DataModels.Comments;
using CarDealership.Models.DataModels.Extras;
using CarDealership.Models.DataModels.News;
using CarDealership.Models.DataModels.Pictures;
using CarDealership.Models.DataModels.Veh... |
using System.Collections.Generic;
using CommandDotNet.Tokens;
namespace CommandDotNet
{
public class OriginalInput
{
/// <summary>The original string array passed to the program</summary>
public IReadOnlyCollection<string> Args { get; }
/// <summary>The original tokens before any inpu... |
namespace WindowsFormsApplication1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
namespace Opendentity.Emails;
public static class EmailConstants
{
public static class ReplacementMarks
{
public static class PasswordReset
{
public const string _PasswordTokenMark = "{{PASSWORD_TOKEN}}";
public const string _EmailMark = "{{EMAIL}}";
public ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CEWSP_v2.Backend
{
/// <summary>
/// Provide information about the given CE version
/// </summary>
public class CEVersionInfo
{
... |
using System;
using GraphProcessor;
using HLVS.Runtime;
using UnityEngine;
namespace HLVS.Nodes.ActionNodes
{
[Serializable, NodeMenuItem("Transform/Move Towards")]
public class MoveTowardNode : HlvsActionNode
{
public override string name => "Move Towards";
[Input("Object")]
public GameObject target;
[I... |
// Copyright (c) Allan Nielsen.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace OurPresence.Modeller.Interfaces
{
/// <summary>
/// Defines the files to be used as a project
/// </su... |
using SiteManager.V4.Application.Common.Exceptions;
using SiteManager.V4.Application.RoleAdmin.Queries;
using SiteManager.V4.Domain.Entities;
using FluentAssertions;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCo... |
namespace CryptoCurrency.Core.OrderType
{
public enum OrderTypeEnum
{
Limit,
Market
}
} |
using System;
using System.Net.Http.Headers;
using System.Text;
namespace SourceLink
{
public interface IAuthenticationHeaderValueProvider
{
AuthenticationHeaderValue GetValue();
}
internal class BasicAuthenticationHeaderValueProvider : IAuthenticationHeaderValueProvider
{
private... |
using Xunit;
namespace Tests.CefGlue.WebBrowserEngineTests.Infra
{
[CollectionDefinition("CefGlue Context")]
public class CefGlueContextFixture : ICollectionFixture<CefGlueContext>
{
}
} |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
// 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.
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.Enti... |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <author name="Daniel Grunwald"/>
// <version>$Revision: 5747 $</version>
// </file>
using System;
namespace ICSharpCode.AvalonEdit.Document
{
using LineNode = DocumentLine;
// A tree node in the... |
using Marosoft.Mist.Parsing;
using System.Linq;
using Marosoft.Mist.Lexing;
namespace Marosoft.Mist.Evaluation.Special
{
[SpecialForm("cond")]
public class Cond : SpecialForm
{
public override Expression Call(Expression expr)
{
var forms = expr.Elements.Skip(1).ToList();
... |
using System;
namespace Arebis.Pdf.Writing
{
[Serializable]
public enum PdfImagePlacement
{
Stretch = 0,
Center = 1,
LeftOrTop = 2,
RightOrBottom = 3,
LeftOrBottom = 4,
RightOrTop = 5,
}
public static class PdfImagePlacementExtensions... |
using Edgar.Geometry;
using Edgar.Legacy.GeneralAlgorithms.DataStructures.Common;
namespace Edgar.Legacy.Utils.Serialization.Models
{
public class DoorModel<TNode>
{
public TNode Node { get; set; }
public Vector2Int From { get; set; }
public Vector2Int To { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace HalfShot.MagnetHS.DatastoreService
{
[AttributeUsage(AttributeTargets.Method)]
class DataStoreAttribute : Attribute
{
public DataStoreOperation Operation { get; set; }
public DataStoreAttribute(DataStoreOperation ... |
using CustomFiltersAndFormatters.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
using System.Threading.Tasks;
namespace CustomFiltersAndFormatters.Formatter
{
public class ImageFormatter : OutputFormatter
{
public ImageFormatter()... |
using System;
using System.Linq;
using System.Threading.Tasks;
using CodeExecutionSystem.Contracts.Abstractions;
using CodeExecutionSystem.Contracts.Data;
namespace EducationSystem.Implementations.Code
{
public sealed class CodeExecutionApi : ICodeExecutionApi
{
private static readonly Random Random =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class ToolTip : MonoBehaviour
{
#region Singleton
public static ToolTip instance;
void Awake()
{
if (instance != null)
{
Debug.LogWarning("More than one ... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Antlr4.Runtime;
using Excess.Compiler.Roslyn;
namespace Excess.Compiler.Antlr4
{
//interop between antlr and excess, derive
public abstract class AntlrGrammar : IGrammar<SyntaxToken, SyntaxNode, ParserRuleContext>
{
public Parse... |
namespace FluentACS.ManagementService
{
public enum RuleTypes
{
Simple,
Passthrough
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DigitalPlatform.LibraryClient.localhost;
// 2017/10/1
namespace DigitalPlatform.LibraryClient
{
/// <summary>
/// 文件事项枚举类
/// 包装利用 ListFile() API
/// </summary>
public class File... |
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using Shop.Domain.Models;
namespace Shop.Domain.Infrastructure
{
public interface IProductManager
{
TResult GetProductById<TResult>(int id, Func<Product, TResult> selector);
TResult GetProductByName<TResult>(string n... |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Prism.Ioc;
using Lyrico.Navigation;
using Lyrico.Repository;
using Lyrico.ViewModels;
using Lyrico.Views;
using Lyrico.Services;
using Lyrico.Services.Interfaces;
using Prism;
namespace Lyrico
{
public partial class App
{
static Lyrics... |
using ShaderUtils;
using ShaderUtils.Attributes;
using ShaderUtils.Mathematics;
namespace ShaderExample.Shaders
{
class PassFragment : FragmentShader
{
[In]
public Vector4 Col { private get; set; }
public override void Main()
{
Color = Col;
}
}
}
|
using System;
namespace LogoFX.Client.Mvvm.ViewModel.Contracts
{
/// <summary>
/// Object that notifies about selection change
/// </summary>
public interface INotifySelectionChanged
{
/// <summary>
/// Occurs when [selection changed].
/// </summary>
event EventHand... |
using Ryujinx.HLE.HOS.Ipc;
using System.Collections.Generic;
using System.IO;
namespace Ryujinx.HLE.HOS.Services.FspSrv
{
class IStorage : IpcService
{
private Dictionary<int, ServiceProcessRequest> _commands;
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _command... |
using System;
namespace WebApiThrottle
{
[Flags]
public enum ThrottlingBy
{
IpThrottling = 1,
ClientThrottling = 2,
EndpointThrottling = 4
}
} |
using Newtonsoft.Json;
namespace B1SLayer
{
public class SLResponseError
{
[JsonProperty("error")]
public SLErrorDetails Error { get; set; }
}
public class SLErrorDetails
{
[JsonProperty("code")]
public int Code { get; set; }
[JsonProperty("message")]
... |
@using Frontend.Controllers
@using Helpers.Assembly
@{
// SMELL: Bad code, move to controller
ApplicationInformation.ExecutingAssembly = typeof(AccountController).Assembly;
}
<div class="note note-warning">
<h4 class="block">Blaze Beta @(ApplicationInformation.ExecutingAssemblyVersion.ToString())</h4>
... |
/*
* Copyright (c) Roman Polunin 2016.
* MIT license, see https://opensource.org/licenses/MIT.
*/
using System;
using System.Diagnostics;
namespace OrgChart.Layout
{
/// <summary>
/// A rectangle in the diagram logical coordinate space.
/// </summary>
[DebuggerDisplay("{TopLeft.X}:{TopLeft.Y}, {Si... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Eco;
using Eco.Serialization.Xml;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
string schema = XmlSchemaExporter.GetSc... |
namespace ApiClient.Models
{
public class PassiveSkill
{
public virtual int Id { get; set; }
public string Name { get; set; }
public float IncreasePerPoint { get; set; }
public bool UpIsGood { get; set; }
public int MinimumRound { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.