text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MasterDetails.Models
{
public class OrderView
{
public CustomerOrder Customer { get; set; }
public ProductOrder Titles { get; set; }
public List<ProductOrder> Products { get; set; }
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using Mono;
using Mono.Cecil;
namespace Mono.Cecil.Cil
{
internal partial class Branch
{
private class Scope : IDisposable
{
private Branch m_Branch;
public Scope(Branch branch)
{
... |
// 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 System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using... |
/*
* FarseerUnity based on Farseer Physics Engine port:
* Copyright (c) 2012 Gabriel Ochsenhofer https://github.com/gabstv/Farseer-Unity3D
*
* Original source Box2D:
* Copyright (c) 2011 Ian Qvist http://farseerphysics.codeplex.com/
*
* This software is provided 'as-is', without any express or implied
* warranty. I... |
// 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.
#nullable disable
extern alias InteractiveHost;
using System;
using System.Collections.Generic;
using System.Comp... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Syntax.InternalSyntax
{
internal partial struct ChildSyntaxList
{
private readonly GreenNode _node;
... |
/*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 情缘
* Create Date: 2013-11-30 14:33:11
*
* Description: Git.Framework
* http://www.cnblogs.com/qingyuan/
* Revision History:
* Date Author Des... |
using System.Collections.Generic;
using System.Linq.Expressions;
namespace SRSoft.Infrastructure.Extensions.Linq.Expressions
{
/// <summary>
/// Represents the parameter rebinder used for rebinding the parameters
/// for the given expressions. This is part of the solution which solves
/// the expres... |
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using EynonSoftware.FIPSAPI.Areas.HelpPage
@using EynonSoftware.FIPSAPI.Areas.HelpPage.Models
@model IGrouping<HttpControllerDescriptor, ApiDescription>
@{
var controllerDocumentation = ViewBag.DocumentationProvider != nu... |
// <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.Sql.Fluent
{
u... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace System.Threading
{
/// <summary>
/// Propagates notification that operations should be canceled.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rhino.Geometry;
using Wind.Geometry.Meshes;
using Wind.Geometry.Curves;
using Wind.Geometry.Vectors;
namespace Wind_GH.Utilities
{
public class wMeshToRhMesh:Mesh
{
public wMeshToRh... |
/*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... |
/*
* 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... |
// *** 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.Azur... |
namespace System
{
public class EventArgs
{
public static readonly EventArgs Empty = new EventArgs();
public EventArgs()
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Mammothcode.Service;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Micr... |
@model PersonalFinances.Models.Account
@{
ViewBag.Title = "New account";
SelectList accountTypeComboBox = new SelectList(Enum.GetNames(typeof(AccountType)));
}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-h... |
using AutoMapper;
using AzureDesignStudio.Core.DTO;
using AzureDesignStudio.Core.Models;
using AzureDesignStudio.Core.VirtualNetwork;
using Blazor.Diagrams.Core.Models;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace AzureDesignStudio.Core.APIM;
public class APIMModel : AzureNodeB... |
//------------------------------------------------------------------------------
// <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>
//--... |
// OData .NET Libraries ver. 5.6.3
// Copyright (c) Microsoft Corporation
// All rights reserved.
// MIT License
// 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 rest... |
using System.Reflection;
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("Orm")]
[assembly: AssemblyDescription(""... |
using System;
namespace Dock.Model.Core.Events
{
/// <summary>
/// Dockable unpinned event args.
/// </summary>
public class DockableUnpinnedEventArgs : EventArgs
{
/// <summary>
/// Gets unpinned dockable.
/// </summary>
public IDockable? Dockable { get; }
... |
using Elasticsearch.Net;
namespace Nest
{
public partial interface IDeleteRequest : IRequest<DeleteRequestParameters> { }
public interface IDeleteRequest<T> : IDeleteRequest where T : class { }
public partial class DeleteRequest
{
private object AutoRouteDocument() => null;
}
public partial class DeleteReq... |
using System;
using System.Threading;
using System.IO;
using DDS;
using DDS.OpenSplice;
using DDS.OpenSplice.CustomMarshalers;
using OwnershipData;
using DDSAPIHelper;
namespace OwnershipSubscriber
{
class OwnershipSubscriber
{
static void Main(string[] args)
{
DDSEntityManager mgr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using EAuction.Order.Domain.Entities.Base;
namespace EAuction.Order.Domain.Repositories.Base
{
public interface IRepository<T> where T : Entity
{
Task<IEnumerable<T>> GetAllA... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/******************************************************************
/*Test case for testing GC with cyclic double linked list leaks
/*In every loop. SetLink() to cre... |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this l... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using AutoDog.Editor.Document;
namespace AutoDog.Editor.Highlighting
{
/// <summary>
/// A text section with ... |
//
// WARNING - GENERATED CODE - DO NOT EDIT
//
// UIEvent.cs
//
// Author:
// Aaron Bockover <abock@xamarin.com>
//
// Copyright 2015-2016 Xamarin Inc. All rights reserved.
using System;
using mshtml;
namespace Xamarin.CrossBrowser
{
public partial class UIEvent : Event
{
internal UIEvent (ScriptCo... |
using Ask.Sdk.Runtime.Dispatcher.Request.Handler;
using Ask.Sdk.Runtime.Dispatcher.Request.Mapper;
using Ask.Sdk.Runtime.Tests.Fixtures;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Ask.Sdk.Runtime.Tests.Dispatcher.Request.Mapper
{
public ... |
namespace Microsoft.ApplicationInsights.WindowsServer.Implementation
{
using System.Reflection;
/// <summary>
/// The wrapper for the Azure Service Runtime.
/// </summary>
internal class ServiceRuntime
{
private Assembly loadedAssembly;
public ServiceRuntime(Assembly loadedAss... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Sort.Mvc
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
// IgnoreRoute - Tell the routing system ... |
namespace DevChatter.Bot.Modules.WastefulGame.GameStates
{
// We're in limbo until the time of the next game.
public class BetweenGames : IGameState
{
}
} |
namespace TagProLeague.Models
{
public class Video : Document
{
public string TwitchUrl { get; set; }
public string YouTubeUrl { get; set; }
public string Streamer { get; set; }
public string Series { get; set; }
}
} |
using System.Resources;
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.
[ass... |
using System.IO;
using System.IO.Compression;
using System.Xml.Serialization;
using Renoise;
namespace WaveSabreConvert
{
public class RenoiseParser
{
public RenoiseSong Process(string fileName)
{
var song = new RenoiseSong();
return Process(File.ReadAllBytes(fileName)... |
using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayEcoEprintTokenGetModel Data Structure.
/// </summary>
[Serializable]
public class AlipayEcoEprintTokenGetModel : AlipayObject
{
/// <summary>
/// 是否优先从缓存中拿取,false... |
/*
* Original author: Brendan MacLean <brendanx .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2009 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... |
using System;
namespace Portal.Common.Logging
{
public class LogProvider : ILogProvider
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger("default");
public LogProvider()
{
log4net.Config.XmlConfigurator.Configure();
}
public void E... |
namespace Bedrock.DomainBuilder.Enumerations
{
public enum eBuildSectionAppService
{
UsingStatements = 1,
Namespace = 2,
Class = 3,
Constructors = 4,
Properties = 5,
InterfaceMethods = 6,
PrivateMethods = 7,
ClassClose = 8,
NamespaceClose ... |
/**
* Copyright 2017-2020 Plexus Interop Deutsche Bank AG
* SPDX-License-Identifier: Apache-2.0
*
* 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/... |
using System;
using System.Collections.Generic;
using Template10.Mvvm;
using System.Collections.ObjectModel;
using Windows.UI.Xaml;
namespace DuDuChinese.ViewModels
{
public class ListViewModel : ViewModelBase
{
public ObservableCollection<ListItemViewModel> Items { get; private set; }
public ... |
using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public partial class TdApi
{
/// <summary>
/// Notification settings for a chat were changed
/// </summary>
public partial class Update : Object
... |
using AIStudio.Core;
using AIStudio.Core.Models;
using AIStudio.Wpf.Service.AppClient;
using AIStudio.Wpf.Service.AppClient.HttpClients;
using AIStudio.Wpf.Service.AppClient.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AIStudio.Wpf.Business
{
... |
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.Core.Entities;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Enums;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using System;
using Newtonsoft.Json;
namespace SharePoint... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace RazorPagesWatcher
{
public class Program
{
... |
namespace Projctl.Test
{
#region Namespace Imports
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endregion
[TestClass]
public class GetProjectsTest : TestBase
{
[TestMethod]
public async Task ShouldFindOne... |
// <copyright file="IXmlStreamConfiguration.cs" company="Fubar Development Junker">
// Copyright (c) 2016 Fubar Development Junker. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using System.Xml.Linq;
namespace BeanIO.Stream.... |
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using PnP.PowerShell.Commands.Base.PipeBinds;
namespace PnP.PowerShell.Commands.Events
{
[Cmdlet(VerbsCommon.Add, "PnPEventReceiver")]
public class AddEventReceiver : PnPWebCmdlet
{
[Parameter(Mandatory = false)]
publi... |
using System;
using System.Net;
using System.Threading.Tasks;
using pillowsharp.Middleware;
using PillowSharp.BaseObject;
using PillowSharp.CouchType;
using PillowSharp.Middleware;
namespace PillowSharp.Helper
{
public static class PillowErrorHelper
{
public static void HandleNoneOKResponse(RestRespons... |
using System;
using System.Globalization;
using System.Linq;
using Tranquire.Reporting;
using Xunit;
namespace Tranquire.Tests.Reporting
{
public class XmlDocumentObserverIntegrationTests
{
private static readonly IAction<Unit> Action1 = Actions.Create("Action 1", a => a.Execute(Action2));
pri... |
using Mvc.Code;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mvc.Areas.Shop.Models
{
// search page ViewModel
// ** Data Transfer Object (DTO) pattern
public class SearchModel
{
public string ProductName { get; set;... |
using UnityEngine;
using System.Collections;
using System;
namespace GDGeek{
public class VoxelFace : MonoBehaviour {
public VoxelNeck _neck;
public VoxelLookat _lookat;
public VectorInt3 _offset = VectorInt3.zero;
[Serializable]
public class Point
{
public VectorInt3 position;
public Color color ... |
using System;
using System.Linq.Expressions;
namespace Firestorm.Stems.Definitions
{
/// <summary>
/// Part of a <see cref="FieldDefinition{TItem}"/> that can be used to get field values in Firestorm.
/// </summary>
public class FieldDefinitionHandlerPart
{
/// <summary>
/// A LINQ ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using CustomFunction = System.Func<double[], double>;
using ParameterList = System.Collections.Generic.Dictionary<string, double>;
namespace Sprache.Calc
{
/// <summary>
/// Extensible calculat... |
#region license
// Copyright (c) 2021, andreakarasho
// 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 source code must retain the above copyright
// notice, this ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetC... |
namespace CrystalQuartz.Core.Domain
{
public class NamedObject
{
public NamedObject(string name)
{
Name = name;
}
public string Name { get; private set; }
}
} |
namespace ApiService.Models.Api.UsersApi.Request
{
public class UserCreateRequest
{
public string Name { get; set; }
public string Email { get; set; }
public string DateOfBirth { get; set; }
}
} |
/*
* Copyright(c) 2018 Samsung Electronics Co., Ltd.
*
* 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 ... |
using SharpReact.Core;
namespace SharpReact.Wpf.Components
{
public class ToolBarOverflowPanel<TProps, TElement>: Panel<TProps, TElement>
where TProps : Props.ToolBarOverflowPanel
where TElement : global::System.Windows.Controls.Primitives.ToolBarOverflowPanel, new()
{
public override void AssignProperties(IS... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authoriza... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace DurandalAuth.Domain.Models.Mapping
{
public class regulationMap : EntityTypeConfiguration<regulation>
{
public regulationMap()
{
// Primary Key
this.HasKey(t => t.r... |
using System.IO;
using MyTcpSockets.Extensions;
using NUnit.Framework;
namespace MyTcpSockets.Tests
{
public class TestsSteams
{
[SetUp]
public void Init()
{
TestUtils.PrepareTest();
}
[Test]
public void TestShort()
... |
@model WebApp.Models.Home._DialogEditCategoryModel
@using (Html.BeginForm())
{
@Html.ValidationSummary(true)
@Html.AntiForgeryToken()
@Html.HiddenFor(x => x.Input.WebKey)
@Html.HiddenFor(x => x.Input.Id)
@Html.RAPropertyBlockEditorFor(x => x.Input.Name)
} |
namespace MvcBoilerplate.Settings
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
/// <summary>
/// The caching settings for the application.
/// </summary>
public class CacheProfileSettings
{
/// <summary>
/// Gets or sets the cache profiles (How long t... |
// Copyright (C) 2011 Xamarin, Inc. All rights reserved.
using System;
using System.Linq;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System.Text;
using System.Collections.Generic;
using Xamarin.Android.Tools;
namespace Xamarin.Android.Tasks
{
public abstract class JavaC... |
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using LearnMore.Api.JWT;
using Microsoft.Extensions.Options;
using JwtConstants = LearnMore.Domain.Constants.JwtConstants;
namespace LearnMore.BusinessLogic.JWT
{
publi... |
using System;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Owin;
using ICareHealth.Web.Models;
namespace ICareHealth.Web
{
public partial class Startup
{
// For more infor... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResistanceTests.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license inform... |
/* _BEGIN_TEMPLATE_
{
"id": "BOT_451",
"name": [
"流电爆裂",
"Voltaic Burst"
],
"text": [
"召唤两个1/1并具有<b>突袭</b>的“火花”。<b>过载:</b>(1)",
"Summon two 1/1 Sparks with <b>Rush</b>. <b>Overload:</b> (1)"
],
"CardClass": "SHAMAN",
"type": "SPELL",
"cost": 1,
"rarity": "RARE",
"set": "BOOMSDAY",
... |
using System;
using System.Windows;
using System.Windows.Controls;
using Autofac;
using DemiCode.Mvvm.Annotations;
using DemiCode.Mvvm.Validation;
using DemiCode.Mvvm.Wpf;
using System.ComponentModel;
namespace DemiCode.Mvvm
{
/// <summary>
/// The <see cref="PageView"/> class is the base class for all page v... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
namespace DotNext.Net.Cluster.Consensus.Raft
{
using IO.Log;
/// <summary>
/// Allows to setup special service used for configuration of <see cref="IRaftCluster"/> instanc... |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// CardTypeVO Data Structure.
/// </summary>
[Serializable]
public class CardTypeVO : AlipayObject
{
/// <summary>
/// 卡类型标识符,取值范围如下: DC("借... |
// *** 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.Azur... |
#region Copyright (C) 2003-2016 Stimulsoft
/*
{*******************************************************************}
{ }
{ Stimulsoft Reports }
{ }
{ Copyright (C) 2003-2016 Stimulsoft }
{ ALL RIGHTS RESERVED }
{ }
{ The entire contents of ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using GW2Scratch.EVTCAnalytics.Parsed;
namespace GW2Scratch.EVTCAnalytics
{
/// <summary>
/// Creates EVTC log files from raw values stored in a <see cref="ParsedLog"/>.
/// </summary>
/// <seealso cref="GW2Scratch.EVTCAnalytics.Pa... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
using System;
namespace SqlSugar
{
public partial interface ICodeFirst
{
SqlSugarProvider Context { get; set; }
ICodeFirst BackupTable(int maxBackupDataRows = int.MaxValue);
ICodeFirst SetStringDefaultLength(int length);
void InitTables(string entitiesNamespace);
void I... |
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Li... |
// <copyright file="FillJug.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace FiniteModelChecker.Tests.GeneralizedDieHard
{
using System;
using System.Collections.Generic;
using FiniteModelChecker;
/// <summary>
/// Next-state relatio... |
using java.lang;
public class FloatArithmetic {
public static bool test() {
float f = -1, g;
int bits = Float.floatToIntBits(f);
int s = ((bits >> 31) == 0) ? 1 : -1;
int e = ((bits >> 23) & 0xff);
int m = (e == 0) ?
(bits & 0x7fffff) << 1 :
(bits & 0x7fffff) | 0x800000;
if (f == bits)
return fa... |
#if !ONPREMISES && !NETSTANDARD2_1
using OfficeDevPnP.Core.Framework.Graph;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using System.Management.Automation;
namespace SharePointPnP.PowerShell.Commands.Graph
{... |
using System;
using NUnit.Framework;
namespace CrossPlatformLockEventsTests
{
[TestFixture]
public class CrossPlatformLockEventsTests
{
[Test]
public void Test1()
{
Assert.True(true);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Google.Apis.ShoppingContent.v2_1;
using Google.Apis.ShoppingContent.v2_1.Data;
namespace ShoppingSamples.Content
{
/// <summary>
/// A sample consumer that runs multiple requests against the Products
/// service in t... |
// 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.md file in the project root for more information.
using Microsoft.VisualStudio.Shell;
namespace Microsoft.VisualStudio.ProjectSystem.VS
{
internal static class Pro... |
using jQueryApi;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Serenity
{
[Editor, DisplayName("Maskeli Giriş"), OptionsType(typeof(MaskedEditorOptions))]
[Element("<input type=\"text\"/>")]
public class MaskedEditor : Widget<MaskedEditorOptions>, IStringValue... |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... |
/*
Huerate - Mobile System for Customer Feedback Collection
Master Thesis at BUT FIT (http://www.fit.vutbr.cz), 2013
Available at http://huerate.cz
Author: Bc. Jakub Kadlubiec, xkadlu00@stud.fit.vutbr.cz or jakub.kadlubiec@gmail.com
*/
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys... |
using UnityEngine.UIElements;
using UnityEngine;
namespace Unity.UI.Builder
{
internal class BuilderPanner : MouseManipulator
{
private BuilderViewport m_Viewport;
private bool m_Panning;
private int m_ActivatingButton;
public BuilderPanner(BuilderViewport viewport)
{
... |
using System.Linq;
using System.Windows;
using Ookii.Dialogs.Wpf; // may be removed later https://github.com/dotnet/wpf/issues/438
using Wox.Plugin.Program.Views.Models;
using Wox.Plugin.Program.Views;
namespace Wox.Plugin.Program
{
/// <summary>
/// Interaction logic for AddProgramSource.xaml
/// </su... |
/*
* Copyright 2019 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 ... |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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
//... |
internal class ValueTypeFixupInfo // TypeDefIndex: 1037
{
// Fields
private long m_containerID; // 0x10
private FieldInfo m_parentField; // 0x18
private int[] m_parentIndex; // 0x20
// Properties
public long ContainerID { get; }
public FieldInfo ParentField { get; }
public int[] ParentIndex { get; }
// Metho... |
<head>
<title>SDK Demo Account Page</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="../css/style.css" rel="stylesheet" />
<script src="../js/jquery-3.6.0.min.js"></script>
<script src="https://auth.lrcontent.com/v2/js/LoginRa... |
namespace DiscordBotGame
{
public enum Direction
{
N,
S,
W,
E,
Ne,
Nw,
Se,
Sw
}
} |
namespace HttpWebServer.Server.HTTP.Contracts
{
using System.Collections.Generic;
public interface IHttpHeaderCollection : IEnumerable<ICollection<HttpHeader>>
{
void Add(HttpHeader header);
void Add(string key, string value);
bool ContainsKey(string key);
ICollection<Ht... |
// Retrieved from Blacklight CodePlex source under Ms-PL
// TODO FUTURE: Consider one from scratch based on this?
// http://chriscavanagh.wordpress.com/2008/10/03/wpf-easy-rounded-corners-for-anything/
// Also see for alternative approaches:
// http://stackoverflow.com/questions/120851/how-do-i-create-a-wpf-rounded... |
using System;
namespace RedisStore
{
public class InvalidPropertyTypeException : Exception
{
private readonly PropertyImplementationInfo _propInfo;
public override string Message => $"{_propInfo.DeclaringType.Name}.{_propInfo.Name} has an invalid type. {ShittyGlobalClass.ValidTypeList}";
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.