| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ce76f2e commit 9934cc8
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,6 @@ namespace Python.Runtime.Codecs | |||
| 8 | 8 | /// <summary> | |
| 9 | 9 | /// Represents a group of <see cref="IPyObjectDecoder"/>s. Useful to group them by priority. | |
| 10 | 10 | /// </summary> | |
| 11 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 12 | 11 | public sealed class DecoderGroup: IPyObjectDecoder, IEnumerable<IPyObjectDecoder> | |
| 13 | 12 | { | |
| 14 | 13 | readonly List<IPyObjectDecoder> decoders = new List<IPyObjectDecoder>(); | |
@@ -49,7 +48,6 @@ public bool TryDecode<T>(PyObject pyObj, out T value) | |||
| 49 | 48 | IEnumerator IEnumerable.GetEnumerator() => this.decoders.GetEnumerator(); | |
| 50 | 49 | } | |
| 51 | 50 | ||
| 52 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 53 | 51 | public static class DecoderGroupExtensions | |
| 54 | 52 | { | |
| 55 | 53 | /// <summary> | |
@@ -58,7 +56,6 @@ public static class DecoderGroupExtensions | |||
| 58 | 56 | /// that can decode from <paramref name="objectType"/> to <paramref name="targetType"/>, | |
| 59 | 57 | /// or <c>null</c> if a matching decoder can not be found. | |
| 60 | 58 | /// </summary> | |
| 61 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 62 | 59 | public static IPyObjectDecoder GetDecoder( | |
| 63 | 60 | this IPyObjectDecoder decoder, | |
| 64 | 61 | PyObject objectType, Type targetType) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,6 @@ namespace Python.Runtime.Codecs | |||
| 8 | 8 | /// <summary> | |
| 9 | 9 | /// Represents a group of <see cref="IPyObjectDecoder"/>s. Useful to group them by priority. | |
| 10 | 10 | /// </summary> | |
| 11 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 12 | 11 | public sealed class EncoderGroup: IPyObjectEncoder, IEnumerable<IPyObjectEncoder> | |
| 13 | 12 | { | |
| 14 | 13 | readonly List<IPyObjectEncoder> encoders = new List<IPyObjectEncoder>(); | |
@@ -50,15 +49,13 @@ public PyObject TryEncode(object value) | |||
| 50 | 49 | IEnumerator IEnumerable.GetEnumerator() => this.encoders.GetEnumerator(); | |
| 51 | 50 | } | |
| 52 | 51 | ||
| 53 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 54 | 52 | public static class EncoderGroupExtensions | |
| 55 | 53 | { | |
| 56 | 54 | /// <summary> | |
| 57 | 55 | /// Gets specific instances of <see cref="IPyObjectEncoder"/> | |
| 58 | 56 | /// (potentially selecting one from a collection), | |
| 59 | 57 | /// that can encode the specified <paramref name="type"/>. | |
| 60 | 58 | /// </summary> | |
| 61 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 62 | 59 | public static IEnumerable<IPyObjectEncoder> GetEncoders(this IPyObjectEncoder decoder, Type type) | |
| 63 | 60 | { | |
| 64 | 61 | if (decoder is null) throw new ArgumentNullException(nameof(decoder)); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,6 @@ namespace Python.Runtime.Codecs | |||
| 6 | 6 | /// A .NET object encoder, that returns raw proxies (e.g. no conversion to Python types). | |
| 7 | 7 | /// <para>You must inherit from this class and override <see cref="CanEncode"/>.</para> | |
| 8 | 8 | /// </summary> | |
| 9 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 10 | 9 | public class RawProxyEncoder: IPyObjectEncoder | |
| 11 | 10 | { | |
| 12 | 11 | public PyObject TryEncode(object value) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,6 @@ namespace Python.Runtime.Codecs | |||
| 5 | 5 | using System.Linq; | |
| 6 | 6 | using System.Reflection; | |
| 7 | 7 | ||
| 8 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 9 | 8 | public sealed class TupleCodec<TTuple> : IPyObjectEncoder, IPyObjectDecoder | |
| 10 | 9 | { | |
| 11 | 10 | TupleCodec() { } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,6 @@ namespace Python.Runtime | |||
| 10 | 10 | /// <summary> | |
| 11 | 11 | /// Defines <see cref="PyObject"/> conversion to CLR types (unmarshalling) | |
| 12 | 12 | /// </summary> | |
| 13 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 14 | 13 | public interface IPyObjectDecoder | |
| 15 | 14 | { | |
| 16 | 15 | /// <summary> | |
@@ -30,7 +29,6 @@ public interface IPyObjectDecoder | |||
| 30 | 29 | /// <summary> | |
| 31 | 30 | /// Defines conversion from CLR objects into Python objects (e.g. <see cref="PyObject"/>) (marshalling) | |
| 32 | 31 | /// </summary> | |
| 33 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 34 | 32 | public interface IPyObjectEncoder | |
| 35 | 33 | { | |
| 36 | 34 | /// <summary> | |
@@ -47,7 +45,6 @@ public interface IPyObjectEncoder | |||
| 47 | 45 | /// This class allows to register additional marshalling codecs. | |
| 48 | 46 | /// <para>Python.NET will pick suitable encoder/decoder registered first</para> | |
| 49 | 47 | /// </summary> | |
| 50 | - [Obsolete(Util.UnstableApiMessage)] | ||
| 51 | 48 | public static class PyObjectConversions | |
| 52 | 49 | { | |
| 53 | 50 | static readonly DecoderGroup decoders = new DecoderGroup(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments