Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / Core / Castle.Core / Logging / IContextProperties.cs
bloba0716f261faaa6eef9d863177d884379158f8890
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.Core.Logging
17 /// <summary>
18 /// Interface for Context Properties implementations
19 /// </summary>
20 /// <remarks>
21 /// <para>
22 /// This interface defines a basic property get set accessor.
23 /// </para>
24 /// <para>
25 /// Based on the ContextPropertiesBase of log4net, by Nicko Cadell.
26 /// </para>
27 /// </remarks>
28 public interface IContextProperties
30 /// <summary>
31 /// Gets or sets the value of a property
32 /// </summary>
33 /// <value>
34 /// The value for the property with the specified key
35 /// </value>
36 /// <remarks>
37 /// <para>
38 /// Gets or sets the value of a property
39 /// </para>
40 /// </remarks>
41 object this[string key] { get; set; }