Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

convert use of URI to string in models #620

Merged
merged 4 commits into from
Dec 11, 2014
Merged

Conversation

leastprivilege
Copy link
Member

for discussion

@@ -73,17 +73,17 @@ public class Client
/// <summary>
/// Specifies allowed URIs to return tokens or authorization codes to
/// </summary>
public List<Uri> RedirectUris { get; set; }
public ICollection<string> RedirectUris { get; set; }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like ICollection - since this Model is used to define clients in code manually - List<T> plays much nicer with intellisense.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lern2linq :P

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not about linq - it is about being able to press tab in VS (and not getting #if)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't follow (or agree), but that's ok -- I reverted it back.

@leastprivilege
Copy link
Member Author

looks good now

@brockallen
Copy link
Member

I'll do this merge friday or over the weekend -- it'll require many updates in the samples.

leastprivilege added a commit that referenced this pull request Dec 11, 2014
@leastprivilege leastprivilege merged commit b41a09f into dev Dec 11, 2014
@leastprivilege leastprivilege deleted the convert_uris_to_strings branch December 11, 2014 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants