@@ -75,10 +75,18 @@ private void CreateStoryList()
75
75
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "CreateEvent" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryCreateEventAsync } ) ;
76
76
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "UpdateEvent" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryUpdateEventAsync } ) ;
77
77
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "DeleteEvent" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryDeleteEventAsync } ) ;
78
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetMyCalendarView" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryGetMyCalendarViewAsync } ) ;
79
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "AcceptMeeting" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryAcceptMeetingRequestAsync } ) ;
80
+
78
81
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetMessages" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryGetMessages } ) ;
82
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetMyInboxMessagesThatHaveAttachments" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryGetMessagesThatHaveAttachments } ) ;
79
83
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "SendMessage" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TrySendMailAsync } ) ;
84
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "SendMessageWithAttachment" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TrySendMessageWithAttachmentAsync } ) ;
85
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "ReplyToMessage" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryReplyToMessageAsync } ) ;
86
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "MoveMessage" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryMoveMessageAsync } ) ;
80
87
81
88
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetUserFiles" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryGetCurrentUserFilesAsync } ) ;
89
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetSharingLink" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryGetSharingLinkAsync } ) ;
82
90
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "CreateTextFile" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryCreateFileAsync } ) ;
83
91
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "DownloadFile" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryDownloadFileAsync } ) ;
84
92
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "UpdateFile" ) , ScopeGroup = ScopeGroupAll , RunStoryAsync = UserStories . TryUpdateFileAsync } ) ;
@@ -93,6 +101,7 @@ private void CreateStoryList()
93
101
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetManager" ) , ScopeGroup = ScopeGroupWork , RunStoryAsync = UserStories . TryGetCurrentUserManagerAsync } ) ;
94
102
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetDirects" ) , ScopeGroup = ScopeGroupWork , RunStoryAsync = UserStories . TryGetDirectReportsAsync } ) ;
95
103
StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetPhoto" ) , ScopeGroup = ScopeGroupWork , RunStoryAsync = UserStories . TryGetCurrentUserPhotoAsync } ) ;
104
+ StoryCollection . Add ( new StoryDefinition ( ) { GroupName = usersGroupName , Title = ResourceLoader . GetForCurrentView ( ) . GetString ( "GetPhotoStream" ) , ScopeGroup = ScopeGroupWork , RunStoryAsync = UserStories . TryGetCurrentUserPhotoStreamAsync } ) ;
96
105
97
106
// Stories applicable only to work or school accounts with admin access
98
107
// NOTE: All of these snippets will fail for lack of permissions if you sign into the sample with a non-admin work account
0 commit comments