コード例 #1
0
        public Command BuildListItemCommand()
        {
            var command = new Command("list-item");
            var builder = new ListItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildAnalyticsCommand());
            command.AddCommand(builder.BuildDeleteCommand());
            command.AddCommand(builder.BuildDriveItemCommand());
            command.AddCommand(builder.BuildFieldsCommand());
            command.AddCommand(builder.BuildGetCommand());
            command.AddCommand(builder.BuildPatchCommand());
            command.AddCommand(builder.BuildVersionsCommand());
            return(command);
        }
コード例 #2
0
        public Command BuildCommand()
        {
            var command = new Command("item");
            var builder = new ListItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildColumnsCommand());
            command.AddCommand(builder.BuildContentTypesCommand());
            command.AddCommand(builder.BuildDeleteCommand());
            command.AddCommand(builder.BuildDriveCommand());
            command.AddCommand(builder.BuildGetCommand());
            command.AddCommand(builder.BuildItemsCommand());
            command.AddCommand(builder.BuildOperationsCommand());
            command.AddCommand(builder.BuildPatchCommand());
            command.AddCommand(builder.BuildSubscriptionsCommand());
            return(command);
        }