content stringlengths 23 1.05M |
|---|
using Elan.Friends.Contracts;
using Elan.Friends.Services;
using Microsoft.Extensions.DependencyInjection;
namespace Elan.Friends
{
public static class ServiceConfigurator
{
public static void RegisterFriendsModule(this IServiceCollection services)
{
services.AddScoped<IFriendsServ... |
namespace Esprima.Ast
{
public sealed class ImportDefaultSpecifier : ImportDeclarationSpecifier
{
public readonly Identifier Local;
public ImportDefaultSpecifier(Identifier local) : base(Nodes.ImportDefaultSpecifier)
{
Local = local;
}
public override NodeC... |
using System.Threading;
namespace AsyncNet.Jobs
{
public class JobsContext
{
public SemaphoreSlim ActionSemaphore { get; set; }
public bool UseActionSemaphore { get; set; } = false;
public SemaphoreSlim BackActionSemaphore { get; set; }
public bool UseBackActionSemaphore { g... |
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Ninject;
using Ninject.Web.Common;
using ConspectoPatronum.Domain;
using ConspectoPatronum.Core.Repositories;
using ConspectoPatronum.Core.Services;
using ConspectoPatronum.Services;
namespace ConspectoPatronum
{
public class Mvc... |
using System;
using System.Runtime.InteropServices;
namespace SourceUtils
{
[StructLayout( LayoutKind.Sequential )]
public struct Vector3 : IEquatable<Vector3>
{
public static readonly Vector3 Zero = new Vector3(0f, 0f, 0f);
public static readonly Vector3 NaN = new Vector3( float.NaN, float... |
using System.Collections.Generic;
using System.IO;
using WritingExporter.Common.Models;
namespace WritingExporter.Common.Storage
{
public interface IStoryFileStore
{
void DeleteStory(string fileName);
void DeleteStory(WdcInteractiveStory story);
WdcInteractiveStory DeserializeStory(Str... |
using System;
using System.Threading.Tasks;
using AskMe.API.Models;
using AskMe.Domain.Interfaces;
using AskMe.Domain.Models;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace AskMe.API.Controllers
{
[Authorize]
[Route("api/users/{userId}/exams")]
[ApiCo... |
using System.Collections.Generic;
using Department.Base.Model.Common;
namespace Department.Base.Model.Security
{
public class ExternalUserLoginInfo : ValueObject
{
// Examples of the provider may be Local, Facebook, Google, etc.
public string LoginProvider { get; set; }
//
... |
using Newtonsoft.Json;
namespace Slack.NetStandard.WebApi.Conversations
{
public class AcceptSharedInviteRequest
{
[JsonProperty("channel_name")]
public string ChannelName { get; set; }
[JsonProperty("channel_id",NullValueHandling = NullValueHandling.Ignore)]
public string Cha... |
//Class Name: DoneState.cs
//Author: Kristina VanderBoog
//Purpose: This represents the concrete state of "DoneState" it will initiate the printing
//of the information entered in the form. I could not get the chevron to line up properly so I omitted it.
//Date: August 14, 2020
using System;
using System.Coll... |
namespace KoScrobbler.Entities
{
public class ValidateSessionResult : RequestResponseBase
{
public string UserName { get; internal set; }
public string SessionKey { get; internal set; }
}
}
|
using PokemonManager.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokemonManager.Game.FileStructure.Gen3.GC {
public class GCCharacterEncoding {
public static string GetString(byte[] data, Languages language) {
string str = ... |
namespace UniModules.UniGame.SplitTexture.Editor
{
using System.Collections.Generic;
using Abstract;
using UnityEngine;
public sealed class UniformTextureSplitter : ITextureSplitter
{
public Texture2D[] SplitTexture(Texture2D source, Vector2Int maxSize)
{
if (source == ... |
using ViennaNET.Orm.Seedwork;
namespace ViennaNET.Orm.Tests.Unit.DSL
{
internal class BadEntity : IEntityKey
{
}
}
|
using Draws.CLI;
using SpotifyAPI.Web;
using System;
using System.Collections.Generic;
namespace SpotifyCLI.Commands {
[Command("vol", "Changes the volume.", isSingleArgument: false)]
[Argument("volume", "The number to set the volume to", required: true, shortName: 'v')]
public class ChangeVolumeCommand : ... |
using System.Collections.Generic;
namespace UnityEngine.InputNew
{
public interface IInputControlProvider
{
List<InputControlData> controlDataList { get; }
InputControl this[int index] { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
using Repository.Entities.BaseClasses;
namespace Repository.Entities.Html
{
public enum ContentItemType
{
Html = 0,
Css,
Js
}
public class... |
// Copyright (c) 2017-2019 Jae-jun Kang
// See the file LICENSE for details.
using System;
using System.Collections.Generic;
namespace x2net
{
public class SendBuffer : IDisposable
{
private byte[] headerBytes;
private int headerLength;
private Buffer buffer;
public byte[] He... |
using PoshCommence.Base;
using System.Management.Automation;
namespace PoshCommence.CmdLets
{
[Cmdlet(VerbsCommon.Clear, "CmcMetadataCache")]
public class ClearMetadataCache : PSCmdlet
{
protected override void ProcessRecord()
{
CommenceMetadata.ClearAll();
WriteVer... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Brokerage.Common.ReadModels.Blockchains;
namespace Brokerage.Common.Persistence.Blockchains
{
public static class BlockchainsRepositoryExtensions
{
public static async Task<IReadOnlyCollection<Blockchain>> GetAllA... |
using System.Collections.Generic;
using System.IO;
using YAXLib;
namespace ControlsLibrary.FileSerialization
{
/// <summary>
/// WPF implementation of file serialization and deserialization
/// </summary>
public static class FileServiceProviderWpf
{
/// <summary>
/// Serializes dat... |
using DiscordHackWeek.Entities.Combat;
namespace DiscordHackWeek.Services.Database.Tables
{
public class Enemy
{
public int Id { get; set; }
public string Name { get; set; }
public int ZoneId { get; set; }
public string Image { get; set; }
public string ThumbImg { get; ... |
using System;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_acdd78b1_4e66_4fd0_a36b_5318670fefd4
{
public class ToUpperCase : Instance<ToUpperCase>
{
[Output(Guid = "ecf66a1e-45e5-4e0c-ac9e-a784a9339153")]
public readonl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestCases
{
class Test01
{
public static Dictionary<EnumTest.TestEnum, EnumTest.TestEnum[]> dicAttrConver5 = new Dictionary<EnumTest.TestEnum, EnumTest.TestEnum[]>()
{
{
... |
namespace OneLoginAws.Models
{
public record IAMRole(string Role, string Principal);
}
|
using System;
namespace EasyNetQ.Scheduler.Mongo
{
public interface IScheduleRepositoryConfiguration
{
string ConnectionString { get; }
string DatabaseName { get; }
string CollectionName { get; }
TimeSpan DeleteTimeout { get; }
TimeSpan PublishTimeout { get; }
}
}
|
using Microsoft.Maui.Layouts;
using CommunityToolkit.Maui.Markup.Sample.Pages.Base;
using CommunityToolkit.Maui.Markup.Sample.ViewModels;
using CommunityToolkit.Maui.Markup.Sample.Constants;
namespace CommunityToolkit.Maui.Markup.Sample.Pages;
class NewsDetailPage : BaseContentPage<NewsDetailViewModel>
{
public New... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System;
using System.Collections.Generic;
namespace FELFEL.Data
{
public class InventoryBatch
{
public DateTime ExpirationDate { get; set; }
public int Stock { get; set; }
public BatchState BatchState { get; set; }
}
} |
using System.Collections.Generic;
using System.Linq;
namespace TGC.Group.Model.Items.Recipes
{
public class Recipe
{
public IEnumerable<Ingredient> Ingredients{get;}
public Recipe(IEnumerable<Ingredient> ingredients)
{
this.Ingredients = ingredients;
}
publ... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using WeatherApp.Model;
namespace WeatherApp.ViewModel.Helpers
{
public class WeatherHelper
{
private const string m_BaseURL = "http://datas... |
using ApplicationCore.Entities.OrderAggregate;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Backoffice.ViewModels
{
public class CustomizeOrderViewModel
{
[Display(Name="#")]
public int I... |
using System;
namespace ChessGame.Board
{
abstract class Piece
{
public ChessBoard ChessBoard { get; private set; }
public Position Position { get; protected set; }
public Color Color { get; protected set; }
public int Movements { get; private set; }
public Piece (Ches... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CK.TypeScript.CodeGen
{
class FileBodyCodePart : RawCodePart, ITSFileBodySection
{
public FileBodyCodePart( TypeScriptFile f )
: base( f, String.Empty )
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReMi.Plugin.Gerrit.GerritApi
{
public interface ISshClient : IDisposable
{
void Connect();
string ExecuteCommand(string commandText);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Cumulocity.SDK.Microservices.OAuth.Handler
{
public static class OAuthAuthenticationDefaults
{
public const string AuthenticationScheme = "OAuth2Cumulocity";
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntMe.Extension.Test
{
internal class DebugItemProperty1 : ItemProperty
{
public DebugItemProperty1(Item item) : base(item) { }
}
internal class DebugItemProperty1Spec... |
@using AbpCodeGeneration.VisualStudio.Common.Model
@inherits RazorEngine.Templating.TemplateBase<CreateFileInput>
using AutoMapper;
namespace @Model.Namespace.@Model.ModuleName
{
/// <summary>
/// Mapper映射配置
/// </summary>
public class @(Model.ModuleName)ApplicationAutoMapperProfile : Profile
{
... |
using System.Collections.Generic;
using Pragmatic.TDD.Services.Tests.Fakes;
namespace Pragmatic.TDD.Services.Tests.Factories
{
public static class HorseFactory
{
private static FakeDataContext _context;
public static Models.Horse Create(FakeDataContext context, int id = 1, string nam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rdc
{
/// <summary>
/// 从官方renderdoc代码中复制过来的通用函数
/// </summary>
public class Common
{
public static uint CalcNumMips(uint w, uint h, uint d)
{
u... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Szlem.Persistence.NHibernate
{
public class Marker
{
}
}
|
using System;
using System.Text;
namespace Zooyard.Rpc.NettyImpl.Protocol
{
/// <summary>
/// The type Merge result message.
///
/// </summary>
[Serializable]
public class MergeResultMessage : AbstractMessage, IMergeMessage
{
/// <summary>
/// Get msgs abstract result message [ ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PriSchLecs.Api.Domains.Files;
using PriSchLecs.Api.Dtos.Models.Files;
using PriSchLecs.Api.Infrast... |
namespace MassTransit.SagaStateMachine
{
using System;
using System.Collections.Generic;
using System.Linq;
[Serializable]
public class StateMachineGraph
{
readonly Edge[] _edges;
readonly Vertex[] _vertices;
public StateMachineGraph(IEnumerable<Vertex> vertices, IEnum... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using MathNet.Numerics.Random;
using NUnit.Framework;
using Vts.MonteCarlo;
using Vts.MonteCarlo.Factories;
namespace Vts.Test.MonteCarlo.Sources
{
/// <summary>
/// These tests set up all sources using SourceProvider list and ... |
/**
* Author: Ryan A. Kueter
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Acceledesk.Wmi
{
public cla... |
namespace WebServer.Http.Response
{
using Enums;
public class UnauthorizedResponse : HttpResponse
{
public UnauthorizedResponse(string message)
{
this.StatusCode = HttpStatusCode.Unauthorized;
// TODO: Add message
}
}
}
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace LibHac.Util.Impl
{
internal static class HexConverter
{
public e... |
using Dapper.Repositories.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Dapper.Repositories;
using Dapper.Repositories.Attributes.Joins;
namespace WebAPI_Model
{
[Table("Customers", Schema = "dbo")]... |
/*
* Escribir un programa que lea 10 notas de estudiantes y nos
* informe cuántos tienen notas mayores o iguales a 3 y cuántos
* menores.Para resolver este problema se requieren tres contadores
*/
float nota;
int cont2=0, cont3=0;
Console.WriteLine("Programa Sentencia FOR");
for (int cont1 = 1; cont1 <= 10... |
using Newtonsoft.Json;
using QueryRoom.DTOs;
using QueryRoom.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
using System.Web.Mvc;
namespace QueryRoom.Controllers.MVC_controllers
{
[Authorize(Roles ="Admin")]
public class AdminMVCController :... |
namespace DotnetCoreIdentityServerJwtIssuer.Dto
{
public class LoginDto
{
public string Audience {get; set;}
public string UserEmail {get; set;}
public string UserPassword {get; set;}
}
} |
namespace FaraMedia.Core.Domain.FileManagement {
public class Picture : UserContentBase {
public virtual string FileName { get; set; }
public virtual string MimeType { get; set; }
}
} |
using System;
using System.Diagnostics.CodeAnalysis;
namespace starshipxac.Shell.PropertySystem.Interop
{
/// <summary>
///
/// </summary>
/// <remarks>
/// http://msdn.microsoft.com/en-us/library/windows/desktop/bb761551(v=vs.85).aspx
/// </remarks>
[SuppressMessage("ReShar... |
using UnityEngine.UI;
public abstract class NetworkObject {
/// <summary>
/// Fills the given <see cref="Text[]"/> with the fields of a network data object.
/// </summary>
/// <param name="texts"></param>
public abstract void FillTexts(Text[] texts);
protected string DeviceNameToUpperCase(st... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using DemoPlugin.Properties;
using KeePass.Plugins;
using KeePass.Util;
using System.Drawing;
using System.Windows.Forms;
namespace DemoPlugin
{
public sealed class DemoPluginExt : Plugin
{
private IPluginHost _host;
public override Image SmallIcon
{
get { return Resources.MenuIcon; }
}
public overrid... |
using System;
using System.Collections.Generic;
namespace ReMi.Plugin.ZenDesk.DataAccess.Gateways
{
public interface IPackageConfigurationGateway : IDisposable
{
PluginPackageConfigurationEntity GetPackageConfiguration(Guid packageId);
IEnumerable<PluginPackageConfigurationEntity> GetPackagesCo... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Enums;
using IF.Lastfm.Core.Api.Helpers;
using IF.Lastfm.Core.Objects;
using IF.Lastfm.Core.Scrobblers;
namespace IF.Lastfm.Core.Api.Commands.Track
{
[ApiMethodName("track.scrobble")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Placeable : MonoBehaviour {
public bool isAvailable = true;
public Transform pivotPoint;
// Use this for initialization
public Vector3 GetPivotPoint()
{
if (pivotPoint == null)
return tr... |
using System.Text.RegularExpressions;
using Markdig;
using MicroSiteMaker.Core;
using MicroSiteMaker.Models;
namespace MicroSiteMaker.Services;
public static class SiteBuilderService
{
private static bool s_follow = true;
private static bool s_index = true;
public static void SetFollow(bool follow)
... |
using Newtonsoft.Json;
namespace Birko.SuperFaktura.Request.Client
{
public class ContactPerson
{
[JsonProperty(PropertyName = "id", NullValueHandling = NullValueHandling.Ignore)]
public int? ID { get; internal set; }
[JsonProperty(PropertyName = "client_id", NullValueHandling = NullVa... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace EightPuzzle
{
public class Environment
{
public char[] gameState { get; private set; }
public string goalState;
public Environment(string initialState = "123456780") {
gameState = initialSta... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateLikeChild : MonoBehaviour {
[SerializeField]
private Transform mParent = null;
private Transform mPlaceHolder = null;
private Transform mStartFix = null;
[SerializeField]
private bool mMoveX = t... |
using Reportman;
using Reportman.Utils;
using ServiceStack;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace ConsoleClient
{
class Program
{ ... |
namespace Infestation
{
using System;
public class Supplement : ISupplement
{
public Supplement(int health, int power, int agression)
{
this.HealthEffect = health;
this.PowerEffect = power;
this.AggressionEffect = agression;
}
public vi... |
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Logical
{
using System.Threading.Tasks;
using EtAlii.Ubigia.Api.Fabric;
public class ContentQueryHandler : IContentQueryHandler
{
private readonly IFabr... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Annytab.Doxservr.Client.V1
{
/// <summary>
/// This class includes a page with file metadata items
/// </summary>
public class FileDocuments
{
#region Variables
public IList<FileDocument> items { get;... |
namespace webapi_di.Interfaces
{
public interface ITransientService
{
string Ejecutar();
}
}
|
using System;
namespace UnityEngineEx
{
public class BehaviourFunctionAttribute : Attribute
{
public string name;
public BehaviourFunctionAttribute(string name)
{
this.name = name;
}
}
}
|
using System.Collections;
using System.Linq;
using NUnit.Framework;
namespace ValveKeyValue.Test
{
[TestFixture(typeof(StreamKVTextReader))]
[TestFixture(typeof(StringKVTextReader))]
class LegacyDepotDataSubsetTestCase<TReader>
where TReader : IKVTextReader, new()
{
[Test]
publ... |
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Threading.Tasks;
using System.Windows.Forms;
using CommonLibrary;
using NAudio.CoreAudioApi;
namespace VolumeCommandManager
{
static class Program
{
static async Task<int> Main(string[] args)
{
... |
/*
* NanoXLSX is a small .NET library to generate and read XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
* Copyright Raphael Stoeckli © 2021
* This library is licensed under the MIT License.
* You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
... |
using System;
using System.Drawing;
using System.Globalization;
using SlimDX.Direct3D9;
namespace DemoFramework
{
public class FpsDisplay : IDisposable
{
Sprite fontSprite;
SlimDX.Direct3D9.Font font;
int color = Color.Red.ToArgb();
float fps = -1;
string t... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
using Random = UnityEngine.Random;
public class CupboardManager : MonoBehaviour
{
[SerializeField] private Transform witch;
[SerializeField] private bool activatingCupboard;
privat... |
using System.Collections.Generic;
namespace MagentoAccess.Models.Services.PutStockItems
{
public class PutStockItemsResponse
{
public List< ResponseStockItem > Items { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Text;
using DynamicData;
namespace ReactivityMonitor.Model
{
internal sealed class ObservableInstance : IObservableInstance
{
public ObservableInstance(
EventInfo created,
IObservable<IIns... |
namespace Menees.RpnCalc
{
#region Using Directives
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
#endregion
public class StringToVisibilityConverter : IValueConverter
{
#region IValueConverter Members
public object Convert(object value, Type targetType, obj... |
using System;
using System.Xml.Serialization;
namespace Mews.Fiscalization.Greece.Dto.Xsd
{
[Serializable]
[XmlType(Namespace = InvoicesDoc.Namespace)]
public class Invoice
{
[XmlElement(ElementName = "uid")]
public string InvoiceId { get; set; }
[XmlElement(ElementName = "mar... |
using System;
using CCLLC.Core;
namespace CCLLC.BTF.Process
{
/// <summary>
/// Defines properties for any record that is being used to capture data input related to
/// a transaction.
/// </summary>
public interface ITransactionDataRecord : IRecordPointer<Guid>
{
IRecordPointer<Guid>... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
#if !FEATURE_SPAN
using System.Text;
#endif
namespace DocumentFormat.OpenXml
{
/// <summary>
/// A factory of hex strings.
/// </summary>
... |
namespace LoginServer.Server {
public enum AuthenticationResult {
None,
Success,
Error,
Maintenance,
WrongUserData,
AccountIsNotActivated,
AccountIsBanned,
VersionOutdated,
StringLength
}
} |
namespace MSyics.Traceyi;
/// <summary>
/// ILogger 実装 TraceyiLogger のパラメーターを表します。
/// </summary>
internal sealed class TraceyiLoggerParameters
{
/// <summary>
/// メッセージを取得または設定します。
/// </summary>
public object Message { get; set; }
/// <summary>
/// 拡張プロパティ設定オブジェクトを取得または設定します。
/// </summ... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VacationCalendar.Controllers;
using VacationCalendar.Data;
namespace VacationCalendar.Tests.Controll... |
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using MapMagic;
namespace MapMagic
{
[CustomEditor(typeof(GeneratorsAsset))]
public class GeneratorsAssetEditor : Editor
{
Layout layout;
public override void OnInspectorGUI ()
{
GeneratorsAsset gens = (G... |
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Ploeh.Hyprlinkr
{
/// <summary>
/// Creates URIs from type-safe expressions.
/// </summary>
public interface IResourceLinker
{
/// <summary>
/// Creates an URI based on a type-safe expression.
... |
@model ICollection<GetABuddy.Web.ViewModels.Event.SingleEventViewModel>
@{
ViewBag.Title = "All";
}
<h3>All Events</h3>
<br />
<form class="form row" method="GET" action="Search">
<div class="col-lg-3">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for..."... |
using System.Threading.Tasks;
using Entities;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering;
using Microsoft.Data.Entity;
namespace Forums.Controllers
{
public class PostsController : Controller
{
private ApplicationDbContext _context;
public PostsController(Appl... |
using Enmeshed.DevelopmentKit.Identity.ValueObjects;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Enmeshed.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters
{
public class UsernameValueConverter : ValueConverter<Username, string>
{
public UsernameValueConvert... |
using System;
using JetBrains.Annotations;
namespace DeusExHackSender.JoinRpg
{
/// <summary>
/// Short info about character
/// </summary>
[PublicAPI]
public class CharacterHeader
{
/// <summary>
/// Id
/// </summary>
public int CharacterId { get; set; }
/// <summary>
/// Last mod... |
namespace CCore.Net.JsRt
{
/// <summary>
/// The possible states for a Promise object.
/// </summary>
public enum JsPromiseState
{
Pending = 0x0,
Fulfilled = 0x1,
Rejected = 0x2
}
} |
/*
* Copyright 2015-2018 Mohawk College of Applied Arts and Technology
*
*
* 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
*
* U... |
using LionFire.Assets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using LionFire.ExtensionMethods;
using LionFire.Structures;
using LionFire.Results;
using LionFire.Resolves;
namespace LionFire.Persistence
{
public static... |
using System;
using Xunit;
using Stack_and_Queue;
using static Stack_and_Queue.Program;
using Stack_and_Queue.Classes;
namespace XUnitTestStack_and_Queue
{
public class UnitTest1
{
[Fact]
public void CanPushStack()
{
Stack testStack = new Stack(new Node(7));
Con... |
using System;
using System.Collections.Generic;
namespace VirusTotalNET.Objects
{
public class UrlReport
{
/// <summary>
/// Filescan Id of the resource.
/// </summary>
public string FilescanId { get; set; }
/// <summary>
/// A permanent link that points to this... |
namespace EasyAbp.Abp.TencentCloud.COS.Infrastructure
{
public interface ITencentCOSRequester
{
}
} |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using PholioVisualisation.DataSorting;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.Export
{
public class ExportPopulationHelper
{
public static List<CoreDataSet> FilterQuinaryPopulations(IList<Cor... |
using System;
using System.Linq;
using System.Threading.Tasks;
using R5T.D0101.I001;
using R5T.D0105;
namespace R5T.S0023
{
public class O900_OpenAllProjectRepositoryFiles : T0020.IActionOperation
{
private INotepadPlusPlusOperator NotepadPlusPlusOperator { get; }
private IProjectRepositoryF... |
using System.IO;
using UnityEditor;
using UnityEngine;
namespace Framework.Utils
{
#if UNITY_EDITOR
public class ScreenShot : MonoBehaviour
{
private const int MaxScreenshotAmount = 15;
private const string ScreenshotsDirectory = "StoreInfo/Screenshots";
[MenuItem("Tools/Take Scree... |
@model DeaneBarker.DynamicTemplates.Models.Elements.ImageElementBlockViewModel
@{
// Figure out the URL
var url = Model.ImageUrl;
if (Model.CurrentBlock.IsBoilerplate)
{
if (!string.IsNullOrWhiteSpace(Model.CurrentBlock.BoilerplateOutput))
{
url = Model.CurrentBlock.Boilerp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.