text stringlengths 1 932k |
|---|
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Hardstuck.GuildWars2.Builds.APIClasses
{
internal class CharacterSpecialization
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("traits")]
public List<int?> Traits { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Intersect.Models;
using Intersect.GameObjects.Events;
using Intersect.GameObjects.Conditions;
using Newtonsoft.Json;
namespace Intersect.GameObjects.Crafting
{
public class CraftBase : DatabaseObject<Craft... |
//
// Copyright (c) 2021 karamem0
//
// This software is released under the MIT License.
//
// https://github.com/karamem0/sp-client-core/blob/main/LICENSE
//
using Karamem0.SharePoint.PowerShell.Models;
using Karamem0.SharePoint.PowerShell.Runtime.Commands;
using Karamem0.SharePoint.PowerShell.Services;
using System;... |
using s76ToolBox.GeneralUse.Extensions;
using System;
using UnityEngine;
namespace Core.Model
{
public abstract class Skin : MonoBehaviour
{
public virtual void Initialize(IGeoEntity entity)
{
transform.SetParent(entity.Trans);
transform.ResetLocals();
}
}
} |
using System;
using Newtonsoft.Json.Linq;
namespace bevrand.authenticationapi.Middleware
{
/// <summary>
/// Used for indicating a record could not be found in the backend or database, when exactly one record was expected.
/// </summary>
public class RecordNotFoundException : Exception
{
pu... |
using System;
namespace AisParser
{
public class Payload
{
public Payload()
{
MessageType = AisMessageType.PositionReportClassA;
}
public Payload(string rawValue)
{
RawValue = rawValue;
MessageType = ReadEnum<AisMessageType>(0, 6);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.Exceptions;
using NClap.Help;
using NClap.Metadata;
using NClap.Types;
using NClap.Utilities;
using NSubstitute;
namespace NClap.Tests.Parser
{
... |
namespace WindowsActivator3
{
partial class RestartPrompt
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
namespace ClearHl7.Codes.V282
{
/// <summary>
/// HL7 Version 2 Table 0278 - Filler Status Codes.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0278</remarks>
public enum CodeFillerStatusCodes
{
/// <summary>
/// Blocked - Blocked.
/// </summary>
Blocke... |
using System.Reflection;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.AcceptanceCriteria;
using FluentNHibernate.Conventions.Helpers;
using FluentNHibernate.Conventions.Instances;
using FluentNHibernate.Mapping;
using NHibernate;
nam... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using static Expressions.Shortcuts.ExpressionShortcuts;
namespace HandlebarsDotNet.Compiler.Middlewares
{
internal class ClosureExpressionMiddleware : IExpressionMiddleware
{
public Expression<T> Inv... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tr... |
namespace IDTO.Common
{
using System.Threading.Tasks;
using IDTO.Common.Models;
using RestSharp;
public class WeatherManager
{
public const string uriString = "http://api.openweathermap.org/data/2.5/";
public WeatherManager()
{
}
public WeatherInfo GetWeat... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
// Revised BSD License text at bottom
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GP.Utils;
/// <summary>
/// Harness for accessor (get/set) tests.
/// </summary>
public class Test_Accessors : MonoBehaviour, ITestController
{
int accessorIterations = 10000;
int vector3... |
// <auto-generated>
//
// Generated by
// _ _
// /\/\ __ _ _ __ | |__ __ _ ___ ___ ___| |_
// / \ / _` | '_ \| '_ \ / _` / __/ __|/ _ \ __|
// / /\/\ \ (_| | | | | | | | (_| \__ \__ \ __/ |_
// \/ \/\__,_|_| |_|_| |_|\__,_|___/___/\___|\__| v 2.0.0
//
// <copyri... |
using System;
using System.Net;
using System.Net.Http;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace jbb
{
public class BeerListViewViewModel : BaseViewModel
{
private HttpResponseMessage _rawJSONT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace MvcApplication1
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd... |
//
// Copyright (c) Microsoft and contributors. 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.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... |
/*
* Copyright 2010-2014 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 "l... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.Network.Fluent.Mod... |
/*
* DocuSign REST API
*
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
*
* OpenAPI spec version: v2
* Contact: devcenter@docusign.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.... |
using System;
namespace Iovigi.Common.Exceptions
{
public class BaseException : Exception
{
private string error;
public string Error
{
get => this.error ?? base.Message;
set => this.error = value;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using FurnitureInRoom.BusinessEntities;
using FurnitureInRoom.Events;
using FurnitureInRoom.Exceptions;
namespace FurnitureInRoom
{
public interface IHomeState
{
void CreateRoom(string roomName, DateTime date);
void RemoveRoom(... |
#if ENABLE_IL2CPP
#define INLINE_METHODS
#endif
namespace ME.ECS {
using Filters;
using Buffers;
using ME.ECS.Collections;
using Unity.Burst;
using Unity.Jobs;
using Unity.Collections.LowLevel.Unsafe;
using System.Runtime.InteropServices;
namespace Buffers {
[System.Runt... |
using System;
using NUnit.Framework;
using Rhino.Mocks;
using Zavolokas.Structures;
namespace Zavolokas.ImageProcessing.Inpainting.UnitTests.GivenInpaintMapBuilder
{
[TestFixture]
public class WhenReduceDestArea
{
[Test]
public void Shoud_Throw_MapIsNotInitializedException_When_Called_Befo... |
/*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... |
namespace Warden.Spawn.Hooks
{
public interface IWatcherHookSpawnConfiguration
{
WatcherHookType Type { get; }
HookCondition Condition { get; }
string Use { get; }
object Configuration { get; set; }
}
} |
using System;
using System.Threading.Tasks;
namespace SquareSix.Core
{
public abstract class BaseViewModel : BasePropertyChangedModel
{
public bool IsBusy { get; set; }
public virtual string Title { get; }
public BaseViewModel()
{
}
public virtual Task InitAsy... |
@model IEnumerable<TechTreeMVC.Entities.Category>
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Title)
</th>
<th>
... |
using System.Xml;
using Baseline;
using Storyteller.Util;
namespace Storyteller.Model.Persistence
{
public class XmlWriter : XmlConstants
{
public static XmlDocument WriteToXml(Specification specification)
{
var document = new XmlDocument();
var root = WriteSpecRoot(spec... |
/*Problem 2. Print Company Information
A company has name, address, phone number, fax number, web site and manager. The manager has first name, last name, age and a phone number.
Write a program that reads the information about a company and its manager and prints it back on the console.*/
using System;
class print... |
using System;
using System.Threading.Tasks;
using System.Text.Json;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Exten... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Layouts
{
public partial class PageLayoutsBasics : ContentPage
{
public PageLayoutsBasics ()
{
InitializeComponent ();
}
private void buttonContentView_Clicked(object sender, EventArgs ea)
{
this.Navigation.PushModalAs... |
/*
* SqlServerHelpers
* CommandSettings
* Authors:
* Josh Keegan 05/09/2016
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlServerHelpers
{
public class CommandSettings
{
public int? CommandTimeout;
}
} |
using Coins.Api.Installers;
using Coins.Api.Options;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Coins.Api
{
public class Startup
{
public ... |
/* If nested then the nested NB should be sent every tick.
* This is because if that tick happens to drop then the
* sent data is now wrong given the parent information is wrong.
* Once EC is added in we won't have to send every time since
* it will eventually correct itself. */
using FishNet.Connection;
using F... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fl... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
usi... |
//Copyright 2019 Robert Orama
//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, s... |
using System;
namespace Automation.Concord
{
public enum ArmingLevel
{
Indeterminate = 0,
Disarmed = 1,
Stay = 2,
Away = 3,
PhoneTest = 8,
SensorTest = 9
}
} |
using System;
namespace xnaMugen.Combat.Logic
{
internal class PreIntro : Base
{
public PreIntro(FightEngine engine)
: base(engine, RoundState.PreIntro)
{
}
private void SetPlayer(Player player)
{
if (player == null) throw new ArgumentNullException(nameof(player));
Engine.Entities.Add(player);
... |
using System.Runtime.Serialization;
namespace MollieApi.Net.Resources
{
[DataContract]
public class SettlementPeriodRevenue
{
[DataMember(Name = "description", EmitDefaultValue = false, IsRequired = false)]
public string Description { get; set; }
[DataMember(Name = "method", EmitD... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace BzKovSoft.ObjectSlicerSamples
{
/// <summary>
/// The script must be attached to a GameObject that have collider marked as a "IsTrigger".
/// </summary>
public class BzKnife : MonoBehaviour
{
public int SliceID { get; private set; }
... |
#Wed Oct 14 16:14:27 BST 2020
lib/features/com.ibm.websphere.appserver.webcontainerMonitor-1.0.mf=b2b6a6c1ead3e4d40204f639e2da7d51
lib/com.ibm.ws.webcontainer.monitor_1.0.46.jar=e693dc77134f647ad0f410272e76659e |
// 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.
/*============================================================
**
** Enum: FileAccess
**
**
**
**
** Purpose: En... |
using System;
using System.Collections.Generic;
using NewLife.Log;
namespace GitCandy.Schedules
{
public sealed class Scheduler
{
private readonly static Scheduler _instance = new Scheduler();
private readonly object _syncRoot = new object();
internal readonly LinkedList<JobContext> _... |
using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace ContosoUniversity.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visi... |
namespace TeknikServis
{
partial class pnlSiparisEkle4
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Jurassic.Compiler;
namespace Jurassic.Library
{
/// <summary>
/// Represents a JavaScript function implemented in javascript.
/// </summary>
public class UserDefinedFunction : FunctionInstance
{
private readonly Gener... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Goog... |
using System;
namespace ArchitectNow.ApiStarter.Common.Models.ViewModels
{
public class UserInformation
{
public Guid Id { get; set; }
public string UserRole { get; set; }
public string Email { get; set; }
}
} |
namespace System.Windows.Forms
{
using System;
using System.ComponentModel;
using System.Reactive;
using System.Reactive.Linq;
/// <summary>
/// Extension methods providing IObservable wrappers for the events on PrintPreviewControl.
/// </summary>
[EditorBrowsable(EditorBrowsableState.N... |
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Import
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class PhotoImportItemImportedEventArgs
{
#if __ANDROID__ || __IOS_... |
// 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;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Mi... |
namespace BlazorShop.Application.Validators.TodoListValidator
{
public class UpdateTodoListCommandValidator : AbstractValidator<UpdateTodoListCommand>
{
private readonly IApplicationDbContext _context;
public UpdateTodoListCommandValidator(IApplicationDbContext context)
{
_... |
public interface IStreamable
{
int BytesSent { get; }
int Length { get; }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using R2API.Utils;
using RoR2;
using RoR2.UI;
using UnityEngine;
namespace R2API {
// ReSharper disable once InconsistentNaming
[R2APISubmodule(Build = 4892828)]
public static class LobbyConfigAPI {
/// <summary>
/// Return... |
namespace VSC
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="di... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Compute.Models
{
internal static partial class ContainerServiceOrchestratorTypesExtensions
{
public static string ToSer... |
using System;
using System.Collections.Generic;
using System.Text;
using SignalRTieredDemo.Localization;
using Volo.Abp.Application.Services;
namespace SignalRTieredDemo
{
/* Inherit your application services from this class.
*/
public abstract class SignalRTieredDemoAppService : ApplicationService
{... |
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System.Threading.Tasks;
namespace BlazorMdc
{
/// <summary>
/// This is a general purpose Material Theme icon button toggle, with provision for standard MT styling, leading
/// and trailing icons and all standard Blazor events. Adds ... |
#region License
/*
RemoteViewing VNC Client/Server Library for .NET
Copyright (c) 2017 Quamotion bvba <http://www.quamotion.mobi/>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of ... |
// Decompiled with JetBrains decompiler
// Type: Meadow.Peripherals.Sensors.Location.SphericalPositionInfo
// Assembly: Meadow, Version=0.15.0.0, Culture=neutral, PublicKeyToken=null
// MVID: D9B35635-6FC1-451D-8AC3-289CFF008676
// Assembly location: D:\experiment\TINYCLR\Meadow.Foundation\Source\Meadow.Foundation.Lib... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
class Helpers
{
static readonly string[] _directories = new string[]
{
"GreenDonut",
// Path.Combine("HotChocolate", "ApolloFederation"),
Path.C... |
using Unity.Mathematics;
using UnityEngine;
using Unity.Entities;
using Unity.Collections;
using Unity.Jobs;
using Unity.Burst;
namespace AISenses
{
public struct AlertLevel : IComponentData
{
// rewrite so that Alert and Caution can't exceed 100
public int Alert => AudioAlertLevel + VisualAle... |
using Ideastrike.Nancy.Modules;
using Nancy.Testing;
using Xunit;
namespace IdeaStrike.Tests.FeatureModuleTests
{
public class when_an_unauthenticated_user_adds_a_features : IdeaStrikeSpecBase<FeatureModule>
{
public when_an_unauthenticated_user_adds_a_features()
{
EnableFormsAuth(... |
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Mediator.Tests
{
public static class Fixture
{
public static bool CreateServiceScope;
public static (IServiceProvider sp, IMediator mediator) GetMediator(
Action<IServiceCollection>? configureServices = null,
... |
using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.I18N.Countries;
namespace Cosmos.Business.Extensions.Holiday.Definitions.Asia.Vietnam.Public
{
/// <summary>
/// New Year's Day
/// </summary>
public class NewYearsDay : BaseFixedHolidayFunc
{
/// <inheritdoc />
public over... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
//namespace PowerSpring.ViewModels
//{
// public class AccountViewModel
// {
// public string OldPassword { get; set; }
// public string NewPassword { get; set; }
// public string NewEmail { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ParserCore;
using ParserCore.Expr.Simple;
namespace ParserCore.Expr.Extend
{
public class ToString : FuncExpr_OneOperand
{
public override void Prepare()
{
base.Prepare();
var tp... |
using System;
using DataLinq;
using DataLinq.Interfaces;
using DataLinq.Attributes;
namespace DataLinq.MySql.Models
{
[Name("INNODB_CMP_PER_INDEX")]
public interface INNODB_CMP_PER_INDEX : IViewModel
{
[Type("int")]
int compress_ops { get; }
[Type("int")]
int compress_ops_o... |
using Boo.Lang.Runtime;
using Game.Combat;
using Game.Combat.Abilityes;
using Game.Inputs.Constructions;
using Game.Inputs.Contexts;
namespace Game.Inputs.Triggers
{
public class CombatTriggersFactory
{
public static Trigger Create(IAbility ability)
{
if (ability is AttackAbility)
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace Kemel.Entity.Attributes
{
[global::System.AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class ParameterDirectionAttribute : Attribute
{
private Parame... |
#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace ChartAndGraph
{
[Serializable]
public struct ChartMagin
{
[SerializeField]
private float left, top, right, bottom;
public float Left { get ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SuperSocket.JTT.JTTBase.Model
{
/// <summary>
/// 内部结构的Key所属的属性信息
/// </summary>
/// <remarks>
/// <para>消息包解码时 执行方法为对<see cref="Property"/>属性值先使用<see cref="Encode"/>配置编码, 再使用<see cref="Decode"/>配置解码</para>
/// <para>... |
/*
* Copyright 2021 ALE International
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify, merge,
* publish... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("emojiDump")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assem... |
using System.Text;
namespace Zametek.Contract.ProjectPlan
{
internal class FileTypeFilter : IFileTypeFilter
{
public FileTypeFilter(string fileType, string fileExtension)
{
FileType = fileType;
FileExtension = CleanUpExtension(fileExtension);
}
private ... |
// 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;
namespace ViewComponentWebSite
{
public class SelectManySampleModel
{
public List<SampleModel> TestMo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace VidlyAuth
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum MovementResult
{
Success,
Unaccomplished,
Error
} |
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, wit... |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FTX.SDK.Response
{
public class WalletBalanceResponse : ResponseBase<List<WalletBalanceDto>>
{
}
public class WalletBalanceDto
{
public float availableWith... |
using System;
using System.Buffers;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Net.Buffers;
public ref partial struct PacketReader
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public bool SequenceEqual(ReadOnlySpan<byte> other)
{
if (!this.TryPeekBytes(other.Length, out ReadOnly... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using System;
namespace Character.Enemy
{
/// <summary>
/// エネミーイベントを受信する側が購読するイベントObservableの定義
/// </summary>
public interface IEenmyEventObservable
{
}
/// <summary>
/// エネミーが保持するイベントObserve... |
using UnityEngine;
using WVR_Log;
using UnityEngine.EventSystems;
[DisallowMultipleComponent]
[RequireComponent(typeof(Camera), typeof(PhysicsRaycaster))]
public class WaveVR_GesturePointerTracker : MonoBehaviour {
private const string LOG_TAG = "WaveVR_GesturePointerTracker";
private void DEBUG(string msg)
{
if ... |
using System;
namespace Trady.Core.Period
{
public class BiHourly : IntradayPeriodBase
{
public override uint NumberOfSecond => 2 * 60 * 60;
public override bool IsTimestamp(DateTime dateTime)
=> dateTime.Hour % 2 == 0 && dateTime.Minute == 0 && dateTime.Second == 0 && dateTime.Mi... |
using Tizen.Applications;
using Tizen.Wearable.CircularUI.Forms;
using Tizen.Wearable.CircularUI.Forms.Renderer.Watchface;
using Xamarin.Forms;
namespace PhotoWatch
{
class Program : FormsWatchface
{
ClockViewModel _viewModel;
protected override void OnCreate()
{
base.OnCrea... |
//-----------------------------------------------------------------------------
// FILE: WorkflowSignalSubscribeRequest.cs
// CONTRIBUTOR: Jeff Lill
// COPYRIGHT: Copyright (c) 2005-2021 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System;
namespace Eventify
{
/// <summary>
/// Contains event information which gets passed to
/// <see cref="IEventPublisherListener.OnEventPublishing"/>
/// before publishing event
/// </summary>
public class EventPublishingContext
{
private object _eventData;
///... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.ServiceBus
{
using System;
/// <summary>
/// The exception that is thrown when the Messaging Entity is disabled. Enable the enti... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Microsoft.Extensions.Logging;
using Steeltoe.Management.Info;
using System;
using System.Collections.G... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysis.RuntimeMembers;
namespace Microsoft.CodeAnalysis
{
in... |
//-----------------------------------------------------------------------
// <copyright file="InterpreterBenchmark.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.