チェンジセット 1595 (default)
- 日時:
- 2023/08/19 11:43:18 (14ヵ月前)
- 場所:
- framework/trunk
- ファイル:
-
- 6個の更新
- 1個の移動
凡例:
- 未変更
- 追加
- 削除
-
framework/trunk/CoreLibrary/CoreLibrary.csproj
r1589 r1595 185 185 <Compile Include="Sources\Media\MediaManager.cs" /> 186 186 <Compile Include="Sources\Media\MimeManager.cs" /> 187 <Compile Include="Sources\NamedObject.cs" /> 187 188 <Compile Include="Sources\Net\Chunk.cs" /> 188 189 <Compile Include="Sources\Net\ChunkBodyStream.cs" /> -
framework/trunk/CoreLibrary/Sources/NamedObject.cs
r1594 r1595 10 10 // you may not use this file except in compliance with the License. You 11 11 // may obtain a copy of the License at 12 // 12 // 13 13 // http://www.apache.org/licenses/LICENSE-2.0 14 // 14 // 15 15 // Unless required by applicable law or agreed to in writing, software 16 16 // distributed under the License is distributed on an "AS IS" BASIS, … … 20 20 // </license> 21 21 // ---------------------------------------------------------------------------- 22 namespace FCSoft.SilverFrost.Framework .Web22 namespace FCSoft.SilverFrost.Framework 23 23 { 24 using System. Web;24 using System.Diagnostics; 25 25 26 26 27 27 /// <summary> 28 /// <see cref="HttpContext"/> に格納するアイテムのキーで使用するクラスです。28 /// 文字列の名前が付けられたオブジェクトです。 29 29 /// </summary> 30 internal sealed class HttpContextItemKey 30 [DebuggerDisplay(@"{name,nq}")] 31 public class NamedObject 31 32 { 32 33 /// <summary> 33 /// キーに使用する名前。34 /// インスタンスに使用する名前。 34 35 /// </summary> 35 36 private readonly string name; … … 38 39 /// インスタンスを作成します。 39 40 /// </summary> 40 /// <param name="name"> キーに使用する名前。</param>41 internal HttpContextItemKey(string name)41 /// <param name="name">インスタンスに使用する名前。</param> 42 public NamedObject(string name) 42 43 { 43 44 this.name = name; … … 45 46 46 47 /// <summary> 47 /// 現在の <see cref=" HttpContextItemKey"/> を表す <see cref="string"/> を返します。48 /// 現在の <see cref="NamedObject"/> を表す <see cref="string"/> を返します。 48 49 /// </summary> 49 50 /// <returns> 50 /// 現在の <see cref=" HttpContextItemKey"/> を表す <see cref="string"/>。51 /// 現在の <see cref="NamedObject"/> を表す <see cref="string"/>。 51 52 /// </returns> 52 53 public override string ToString() -
framework/trunk/WebLibrary/Sources/RequestIdentity.cs
r1127 r1595 10 10 // you may not use this file except in compliance with the License. You 11 11 // may obtain a copy of the License at 12 // 12 // 13 13 // http://www.apache.org/licenses/LICENSE-2.0 14 // 14 // 15 15 // Unless required by applicable law or agreed to in writing, software 16 16 // distributed under the License is distributed on an "AS IS" BASIS, … … 40 40 /// リクエストカウンターを格納する <see cref="HttpContext.Items"/> のキー。 41 41 /// </summary> 42 private static readonly HttpContextItemKeyRequestIdentityKey43 = new HttpContextItemKey("SilverFrostFramework:RequestIdentity");42 private static readonly NamedObject RequestIdentityKey 43 = new NamedObject("SilverFrostFramework:RequestIdentity"); 44 44 45 45 /// <summary> -
framework/trunk/WebLibrary/Sources/Utility.cs
r1555 r1595 50 50 /// 認証が必要だとマークに使用する <see cref="HttpContext.Items"/> のキー。 51 51 /// </summary> 52 internal static readonly HttpContextItemKeyNeedAuthorizationKey53 = new HttpContextItemKey("SilverFrostFramework:NeedAuthorization");52 internal static readonly NamedObject NeedAuthorizationKey 53 = new NamedObject("SilverFrostFramework:NeedAuthorization"); 54 54 55 55 /// <summary> -
framework/trunk/WebLibrary/Sources/WebLogger.cs
r1233 r1595 44 44 /// を格納するためのキー。 45 45 /// </summary> 46 private static readonly HttpContextItemKey WebLogContextItemKey = new HttpContextItemKey("SilverFrostFramework:WebLog");46 private static readonly NamedObject WebLogContextItemKey = new NamedObject("SilverFrostFramework:WebLog"); 47 47 48 48 -
framework/trunk/WebLibrary/WebLibrary.csproj
r1576 r1595 99 99 <Compile Include="Sources\Hosting\EndRequestEventArgs.cs" /> 100 100 <Compile Include="Sources\HttpAbortException.cs" /> 101 <Compile Include="Sources\HttpContextItemKey.cs" />102 101 <Compile Include="Sources\IWebHandler.cs" /> 103 102 <Compile Include="Sources\Modules\RequestContentTypeComplementModule.cs" /> -
framework/trunk/WebTest/WebTest.csproj
r1593 r1595 93 93 <ItemGroup> 94 94 <None Include="app.config" /> 95 <EmbeddedResource Include="TestResources\Hosting\Web.config" /> 95 <EmbeddedResource Include="TestResources\Hosting\Web.config"> 96 <SubType>Designer</SubType> 97 </EmbeddedResource> 96 98 </ItemGroup> 97 99 <ItemGroup>
※ 詳しい使い方は
TracChangeset を参照してください。