first drop
This commit is contained in:
Коммит
107aa36bfe
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{4B361B33-3872-45B1-968A-3053C4ACB8FC}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>MonoDevelop.UnityMode.RestService.ServiceModel</RootNamespace>
|
||||
<AssemblyName>MonoDevelop.UnityMode.RestService.ServiceModel</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="ServiceStack.Client">
|
||||
<HintPath>..\lib\ServiceStack.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Common">
|
||||
<HintPath>..\lib\ServiceStack.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
<HintPath>..\lib\ServiceStack.Interfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Text">
|
||||
<HintPath>..\lib\ServiceStack.Text.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack">
|
||||
<HintPath>..\lib\ServiceStack.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MyClass.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SolutionUpdate.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using ServiceStack.ServiceHost;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
[Route("/files")]
|
||||
public class File
|
||||
{
|
||||
public string Path { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
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 ("MonoDevelop.UnityMode.RestService.ServiceModel")]
|
||||
[assembly: AssemblyDescription ("")]
|
||||
[assembly: AssemblyConfiguration ("")]
|
||||
[assembly: AssemblyCompany ("")]
|
||||
[assembly: AssemblyProduct ("")]
|
||||
[assembly: AssemblyCopyright ("lucas")]
|
||||
[assembly: AssemblyTrademark ("")]
|
||||
[assembly: AssemblyCulture ("")]
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
[assembly: AssemblyVersion ("1.0.*")]
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using ServiceStack.ServiceHost;
|
||||
|
||||
namespace MonoDevelop.UnityMode.RestServiceModel
|
||||
{
|
||||
[Route("/solution")]
|
||||
public class SolutionUpdate
|
||||
{
|
||||
public List<Project> Projects { get; set; }
|
||||
}
|
||||
|
||||
public class Project
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Language { get; set; }
|
||||
public List<string> Files { get; set; }
|
||||
public List<string> Defines { get; set; }
|
||||
public List<string> References { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{B3AA406F-BD2C-41F2-947C-B16271DF516D}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>MonoDevelop.UnityMode.RestService</RootNamespace>
|
||||
<AssemblyName>MonoDevelop.UnityMode.RestService</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="Mono.TextEditor">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\Mono.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MonoDevelop.Core">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\MonoDevelop.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MonoDevelop.Ide">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\MonoDevelop.Ide.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory.CSharp">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\ICSharpCode.NRefactory.CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\ICSharpCode.NRefactory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Client">
|
||||
<HintPath>..\lib\ServiceStack.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Common">
|
||||
<HintPath>..\lib\ServiceStack.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
<HintPath>..\lib\ServiceStack.Interfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Text">
|
||||
<HintPath>..\lib\ServiceStack.Text.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack">
|
||||
<HintPath>..\lib\ServiceStack.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="RestService.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MonoDevelop.UnityMode.RestService.ServiceModel\MonoDevelop.UnityMode.RestService.ServiceModel.csproj">
|
||||
<Project>{4B361B33-3872-45B1-968A-3053C4ACB8FC}</Project>
|
||||
<Name>MonoDevelop.UnityMode.RestService.ServiceModel</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,52 @@
|
|||
//
|
||||
// AssemblyInfo.cs
|
||||
//
|
||||
// Author:
|
||||
// lucas <>
|
||||
//
|
||||
// Copyright (c) 2013 lucas
|
||||
//
|
||||
// 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, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
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("MonoDevelop.UnityMode.RestService")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("Unity Technologies")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using System.Net;
|
||||
using ServiceStack.WebHost.Endpoints;
|
||||
using ServiceStack.ServiceHost;
|
||||
using ServiceStack.Common.Web;
|
||||
using MonoDevelop.UnityMode.RestServiceModel;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
public class RestService
|
||||
{
|
||||
public RestService (SolutionUpdateCallback solutionUpdateCallback)
|
||||
{
|
||||
var listeningOn = "http://localhost:1339/";
|
||||
var appHost = new AppHost (solutionUpdateCallback);
|
||||
appHost.Init ();
|
||||
appHost.Start (listeningOn);
|
||||
}
|
||||
|
||||
public delegate void SolutionUpdateCallback(SolutionUpdate update);
|
||||
|
||||
public class SolutionUpdateService : IService
|
||||
{
|
||||
public SolutionUpdateCallback Callback { get; set; }
|
||||
|
||||
public object Post(SolutionUpdate update)
|
||||
{
|
||||
Callback (update);
|
||||
return new HttpResult() { StatusCode = HttpStatusCode.OK };
|
||||
}
|
||||
}
|
||||
|
||||
//Define the Web Services AppHost
|
||||
public class AppHost : AppHostHttpListenerBase
|
||||
{
|
||||
readonly SolutionUpdateCallback _solutionUpdateCallback;
|
||||
|
||||
public AppHost(SolutionUpdateCallback solutionUpdateCallback)
|
||||
: base("UnityMode Rest Service", typeof(SolutionUpdateService).Assembly) {
|
||||
_solutionUpdateCallback = solutionUpdateCallback;
|
||||
}
|
||||
|
||||
public override void Configure(Funq.Container container)
|
||||
{
|
||||
container.Register (_solutionUpdateCallback);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{54F9E087-EB68-4E06-A297-99885F7DA415}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>MonoDevelop.UnityMode.UnityRestClient</RootNamespace>
|
||||
<AssemblyName>MonoDevelop.UnityMode.UnityRestClient</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="ServiceStack.Common">
|
||||
<HintPath>..\lib\ServiceStack.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Client">
|
||||
<HintPath>..\lib\ServiceStack.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Text">
|
||||
<HintPath>..\lib\ServiceStack.Text.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
<HintPath>..\lib\ServiceStack.Interfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack">
|
||||
<HintPath>..\lib\ServiceStack.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MyClass.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -0,0 +1,35 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using ServiceStack.ServiceClient.Web;
|
||||
using ServiceStack.ServiceHost;
|
||||
|
||||
namespace MonoDevelop.UnityMode.UnityRestClient
|
||||
{
|
||||
public class ScriptCompilationRequest : IReturn<CompilationResult>
|
||||
{
|
||||
}
|
||||
|
||||
public class LogEntry
|
||||
{
|
||||
public string LogString { get; set; }
|
||||
public string StackTrace { get; set; }
|
||||
public string File { get; set; }
|
||||
public int Line { get; set; }
|
||||
}
|
||||
|
||||
public class CompilationResult
|
||||
{
|
||||
public CompilationResult() { Output = new List<LogEntry>(); }
|
||||
public List<LogEntry> Output { get; set; }
|
||||
}
|
||||
|
||||
public class RestClient2
|
||||
{
|
||||
public static CompilationResult CompileScripts()
|
||||
{
|
||||
var client = new JsonServiceClient("http://localhost:1340/");
|
||||
return client.Get<CompilationResult>("/assetpipeline/compilescripts");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
//
|
||||
// AssemblyInfo.cs
|
||||
//
|
||||
// Author:
|
||||
// lucas <>
|
||||
//
|
||||
// Copyright (c) 2013 lucas
|
||||
//
|
||||
// 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, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
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("MonoDevelop.UnityMode.UnityRestClient")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("Unity Technologies")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.UnityMode", "MonoDevelop.UnityMode\MonoDevelop.UnityMode.csproj", "{54833F06-FF38-483A-A1F5-43DF9CE0375F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.UnityMode.RestService", "MonoDevelop.UnityMode.RestService\MonoDevelop.UnityMode.RestService.csproj", "{B3AA406F-BD2C-41F2-947C-B16271DF516D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.UnityMode.UnityRestClient", "MonoDevelop.UnityMode.UnityRestClient\MonoDevelop.UnityMode.UnityRestClient.csproj", "{54F9E087-EB68-4E06-A297-99885F7DA415}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.UnityMode.RestService.ServiceModel", "MonoDevelop.UnityMode.RestService.ServiceModel\MonoDevelop.UnityMode.RestService.ServiceModel.csproj", "{4B361B33-3872-45B1-968A-3053C4ACB8FC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{4B361B33-3872-45B1-968A-3053C4ACB8FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4B361B33-3872-45B1-968A-3053C4ACB8FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4B361B33-3872-45B1-968A-3053C4ACB8FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4B361B33-3872-45B1-968A-3053C4ACB8FC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{54F9E087-EB68-4E06-A297-99885F7DA415}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{54F9E087-EB68-4E06-A297-99885F7DA415}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{54F9E087-EB68-4E06-A297-99885F7DA415}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{54F9E087-EB68-4E06-A297-99885F7DA415}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B3AA406F-BD2C-41F2-947C-B16271DF516D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B3AA406F-BD2C-41F2-947C-B16271DF516D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B3AA406F-BD2C-41F2-947C-B16271DF516D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B3AA406F-BD2C-41F2-947C-B16271DF516D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = MonoDevelop.UnityMode\MonoDevelop.UnityMode.csproj
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,93 @@
|
|||
using System;
|
||||
using MonoDevelop.Components.Commands;
|
||||
using MonoDevelop.Ide;
|
||||
using Mono.TextEditor;
|
||||
using MonoDevelop.Core;
|
||||
using MonoDevelop.Ide.Gui.Pads;
|
||||
using MonoDevelop.Ide.Gui.Components;
|
||||
using System.Linq;
|
||||
using MonoDevelop.Ide.Gui;
|
||||
using MonoDevelop.Ide.Gui.Pads.ProjectPad;
|
||||
using MonoDevelop.Projects;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
public class AssetsFolderPad : TreeViewPad
|
||||
{
|
||||
public static AssetsFolderPad Singleton;
|
||||
|
||||
public AssetsFolderPad ()
|
||||
{
|
||||
Singleton = this;
|
||||
}
|
||||
|
||||
public override void Initialize (NodeBuilder[] builders, TreePadOption[] options, string contextMenuPath)
|
||||
{
|
||||
base.Initialize (builders, options, contextMenuPath);
|
||||
|
||||
IdeApp.Workspace.ItemAddedToSolution += Refresh;
|
||||
IdeApp.Workspace.FileAddedToProject += Refresh;
|
||||
IdeApp.Workspace.FileRemovedFromProject += Refresh;
|
||||
IdeApp.Workspace.FileRenamedInProject += Refresh;
|
||||
IdeApp.Workspace.WorkspaceItemOpened += Refresh;
|
||||
IdeApp.Workbench.ActiveDocumentChanged += OnWindowChanged;
|
||||
Refresh (null, null);
|
||||
}
|
||||
|
||||
public class TreeViewBuilder : MonoDevelop.UnityMode.FolderNodeBuilder.IBuilder
|
||||
{
|
||||
ExtensibleTreeView view;
|
||||
|
||||
public TreeViewBuilder(ExtensibleTreeView view)
|
||||
{
|
||||
this.view = view;
|
||||
}
|
||||
public void AddChild (object o)
|
||||
{
|
||||
view.AddChild (o);
|
||||
}
|
||||
}
|
||||
|
||||
public void Refresh(object bah, EventArgs args)
|
||||
{
|
||||
base.TreeView.Clear ();
|
||||
|
||||
MonoDevelop.UnityMode.FolderNodeBuilder.BuildChildNodes2 (new TreeViewBuilder(TreeView), new Folder ("/Users/lucas/monodevelop/monodevelop/main/build/bin/MyDir",null));
|
||||
|
||||
//foreach (ProjectFile file in project.Files) {
|
||||
// MonoDevelop.Core.LoggingService.Log (MonoDevelop.Core.Logging.LogLevel.Info,"File: " + file.FilePath.FileName);
|
||||
// TreeView.AddChild (file);
|
||||
// }
|
||||
}
|
||||
|
||||
void OnWindowChanged (object ob, EventArgs args)
|
||||
{
|
||||
Gtk.Application.Invoke (delegate {
|
||||
SelectActiveFile ();
|
||||
});
|
||||
}
|
||||
|
||||
void SelectActiveFile ()
|
||||
{
|
||||
Document doc = IdeApp.Workbench.ActiveDocument;
|
||||
if (doc == null || doc.Project == null)
|
||||
return;
|
||||
|
||||
string file = doc.FileName;
|
||||
if (file == null)
|
||||
return;
|
||||
|
||||
ProjectFile pf = doc.Project.Files.GetFile (file);
|
||||
if (pf == null)
|
||||
return;
|
||||
|
||||
ITreeNavigator nav = treeView.GetNodeAtObject (pf, true);
|
||||
if (nav == null)
|
||||
return;
|
||||
|
||||
nav.ExpandToNode ();
|
||||
nav.Selected = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using MonoDevelop.Core;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
public class Folder
|
||||
{
|
||||
//Folder parent;
|
||||
|
||||
public Folder (string path, Folder parent)
|
||||
{
|
||||
//this.parent = parent;
|
||||
Path = path;
|
||||
}
|
||||
|
||||
public FilePath Path {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Name {
|
||||
get { return System.IO.Path.GetDirectoryName (Path.FileName); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,181 @@
|
|||
using System;
|
||||
using MonoDevelop.Ide.Gui.Components;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using MonoDevelop.Core;
|
||||
using MonoDevelop.Ide;
|
||||
using Gdk;
|
||||
using MonoDevelop.Ide.Gui;
|
||||
using System.Linq;
|
||||
using MonoDevelop.UnityMode;
|
||||
using MonoDevelop.Projects;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
public class FolderNodeBuilder: TypeNodeBuilder
|
||||
{
|
||||
public override void GetNodeAttributes (ITreeNavigator treeNavigator, object dataObject, ref NodeAttributes attributes)
|
||||
{
|
||||
attributes |= NodeAttributes.AllowRename;
|
||||
}
|
||||
|
||||
static public string GetFolderPath (Folder folder)
|
||||
{
|
||||
return folder.Path.FullPath;
|
||||
}
|
||||
|
||||
public override void BuildNode (ITreeBuilder treeBuilder, object dataObject, ref string label, ref Pixbuf icon, ref Pixbuf closedIcon)
|
||||
{
|
||||
label = ((Folder)dataObject).Path.FileName;
|
||||
icon = Context.GetIcon (Stock.SolutionFolderOpen);
|
||||
closedIcon = Context.GetIcon (Stock.SolutionFolderClosed);
|
||||
}
|
||||
|
||||
|
||||
public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
|
||||
{
|
||||
BuildChildNodes2 (new TreeBuilderBuilder(builder), (Folder)dataObject);
|
||||
}
|
||||
|
||||
public static void BuildChildNodes2 (IBuilder builder, Folder folder)
|
||||
{
|
||||
string path = GetFolderPath (folder);
|
||||
|
||||
ProjectFileCollection files;
|
||||
List<string> folders;
|
||||
|
||||
GetFolderContent (path, out files, out folders);
|
||||
|
||||
foreach (ProjectFile file in files)
|
||||
builder.AddChild (file);
|
||||
|
||||
foreach (string subfolder in folders)
|
||||
builder.AddChild (new Folder (subfolder, folder));
|
||||
}
|
||||
|
||||
public interface IBuilder
|
||||
{
|
||||
void AddChild(object o);
|
||||
}
|
||||
|
||||
class TreeBuilderBuilder : IBuilder
|
||||
{
|
||||
ITreeBuilder builder;
|
||||
|
||||
public TreeBuilderBuilder(ITreeBuilder builder)
|
||||
{
|
||||
this.builder = builder;
|
||||
}
|
||||
|
||||
#region IBuilder implementation
|
||||
|
||||
public void AddChild (object o)
|
||||
{
|
||||
builder.AddChild(o);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
static IEnumerable<Project> AllProjects
|
||||
{
|
||||
get {
|
||||
var unitySolution = IdeApp.Workspace.GetAllSolutions ().FirstOrDefault ();
|
||||
if (unitySolution == null)
|
||||
return new Project[0];
|
||||
|
||||
return unitySolution.GetAllProjects();
|
||||
}
|
||||
}
|
||||
|
||||
static ProjectFileCollection AllFiles
|
||||
{
|
||||
get {
|
||||
var files = new ProjectFileCollection ();
|
||||
foreach (var project in AllProjects)
|
||||
files.AddRange (project.Files);
|
||||
return files;
|
||||
}
|
||||
}
|
||||
|
||||
public static void GetFolderContent (string folder, out ProjectFileCollection files, out List<string> folders)
|
||||
{
|
||||
string folderPrefix = folder + Path.DirectorySeparatorChar;
|
||||
|
||||
files = new ProjectFileCollection ();
|
||||
folders = new List<string> ();
|
||||
|
||||
foreach (ProjectFile file in AllFiles)
|
||||
{
|
||||
string dir;
|
||||
|
||||
if (file.Subtype != Subtype.Directory) {
|
||||
if (file.DependsOnFile != null)
|
||||
continue;
|
||||
|
||||
|
||||
dir =
|
||||
//file.IsLink
|
||||
//? project.BaseDirectory.Combine (file.ProjectVirtualPath).ParentDirectory
|
||||
//:
|
||||
file.FilePath.ParentDirectory;
|
||||
|
||||
if (dir == folder) {
|
||||
files.Add (file);
|
||||
continue;
|
||||
}
|
||||
} else
|
||||
dir = file.Name;
|
||||
|
||||
// add the directory if it isn't already present
|
||||
if (dir.StartsWith (folderPrefix, StringComparison.Ordinal)) {
|
||||
int i = dir.IndexOf (Path.DirectorySeparatorChar, folderPrefix.Length);
|
||||
if (i != -1) dir = dir.Substring (0,i);
|
||||
if (!folders.Contains (dir))
|
||||
folders.Add (dir);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public override bool HasChildNodes (ITreeBuilder builder, object dataObject)
|
||||
{
|
||||
var allFiles = AllFiles;
|
||||
|
||||
// For big projects, a real HasChildNodes value is too slow to get
|
||||
if (allFiles.Count > 500)
|
||||
return true;
|
||||
|
||||
var folder = ((Folder) dataObject).Path;
|
||||
|
||||
foreach (var file in allFiles) {
|
||||
FilePath path;
|
||||
|
||||
/*
|
||||
if (file.Subtype != Subtype.Directory)
|
||||
path = file.IsLink ? project.BaseDirectory.Combine (file.ProjectVirtualPath) : file.FilePath;
|
||||
else*/
|
||||
path = file.FilePath;
|
||||
|
||||
if (path.IsChildPathOf (folder))
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override string GetNodeName (ITreeNavigator thisNode, object dataObject)
|
||||
{
|
||||
return ((Folder)dataObject).Name;
|
||||
}
|
||||
|
||||
public override Type NodeDataType {
|
||||
get {
|
||||
return typeof(Folder);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
<Addin id = "MonoDevelop.UnityMode"
|
||||
name = "Unity Mode Addin"
|
||||
author = "Lucas Meijer"
|
||||
url = "http://github.com/Unity-Technologies/MonoDevelop.UnityMode"
|
||||
description = "Open a dynamic project by connecting to a running Unity instance"
|
||||
copyright = "MIT X11"
|
||||
category = "Unity"
|
||||
version = "4.2">
|
||||
|
||||
<Dependencies>
|
||||
<Addin id="MonoDevelop.Ide" version="4.0.1"/>
|
||||
<Addin id="MonoDevelop.Core" version="4.0.1"/>
|
||||
</Dependencies>
|
||||
|
||||
<Extension path = "/MonoDevelop/ProjectModel/ProjectServiceExtensions">
|
||||
<Class class = "MonoDevelop.UnityMode.UnityProjectServiceExtension" id="UnityProjectServiceExtension" insertafter="FinalStep"/>
|
||||
</Extension>
|
||||
|
||||
<Extension path = "/MonoDevelop/Ide/StartupHandlers">
|
||||
<Class class="MonoDevelop.UnityMode.StartupHandler" />
|
||||
</Extension>
|
||||
|
||||
<Extension path = "/MonoDevelop/Ide/Pads">
|
||||
<SolutionPad id = "UnitySolutionPad" _label = "UnitySolution2" icon = "md-solution" class = "MonoDevelop.UnityMode.UnitySolutionPad" defaultLayout="*" defaultPlacement = "Left">
|
||||
<!---<NodeBuilder class = "MonoDevelop.Projects.Unity.FileNodeBuilder"/>-->
|
||||
<NodeBuilder class = "MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFileNodeBuilder"/>
|
||||
<NodeBuilder class = "MonoDevelop.UnityMode.FolderNodeBuilder"/>
|
||||
</SolutionPad>
|
||||
</Extension>
|
||||
|
||||
</Addin>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Projects.Unity", "MonoDevelop.Projects.Unity.csproj", "{54833F06-FF38-483A-A1F5-43DF9CE0375F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{54833F06-FF38-483A-A1F5-43DF9CE0375F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = MonoDevelop.Projects.Unity.csproj
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,15 @@
|
|||
<Properties>
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="MyClass.cs">
|
||||
<Files>
|
||||
<File FileName="Manifest.addin.xml" Line="1" Column="1" />
|
||||
<File FileName="MyClass.cs" Line="137" Column="3" />
|
||||
<File FileName="FolderNodeBuilder.cs" Line="1" Column="1" />
|
||||
<File FileName="Folder.cs" Line="1" Column="1" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore />
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
</Properties>
|
|
@ -0,0 +1,87 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{54833F06-FF38-483A-A1F5-43DF9CE0375F}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>MonoDevelop.UnityMode</RootNamespace>
|
||||
<AssemblyName>MonoDevelop.UnityMode</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\monodevelop\main\build\Addins\</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.TextEditor">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\Mono.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MonoDevelop.Core">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\MonoDevelop.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MonoDevelop.Ide">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\MonoDevelop.Ide.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory.CSharp">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\ICSharpCode.NRefactory.CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory">
|
||||
<HintPath>..\..\monodevelop\main\build\bin\ICSharpCode.NRefactory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Manifest.addin.xml">
|
||||
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="UnitySolution.cs" />
|
||||
<Compile Include="StartupHandler.cs" />
|
||||
<Compile Include="UnityProjectServiceExtension.cs" />
|
||||
<Compile Include="AssetsFolderPad\AssetsFolderPad.cs" />
|
||||
<Compile Include="AssetsFolderPad\Folder.cs" />
|
||||
<Compile Include="AssetsFolderPad\FolderNodeBuilder.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MonoDevelop.UnityMode.RestService\MonoDevelop.UnityMode.RestService.csproj">
|
||||
<Project>{B3AA406F-BD2C-41F2-947C-B16271DF516D}</Project>
|
||||
<Name>MonoDevelop.UnityMode.RestService</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\MonoDevelop.UnityMode.UnityRestClient\MonoDevelop.UnityMode.UnityRestClient.csproj">
|
||||
<Project>{54F9E087-EB68-4E06-A297-99885F7DA415}</Project>
|
||||
<Name>MonoDevelop.UnityMode.UnityRestClient</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\MonoDevelop.UnityMode.RestService.ServiceModel\MonoDevelop.UnityMode.RestService.ServiceModel.csproj">
|
||||
<Project>{4B361B33-3872-45B1-968A-3053C4ACB8FC}</Project>
|
||||
<Name>MonoDevelop.UnityMode.RestService.ServiceModel</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="AssetsFolderPad\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,27 @@
|
|||
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("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("lucas")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
using MonoDevelop.Components.Commands;
|
||||
using MonoDevelop.Core;
|
||||
using MonoDevelop.Ide;
|
||||
using MonoDevelop.Projects;
|
||||
using MonoDevelop.UnityMode.RestServiceModel;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
public class StartupHandler : CommandHandler
|
||||
{
|
||||
protected override void Run ()
|
||||
{
|
||||
InitializeUnitySolution ();
|
||||
}
|
||||
|
||||
//if (Environment.GetCommandLineArgs ().Contains ("--unityMode"))
|
||||
static void InitializeUnitySolution()
|
||||
{
|
||||
var project1 = new DotNetAssemblyProject ("C#");
|
||||
project1.Name = "FirstPassC#";
|
||||
|
||||
var project2 = new DotNetAssemblyProject ("C#");
|
||||
project2.Name = "SecondPassC#";
|
||||
|
||||
project2.References.Add (new ProjectReference (project1));
|
||||
|
||||
project1.AddReference ("/Users/lucas/unity/build/MacEditor/Unity.app/Contents/Frameworks/Managed/UnityEngine.dll");
|
||||
project2.AddReference ("/Users/lucas/unity/build/MacEditor/Unity.app/Contents/Frameworks/Managed/UnityEngine.dll");
|
||||
|
||||
var s = new UnitySolution ();
|
||||
s.Name = "UnitySolution";
|
||||
s.BaseDirectory = "/Users/lucas/Projects/md1/Assets";
|
||||
s.RootFolder.AddItem (project1);
|
||||
s.RootFolder.AddItem (project2);
|
||||
s.AddConfiguration ("Debug", true);
|
||||
IdeApp.Workspace.Items.Insert (0, s);
|
||||
|
||||
var updater = new SolutionUpdater ();
|
||||
|
||||
new RestService (updater.ProcessIncomingUpdate);
|
||||
}
|
||||
}
|
||||
|
||||
public class SolutionUpdater
|
||||
{
|
||||
public void ProcessIncomingUpdate(SolutionUpdate update)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
using MonoDevelop.Core;
|
||||
using MonoDevelop.Projects;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
//this class relays all build commands on projects, to the main build command on the solution.
|
||||
public class UnityProjectServiceExtension : ProjectServiceExtension
|
||||
{
|
||||
public override BuildResult RunTarget (IProgressMonitor monitor, IBuildTarget item, string target, ConfigurationSelector configuration)
|
||||
{
|
||||
var solutionItem = item as SolutionItem;
|
||||
if (solutionItem == null)
|
||||
return base.RunTarget (monitor, item, target, configuration);
|
||||
|
||||
return solutionItem.ParentSolution.Build (monitor, configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
using MonoDevelop.Projects;
|
||||
using MonoDevelop.UnityMode.UnityRestClient;
|
||||
|
||||
namespace MonoDevelop.UnityMode
|
||||
{
|
||||
|
||||
//this class relays all build commands on projects, to the main build command on the solution.
|
||||
public class UnitySolution : Solution
|
||||
{
|
||||
public UnitySolution Singleton;
|
||||
|
||||
public UnitySolution()
|
||||
{
|
||||
Singleton = this;
|
||||
}
|
||||
|
||||
protected override BuildResult OnBuild (MonoDevelop.Core.IProgressMonitor monitor, ConfigurationSelector configuration)
|
||||
{
|
||||
var rest_result = RestClient2.CompileScripts ();
|
||||
var result = new BuildResult ();
|
||||
|
||||
foreach (var item in rest_result.Output)
|
||||
result.AddError (item.File, item.Line, 0, "", item.LogString);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -0,0 +1,376 @@
|
|||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>ServiceStack.Client</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:ServiceStack.AsyncServiceClient">
|
||||
Need to provide async request options
|
||||
http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx
|
||||
</member>
|
||||
<member name="P:ServiceStack.AsyncServiceClient.GlobalRequestFilter">
|
||||
<summary>
|
||||
The request filter is called before any request.
|
||||
This request filter is executed globally.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.AsyncServiceClient.GlobalResponseFilter">
|
||||
<summary>
|
||||
The response action is called once the server response is available.
|
||||
It will allow you to access raw response information.
|
||||
This response action is executed globally.
|
||||
Note that you should NOT consume the response stream as this is handled by ServiceStack
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.AsyncServiceClient.OnAuthenticationRequired">
|
||||
<summary>
|
||||
Called before request resend, when the initial request required authentication
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.AsyncServiceClient.RequestFilter">
|
||||
<summary>
|
||||
The request filter is called before any request.
|
||||
This request filter only works with the instance where it was set (not global).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.AsyncServiceClient.ResponseFilter">
|
||||
<summary>
|
||||
The response action is called once the server response is available.
|
||||
It will allow you to access raw response information.
|
||||
Note that you should NOT consume the response stream as this is handled by ServiceStack
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Messaging.MessageQueueClientFactory.GetMessageAsync(System.String)">
|
||||
<summary>
|
||||
Returns the next message from queueName or null if no message
|
||||
</summary>
|
||||
<param name="queueName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:ServiceStack.GenericProxy`1">
|
||||
<summary>
|
||||
Generic Proxy for service calls.
|
||||
</summary>
|
||||
<typeparam name="T">The service Contract</typeparam>
|
||||
</member>
|
||||
<member name="P:ServiceStack.GenericProxy`1.Proxy">
|
||||
<summary>
|
||||
Returns the transparent proxy for the service call
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.ServiceClientBase">
|
||||
Need to provide async request options
|
||||
http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.globalRequestFilter">
|
||||
<summary>
|
||||
The request filter is called before any request.
|
||||
This request filter is executed globally.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.globalResponseFilter">
|
||||
<summary>
|
||||
The response action is called once the server response is available.
|
||||
It will allow you to access raw response information.
|
||||
This response action is executed globally.
|
||||
Note that you should NOT consume the response stream as this is handled by ServiceStack
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ServiceClientBase.SetBaseUri(System.String)">
|
||||
<summary>
|
||||
Sets all baseUri properties, using the Format property for the SyncReplyBaseUri and AsyncOneWayBaseUri
|
||||
</summary>
|
||||
<param name="baseUri">Base URI of the service</param>
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.disableAutoCompression">
|
||||
<summary>
|
||||
Whether to Accept Gzip,Deflate Content-Encoding and to auto decompress responses
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.username">
|
||||
<summary>
|
||||
The user name for basic authentication
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.password">
|
||||
<summary>
|
||||
The password for basic authentication
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ServiceClientBase.SetCredentials(System.String,System.String)">
|
||||
<summary>
|
||||
Sets the username and the password for basic authentication.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.alwaysSendBasicAuthHeader">
|
||||
<summary>
|
||||
Determines if the basic auth header should be sent with every request.
|
||||
By default, the basic auth header is only sent when "401 Unauthorized" is returned.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.ServiceClientBase.storeCookies">
|
||||
<summary>
|
||||
Specifies if cookies should be stored
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ServiceClientBase.HandleResponseException``1(System.Exception,System.Object,System.String,System.Func{System.Net.WebRequest},System.Func{System.Net.WebRequest,System.Net.WebResponse},``0@)">
|
||||
<summary>
|
||||
Called by Send method if an exception occurs, for instance a System.Net.WebException because the server
|
||||
returned an HTTP error code. Override if you want to handle specific exceptions or always want to parse the
|
||||
response to a custom ErrorResponse DTO type instead of ServiceStack's ErrorResponse class. In case ex is a
|
||||
<c>System.Net.WebException</c>, do not use
|
||||
<c>createWebRequest</c>/<c>getResponse</c>/<c>HandleResponse<TResponse></c> to parse the response
|
||||
because that will result in the same exception again. Use
|
||||
<c>ThrowWebServiceException<YourErrorResponseType></c> to parse the response and to throw a
|
||||
<c>WebServiceException</c> containing the parsed DTO. Then override Send to handle that exception.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.ServiceClientBase.Headers">
|
||||
<summary>
|
||||
Gets the collection of headers to be added to outgoing requests.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.ServiceClientBase.Credentials">
|
||||
<summary>
|
||||
Gets or sets authentication information for the request.
|
||||
Warning: It's recommened to use <see cref="P:ServiceStack.ServiceClientBase.UserName"/> and <see cref="P:ServiceStack.ServiceClientBase.Password"/> for basic auth.
|
||||
This property is only used for IIS level authentication.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.ServiceClientBase.onAuthenticationRequired">
|
||||
<summary>
|
||||
Called before request resend, when the initial request required authentication
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.ServiceClientBase.requestFilter">
|
||||
<summary>
|
||||
The request filter is called before any request.
|
||||
This request filter only works with the instance where it was set (not global).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.ServiceClientBase.responseFilter">
|
||||
<summary>
|
||||
The response action is called once the server response is available.
|
||||
It will allow you to access raw response information.
|
||||
Note that you should NOT consume the response stream as this is handled by ServiceStack
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.RequestContext.TrackDisposable(System.IDisposable)">
|
||||
<summary>
|
||||
Track any IDisposable's to dispose of at the end of the request in IAppHost.OnEndRequest()
|
||||
</summary>
|
||||
<param name="instance"></param>
|
||||
</member>
|
||||
<member name="P:ServiceStack.RequestContext.Items">
|
||||
<summary>
|
||||
Gets a list of items for this request.
|
||||
</summary>
|
||||
<remarks>This list will be cleared on every request and is specific to the original thread that is handling the request.
|
||||
If a handler uses additional threads, this data will not be available on those threads.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ResponseStatusUtils.CreateResponseStatus(System.String,System.String,System.Collections.Generic.IEnumerable{ServiceStack.Validation.ValidationErrorField})">
|
||||
<summary>
|
||||
Creates the error response from the values provided.
|
||||
|
||||
If the errorCode is empty it will use the first validation error code,
|
||||
if there is none it will throw an error.
|
||||
</summary>
|
||||
<param name="errorCode">The error code.</param>
|
||||
<param name="errorMessage">The error message.</param>
|
||||
<param name="validationErrors">The validation errors.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Serialization.DataContractSerializer.quotas">
|
||||
<summary>
|
||||
Default MaxStringContentLength is 8k, and throws an exception when reached
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Serialization.StringMapTypeDeserializer">
|
||||
<summary>
|
||||
Serializer cache of delegates required to create a type from a string map (e.g. for REST urls)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Serialization.XmlSerializerWrapper.GetNamespace(System.Type)">
|
||||
<summary>
|
||||
Gets the namespace from an attribute marked on the type's definition
|
||||
</summary>
|
||||
<param name="type"></param>
|
||||
<returns>Namespace of type</returns>
|
||||
</member>
|
||||
<member name="P:ServiceStack.WcfServiceClient.StoreCookies">
|
||||
<summary>
|
||||
Specifies if cookies should be stored
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.Compress(System.String,System.String)">
|
||||
<summary>
|
||||
Compresses the specified text using the default compression method: Deflate
|
||||
</summary>
|
||||
<param name="text">The text.</param>
|
||||
<param name="compressionType">Type of the compression.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.Decompress(System.Byte[],System.String)">
|
||||
<summary>
|
||||
Decompresses the specified gz buffer using the default compression method: Inflate
|
||||
</summary>
|
||||
<param name="gzBuffer">The gz buffer.</param>
|
||||
<param name="compressionType">Type of the compression.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:ServiceStack.UrlExtensions">
|
||||
<summary>
|
||||
Donated by Ivan Korneliuk from his post:
|
||||
http://korneliuk.blogspot.com/2012/08/servicestack-reusing-dtos.html
|
||||
|
||||
Modified to only allow using routes matching the supplied HTTP Verb
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.UrlExtensions.ToUrl(ServiceStack.IReturn,System.String,System.String)">
|
||||
<summary>
|
||||
Generate a url from a Request DTO. Pretty URL generation require Routes to be defined using `[Route]` on the Request DTO
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Validation.ValidationError">
|
||||
<summary>
|
||||
The exception which is thrown when a validation error occurred.
|
||||
This validation is serialized in a extra clean and human-readable way by ServiceStack.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Validation.ValidationError.ToXml">
|
||||
<summary>
|
||||
Used if we need to serialize this exception to XML
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationError.ErrorCode">
|
||||
<summary>
|
||||
Returns the first error code
|
||||
</summary>
|
||||
<value>The error code.</value>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Validation.ValidationErrorResult">
|
||||
<summary>
|
||||
Encapsulates a validation result.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Validation.ValidationErrorResult.#ctor">
|
||||
<summary>
|
||||
Constructs a new ValidationResult
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Validation.ValidationErrorResult.#ctor(System.Collections.Generic.IList{ServiceStack.Validation.ValidationErrorField})">
|
||||
<summary>
|
||||
Constructs a new ValidationResult
|
||||
</summary>
|
||||
<param name="errors">A list of validation results</param>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Validation.ValidationErrorResult.#ctor(System.Collections.Generic.IList{ServiceStack.Validation.ValidationErrorField},System.String,System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:ServiceStack.Validation.ValidationErrorResult"/> class.
|
||||
</summary>
|
||||
<param name="errors">The errors.</param>
|
||||
<param name="successCode">The success code.</param>
|
||||
<param name="errorCode">The error code.</param>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Validation.ValidationErrorResult.Merge(ServiceStack.Validation.ValidationErrorResult)">
|
||||
<summary>
|
||||
Merge errors from another <see cref="T:ServiceStack.Validation.ValidationErrorResult"/>
|
||||
</summary>
|
||||
<param name="result"></param>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationErrorResult.SuccessCode">
|
||||
<summary>
|
||||
Gets or sets the success code.
|
||||
</summary>
|
||||
<value>The success code.</value>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationErrorResult.ErrorCode">
|
||||
<summary>
|
||||
Gets or sets the error code.
|
||||
</summary>
|
||||
<value>The error code.</value>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationErrorResult.SuccessMessage">
|
||||
<summary>
|
||||
Gets or sets the success message.
|
||||
</summary>
|
||||
<value>The success message.</value>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationErrorResult.ErrorMessage">
|
||||
<summary>
|
||||
Gets or sets the error message.
|
||||
</summary>
|
||||
<value>The error message.</value>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationErrorResult.Errors">
|
||||
<summary>
|
||||
The errors generated by the validation.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Validation.ValidationErrorResult.IsValid">
|
||||
<summary>
|
||||
Returns True if the validation was successful (errors list is empty).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.CookieManagerEndpointBehavior">
|
||||
<summary>
|
||||
Adds the singleton instance of <see cref="T:ServiceStack.CookieManagerMessageInspector"/> to an endpoint on the client.
|
||||
</summary>
|
||||
<remarks>
|
||||
Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:ServiceStack.CookieManagerEndpointBehavior.ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.ClientRuntime)">
|
||||
<summary>
|
||||
Adds the singleton of the <see cref="!:ClientIdentityMessageInspector"/> class to the client endpoint's message inspectors.
|
||||
</summary>
|
||||
<param name="endpoint">The endpoint that is to be customized.</param>
|
||||
<param name="clientRuntime">The client runtime to be customized.</param>
|
||||
</member>
|
||||
<member name="T:ServiceStack.CookieManagerMessageInspector">
|
||||
<summary>
|
||||
Maintains a copy of the cookies contained in the incoming HTTP response received from any service
|
||||
and appends it to all outgoing HTTP requests.
|
||||
</summary>
|
||||
<remarks>
|
||||
This class effectively allows to send any received HTTP cookies to different services,
|
||||
reproducing the same functionality available in ASMX Web Services proxies with the <see cref="T:System.Net.CookieContainer"/> class.
|
||||
Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:ServiceStack.CookieManagerMessageInspector.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="!:ClientIdentityMessageInspector"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.CookieManagerMessageInspector.AfterReceiveReply(System.ServiceModel.Channels.Message@,System.Object)">
|
||||
<summary>
|
||||
Inspects a message after a reply message is received but prior to passing it back to the client application.
|
||||
</summary>
|
||||
<param name="reply">The message to be transformed into types and handed back to the client application.</param>
|
||||
<param name="correlationState">Correlation state data.</param>
|
||||
</member>
|
||||
<member name="M:ServiceStack.CookieManagerMessageInspector.BeforeSendRequest(System.ServiceModel.Channels.Message@,System.ServiceModel.IClientChannel)">
|
||||
<summary>
|
||||
Inspects a message before a request message is sent to a service.
|
||||
</summary>
|
||||
<param name="request">The message to be sent to the service.</param>
|
||||
<param name="channel">The client object channel.</param>
|
||||
<returns>
|
||||
<strong>Null</strong> since no message correlation is used.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:ServiceStack.CookieManagerMessageInspector.Instance">
|
||||
<summary>
|
||||
Gets the singleton <see cref="!:ClientIdentityMessageInspector"/> instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.WebRequestUtils.ResponseDtoSuffix">
|
||||
<summary>
|
||||
Naming convention for the request's Response DTO
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -0,0 +1,167 @@
|
|||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>ServiceStack.Common</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:ServiceStack.CryptUtils">
|
||||
<summary>
|
||||
Useful .NET Encryption Utils from:
|
||||
http://andrewlocatelliwoodcock.com/2011/08/01/implementing-rsa-asymmetric-public-private-key-encryption-in-c-encrypting-under-the-public-key/
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.CryptUtils.Encrypt(System.String,System.String,ServiceStack.RsaKeyLengths)">
|
||||
<summary>
|
||||
Encrypt an arbitrary string of data under the supplied public key
|
||||
</summary>
|
||||
<param name="publicKey">The public key to encrypt under</param>
|
||||
<param name="data">The data to encrypt</param>
|
||||
<param name="length">The bit length or strength of the public key: 1024, 2048 or 4096 bits. This must match the
|
||||
value actually used to create the publicKey</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.CryptUtils.CreatePublicAndPrivateKeyPair">
|
||||
<summary>
|
||||
Create Public and Private Key Pair based on settings already in static class.
|
||||
</summary>
|
||||
<returns>RsaKeyPair</returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.EnumExtensions.ToDescription(System.Enum)">
|
||||
<summary>
|
||||
Gets the textual description of the enum if it has one. e.g.
|
||||
|
||||
<code>
|
||||
enum UserColors
|
||||
{
|
||||
[Description("Bright Red")]
|
||||
BrightRed
|
||||
}
|
||||
UserColors.BrightRed.ToDescription();
|
||||
</code>
|
||||
</summary>
|
||||
<param name="enum"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:ServiceStack.IPAddressExtensions">
|
||||
<summary>
|
||||
Useful IPAddressExtensions from:
|
||||
http://blogs.msdn.com/knom/archive/2008/12/31/ip-address-calculations-with-c-subnetmasks-networks.aspx
|
||||
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.IPAddressExtensions.GetAllNetworkInterfaceIpv4Addresses">
|
||||
<summary>
|
||||
Gets the ipv4 addresses from all Network Interfaces that have Subnet masks.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.IPAddressExtensions.GetAllNetworkInterfaceIpv6Addresses">
|
||||
<summary>
|
||||
Gets the ipv6 addresses from all Network Interfaces.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.PropertyAccessor`1.TypedGetPropertyFn``1">
|
||||
<summary>
|
||||
Func to get the Strongly-typed field
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.PropertyAccessor`1.ValueTypedGetPropertyFn``1">
|
||||
<summary>
|
||||
Required to cast the return ValueType to an object for caching
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.PropertyAccessor`1.TypedSetPropertyFn``1">
|
||||
<summary>
|
||||
Func to set the Strongly-typed field
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.PropertyAccessor`1.ValueTypesSetPropertyFn``1">
|
||||
<summary>
|
||||
Required to cast the ValueType to an object for caching
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.PropertyAccessor`1.UnTypedSetPropertyFn``1">
|
||||
<summary>
|
||||
Required to cast the ValueType to an object for caching
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.StaticAccessors`1.TypedGetPropertyFn``1(System.Reflection.PropertyInfo)">
|
||||
<summary>
|
||||
Func to get the Strongly-typed field
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.StaticAccessors`1.ValueUnTypedGetPropertyFn``1(System.Reflection.PropertyInfo)">
|
||||
<summary>
|
||||
Required to cast the return ValueType to an object for caching
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.StaticAccessors`1.TypedSetPropertyFn``1(System.Reflection.PropertyInfo)">
|
||||
<summary>
|
||||
Func to set the Strongly-typed field
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.StaticAccessors`1.ValueUnTypedSetPropertyFn``1(System.Reflection.PropertyInfo)">
|
||||
<summary>
|
||||
Required to cast the ValueType to an object for caching
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Reflection.StaticAccessors`1.UnTypedSetPropertyFn``1(System.Reflection.PropertyInfo)">
|
||||
<summary>
|
||||
Required to cast the ValueType to an object for caching
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Support.AdapterBase">
|
||||
<summary>
|
||||
Common functionality when creating adapters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Support.AdapterBase.Execute``1(System.Func{``0})">
|
||||
<summary>
|
||||
Executes the specified expression.
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
<param name="action">The action.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Support.AdapterBase.Execute(System.Action)">
|
||||
<summary>
|
||||
Executes the specified action (for void methods).
|
||||
</summary>
|
||||
<param name="action">The action.</param>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Support.InMemoryLogFactory">
|
||||
<summary>
|
||||
Note: InMemoryLog keeps all logs in memory, so don't use it long running exceptions
|
||||
|
||||
Returns a thread-safe InMemoryLog which you can use while *TESTING*
|
||||
to provide a detailed analysis of your logs.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.UrnId">
|
||||
<summary>
|
||||
Creates a Unified Resource Name (URN) with the following formats:
|
||||
|
||||
- urn:{TypeName}:{IdFieldValue} e.g. urn:UserSession:1
|
||||
- urn:{TypeName}:{IdFieldName}:{IdFieldValue} e.g. urn:UserSession:UserId:1
|
||||
|
||||
</summary>
|
||||
</member>
|
||||
<!-- Badly formed XML comment ignored for member "M:ServiceStack.AssertUtils.AreNotNull(System.Collections.Generic.IDictionary{System.String,System.Object})" -->
|
||||
<member name="M:ServiceStack.CommandsUtils.ExecuteAsyncCommandExec(System.Collections.Generic.IEnumerable{ServiceStack.Commands.ICommandExec})">
|
||||
<summary>
|
||||
Provide the an option for the callee to block until all commands are executed
|
||||
</summary>
|
||||
<param name="commands"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.FuncUtils.TryExec(System.Action)">
|
||||
<summary>
|
||||
Invokes the action provided and returns true if no excpetion was thrown.
|
||||
Otherwise logs the exception and returns false if an exception was thrown.
|
||||
</summary>
|
||||
<param name="action">The action.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
|
@ -0,0 +1,708 @@
|
|||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>ServiceStack.Text</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:ServiceStack.Text.AssemblyUtils">
|
||||
<summary>
|
||||
Utils to load types
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.AssemblyUtils.FindType(System.String)">
|
||||
<summary>
|
||||
Find the type from the name supplied
|
||||
</summary>
|
||||
<param name="typeName">[typeName] or [typeName, assemblyName]</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.AssemblyUtils.MainInterface``1">
|
||||
<summary>
|
||||
The top-most interface of the given type, if any.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.AssemblyUtils.FindType(System.String,System.String)">
|
||||
<summary>
|
||||
Find type if it exists
|
||||
</summary>
|
||||
<param name="typeName"></param>
|
||||
<param name="assemblyName"></param>
|
||||
<returns>The type if it exists</returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.AutoMappingUtils.PopulateWith(System.Object)">
|
||||
<summary>
|
||||
Populate an object with Example data.
|
||||
</summary>
|
||||
<param name="obj"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.AutoMappingUtils.PopulateObjectInternal(System.Object,System.Collections.Generic.Dictionary{System.Type,System.Int32})">
|
||||
<summary>
|
||||
Populates the object with example data.
|
||||
</summary>
|
||||
<param name="obj"></param>
|
||||
<param name="recursionInfo">Tracks how deeply nested we are</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Common.DateTimeSerializer.Prepare(System.DateTime,System.Boolean)">
|
||||
<summary>
|
||||
If AlwaysUseUtc is set to true then convert all DateTime to UTC.
|
||||
</summary>
|
||||
<param name="dateTime"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Common.DateTimeSerializer.RepairXsdTimeSeparator(System.String)">
|
||||
<summary>
|
||||
Repairs an out-of-spec XML date/time string which incorrectly uses a space instead of a 'T' to separate the date from the time.
|
||||
These string are occasionally generated by SQLite and can cause errors in OrmLite when reading these columns from the DB.
|
||||
</summary>
|
||||
<param name="dateTimeStr">The XML date/time string to repair</param>
|
||||
<returns>The repaired string. If no repairs were made, the original string is returned.</returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Common.DateTimeSerializer.ParseWcfJsonDateOffset(System.String)">
|
||||
<summary>
|
||||
WCF Json format: /Date(unixts+0000)/
|
||||
</summary>
|
||||
<param name="wcfJsonDate"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Common.DateTimeSerializer.ParseWcfJsonDate(System.String)">
|
||||
<summary>
|
||||
WCF Json format: /Date(unixts+0000)/
|
||||
</summary>
|
||||
<param name="wcfJsonDate"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Common.DeserializeTypeUtils.GetTypeStringConstructor(System.Type)">
|
||||
<summary>
|
||||
Get the type(string) constructor if exists
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Common.JsWriter.HasAnyEscapeChars(System.String)">
|
||||
<summary>
|
||||
micro optimizations: using flags instead of value.IndexOfAny(EscapeChars)
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.Controller.PathInfo">
|
||||
<summary>
|
||||
Class to hold
|
||||
</summary>
|
||||
</member>
|
||||
<!-- Badly formed XML comment ignored for member "M:ServiceStack.Text.Controller.PathInfo.Parse(System.String)" -->
|
||||
<member name="T:ServiceStack.Text.DateTimeExtensions">
|
||||
<summary>
|
||||
A fast, standards-based, serialization-issue free DateTime serailizer.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.WP.HashSet`1">
|
||||
<summary>
|
||||
A hashset implementation that uses an IDictionary
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.ITypeSerializer`1.CanCreateFromString(System.Type)">
|
||||
<summary>
|
||||
Determines whether this serializer can create the specified type from a string.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>
|
||||
<c>true</c> if this instance [can create from string] the specified type; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.ITypeSerializer`1.DeserializeFromString(System.String)">
|
||||
<summary>
|
||||
Parses the specified value.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.ITypeSerializer`1.DeserializeFromReader(System.IO.TextReader)">
|
||||
<summary>
|
||||
Deserializes from reader.
|
||||
</summary>
|
||||
<param name="reader">The reader.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.ITypeSerializer`1.SerializeToString(`0)">
|
||||
<summary>
|
||||
Serializes to string.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.ITypeSerializer`1.SerializeToWriter(`0,System.IO.TextWriter)">
|
||||
<summary>
|
||||
Serializes to writer.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
<param name="writer">The writer.</param>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sTimeSpanHandler">
|
||||
<summary>
|
||||
Sets which format to use when serializing TimeSpans
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sEmitCamelCaseNames">
|
||||
<summary>
|
||||
<see langword="true"/> if the <see cref="T:ServiceStack.Text.Common.ITypeSerializer"/> is configured
|
||||
to take advantage of <see cref="T:System.CLSCompliantAttribute"/> specification,
|
||||
to support user-friendly serialized formats, ie emitting camelCasing for JSON
|
||||
and parsing member names and enum values in a case-insensitive manner.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sEmitLowercaseUnderscoreNames">
|
||||
<summary>
|
||||
<see langword="true"/> if the <see cref="T:ServiceStack.Text.Common.ITypeSerializer"/> is configured
|
||||
to support web-friendly serialized formats, ie emitting lowercase_underscore_casing for JSON
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sPropertyConvention">
|
||||
<summary>
|
||||
Define how property names are mapped during deserialization
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sThrowOnDeserializationError">
|
||||
<summary>
|
||||
Gets or sets a value indicating if the framework should throw serialization exceptions
|
||||
or continue regardless of deserialization errors. If <see langword="true"/> the framework
|
||||
will throw; otherwise, it will parse as many fields as possible. The default is <see langword="false"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sAlwaysUseUtc">
|
||||
<summary>
|
||||
Gets or sets a value indicating if the framework should always convert <see cref="T:System.DateTime"/> to UTC format instead of local time.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sAssumeUtc">
|
||||
<summary>
|
||||
Gets or sets a value indicating if the framework should always assume <see cref="T:System.DateTime"/> is in UTC format if Kind is Unspecified.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sAppendUtcOffset">
|
||||
<summary>
|
||||
Gets or sets whether we should append the Utc offset when we serialize Utc dates. Defaults to no.
|
||||
Only supported for when the JsConfig.DateHandler == JsonDateHandler.TimestampOffset
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sEscapeUnicode">
|
||||
<summary>
|
||||
Gets or sets a value indicating if unicode symbols should be serialized as "\uXXXX".
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sIncludePublicFields">
|
||||
<summary>
|
||||
If set to true, Interface types will be prefered over concrete types when serializing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sMaxDepth">
|
||||
<summary>
|
||||
Sets the maximum depth to avoid circular dependencies
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig.sModelFactory">
|
||||
<summary>
|
||||
Set this to enable your own type construction provider.
|
||||
This is helpful for integration with IoC containers where you need to call the container constructor.
|
||||
Return null if you don't know how to construct the type and the parameterless constructor will be used.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.JsConfig.PreferInterfaces">
|
||||
<summary>
|
||||
If set to true, Interface types will be prefered over concrete types when serializing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.IncludeTypeInfo">
|
||||
<summary>
|
||||
Always emit type info for this type. Takes precedence over ExcludeTypeInfo
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.ExcludeTypeInfo">
|
||||
<summary>
|
||||
Never emit type info for this type
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.EmitCamelCaseNames">
|
||||
<summary>
|
||||
<see langword="true"/> if the <see cref="T:ServiceStack.Text.Common.ITypeSerializer"/> is configured
|
||||
to take advantage of <see cref="T:System.CLSCompliantAttribute"/> specification,
|
||||
to support user-friendly serialized formats, ie emitting camelCasing for JSON
|
||||
and parsing member names and enum values in a case-insensitive manner.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.serializeFn">
|
||||
<summary>
|
||||
Define custom serialization fn for BCL Structs
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.rawSerializeFn">
|
||||
<summary>
|
||||
Define custom raw serialization fn
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.onSerializingFn">
|
||||
<summary>
|
||||
Define custom serialization hook
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.DeSerializeFn">
|
||||
<summary>
|
||||
Define custom deserialization fn for BCL Structs
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.RawDeserializeFn">
|
||||
<summary>
|
||||
Define custom raw deserialization fn for objects
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.JsConfig`1.ExcludePropertyNames">
|
||||
<summary>
|
||||
Exclude specific properties of this type from being serialized
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.JsConfig`1.TreatValueAsRefType">
|
||||
<summary>
|
||||
Opt-in flag to set some Value Types to be treated as a Ref Type
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.JsConfig`1.HasSerializeFn">
|
||||
<summary>
|
||||
Whether there is a fn (raw or otherwise)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.PropertyConvention.Strict">
|
||||
<summary>
|
||||
The property names on target types must match property names in the JSON source
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.PropertyConvention.Lenient">
|
||||
<summary>
|
||||
The property names on target types may not match the property names in the JSON source
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.TimeSpanHandler.DurationFormat">
|
||||
<summary>
|
||||
Uses the xsd format like PT15H10M20S
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.Text.TimeSpanHandler.StandardFormat">
|
||||
<summary>
|
||||
Uses the standard .net ToString method of the TimeSpan class
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.JsonExtensions.Get``1(System.Collections.Generic.Dictionary{System.String,System.String},System.String)">
|
||||
<summary>
|
||||
Get JSON string value converted to T
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.JsonExtensions.Get(System.Collections.Generic.Dictionary{System.String,System.String},System.String)">
|
||||
<summary>
|
||||
Get JSON string value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.JsonObject.GetUnescaped(System.String)">
|
||||
<summary>
|
||||
Get unescaped string value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.JsonObject.Child(System.String)">
|
||||
<summary>
|
||||
Get unescaped string value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.JsonObject.WriteValue(System.IO.TextWriter,System.Object)">
|
||||
<summary>
|
||||
Write JSON Array, Object, bool or number values as raw string
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.JsonObject.Item(System.String)">
|
||||
<summary>
|
||||
Get JSON string value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.JsonSerializer">
|
||||
<summary>
|
||||
Creates an instance of a Type from a string value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.JsonSerializer`1.DeserializeFromString(System.String)">
|
||||
<summary>
|
||||
Parses the specified value.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Json.JsonTypeSerializer.WriteRawString(System.IO.TextWriter,System.String)">
|
||||
<summary>
|
||||
Shortcut escape when we're sure value doesn't contain any escaped chars
|
||||
</summary>
|
||||
<param name="writer"></param>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Json.JsonTypeSerializer.ConvertFromUtf32(System.Int32)">
|
||||
<summary>
|
||||
Given a character as utf32, returns the equivalent string provided that the character
|
||||
is legal json.
|
||||
</summary>
|
||||
<param name="utf32"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Json.JsonUtils.HasAnyEscapeChars(System.String)">
|
||||
<summary>
|
||||
micro optimizations: using flags instead of value.IndexOfAny(EscapeChars)
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.Json.JsonWriter`1">
|
||||
<summary>
|
||||
Implement the serializer using a more static approach
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.Jsv.JsvWriter`1">
|
||||
<summary>
|
||||
Implement the serializer using a more static approach
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Licensing">
|
||||
<summary>
|
||||
Public Code API to register commercial license for ServiceStack.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.LicenseUtils">
|
||||
<summary>
|
||||
Internal Utilities to verify licensing
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.Marc.Link`2">
|
||||
<summary>
|
||||
Pretty Thread-Safe cache class from:
|
||||
http://code.google.com/p/dapper-dot-net/source/browse/Dapper/SqlMapper.cs
|
||||
|
||||
This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example),
|
||||
and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE**
|
||||
equality. The type is fully thread-safe.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.FastMember.ObjectAccessor">
|
||||
<summary>
|
||||
Represents an individual object, allowing access to members by-name
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.FastMember.ObjectAccessor.Equals(System.Object)">
|
||||
<summary>
|
||||
Use the target types definition of equality
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.FastMember.ObjectAccessor.GetHashCode">
|
||||
<summary>
|
||||
Obtain the hash of the target object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.FastMember.ObjectAccessor.ToString">
|
||||
<summary>
|
||||
Use the target's definition of a string representation
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.FastMember.ObjectAccessor.Create(System.Object)">
|
||||
<summary>
|
||||
Wraps an individual object, allowing by-name access to that instance
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.FastMember.ObjectAccessor.Item(System.String)">
|
||||
<summary>
|
||||
Get or Set the value of a named member for the underlying object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.FastMember.ObjectAccessor.Target">
|
||||
<summary>
|
||||
The object represented by this instance
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.FastMember.TypeAccessor">
|
||||
<summary>
|
||||
Provides by-name member-access to objects of a given type
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.FastMember.TypeAccessor.CreateNew">
|
||||
<summary>
|
||||
Create a new instance of this type
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.FastMember.TypeAccessor.Create(System.Type)">
|
||||
<summary>
|
||||
Provides a type-specific accessor, allowing by-name access for all objects of that type
|
||||
</summary>
|
||||
<remarks>The accessor is cached internally; a pre-existing accessor may be returned</remarks>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.FastMember.TypeAccessor.CreateNewSupported">
|
||||
<summary>
|
||||
Does this type support new instances via a parameterless constructor?
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:ServiceStack.Text.FastMember.TypeAccessor.Item(System.Object,System.String)">
|
||||
<summary>
|
||||
Get or set the value of a named member on the target instance
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.PathUtils.MapProjectPath(System.String)">
|
||||
<summary>
|
||||
Maps the path of a file in the context of a VS project
|
||||
</summary>
|
||||
<param name="relativePath">the relative path</param>
|
||||
<returns>the absolute path</returns>
|
||||
<remarks>Assumes static content is two directories above the /bin/ directory,
|
||||
eg. in a unit test scenario the assembly would be in /bin/Debug/.</remarks>
|
||||
</member>
|
||||
<member name="M:ServiceStack.PathUtils.MapAbsolutePath(System.String)">
|
||||
<summary>
|
||||
Maps the path of a file in a self-hosted scenario
|
||||
</summary>
|
||||
<param name="relativePath">the relative path</param>
|
||||
<returns>the absolute path</returns>
|
||||
<remarks>Assumes static content is copied to /bin/ folder with the assemblies</remarks>
|
||||
</member>
|
||||
<member name="M:ServiceStack.PathUtils.MapHostAbsolutePath(System.String)">
|
||||
<summary>
|
||||
Maps the path of a file in an Asp.Net hosted scenario
|
||||
</summary>
|
||||
<param name="relativePath">the relative path</param>
|
||||
<returns>the absolute path</returns>
|
||||
<remarks>Assumes static content is in the parent folder of the /bin/ directory</remarks>
|
||||
</member>
|
||||
<member name="T:ServiceStack.QueryStringWriter`1">
|
||||
<summary>
|
||||
Implement the serializer using a more static approach
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ReflectionExtensions.New``1(System.Type)">
|
||||
<summary>
|
||||
Creates a new instance of type.
|
||||
First looks at JsConfig.ModelFactory before falling back to CreateInstance
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ReflectionExtensions.New(System.Type)">
|
||||
<summary>
|
||||
Creates a new instance of type.
|
||||
First looks at JsConfig.ModelFactory before falling back to CreateInstance
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.ReflectionExtensions.CreateInstance(System.Type)">
|
||||
<summary>
|
||||
Creates a new instance from the default constructor of type
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.PlatformExtensions.AddAttributes(System.Reflection.PropertyInfo,System.Attribute[])">
|
||||
<summary>
|
||||
Add a Property attribute at runtime.
|
||||
<para>Not threadsafe, should only add attributes on Startup.</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.PlatformExtensions.ReplaceAttribute(System.Reflection.PropertyInfo,System.Attribute)">
|
||||
<summary>
|
||||
Add a Property attribute at runtime.
|
||||
<para>Not threadsafe, should only add attributes on Startup.</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:ServiceStack.StreamExtensions.DefaultBufferSize">
|
||||
<summary>
|
||||
@jonskeet: Collection of utility methods which operate on streams.
|
||||
r285, February 26th 2009: http://www.yoda.arachsys.com/csharp/miscutil/
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadFully(System.IO.Stream)">
|
||||
<summary>
|
||||
Reads the given stream up to the end, returning the data as a byte
|
||||
array.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadFully(System.IO.Stream,System.Int32)">
|
||||
<summary>
|
||||
Reads the given stream up to the end, returning the data as a byte
|
||||
array, using the given buffer size.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadFully(System.IO.Stream,System.Byte[])">
|
||||
<summary>
|
||||
Reads the given stream up to the end, returning the data as a byte
|
||||
array, using the given buffer for transferring data. Note that the
|
||||
current contents of the buffer is ignored, so the buffer needn't
|
||||
be cleared beforehand.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.CopyTo(System.IO.Stream,System.IO.Stream)">
|
||||
<summary>
|
||||
Copies all the data from one stream into another.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.CopyTo(System.IO.Stream,System.IO.Stream,System.Int32)">
|
||||
<summary>
|
||||
Copies all the data from one stream into another, using a buffer
|
||||
of the given size.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.CopyTo(System.IO.Stream,System.IO.Stream,System.Byte[])">
|
||||
<summary>
|
||||
Copies all the data from one stream into another, using the given
|
||||
buffer for transferring data. Note that the current contents of
|
||||
the buffer is ignored, so the buffer needn't be cleared beforehand.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadExactly(System.IO.Stream,System.Int32)">
|
||||
<summary>
|
||||
Reads exactly the given number of bytes from the specified stream.
|
||||
If the end of the stream is reached before the specified amount
|
||||
of data is read, an exception is thrown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadExactly(System.IO.Stream,System.Byte[])">
|
||||
<summary>
|
||||
Reads into a buffer, filling it completely.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadExactly(System.IO.Stream,System.Byte[],System.Int32)">
|
||||
<summary>
|
||||
Reads exactly the given number of bytes from the specified stream,
|
||||
into the given buffer, starting at position 0 of the array.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadExactly(System.IO.Stream,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Reads exactly the given number of bytes from the specified stream,
|
||||
into the given buffer, starting at position 0 of the array.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StreamExtensions.ReadExactlyFast(System.IO.Stream,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Same as ReadExactly, but without the argument checks.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StringExtensions.BaseConvert(System.String,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Converts from base: 0 - 62
|
||||
</summary>
|
||||
<param name="source">The source.</param>
|
||||
<param name="from">From.</param>
|
||||
<param name="to">To.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.StringExtensions.FastToUtf8Bytes(System.String)">
|
||||
<summary>
|
||||
Skip the encoding process for 'safe strings'
|
||||
</summary>
|
||||
<param name="strVal"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.Support.DoubleConverter">
|
||||
<summary>
|
||||
A class to allow the conversion of doubles to string representations of
|
||||
their exact decimal values. The implementation aims for readability over
|
||||
efficiency.
|
||||
|
||||
Courtesy of @JonSkeet
|
||||
http://www.yoda.arachsys.com/csharp/DoubleConverter.cs
|
||||
</summary>
|
||||
</member>
|
||||
<!-- Badly formed XML comment ignored for member "M:ServiceStack.Text.Support.DoubleConverter.ToExactString(System.Double)" -->
|
||||
<!-- Badly formed XML comment ignored for member "T:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal" -->
|
||||
<!-- Badly formed XML comment ignored for member "F:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.digits" -->
|
||||
<member name="F:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.decimalPoint">
|
||||
<summary>
|
||||
How many digits are *after* the decimal point
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.#ctor(System.Int64)">
|
||||
<summary>
|
||||
Constructs an arbitrary decimal expansion from the given long.
|
||||
The long must not be negative.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.MultiplyBy(System.Int32)">
|
||||
<summary>
|
||||
Multiplies the current expansion by the given amount, which should
|
||||
only be 2 or 5.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.Shift(System.Int32)">
|
||||
<summary>
|
||||
Shifts the decimal point; a negative value makes
|
||||
the decimal expansion bigger (as fewer digits come after the
|
||||
decimal place) and a positive value makes the decimal
|
||||
expansion smaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.Normalize">
|
||||
<summary>
|
||||
Removes leading/trailing zeroes from the expansion.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.Support.DoubleConverter.ArbitraryDecimal.ToString">
|
||||
<summary>
|
||||
Converts the value to a proper decimal string representation.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:ServiceStack.Text.TypeSerializer">
|
||||
<summary>
|
||||
Creates an instance of a Type from a string value
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.CanCreateFromString(System.Type)">
|
||||
<summary>
|
||||
Determines whether the specified type is convertible from string.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<returns>
|
||||
<c>true</c> if the specified type is convertible from string; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.DeserializeFromString``1(System.String)">
|
||||
<summary>
|
||||
Parses the specified value.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.DeserializeFromString(System.String,System.Type)">
|
||||
<summary>
|
||||
Parses the specified type.
|
||||
</summary>
|
||||
<param name="type">The type.</param>
|
||||
<param name="value">The value.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.ToStringDictionary``1(``0)">
|
||||
<summary>
|
||||
Useful extension method to get the Dictionary[string,string] representation of any POCO type.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.Dump``1(``0)">
|
||||
<summary>
|
||||
Recursively prints the contents of any POCO object in a human-friendly, readable format
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.PrintDump``1(``0)">
|
||||
<summary>
|
||||
Print Dump to Console.WriteLine
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer.Print(System.String,System.Object[])">
|
||||
<summary>
|
||||
Print string.Format to Console.WriteLine
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:ServiceStack.Text.TypeSerializer`1.DeserializeFromString(System.String)">
|
||||
<summary>
|
||||
Parses the specified value.
|
||||
</summary>
|
||||
<param name="value">The value.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче