Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IDesignerSerializationManager nullability #79429

Merged
merged 3 commits into from
Dec 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,30 +71,30 @@ public interface IDesignerSerializationManager : IServiceProvider
/// of named instances. Objects that implement IComponent will be
/// added to the design time container if addToContainer is true.
/// </summary>
object CreateInstance(Type type, ICollection arguments, string name, bool addToContainer);
object CreateInstance(Type type, ICollection arguments, string? name, bool addToContainer);
stephentoub marked this conversation as resolved.
Show resolved Hide resolved

/// <summary>
/// Retrieves an instance of a created object of the given name, or
/// null if that object does not exist.
/// </summary>
object GetInstance(string name);
object? GetInstance(string name);
elachlan marked this conversation as resolved.
Show resolved Hide resolved

/// <summary>
/// Retrieves a name for the specified object, or null if the object
/// has no name.
/// </summary>
string GetName(object value);
string? GetName(object value);
elachlan marked this conversation as resolved.
Show resolved Hide resolved

/// <summary>
/// Retrieves a serializer of the requested type for the given
/// object type.
/// </summary>
object GetSerializer(Type objectType, Type serializerType);
object? GetSerializer(Type objectType, Type serializerType);
stephentoub marked this conversation as resolved.
Show resolved Hide resolved

/// <summary>
/// Retrieves a type of the given name.
/// </summary>
Type GetType(string typeName);
Type? GetType(string typeName);

/// <summary>
/// Removes a previously added serialization provider.
Expand Down