public static GetPropertyEditor ( this factory, string id ) : PropertyEditorMetadata>.Lazy |
||
factory | this | |
id | string | |
Результат | PropertyEditorMetadata>.Lazy |
public static Lazy<PropertyEditor, PropertyEditorMetadata> GetPropertyEditor(this IPropertyEditorFactory factory, string id)
{
Guid propEditorId;
if (!Guid.TryParse(id, out propEditorId))
throw new InvalidCastException("The id specified is not a valid GUID");
return factory.GetPropertyEditor(propEditorId);
}
PropertyEditorExtensions::GetPropertyEditor ( PropertyEditorMetadata>.this |