text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Gui.ViewModel
{
public class UpdateViewModel
{
public Guid Id { get; set; }
public string Title { get; set; }
public string Desctiption { get; set; }
}
} |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorWebAssemblyWithIdentity.Server.Models
{
public class ApplicationUser : IdentityUser
{
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NChainer;
using NConstrictor;
namespace KelpNet.Tests.JoinTest
{
[TestClass]
public class TestRnnWithLSTM
{
[TestMethod]
public void RnnLSTMRandomTest()
{
Python.Initialize();
Chainer.Initialize();
... |
//<Snippet2>
// Example of the decimal.ToInt32 and decimal.ToUInt32 methods.
using System;
class DecimalToU_Int32Demo
{
const string formatter = "{0,17}{1,19}{2,19}";
// Get the exception type name; remove the namespace prefix.
public static string GetExceptionType( Exception ex )
{
string ex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.DataEncoders;
using Newtonsoft.Json.Linq;
namespace Stratis.Bitcoin.Features.RPC
{
/*
Category Name Implemented
------------------ ----... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using Orleans.Concurrency;
using Orleans.Runtime;
using Orleans.Serialization;
namespace Orleans.Streams
{
[Serializable]
[Immutable]
internal class StreamImpl<T> : IStreamIdentity, IAsyncStrea... |
// -----------------------------------------------------------------------
// <copyright file="SwaggerConfig.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
[assembly: WebActivatorEx.Pr... |
/*
* 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace Stub
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "DefaultApi",
rout... |
using System;
using System.Collections.Generic;
namespace DotNetCSS
{
internal static class Map
{
public static readonly Dictionary<string, Whitespace> WhitespaceModes =
new Dictionary<string, Whitespace>(StringComparer.OrdinalIgnoreCase)
{
{Keywords.Normal, Whi... |
using System;
namespace Exameer
{
public partial class OpenFileDialog : Gtk.Dialog
{
MainWindow parent {
get;
set;
}
public OpenFileDialog (MainWindow parent)
{
this.parent = parent;
this.Build ();
}
protected void OnButtonOkClicked (object sender, EventArgs e)
{
}
protected void O... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace CN.... |
//------------------------------------------------------------------------------
// <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>
//--... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using InControl;
using LSDR.InputManagement;
using Torii.UI;
using UnityEngine;
using UnityEngine.UI;
using Text = UnityEngine.UI.Text;
namespace LSDR.UI.Settings
{
/// <summary>
/// Populate the control rebind menu container.
/// </s... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace kontrols
{
public partial class ZoomMenu : UserControl
{
BindingList<ZoomItem> _items;
int _columns;
Color _foreColor;
Color _hoverForeColor;
[EditorBrowsable(EditorB... |
@model ICollection<Banking.Shared.Models.ClientModel>
@{
ViewData["Title"] = "Operator";
}
<h1>Welcome Mr. Operator!</h1>
<hr />
<div class="container row justify-content-around p-2 m-auto border align-items-center" style="margin-bottom: 10px !important">
<div>
<input type="text" name="name" value=... |
using System.Collections.Generic;
namespace eRede
{
public class Customer
{
public const string MALE = "S";
public const string FEMALE = "M";
public string cpf { get; set; }
public List<Document> documents { get; set; }
public string email { get; set; }
public ... |
using System;
using Wasmtime;
using Xunit.Abstractions;
namespace Ahghee.Grpc
{
public class WasmInterop
{
private readonly dynamic _instance;
public WasmInterop(dynamic instance)
{
_instance = instance;
}
public void Run()
{
_instance.r... |
@using Orchard.Core.Contents;
@using Orchard.Localization.Models;
@if (AuthorizedFor(Permissions.PublishContent)) {
Style.Require("LocalizationAdmin");
IEnumerable<LocalizationPart> localizations = Model.Localizations;
var localizationLinks = Html.UnorderedList(localizations, (c, i) => Html.ItemEditLink(c.Culture.Cul... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using Atomiv.Core.Domain;
using MongoDB.Bson;
namespace Atomiv.Infrastructure.MongoDB
{
public abstract class StringIdentityGenerator<TIdentity> : IGenerator<TIdentity>
{
public TIdentity Next()
{
var value = ObjectId.GenerateNewId();
var valueStr = value.ToString();
... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
/*
* 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... |
namespace Sideways
{
using System.Windows.Controls;
public partial class ScanAndWatchlistView : UserControl
{
public ScanAndWatchlistView()
{
this.InitializeComponent();
}
}
} |
using System;
namespace UnityEngine.Rendering.PostProcessing
{
public enum GradingMode
{
LowDefinitionRange,
HighDefinitionRange,
External
}
public enum Tonemapper
{
None,
// Neutral tonemapper (based off John Hable's & Jim Hejl's work)
Neutral,
... |
using System;
namespace Core.Domain.Models
{
public interface IUserRepository : IRepository<User>
{
}
} |
using System.Collections.Generic;
using JetBrains.Annotations;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Resources.Annotations;
namespace UnitTests.TestModels
{
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
public sealed class TestResourceWithAbstractRelationship : Identifiable
{
... |
using Leopotam.Ecs;
using StubbUnity.StubbFramework.Common;
namespace StubbUnity.StubbFramework.View
{
public interface IEcsViewLink : IEntityContainer
{
string Name { get; }
int TypeId { get; set; }
/// <summary>
/// An instance of the World where this IEcsViewLink belongs to.... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace OpenSkieScheduler.Controls.Forms
{
public partial class GameEditor : Form
{
BindingSource BindingSourceGame;
DataRow game;
public GameE... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.FinancialManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStep... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Repr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "SpawnData", menuName = "Data/SpawnData", order = 2)]
public class SpawnData : ScriptableObject
{
public GameObject Prefab;
public int Amount;
public int Interval;
} |
using NoDaysOffApp.Model;
namespace NoDaysOffApp.Features.Tiles
{
public class TileApiModel
{
public int Id { get; set; }
public int? TenantId { get; set; }
public string Name { get; set; }
public bool IsVisibleInCatalog { get; set; }
public static TModel FromTi... |
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("Su... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullable enable
using System;
namespace Microsoft.CodeAnalysis.Syntax
{
internal partial class SyntaxList
{
internal class WithThreeChildr... |
using System.Collections.Generic;
namespace Server.HTTP
{
using Contracts;
using System;
public class HttpSession : IHttpSession
{
private readonly IDictionary<string, object> values;
public HttpSession(string id)
{
CustomValidator.ThrowIfNullOrEmpty(id, nameof(id));
Id = id;
values = new Dictiona... |
using GVFS.FunctionalTests.Tests;
using GVFS.FunctionalTests.Tools;
using GVFS.Tests;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace GVFS.FunctionalTests
{
public class Program
{
public static void Main(string[... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using System;
using Microsoft.Xna.Framework;
namespace wfMod.Items
{
public class Fieldron : ModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Material for some weapons\nA rare drop from the Martian ... |
using Microsoft.VisualStudio.Shell;
using OpenInApp.Common.Helpers;
using OpenInApp.Menu;
using OpenInVivaldi.Options.Vivaldi;
using System;
namespace OpenInVivaldi.Commands
{
internal sealed class OpenInAppCommand
{
private readonly Package _package;
private IServiceProvider serviceProvider {... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace SCCoreSystems
{
[ExecuteInEditMode]
//[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class polygon4vert : MonoBehaviour
{
public float vertBottomLeftX = -1;
... |
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("08... |
//
// 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.Models;
using Karamem0.SharePoint.PowerShell.Runtime.Services;
using S... |
namespace SatisfactoryTools
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Blazored.LocalStorage;
using Storage;
public class LocalStorageProvider : IStorageProvider
{
private readonly ILocalStorageService localStorage;
... |
using CorePackage.Error;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace CorePackage.Entity.Type
{
/// <summary>
/// Represent a list type definition
/// </summary>
public class ListType : DataT... |
using MeowDSIO.DataTypes.PARAM;
using MeowDSIO.DataTypes.PARAMDEF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace MeowsBetterParamEditor
{
public class ParamCellEditTemplateSelector ... |
using System;
using System.Collections.Generic;
namespace ProducerConsumer.Core
{
public class Consumer
{
private readonly int _maxDuration;
private readonly int _minDuration;
private int _minutesToFinishConsumption;
private readonly Random _random;
private bool _needNe... |
using Serilog.Core;
using Serilog.Events;
using Next.Abstractions.Trace;
namespace Next.Trace.Serilog.Enrichers
{
public class TraceEnricher : ILogEventEnricher
{
private readonly ITraceInfoProvider _traceInfoProvider;
public TraceEnricher(ITraceInfoProvider traceInfoProvider)
{
... |
#define MCG_WINRT_SUPPORTED
using Mcg.System;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.WindowsRuntime;
// ------------------------------------------------------------------... |
@{
ViewBag.Title = "OAuth module";
Layout = "~/Views/Shared/_LayoutPage1.cshtml";
}
<script src="/Scripts/jquery.simpleWeather.min.js"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script src="/assets/js/vidRandom.js"></script>
<div id="titleT... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CCustomCameraRopePPC : ICustomCameraPivotPositionCon... |
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... |
namespace CkanApiHelper.Core
{
internal static class ApiPaths
{
public const string SiteRead = "http://datasethub.com/api/3/action/site_read";
public const string PackageList = "http://datasethub.com/api/3/action/package_list";
public const string CurrentPackageListWithResources = "http... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.AspNetCore.Mvc;
usi... |
using System.ComponentModel.DataAnnotations;
using Abp.Authorization.Users;
using Abp.AutoMapper;
using Abp.MultiTenancy;
using TTWork.Abp.Core.MultiTenancy;
namespace TtWork.ProjectName.MultiTenancy.Dto
{
[AutoMapTo(typeof(Tenant))]
public class CreateTenantDto
{
[Required]
[StringLength(A... |
using System;
using System.Collections;
using System.Text;
using System.Threading;
namespace uAlfat.Core
{
public class ExFatTimeStampConverter
{
/// <summary>
/// convert datetime to fat timestamp
/// </summary>
/// <param name="timestamp"></param>
/// <returns></return... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BuildScript : MonoBehaviour {
public static BuildScript instance;
public CursorMode cursorMode = CursorMode.Auto;
public GameObject[] list = new GameObject[3];
public GameObject hand;
public GameObject gui... |
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Alex Yakunin
// Created: 2008.01.22
using System;
using System.Reflection;
namespace Xtensive.Comparison
{
[Serializable]
internal sealed class AssemblyComparer: WrappingCompa... |
using System.Threading.Tasks;
using Huobi.SDK.Core.RequestBuilder;
using Huobi.SDK.Model.Response.StableCoin;
namespace Huobi.SDK.Core.Client
{
/// <summary>
/// Responsible to operate stable coin
/// </summary>
public class StableCointClient
{
private const string GET_METHOD = "GET";
... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
namespace CrownPeak.AccessAPI
{
[DebuggerStepThrough]
[GeneratedCode("System.ServiceModel", "4.0.0.0")]
public class ForgotPasswordCompletedEventArgs : AsyncCompletedEventArgs
{
private object[] results;
public... |
@model Vue2Spa.Areas.Portal.Models.Job
@{
ViewData["Title"] = "Create";
Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<h1>Create</h1>
<h4>Job</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Create">
<div asp-validation-summary="ModelOnly" class="text-d... |
/*
http://www.cgsoso.com/forum-211-1.html
CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
CGSOSO 主打游戏开发,影视设计等CG资源素材。
插件如若商用,请务必官网购买!
daily assets update for try.
U should buy the asset from home store if u use it in your project!
*/
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using S... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
namespace LINGYUN.Abp.IM
{
[Dependency(TryRegister = true)]
public class NullUserOnlineChecker : IUserOnlineChecker, ISingletonDependency
{
public Task<bool> CheckAsync(Guid? tenantId, Guid user... |
using LWFramework.Core;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LWFramework.FMS {
public class FSMStateMachine
{
public string Name { get; set; }
private Dictionary<Type, BaseFSMState> _stateDic = new Dictionary<Type, BaseFSMState>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntegrationTool.SDK.Data.DataConditionClasses
{
public class DataConditionAttribute : Attribute
{
public TreatAsType ConditionType { get; set; }
public string Conditio... |
@page
@model AdvancedSampleWebApp.Pages.WordDocModel
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>Immersive Reader Example: Loading a Word Document</title>
<meta name='viewport' content='... |
// <auto-generated/>
// Contents of: hl7.fhir.r5.core version: 4.4.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Serialization;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Utility;
using Hl7.Fhir.Validation;
/*
... |
//-----------------------------------------------------------------------
// <copyright file="JobHistoryModel.cs" company="GlobalLink Vasont">
// Copyright (c) GlobalLink Vasont. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Vasont.Publish.... |
using System;
using System.Threading;
using ConsoleInteractive;
namespace ConsoleInteractiveDemo {
class Program {
static void Main(string[] args) {
CancellationTokenSource cts = new CancellationTokenSource();
ConsoleWriter.Init();
var t1 = new Thread(new T... |
// Lucene version compatibility level 4.8.1
using YAF.Lucene.Net.Analysis.TokenAttributes;
namespace YAF.Lucene.Net.Analysis.Sv
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional... |
// 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 ... |
namespace Tests.Caliburn.Fakes.UI
{
using System.Windows.Controls;
using System.Windows.Data;
public class SimpleUIUsingResourceDictionary : UserControl
{
public SimpleUIUsingResourceDictionary()
{
var stack = new StackPanel();
Content = stack;
var t... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/strmif.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... |
namespace Sample23
{
using System;
using ifmIoTCore;
using ifmIoTCore.Logging.Log4Net;
using ifmIoTCore.Utilities;
internal class Program
{
static void Main()
{
try
{
var logger = new Logger(LogLevel.Info);
var ioTCore = I... |
using MongoDB.Bson;
using MongoDB.Driver;
namespace Guidelines.DataAccess.Mongo
{
public interface IMongoServerProvider
{
///<summary>
/// Gets a reference to a <see cref="MongoCollection{T}"/> for the given <c>database</c> and
/// <c>collectionName</c> using authentication information given by <c>credentials... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using System.Web.Script.Serialization;
using Application.Drive... |
using System;
using System.Collections.Generic;
using System.Linq;
using static DogScepterLib.Core.Models.GMCode.Bytecode;
namespace DogScepterLib.Project.GML.Decompiler;
public static class SwitchStatements
{
/// Finds all the switch statements within a list of blocks
public static List<SwitchStatement> Fin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simple.OData.Client.Tests
{
internal static class HelperExtensions
{
/// <summary>
/// Helper extension to derive the collection type from an instance type. Use to work... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MathAlgorithm.Probability
{
public class Probability
{
readonly double _probability;
readonly double _dprobability;
public Probability(double probability)
{
_probability = probability;
... |
using System;
using System.IO;
using System.Net;
using System.Diagnostics;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace WinPath
{
/// <summary>
/// The main class handler for the
/// update command.
/// <... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Identity.Team.AdminManagement
{
public class TeamMetricsDTO
{
public int TotalUserCount { get; set; }
public int JoinedUserCount { get; set; }
public int... |
using System;
using Marten.Integration.Tests.TestsInfrasructure;
using SharpTestsEx;
using Xunit;
namespace Marten.Integration.Tests.EventStore.Stream
{
public class StreamLoadingFromExactState: MartenTest
{
private class TaskCreated
{
public Guid TaskId { get; set; }
pu... |
@model Catalogo.Web.Models.IndexViewModel
@{
ViewBag.Title = "Manage";
}
<h2>@ViewBag.Title.</h2>
<p class="text-success">@ViewBag.StatusMessage</p>
<div>
<h4>Change your account settings</h4>
<hr />
<dl class="dl-horizontal">
<dt>Password:</dt>
<dd>
[
@if (Mod... |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... |
using System;
namespace XamarinEvolve.UITests
{
public class AboutPage : BasePage
{
public AboutPage()
: base ("About", "icon_code_of_conduct.png")
{
}
}
} |
using System;
using System.Globalization;
using System.Threading;
public class Example
{
public static void Main()
{
// <Snippet3>
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(Request.UserLanguages[0]);
// </Snippet3>
}
}
public class Request
{
private static ... |
namespace Sulakore.Habbo
{
/// <summary>
/// Represents the score types available in the high score room object.
/// </summary>
public enum HScoreType
{
OnePerTeam = 0,
AggregatedWins = 1,
AlwaysNewScore = 2
}
} |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Infrastructure.DependencyResolution
{
using System.Data.Entity.Utilities;
using System.Diagnostics;
using System.Reflection;
internal class... |
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
namespace MNS
{
/// <summary>
/// Symmetric matrix
/// </summary>
public class SMatrix
{
protected int N;
protected readonly int NMax;
protected double[] D;
public SMatrix(double[] d, int ... |
// Copyright (c) 2008-2020, Hazelcast, Inc. 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 required by ... |
//---------------------------------------------------------------------
// <copyright file="ODataReaderCoreAsync.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------------... |
using System;
using System.Collections.Generic;
namespace DiscordOgerBot.Globals
{
public static class WorkingRanks
{
public static readonly List<WorkingRankProperties> TimeForRanks = new()
{
new WorkingRankProperties{Time = TimeSpan.FromDays(15), Rank = 11, RankId = 88055587825898... |
/*
* 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... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BrimeAPI.com.brimelive.api;
using Newtonsoft.Json.Linq;
namespace MultiChatServer {
/// <summary>
/// Settings object to control ChatServer instance. Includes which serv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityRayFramework.Runtime;
namespace App.Runtime
{
public class RouterComponent : RayFrameworkComponent
{
[SerializeField] GameObject HomePage;
[SerializeField] GameObject DrawnPage;
... |
using System;
namespace MealAPI.Model
{
public class clsMealData : MealAPI.Common.NotifiableModelBase
{
private bool _isUsableRFIDCard = false;
public bool IsUsableRFIDCard
{
get
{
return _isUsableRFIDCard;
}
set
... |
#pragma checksum "C:\Users\FELIX\Desktop\webap\WebApplication1\Pages\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "22f24462acafccc4ec098197183d4bb80c895c6d"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(WebApplication1... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Core;
using ModelLayer;
using ModelLayer.ModelViews;
using RepositoryLayer;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MtgApiManager.Lib.Model;
using MtgApiManager.Lib.Service;
namespace Business... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.